2018-12-12 13:04:53 +00:00
|
|
|
-- An Elepower Mod
|
2018-06-18 07:09:43 +00:00
|
|
|
-- Copyright 2018 Evert "Diamond" Prants <evert@lunasqu.ee>
|
|
|
|
|
|
|
|
local modpath = minetest.get_modpath(minetest.get_current_modname())
|
|
|
|
|
|
|
|
ele = rawget(_G, "ele") or {}
|
|
|
|
ele.modpath = modpath
|
|
|
|
|
|
|
|
-- Constants
|
|
|
|
ele.unit = "EpU"
|
|
|
|
ele.unit_description = "Elepower Unit"
|
|
|
|
|
|
|
|
-- APIs
|
2021-08-11 10:25:00 +00:00
|
|
|
dofile(modpath..'/external_nodes_items.lua')
|
2018-06-18 07:09:43 +00:00
|
|
|
dofile(modpath..'/helpers.lua')
|
|
|
|
dofile(modpath..'/network.lua')
|
|
|
|
dofile(modpath..'/formspec.lua')
|
|
|
|
dofile(modpath..'/machine.lua')
|
|
|
|
dofile(modpath..'/conductor.lua')
|
|
|
|
dofile(modpath..'/tool.lua')
|