minetest_element_exchange/init.lua
2021-08-26 23:22:54 +01:00

11 lines
313 B
Lua

local default_path = minetest.get_modpath("element_exchange")
function get_item_energy(name)
return minetest.registered_items[name].energy_value or 1
end
dofile(default_path.."/constructor.lua")
dofile(default_path.."/deconstructor.lua")
dofile(default_path.."/energy.lua")
dofile(default_path.."/orb.lua")