tram_controller
The physical cabinet on the tram. Acts as the interface between players and the controller datum.
Vars | |
cover_locked | If the cover is locked |
---|---|
cover_open | If the cover is open |
Procs | |
LateInitialize | Mapped or built tram cabinet isn't located on a transport module. |
find_controller | Find the controller associated with the transport module the cabinet is sitting on. |
sync_controller | Since the machinery obj is a dumb terminal for the controller datum, sync the display with the status bitfield of the tram |
try_fix_machine | Check if the tram was malfunctioning due to the random event, and if so end the event on repair. |
update_overlays | Update the blinky lights based on the controller status, allowing to quickly check without opening up the cabinet. |
Var Details
cover_locked
If the cover is locked
cover_open
If the cover is open
Proc Details
LateInitialize
Mapped or built tram cabinet isn't located on a transport module.
find_controller
Find the controller associated with the transport module the cabinet is sitting on.
sync_controller
Since the machinery obj is a dumb terminal for the controller datum, sync the display with the status bitfield of the tram
try_fix_machine
Check if the tram was malfunctioning due to the random event, and if so end the event on repair.
update_overlays
Update the blinky lights based on the controller status, allowing to quickly check without opening up the cabinet.