diff options
author | cheapie <no-email-for-you@example.com> | 2024-04-04 17:38:57 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2024-04-04 17:38:57 -0500 |
commit | 15fd61d88ab31d9199604c37614d4459792c1016 (patch) | |
tree | 545cfd5e82cef6feb73dd2f371b2fc58df5cde3c /controllerfw.lua | |
parent | 6856fc39790ed0ec912148d7fff91a9b95808e65 (diff) | |
download | celevator-15fd61d88ab31d9199604c37614d4459792c1016.tar celevator-15fd61d88ab31d9199604c37614d4459792c1016.tar.gz celevator-15fd61d88ab31d9199604c37614d4459792c1016.tar.bz2 celevator-15fd61d88ab31d9199604c37614d4459792c1016.tar.xz celevator-15fd61d88ab31d9199604c37614d4459792c1016.zip |
Rewrite call button communication
This is a breaking change, all existing call buttons will have to be removed and re-placed
Diffstat (limited to 'controllerfw.lua')
-rw-r--r-- | controllerfw.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controllerfw.lua b/controllerfw.lua index abfc358..a4efbec 100644 --- a/controllerfw.lua +++ b/controllerfw.lua @@ -740,7 +740,7 @@ if mem.drive.status.dpos > mem.drive.status.apos then elseif mem.drive.status.dpos < mem.drive.status.apos then arrow = "v" end -mem.infotext = string.format("Floor %s %s - %s - Doors %s",mem.params.floornames[getpos()],arrow,modenames[mem.carstate],doorstates[mem.doorstate]) +mem.infotext = string.format("ID %d: Floor %s %s - %s - Doors %s",mem.carid,mem.params.floornames[getpos()],arrow,modenames[mem.carstate],doorstates[mem.doorstate]) if mem.drive.type then mem.showrunning = mem.drive.status.vel ~= 0 |