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 |
delam_display_color | Delam digits color |
delam_record | Delam record high-score |
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 |
sign_features | What statistics we want the sign to display |
tram_display_color | Tram hits digits color |
Procs | |
show_advert | Run an animated advert on the display |
update_delam_count | Update the delamination 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
delam_display_color
Delam digits color
delam_record
Delam record high-score
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
sign_features
What statistics we want the sign to display
tram_display_color
Tram hits digits color
Proc Details
show_advert
Run an animated advert on the display
Arguments:
- advert - icon state to flick to
- duration - length of the advert animation
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_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