1
0
mirror of https://github.com/D00Med/scifi_nodes.git synced 2024-11-15 06:40:28 +01:00
scifi_nodes/init.lua

39 lines
850 B
Lua
Raw 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")
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")
2019-09-05 08:44:32 +02:00
dofile(MP.."/models.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