From 21574f2a670bfae5b3f7877a6446079d1343f00e Mon Sep 17 00:00:00 2001 From: cheapie Date: Sat, 27 Apr 2024 14:43:23 -0500 Subject: Add collector state options to the Mesecons output --- mesecons.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/mesecons.lua b/mesecons.lua index fd3ec68..8c79224 100644 --- a/mesecons.lua +++ b/mesecons.lua @@ -138,6 +138,22 @@ local outputoptions = { end, 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", -- cgit v1.2.3