/tg/ Station 13 - Modules - TypesVar Details - Proc Details

tram_controller

The physical cabinet on the tram. Acts as the interface between players and the controller datum.

Vars

cover_lockedIf the cover is locked
cover_openIf the cover is open
has_coverIf this machine has a cover installed

Procs

find_controllerFind the controller associated with the transport module the cabinet is sitting on.
post_machine_initializeMapped or built tram cabinet isn't located on a transport module.
sync_controllerSince the machinery obj is a dumb terminal for the controller datum, sync the display with the status bitfield of the tram
update_overlaysUpdate 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

find_controller

Find the controller associated with the transport module the cabinet is sitting on.

post_machine_initialize

Mapped or built tram cabinet isn't located on a transport module.

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.