mirror of
https://github.com/minetest-mods/mesecons.git
synced 2025-07-01 07:10:21 +02:00
Pressure plates and the object detector will send power to vertical
wires 2 nodes below them, allows to hide circuitry powered by them. Fixes #179 Rewrite pressure plates + vertical wires using mesecon.register_node.
This commit is contained in:
@ -15,6 +15,9 @@ mesecon.rules.default =
|
||||
{x=0, y=1, z=-1},
|
||||
{x=0, y=-1, z=-1}}
|
||||
|
||||
mesecon.rules.pplate = {{x=0, y=-2, z=0}}
|
||||
mesecon.mergetable(mesecon.rules.default, mesecon.rules.pplate)
|
||||
|
||||
mesecon.rules.buttonlike =
|
||||
{{x = 1, y = 0, z = 0},
|
||||
{x = 1, y = 1, z = 0},
|
||||
|
Reference in New Issue
Block a user