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 |
has_cover | If this machine has a cover installed |
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 |
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
has_cover

If this machine has a cover installed
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
update_overlays
Update the blinky lights based on the controller status, allowing to quickly check without opening up the cabinet.