elepower/elepower_tools/init.lua

26 lines
544 B
Lua
Raw Permalink Normal View History

-- 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())
eletool = rawget(_G, "eletool") or {}
eletool.modpath = modpath
2018-06-18 07:09:43 +00:00
-- Simple tools
2018-08-03 10:15:31 +00:00
dofile(modpath .. "/tools.lua")
-- Complex tools
dofile(modpath .. "/soldering.lua")
-- Crafting
2018-08-03 10:15:31 +00:00
dofile(modpath .. "/craftitems.lua")
dofile(modpath .. "/crafting.lua")
2019-02-08 17:21:25 +00:00
-- Repair
dofile(modpath .. "/ed_reconstructor.lua")
-- Armor
if minetest.get_modpath("3d_armor") then
dofile(modpath .. "/armor.lua")
end