mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-30 06:21:05 +01:00
Pressure plates are now attached nodes
This commit is contained in:
parent
b8eeda3df0
commit
103fd17a93
1 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ function mesecon:register_pressure_plate(offstate, onstate, description, texture
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
selection_box = pp_box_off,
|
selection_box = pp_box_off,
|
||||||
node_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,
|
is_ground_content = false,
|
||||||
description = description,
|
description = description,
|
||||||
pressureplate = ppspec,
|
pressureplate = ppspec,
|
||||||
|
@ -82,7 +82,7 @@ function mesecon:register_pressure_plate(offstate, onstate, description, texture
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
selection_box = pp_box_on,
|
selection_box = pp_box_on,
|
||||||
node_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,
|
is_ground_content = false,
|
||||||
drop = offstate,
|
drop = offstate,
|
||||||
pressureplate = ppspec,
|
pressureplate = ppspec,
|
||||||
|
|
Loading…
Reference in a new issue