mirror of
https://github.com/minetest-mods/mesecons.git
synced 2025-07-02 15:50:21 +02:00
New branch: Move mesecon to node definition instead of functions like register_conductor; first steps: move everything to legacy
This commit is contained in:
19
mesecons/presets.lua
Normal file
19
mesecons/presets.lua
Normal file
@ -0,0 +1,19 @@
|
||||
mesecon.rules={}
|
||||
mesecon.state = {}
|
||||
|
||||
mesecon.rules.default =
|
||||
{{x=0, y=0, z=-1},
|
||||
{x=1, y=0, z=0},
|
||||
{x=-1, y=0, z=0},
|
||||
{x=0, y=0, z=1},
|
||||
{x=1, y=1, z=0},
|
||||
{x=1, y=-1, z=0},
|
||||
{x=-1, y=1, z=0},
|
||||
{x=-1, y=-1, z=0},
|
||||
{x=0, y=1, z=1},
|
||||
{x=0, y=-1, z=1},
|
||||
{x=0, y=1, z=-1},
|
||||
{x=0, y=-1, z=-1}}
|
||||
|
||||
mesecon.state.on = "on"
|
||||
mesecon.state.off = "off"
|
Reference in New Issue
Block a user