Add collector state options to the Mesecons output
This commit is contained in:
parent
6f8ba2d5db
commit
21574f2a67
16
mesecons.lua
16
mesecons.lua
@ -138,6 +138,22 @@ local outputoptions = {
|
|||||||
end,
|
end,
|
||||||
needsfloor = false,
|
needsfloor = false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id = "collectorup",
|
||||||
|
desc = "Collecting Up Calls",
|
||||||
|
func = function(mem)
|
||||||
|
return (mem.carstate == "normal" and mem.direction == "up")
|
||||||
|
end,
|
||||||
|
needsfloor = false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id = "collectordown",
|
||||||
|
desc = "Collecting Down Calls",
|
||||||
|
func = function(mem)
|
||||||
|
return (mem.carstate == "normal" and mem.direction == "down")
|
||||||
|
end,
|
||||||
|
needsfloor = false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id = "lightsw",
|
id = "lightsw",
|
||||||
desc = "Car Light Switch",
|
desc = "Car Light Switch",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user