mirror of
https://github.com/sirrobzeroone/elepower.git
synced 2024-11-30 18:43:49 +01:00
16 lines
403 B
Lua
16 lines
403 B
Lua
-- An Elepower Mod
|
|
-- Copyright 2018 Evert "Diamond" Prants <evert@lunasqu.ee>
|
|
|
|
local modpath = minetest.get_modpath(minetest.get_current_modname())
|
|
|
|
elesolar = rawget(_G, "elesolar") or {}
|
|
elesolar.modpath = modpath
|
|
|
|
dofile(modpath.."/generator.lua")
|
|
dofile(modpath.."/register.lua")
|
|
dofile(modpath.."/crafting.lua")
|
|
|
|
if minetest.get_modpath("3d_armor") ~= nil then
|
|
dofile(modpath.."/helmet.lua")
|
|
end
|