mirror of
https://github.com/minetest-mods/mesecons.git
synced 2025-07-01 07:10:21 +02:00
Cleanup, make and use util.lua, port command block and delayer to nodedef
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
mesecon.rules={}
|
||||
mesecon.state = {}
|
||||
|
||||
mesecon.rules.default =
|
||||
mesecon.rules.default =
|
||||
{{x=0, y=0, z=-1},
|
||||
{x=1, y=0, z=0},
|
||||
{x=-1, y=0, z=0},
|
||||
@ -15,5 +15,13 @@ mesecon.rules.default =
|
||||
{x=0, y=1, z=-1},
|
||||
{x=0, y=-1, z=-1}}
|
||||
|
||||
mesecon.rules.buttonlike =
|
||||
{{x = 1, y = 0, z = 0},
|
||||
{x = 1, y = 1, z = 0},
|
||||
{x = 1, y =-1, z = 0},
|
||||
{x = 1, y =-1, z = 1},
|
||||
{x = 1, y =-1, z =-1},
|
||||
{x = 2, y = 0, z = 0}}
|
||||
|
||||
mesecon.state.on = "on"
|
||||
mesecon.state.off = "off"
|
||||
|
Reference in New Issue
Block a user