diff options
author | cheapie <no-email-for-you@example.com> | 2024-04-14 15:55:08 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2024-04-14 15:55:08 -0500 |
commit | 6152a079ab1c7583da32b71c7236cd079fe2810b (patch) | |
tree | 4986986b5f60741a646d01c3e1435a7bb510bd57 /controller.lua | |
parent | 8fc57f0535946351de94066e71b02b16b2c81bf9 (diff) | |
download | celevator-6152a079ab1c7583da32b71c7236cd079fe2810b.tar celevator-6152a079ab1c7583da32b71c7236cd079fe2810b.tar.gz celevator-6152a079ab1c7583da32b71c7236cd079fe2810b.tar.bz2 celevator-6152a079ab1c7583da32b71c7236cd079fe2810b.tar.xz celevator-6152a079ab1c7583da32b71c7236cd079fe2810b.zip |
Add floor passing beep
Diffstat (limited to 'controller.lua')
-rw-r--r-- | controller.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/controller.lua b/controller.lua index 90fd841..0912776 100644 --- a/controller.lua +++ b/controller.lua @@ -435,6 +435,8 @@ function celevator.controller.finish(pos,mem,changedinterrupts) celevator.drives[drivetype].movedoors(drivepos,"close") elseif command.command == "resetfault" then celevator.drives[drivetype].resetfault(drivepos) + elseif command.command == "pibeep" then + celevator.drives[drivetype].pibeep(drivepos) end end end |