mirror of
https://github.com/enchant97/minetest_element_exchange.git
synced 2024-11-19 22:03:43 +01:00
11 lines
313 B
Lua
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")
|