bace2c1686
This will allow players to eat chocolate, waffle, and candycane armor, even while wearing it, if ediblestuff_api is present
17 lines
466 B
Lua
17 lines
466 B
Lua
local S = minetest.get_translator(minetest.get_current_modname())
|
|
local moarmour_path = minetest.get_modpath(minetest.get_current_modname())
|
|
|
|
moarmour = {
|
|
path = moarmour_path,
|
|
get_translator = S
|
|
}
|
|
|
|
-- Loading the files --
|
|
dofile(moarmour_path.."/nodes.lua")
|
|
dofile(moarmour_path.."/crafts.lua")
|
|
dofile(moarmour_path.."/armour.lua")
|
|
-- Optional mod-specific stuff --
|
|
if minetest.get_modpath("ediblestuff_api") then
|
|
dofile(moarmour_path.."/make_edible.lua")
|
|
end
|