scifi_nodes/init.lua

47 lines
1017 B
Lua
Raw Permalink Normal View History

2019-09-05 09:00:39 +02:00
--scifi_nodes by D00Med
scifi_nodes = {}
2019-09-05 08:44:32 +02:00
local MP = minetest.get_modpath("scifi_nodes")
2016-07-11 06:26:57 +02:00
dofile(MP.."/sounds.lua")
2019-09-05 08:44:32 +02:00
if minetest.get_modpath("xpanes") then
dofile(MP.."/panes.lua")
2016-07-11 06:26:57 +02:00
end
dofile(MP.."/common.lua")
if minetest.get_modpath("default") then
-- only load builder and chest if the default mod is available
-- the formspecs depend on it
dofile(MP.."/builder.lua")
dofile(MP.."/chest.lua")
end
2019-09-05 08:44:32 +02:00
dofile(MP.."/plants.lua")
2023-10-26 17:20:51 +02:00
dofile(MP.."/models.lua")
2019-09-05 08:44:32 +02:00
dofile(MP.."/nodes.lua")
dofile(MP.."/doors.lua")
2020-05-11 10:18:13 +02:00
dofile(MP.."/switch.lua")
2020-05-11 10:25:12 +02:00
dofile(MP.."/protected_switch.lua")
2019-09-05 08:44:32 +02:00
dofile(MP.."/nodeboxes.lua")
dofile(MP.."/palm_scanner.lua")
dofile(MP.."/digicode.lua")
dofile(MP.."/octagon_panes.lua")
dofile(MP.."/forcefield.lua")
dofile(MP.."/crafts.lua")
if minetest.get_modpath("letters") then
-- register letter nodes
dofile(MP.."/letters.lua")
end
if minetest.get_modpath("mesecons_stealthnode") then
-- register stealthnodes
dofile(MP.."/stealthnodes.lua")
end
2020-07-21 11:52:47 +02:00
minetest.log("action", "[scifi_nodes] loaded.")