incident_display 
Vars | |
| active_advert | Timer for sign currently showing an advert |
|---|---|
| advert_cooldown | Cooldown until next advert |
| advert_frequency | How often to show an advert |
| configured_advert | The default advert to show on this display |
| configured_advert_duration | Duration of the advert set on this display |
| current_disease_metric | Current active event diseases |
| delam_display_color | Delam digits color |
| delam_record | Delam record high-score |
| disease_display_color | Disease metric digits color |
| hit_count | Tram hits |
| hit_threshold | Tram hits before hazard warning |
| last_delam | Shifts without delam |
| live_display | If the display is currently running live updated content |
| prev_disease_metric | Previous event disease metric |
| sign_features | What statistics we want the sign to display |
| slogan_delay | How long between slogans |
| tram_display_color | Tram hits digits color |
Procs | |
| multitool_act | Switch modes with multitool |
| show_advert | Run an animated advert on the display |
| speak | Speak the given message verbally |
| update_delam_count | Update the delamination count on the display |
| update_disease_count | Update the disease count on the display |
| update_tram_count | Update the tram hit count on the display |
Var Details
active_advert 
Timer for sign currently showing an advert
advert_cooldown 
Cooldown until next advert
advert_frequency 
How often to show an advert
configured_advert 
The default advert to show on this display
configured_advert_duration 
Duration of the advert set on this display
current_disease_metric 
Current active event diseases
delam_display_color 
Delam digits color
delam_record 
Delam record high-score
disease_display_color 
Disease metric digits color
hit_count 
Tram hits
hit_threshold 
Tram hits before hazard warning
last_delam 
Shifts without delam
live_display 
If the display is currently running live updated content
prev_disease_metric 
Previous event disease metric
sign_features 
What statistics we want the sign to display
slogan_delay 
How long between slogans
tram_display_color 
Tram hits digits color
Proc Details
multitool_act
Switch modes with multitool
show_advert
Run an animated advert on the display
Arguments:
- advert - icon state to flick to
- duration - length of the advert animation
speak
Speak the given message verbally
Checks if the machine is powered and the message exists
Arguments:
- message - the message to speak
update_delam_count
Update the delamination count on the display
Use the provided args to update the incident display when in delam mode. Arguments:
- new_count - number of shifts without a delam
- record - current high score for the delam count
update_disease_count
Update the disease count on the display
Use the provided args to update the incident display when in disease mode. Arguments:
- current - current active event disease metric
- previous - previous cached event disease metric
update_tram_count
Update the tram hit count on the display
Sign receives a signal from SStransport that the tram has hit someone, and updates the count. Arguments:
- source - hopefully is the transport subsystem
- tram_collisions - current number of tram hits