This commit is contained in:
Jude Melton-Houghton
2023-12-26 03:04:11 -07:00
committed by GitHub
17 changed files with 155 additions and 118 deletions

View File

@ -283,6 +283,7 @@ minetest.register_node("mesecons_pistons:piston_normal_off", {
sounds = mesecon.node_sound.wood,
mesecons = {effector={
action_on = piston_on,
rule_node_nocopy = true,
rules = piston_get_rules,
}},
on_punch = piston_punch,
@ -313,6 +314,7 @@ minetest.register_node("mesecons_pistons:piston_normal_on", {
sounds = mesecon.node_sound.wood,
mesecons = {effector={
action_off = piston_off,
rule_node_nocopy = true,
rules = piston_get_rules,
}},
on_rotate = piston_rotate_on,
@ -362,6 +364,7 @@ minetest.register_node("mesecons_pistons:piston_sticky_off", {
sounds = mesecon.node_sound.wood,
mesecons = {effector={
action_on = piston_on,
rule_node_nocopy = true,
rules = piston_get_rules,
}},
on_punch = piston_punch,
@ -392,6 +395,7 @@ minetest.register_node("mesecons_pistons:piston_sticky_on", {
sounds = mesecon.node_sound.wood,
mesecons = {effector={
action_off = piston_off,
rule_node_nocopy = true,
rules = piston_get_rules,
}},
on_rotate = piston_rotate_on,