diff options
Diffstat (limited to 'asphalt')
-rw-r--r-- | asphalt/init.lua | 24 |
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 |