mirror of
https://github.com/D00Med/scifi_nodes.git
synced 2024-12-22 16:10: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",
|
"minetest",
|
||||||
"mesecon",
|
"mesecon",
|
||||||
"unifieddyes",
|
"unifieddyes",
|
||||||
"letters"
|
"letters",
|
||||||
|
"stealthnode"
|
||||||
}
|
}
|
||||||
|
5
init.lua
5
init.lua
@ -37,3 +37,8 @@ if minetest.get_modpath("letters") then
|
|||||||
-- register letter nodes
|
-- register letter nodes
|
||||||
dofile(MP.."/letters.lua")
|
dofile(MP.."/letters.lua")
|
||||||
end
|
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,
|
dye,
|
||||||
unifieddyes,
|
unifieddyes,
|
||||||
letters
|
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