summaryrefslogtreecommitdiff
path: root/streets/asphalt
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2016-04-01 20:02:19 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2016-04-01 21:09:33 -0400
commitda66780a569712c23ae4f2996cfb4608a9f9d69d (patch)
tree217556029a78bc23ad4564720afc86de97228a04 /streets/asphalt
parent615b22df4d423aded3613db7716943a2f389b047 (diff)
downloaddreambuilder_modpack-da66780a569712c23ae4f2996cfb4608a9f9d69d.tar
dreambuilder_modpack-da66780a569712c23ae4f2996cfb4608a9f9d69d.tar.gz
dreambuilder_modpack-da66780a569712c23ae4f2996cfb4608a9f9d69d.tar.bz2
dreambuilder_modpack-da66780a569712c23ae4f2996cfb4608a9f9d69d.tar.xz
dreambuilder_modpack-da66780a569712c23ae4f2996cfb4608a9f9d69d.zip
copy all standard Dreambuilder mods in from the old subgame
(exactly as last supplied there, updates to these mods will follow later)
Diffstat (limited to 'streets/asphalt')
-rw-r--r--streets/asphalt/depends.txt3
-rw-r--r--streets/asphalt/init.lua27
2 files changed, 30 insertions, 0 deletions
diff --git a/streets/asphalt/depends.txt b/streets/asphalt/depends.txt
new file mode 100644
index 0000000..fef815d
--- /dev/null
+++ b/streets/asphalt/depends.txt
@@ -0,0 +1,3 @@
+default
+streetsmod
+building_blocks? \ No newline at end of file
diff --git a/streets/asphalt/init.lua b/streets/asphalt/init.lua
new file mode 100644
index 0000000..958cfd5
--- /dev/null
+++ b/streets/asphalt/init.lua
@@ -0,0 +1,27 @@
+--[[
+ Streets Mod: All kinds of asphalt
+]]
+minetest.register_node(":streets:asphalt",{
+ description = streets.S("Asphalt"),
+ tiles = {"streets_asphalt.png"},
+ groups = {cracky=3}
+})
+
+if minetest.get_modpath("building_blocks") then
+ minetest.register_craft({
+ type = "shapeless",
+ output = "streets:asphalt 3",
+ recipe = {
+ "default:sand",
+ "default:gravel",
+ "building_blocks:Tar"
+ },
+ })
+else
+ minetest.register_craft({
+ type = "cooking",
+ output = "streets:asphalt",
+ recipe = "default:gravel",
+ cooktime = 2
+ })
+end