* Extended Mineunit tests * Tests for Technic CNC * Test node placement for all listed nodes * Test cable plate placement
28 lines
651 B
Lua
28 lines
651 B
Lua
mineunit:set_modpath("mesecons", "spec/fixtures")
|
|
mineunit:set_modpath("mesecons_mvps", "spec/fixtures")
|
|
|
|
mesecon = {
|
|
state = {},
|
|
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 = setmetatable(mesecon, {
|
|
__call = function(self,...) return self end,
|
|
__index = function(...) return function(...)end end,
|
|
})
|