summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2014-09-28 03:54:36 +0200
committerWuzzy <almikes@aol.com>2014-09-28 03:54:36 +0200
commit23cb7290606b2d310256653c86f76f4efa4a056e (patch)
tree33a42e3c2b3d17c8be8c93a6081ed31859cad32e /init.lua
parent514fdcccbc4ffd99d8958e81e17d282cfcd172cf (diff)
Make default mod optional
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua13
1 files changed, 8 insertions, 5 deletions
diff --git a/init.lua b/init.lua
index 240efd7..6ef133f 100644
--- a/init.lua
+++ b/init.lua
@@ -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" }
-})