status_display
Status display which can show images and scrolling text.
Vars | |
header_text_color | Color for headers, eg. "- ETA -" |
---|---|
message_key_1 | String key we use to index the first effect overlay displayed on us |
message_key_2 | String key we use to index the second effect overlay displayed on us |
text_color | Normal text color |
Procs | |
remove_messages | Remove both message objs and null the fields. Don't call this in subclasses. |
set_messages | Immediately change the display to the given two lines. |
set_picture | Immediately change the display to the given picture. |
update | Update the display and, if necessary, re-enable processing. |
update_message | Create/update message overlay. They must be handled as real objects for the animation to run. Don't call this in subclasses. Arguments: |
Var Details
header_text_color
Color for headers, eg. "- ETA -"
message_key_1
String key we use to index the first effect overlay displayed on us
message_key_2
String key we use to index the second effect overlay displayed on us
text_color
Normal text color
Proc Details
remove_messages
Remove both message objs and null the fields. Don't call this in subclasses.
set_messages
Immediately change the display to the given two lines.
set_picture
Immediately change the display to the given picture.
update
Update the display and, if necessary, re-enable processing.
update_message
Create/update message overlay. They must be handled as real objects for the animation to run. Don't call this in subclasses. Arguments:
- overlay - the current /obj/effect/overlay/status_display_text instance
- line_y - The Y offset to render the text.
- x_offset - Used to offset the text on the X coordinates, not usually needed.
- message - the new message text. Returns new /obj/effect/overlay/status_display_text or null if unchanged.