forked from VoxeLibre/VoxeLibre
Pressure plates are now attached nodes
This commit is contained in:
parent
b8eeda3df0
commit
103fd17a93
|
@ -62,7 +62,7 @@ function mesecon:register_pressure_plate(offstate, onstate, description, texture
|
|||
paramtype = "light",
|
||||
selection_box = pp_box_off,
|
||||
node_box = pp_box_off,
|
||||
groups = {snappy = 2, oddly_breakable_by_hand = 3},
|
||||
groups = {snappy = 2, oddly_breakable_by_hand = 3, attached_node = 1},
|
||||
is_ground_content = false,
|
||||
description = description,
|
||||
pressureplate = ppspec,
|
||||
|
@ -82,7 +82,7 @@ function mesecon:register_pressure_plate(offstate, onstate, description, texture
|
|||
paramtype = "light",
|
||||
selection_box = pp_box_on,
|
||||
node_box = pp_box_on,
|
||||
groups = {snappy = 2, oddly_breakable_by_hand = 3, not_in_creative_inventory = 1},
|
||||
groups = {snappy = 2, oddly_breakable_by_hand = 3, attached_node = 1, not_in_creative_inventory = 1},
|
||||
is_ground_content = false,
|
||||
drop = offstate,
|
||||
pressureplate = ppspec,
|
||||
|
|
Loading…
Reference in New Issue