mirror of
https://repo.or.cz/minetest_pep.git
synced 2025-03-15 12:21:21 +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
|
||||
default
|
||||
default?
|
||||
vessels?
|
||||
flowers?
|
||||
|
|
13
init.lua
13
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" }
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue