forked from Mirrorlandia_minetest/mesecons
Update list of MVPS stoppers
This commit is contained in:
parent
1d30891349
commit
f6b0de64b8
@ -328,11 +328,31 @@ end
|
|||||||
-- TODO: load blocks instead, as with wires.
|
-- TODO: load blocks instead, as with wires.
|
||||||
mesecon.register_mvps_stopper("ignore")
|
mesecon.register_mvps_stopper("ignore")
|
||||||
|
|
||||||
mesecon.register_mvps_stopper("doors:door_steel_b_1")
|
-- All of the locked and internal nodes in Minetest Game
|
||||||
mesecon.register_mvps_stopper("doors:door_steel_t_1")
|
for _, name in ipairs({
|
||||||
mesecon.register_mvps_stopper("doors:door_steel_b_2")
|
"default:chest_locked",
|
||||||
mesecon.register_mvps_stopper("doors:door_steel_t_2")
|
"default:chest_locked_open",
|
||||||
mesecon.register_mvps_stopper("default:chest_locked")
|
"doors:door_steel_b_1", -- old style doors
|
||||||
|
"doors:door_steel_b_2", --
|
||||||
|
"doors:door_steel_t_1", --
|
||||||
|
"doors:door_steel_t_2", --
|
||||||
|
"doors:door_steel_a", -- new style doors
|
||||||
|
"doors:door_steel_b", --
|
||||||
|
"doors:door_steel_c", --
|
||||||
|
"doors:door_steel_d", --
|
||||||
|
"doors:hidden",
|
||||||
|
"doors:trapdoor_steel",
|
||||||
|
"doors:trapdoor_steel_open",
|
||||||
|
"xpanes:door_steel_bar_a",
|
||||||
|
"xpanes:door_steel_bar_b",
|
||||||
|
"xpanes:door_steel_bar_c",
|
||||||
|
"xpanes:door_steel_bar_d",
|
||||||
|
"xpanes:trapdoor_steel_bar",
|
||||||
|
"xpanes:trapdoor_steel_bar_open",
|
||||||
|
}) do
|
||||||
|
mesecon.register_mvps_stopper(name)
|
||||||
|
end
|
||||||
|
|
||||||
mesecon.register_on_mvps_move(mesecon.move_hot_nodes)
|
mesecon.register_on_mvps_move(mesecon.move_hot_nodes)
|
||||||
mesecon.register_on_mvps_move(function(moved_nodes)
|
mesecon.register_on_mvps_move(function(moved_nodes)
|
||||||
for i = 1, #moved_nodes do
|
for i = 1, #moved_nodes do
|
||||||
|
Loading…
Reference in New Issue
Block a user