2019-09-05 09:00:39 +02:00
|
|
|
--scifi_nodes by D00Med
|
2019-09-09 18:23:50 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
2021-08-27 09:22:15 +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
|
|
|
|
|
2019-09-09 18:23:50 +02:00
|
|
|
dofile(MP.."/common.lua")
|
2021-08-27 09:22:15 +02:00
|
|
|
|
|
|
|
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")
|
2019-09-09 18:23:50 +02:00
|
|
|
dofile(MP.."/palm_scanner.lua")
|
|
|
|
dofile(MP.."/digicode.lua")
|
2020-07-14 07:37:51 +02:00
|
|
|
dofile(MP.."/octagon_panes.lua")
|
2022-12-07 08:08:55 +01:00
|
|
|
dofile(MP.."/forcefield.lua")
|
2020-12-23 17:18:21 +01:00
|
|
|
dofile(MP.."/crafts.lua")
|
2022-12-12 10:36:02 +01:00
|
|
|
|
|
|
|
if minetest.get_modpath("letters") then
|
|
|
|
-- register letter nodes
|
|
|
|
dofile(MP.."/letters.lua")
|
2023-06-23 16:56:45 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
if minetest.get_modpath("mesecons_stealthnode") then
|
|
|
|
-- register stealthnodes
|
|
|
|
dofile(MP.."/stealthnodes.lua")
|
2024-04-21 09:36:24 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
if minetest.get_modpath("mtt") and mtt.enabled then
|
|
|
|
dofile(MP .. "/mtt.lua")
|
2022-12-12 10:36:02 +01:00
|
|
|
end
|