mirror of
https://github.com/D00Med/scifi_nodes.git
synced 2024-12-22 08:00:18 +01:00
register forcefield
and wall
node as stealthnode if available
This commit is contained in:
parent
fd4a03dd8d
commit
5b9e18f278
@ -22,5 +22,6 @@ read_globals = {
|
||||
"minetest",
|
||||
"mesecon",
|
||||
"unifieddyes",
|
||||
"letters"
|
||||
"letters",
|
||||
"stealthnode"
|
||||
}
|
||||
|
5
init.lua
5
init.lua
@ -36,4 +36,9 @@ 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
|
1
mod.conf
1
mod.conf
@ -13,4 +13,5 @@ basic_materials,
|
||||
dye,
|
||||
unifieddyes,
|
||||
letters
|
||||
mesecons_stealthnode
|
||||
"""
|
||||
|
3
stealthnodes.lua
Normal file
3
stealthnodes.lua
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
stealthnode.register_stealthnode("scifi_nodes", "forcefield")
|
||||
stealthnode.register_stealthnode("scifi_nodes", "wall")
|
Loading…
Reference in New Issue
Block a user