Charakterbewegungen hinzugefügt, Deko hinzugefügt, Kochrezepte angepasst
This commit is contained in:
parent
95945c0306
commit
a0c893ca0b
1124 changed files with 64294 additions and 763 deletions
12
mods/fmod/build_has.lua
Normal file
12
mods/fmod/build_has.lua
Normal file
|
@ -0,0 +1,12 @@
|
|||
return function(mod_conf)
|
||||
local optional_depends = mod_conf:get("optional_depends")
|
||||
if not optional_depends then
|
||||
return {}
|
||||
end
|
||||
local has = {}
|
||||
for _, mod in ipairs(optional_depends:split()) do
|
||||
mod = mod:trim()
|
||||
has[mod] = minetest.get_modpath(mod) and true or false
|
||||
end
|
||||
return has
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue