diff options
author | Wuzzy <almikes@aol.com> | 2014-09-28 03:54:36 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2014-09-28 03:54:36 +0200 |
commit | 23cb7290606b2d310256653c86f76f4efa4a056e (patch) | |
tree | 33a42e3c2b3d17c8be8c93a6081ed31859cad32e /init.lua | |
parent | 514fdcccbc4ffd99d8958e81e17d282cfcd172cf (diff) |
Make default mod optional
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -201,6 +201,14 @@ if(minetest.get_modpath("flowers") ~= nil) then end end +if(minetest.get_modpath("default") ~= nil) then + minetest.register_craft({ + type = "shapeless", + output = "pep:regen2", + recipe = { "default:gold_lump", "pep:regen" } + }) +end + --[[ independent crafts ]] minetest.register_craft({ @@ -218,8 +226,3 @@ minetest.register_craft({ output = "pep:gravreset" , recipe = { "pep:grav0", "group:stone" } }) -minetest.register_craft({ - type = "shapeless", - output = "pep:regen2", - recipe = { "default:gold_lump", "pep:regen" } -}) |