mirror of
https://github.com/sirrobzeroone/elepower.git
synced 2024-11-30 18:43:49 +01:00
23 lines
490 B
Lua
23 lines
490 B
Lua
-- An Elepower Mod
|
|
-- 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
|
|
|
|
-- Simple tools
|
|
dofile(modpath .. "/tools.lua")
|
|
|
|
-- Complex tools
|
|
dofile(modpath .. "/soldering.lua")
|
|
|
|
-- Crafting
|
|
dofile(modpath .. "/craftitems.lua")
|
|
dofile(modpath .. "/crafting.lua")
|
|
|
|
-- Armor
|
|
if minetest.get_modpath("3d_armor") then
|
|
dofile(modpath .. "/armor.lua")
|
|
end
|