diff options
author | cheapie <no-email-for-you@example.com> | 2024-04-27 14:43:23 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2024-04-27 14:43:23 -0500 |
commit | 21574f2a670bfae5b3f7877a6446079d1343f00e (patch) | |
tree | bf5323af5ca9cc6eff267c091cf1a0100abd1285 | |
parent | 6f8ba2d5dbeb381aef3c814753d11e06347d0952 (diff) | |
download | celevator-21574f2a670bfae5b3f7877a6446079d1343f00e.tar celevator-21574f2a670bfae5b3f7877a6446079d1343f00e.tar.gz celevator-21574f2a670bfae5b3f7877a6446079d1343f00e.tar.bz2 celevator-21574f2a670bfae5b3f7877a6446079d1343f00e.tar.xz celevator-21574f2a670bfae5b3f7877a6446079d1343f00e.zip |
Add collector state options to the Mesecons output
-rw-r--r-- | mesecons.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mesecons.lua b/mesecons.lua index fd3ec68..8c79224 100644 --- a/mesecons.lua +++ b/mesecons.lua @@ -139,6 +139,22 @@ local outputoptions = { 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", desc = "Car Light Switch", func = function(mem) |