mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-11-05 06:53:44 +01:00
Remove piston_up from dead groups
This commit is contained in:
parent
6f9036c70b
commit
164971f6d1
@ -3,7 +3,7 @@
|
|||||||
minetest.register_node("mesecons_pistons:piston_up_normal", {
|
minetest.register_node("mesecons_pistons:piston_up_normal", {
|
||||||
description = "Piston UP",
|
description = "Piston UP",
|
||||||
tiles = {"jeija_piston_side.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png"},
|
tiles = {"jeija_piston_side.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png"},
|
||||||
groups = {cracky=3, mesecon_effector_on = 1, mesecon_effector_off = 1, mesecon = 2},
|
groups = {cracky=3, mesecon = 2},
|
||||||
after_dig_node = function(pos, oldnode)
|
after_dig_node = function(pos, oldnode)
|
||||||
local dir = {x=0, y=1, z=0}
|
local dir = {x=0, y=1, z=0}
|
||||||
pos.x, pos.y, pos.z = pos.x + dir.x, pos.y + dir.y, pos.z + dir.z --move to first node to check
|
pos.x, pos.y, pos.z = pos.x + dir.x, pos.y + dir.y, pos.z + dir.z --move to first node to check
|
||||||
@ -24,7 +24,7 @@ mesecon:register_effector("mesecons_pistons:piston_up_normal", "mesecons_pistons
|
|||||||
minetest.register_node("mesecons_pistons:piston_up_sticky", {
|
minetest.register_node("mesecons_pistons:piston_up_sticky", {
|
||||||
description = "Sticky Piston UP",
|
description = "Sticky Piston UP",
|
||||||
tiles = {"jeija_piston_sticky_side.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png"},
|
tiles = {"jeija_piston_sticky_side.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png"},
|
||||||
groups = {cracky=3, mesecon_effector_on = 1, mesecon_effector_off = 1, mesecon = 2},
|
groups = {cracky=3, mesecon = 2},
|
||||||
after_dig_node = function(pos, oldnode)
|
after_dig_node = function(pos, oldnode)
|
||||||
local dir = {x=0, y=1, z=0}
|
local dir = {x=0, y=1, z=0}
|
||||||
pos.x, pos.y, pos.z = pos.x + dir.x, pos.y + dir.y, pos.z + dir.z --move to first node to check
|
pos.x, pos.y, pos.z = pos.x + dir.x, pos.y + dir.y, pos.z + dir.z --move to first node to check
|
||||||
|
Loading…
Reference in New Issue
Block a user