summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwebdesigner97 <Christian_D_97@gmx.de>2013-11-24 20:14:39 +0100
committerwebdesigner97 <Christian_D_97@gmx.de>2013-11-24 20:14:39 +0100
commit796b90b3b505876254b029142d2c05979302cc0b (patch)
tree161ca95e5fce06902ab9dc91b7644c632b0b448d
parent09ab936c5c1f73cff63d309badf6c2d0742768ae (diff)
parent72081ea604af282ae7a5304dfcc689d8de735756 (diff)
downloadroads-796b90b3b505876254b029142d2c05979302cc0b.tar
roads-796b90b3b505876254b029142d2c05979302cc0b.tar.gz
roads-796b90b3b505876254b029142d2c05979302cc0b.tar.bz2
roads-796b90b3b505876254b029142d2c05979302cc0b.tar.xz
roads-796b90b3b505876254b029142d2c05979302cc0b.zip
Merge branch 'master' of https://github.com/webdesigner97/streets
-rw-r--r--asphalt/init.lua24
1 files changed, 18 insertions, 6 deletions
diff --git a/asphalt/init.lua b/asphalt/init.lua
index 8c1c1a3..19fabe1 100644
--- a/asphalt/init.lua
+++ b/asphalt/init.lua
@@ -7,9 +7,21 @@ minetest.register_node(":streets:asphalt",{
groups = {cracky=3}
})
-minetest.register_craft({
- type = "cooking",
- output = "streets:asphalt",
- recipe = "default:gravel",
- cooktime = 2
-}) \ No newline at end of file
+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