mirror of
https://github.com/minetest-mods/mesecons.git
synced 2025-07-04 08:30:24 +02:00
Register piston_up and piston_down as effectors
This commit is contained in:
@ -18,6 +18,8 @@ minetest.register_node("mesecons_pistons:piston_up_normal", {
|
||||
end,
|
||||
})
|
||||
|
||||
mesecon:register_effector("mesecons_pistons:piston_up_normal", "mesecons_pistons:piston_up_normal")
|
||||
|
||||
--registration sticky one:
|
||||
minetest.register_node("mesecons_pistons:piston_up_sticky", {
|
||||
description = "Sticky Piston UP",
|
||||
@ -37,6 +39,8 @@ minetest.register_node("mesecons_pistons:piston_up_sticky", {
|
||||
end,
|
||||
})
|
||||
|
||||
mesecon:register_effector("mesecons_pistons:piston_up_sticky", "mesecons_pistons:piston_up_sticky")
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons_pistons:piston_up_normal",
|
||||
recipe = {
|
||||
|
Reference in New Issue
Block a user