Gate debugging functions added

This commit is contained in:
2026-01-01 23:43:22 -05:00
parent 9e47e04adb
commit 0906603e58
3 changed files with 34 additions and 16 deletions

View File

@ -180,10 +180,12 @@ function handlers.handleGDOTransmission(eventType, side, frequency, idc, matches
state.lastGDOCode = idc
state.lastGDOMatches = matches
utils.log("GDO transmission received: IDC=" .. tostring(idc) .. ", matches=" .. tostring(matches))
utils.debug("GDO received: IDC=" .. tostring(idc) .. ", matches=" .. tostring(matches))
-- If matches configured IDC and gate is connected, open iris
if matches and gate.isStargateConnected() and config.irisEnabled then
utils.log("Valid GDO code received - opening iris")
utils.debug("Valid GDO - opening iris")
utils.openIris()
end