weather_announcer
Component which makes you yell about what the weather is
Vars | |
enabled | Are we actually turned on right now? |
---|---|
is_weather_dangerous | Whether the incoming weather is actually going to harm you |
state_danger | Overlay added when you are in danger |
state_normal | Overlay added when things are alright |
state_warning | Overlay added when you should start looking for shelter |
warning_level | Currently displayed warning level |
Procs | |
get_warning_message | Returns a string we should display to communicate what you should be doing |
on_power_lost | If no power, don't receive updates |
on_powered | If powered, receive updates |
on_update_overlays | Add appropriate overlays |
set_current_alert_level | Polls existing weather for what kind of warnings we should be displaying. |
Var Details
enabled
Are we actually turned on right now?
is_weather_dangerous
Whether the incoming weather is actually going to harm you
state_danger
Overlay added when you are in danger
state_normal
Overlay added when things are alright
state_warning
Overlay added when you should start looking for shelter
warning_level
Currently displayed warning level
Proc Details
get_warning_message
Returns a string we should display to communicate what you should be doing
on_power_lost
If no power, don't receive updates
on_powered
If powered, receive updates
on_update_overlays
Add appropriate overlays
set_current_alert_level
Polls existing weather for what kind of warnings we should be displaying.