notification_colors¶
Source: base/tealdef/game_mechanics/notifications/gui/notification_colors.d.tl
Notes
GUI colors of the notification categories (notification_colors.gres).
NotificationColors¶
record global base/tealdef/game_mechanics/notifications/gui/notification_colors.d.tl:3
global record NotificationColors
Notes
Colors of the notification categories, defined in ::/game_mechanics/notifications/gui/notification_colors.gres. Style sheets of notifications, statistics and the line and vehicle manager use them.
Example
Fields
| Name | Type | Description |
|---|---|---|
Caution |
GResColor |
Color of Caution notifications (school-bus yellow). |
Problem |
GResColor |
Color of Problem notifications (fire-engine red). |
Info |
GResColor |
Color of Info notifications (true blue). |
Achievement |
GResColor |
Color of Achievement notifications (Kelly green). |
Unkown |
GResColor |
Misspelled in the definition. The .gres file sets Unknown (gray), so this field is nil. |
Opportunity |
OpportunityColor |
Colors of Opportunity notifications. |
NotificationColors.OpportunityColor¶
record base/tealdef/game_mechanics/notifications/gui/notification_colors.d.tl:10
record OpportunityColor
Notes
Colors of Opportunity (subsidy) notifications by subsidy state.
Fields
| Name | Type | Description |
|---|---|---|
Active |
GResColor |
Subsidy in progress (grape). |
Complete |
GResColor |
Subsidy completed (grape). |
Missed |
GResColor |
Subsidy missed (grape). |
Proposed |
GResColor |
Subsidy proposed, RGB 170, 80, 170. |
Failed |
GResColor |
Subsidy failed, RGB 70, 20, 70. |