Version 1.03

The Debugger
This commit is contained in:
Christian Franz
2022-07-14 08:09:21 +02:00
parent cb3cd4ccd2
commit 780797aba3
13 changed files with 1467 additions and 44 deletions

View File

@@ -1,5 +1,5 @@
changer = {}
changer.version = "1.0.1"
changer.version = "1.0.2"
changer.verbose = false
changer.ups = 1
changer.requiredLibs = {
@@ -11,6 +11,7 @@ changer.changers = {}
Version History
1.0.0 - Initial version
1.0.1 - Better guards in config to avoid <none> Zone getter warning
1.0.2 - on/off: verbosity
Transmogrify an incoming signal to an output signal
- not
@@ -210,6 +211,10 @@ function changer.update()
if aZone.changerOnOff then
if cfxZones.getFlagValue(aZone.changerOnOff, aZone) > 0 then
changer.process(aZone)
else
if changer.verbose or aZone.verbose then
trigger.action.outText("+++chgr: " .. aZone.name .. " gate closed.", 30)
end
end
else
changer.process(aZone)