mirror of
https://repo.or.cz/minetest_pep.git
synced 2025-03-21 15:21:22 +00:00
Make default mod optional
This commit is contained in:
parent
514fdcccbc
commit
23cb729060
2 changed files with 9 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
playereffects
|
playereffects
|
||||||
default
|
default?
|
||||||
vessels?
|
vessels?
|
||||||
flowers?
|
flowers?
|
||||||
|
|
13
init.lua
13
init.lua
|
@ -201,6 +201,14 @@ if(minetest.get_modpath("flowers") ~= nil) then
|
||||||
end
|
end
|
||||||
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 ]]
|
--[[ independent crafts ]]
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
|
@ -218,8 +226,3 @@ minetest.register_craft({
|
||||||
output = "pep:gravreset" ,
|
output = "pep:gravreset" ,
|
||||||
recipe = { "pep:grav0", "group:stone" }
|
recipe = { "pep:grav0", "group:stone" }
|
||||||
})
|
})
|
||||||
minetest.register_craft({
|
|
||||||
type = "shapeless",
|
|
||||||
output = "pep:regen2",
|
|
||||||
recipe = { "default:gold_lump", "pep:regen" }
|
|
||||||
})
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue