2018-12-12 15:04:53 +02:00
|
|
|
-- An Elepower Mod
|
2018-06-18 10:09:43 +03:00
|
|
|
-- Copyright 2018 Evert "Diamond" Prants <evert@lunasqu.ee>
|
|
|
|
|
|
|
|
local modpath = minetest.get_modpath(minetest.get_current_modname())
|
|
|
|
|
2018-06-18 11:39:17 +03:00
|
|
|
eletool = rawget(_G, "eletool") or {}
|
|
|
|
eletool.modpath = modpath
|
2018-06-18 10:09:43 +03:00
|
|
|
|
2018-12-12 15:04:53 +02:00
|
|
|
-- Simple tools
|
2018-08-03 13:15:31 +03:00
|
|
|
dofile(modpath .. "/tools.lua")
|
2018-12-12 15:04:53 +02:00
|
|
|
|
|
|
|
-- Complex tools
|
|
|
|
dofile(modpath .. "/soldering.lua")
|
|
|
|
|
|
|
|
-- Crafting
|
2018-08-03 13:15:31 +03:00
|
|
|
dofile(modpath .. "/craftitems.lua")
|
|
|
|
dofile(modpath .. "/crafting.lua")
|
2018-12-17 14:25:41 +02:00
|
|
|
|
2019-02-08 19:21:25 +02:00
|
|
|
-- Repair
|
|
|
|
dofile(modpath .. "/ed_reconstructor.lua")
|
|
|
|
|
2018-12-17 14:25:41 +02:00
|
|
|
-- Armor
|
|
|
|
if minetest.get_modpath("3d_armor") then
|
|
|
|
dofile(modpath .. "/armor.lua")
|
|
|
|
end
|