Weather Types
Weather type specifies conditions under which it can occur (temperature, humidity, pressure,
windpower, time of day, etc.) and what effects it causes on the game world and reality bubble.
When selecting weather type, the game goes over the list defined in region settings and selects the
last entry that is considered eligible under current conditions. If none of the entries are
eligible, invalid weather type "none" will be used.
| Identifier |
Description |
| id |
(mandatory) Unique ID. Must be one continuous word, use underscores if necessary. |
| name |
(mandatory) In-game name displayed. |
| glyph |
(mandatory) Glyph used on overmap. |
| color |
(optional) Color of in-game name. |
| map_color |
(optional) Color of overmap glyph. |
| ranged_penalty |
(mandatory) Penalty to ranged attacks. |
| sight_penalty |
(mandatory) Sight penalty, aka multiplier to tile transparency. |
| light_modifier |
(mandatory) Flat bonus to ambient light. |
| sound_attn |
(mandatory) Sound attenuation (flat reduction to volume). |
| dangerous |
(mandatory) If true, prompts for activity interrupt. |
| precip |
(mandatory) Amount of associated precipitation. Valid values are: none, very_light, light and heavy. |
| rains |
(mandatory) Whether said precipitation falls as rain. |
| acidic |
(optional) Whether said precipitation is acidic. |
| sound_category |
(optional) Sound effects to play. Valid values are: silent, drizzle, rainy, thunder, flurries, snowstorm and snow. |
| sun_intensity |
(mandatory) Sunlight intensity. Valid values are: none, light, normal, and high. Normal and high are considered "direct sunlight". |
| animation |
(optional) Weather animation in reality bubble. Details |
| effects |
(optional) [string, int] pair array for the effects the weather causes. Details |
| requirements |
(optional) Conditions under which this weather type will be eligible to be selected. Details |
All members are mandatory.
| Identifier |
Description |
| factor |
Display density: 0 is none, 1 will blot out the screen. |
| glyph |
Glyph to use in ASCII mode. |
| color |
Glyph color. |
| tile |
Graphical tile to use in TILES mode. |
| Identifier |
Description |
| name |
(mandatory) One of the below listed effects, completely changes the json loaded for some |
| intensity |
(mandatory) Intensity of the effect to give |
morale: Gives player morale, requires additional defined fields
effect: Gives players an effect, requires additional defined fields
wet: Causes players to become wet, amount is intensity
thunder: Thunder is caused with a one in intensity chance
lightning: Lighning is caused with a one in intensity chance
| Identifier |
Description |
| intensity |
(mandatory) This effect is applied every x turns |
| bonus |
(mandatory) Amount of morale each stack gives |
| max_bonus |
(mandatory) Max amount of morale gained |
| duration |
(mandatory) Duration of the morale effect |
| decay_start |
(mandatory) How long until the effect starts to lower in intensity, total duration is this and duration added |
| morale_id_str |
(mandatory) Id of the morale effect applied |
| morale_msg |
(mandatory) Message to give when gaining the morale |
| morale_msg_frequency |
(mandatory) Percent chance to display the message on gaining effect |
| message_type |
(mandatory) Type of message; 0 == Good, 1 == Bad, 2 == Mixed, 3 == Warning, 4 == Info, 5 == Neutral |
{
"name": "morale",
"intensity": 3,
"bonus": 2,
"bonus_max": 60,
"duration": "180 s",
"decay_start": "60 s",
"morale_id_str": "morale_weather_rainbow",
"morale_msg": "You stare in awe at the rainbow.",
"morale_msg_frequency": 8,
"message_type": 0
}
| Identifier |
Description |
| intensity |
(mandatory) This effect will be applied every x turns |
| duration |
(mandatory) How long the effect lasts |
| effect_id_str |
(mandatory) String of the effect id to give |
| effect_intensity |
(mandatory) Intensity of the effect to give |
| bodypart_string |
(optional) Bodypart to apply the effect to, default whole body |
| effect_msg |
(mandatory) Message to give when gaining the effect |
| effect_msg_frequency |
(mandatory) Percent chance to display the message on gaining effect |
| effect_msg_blocked_frequency |
(mandatory) Percent chance to display the protection message on preventing effect |
| message_type |
(mandatory) Type of message; 0 == Good, 1 == Bad, 2 == Mixed, 3 == Warning, 4 == Info, 5 == Neutral |
| precipitation_name |
(mandatory) Name to display in string "Your umbrella protects you from the precipitation_name" |
| protection_data |
(optional) Array of check flags or traits ( along with DEFAULT which is always applied ) and odds ( one in x chance ) to be protected from the effect |
{
"name": "effect",
"intensity": 3,
"duration": "30 s",
"effect_id_str": "emp",
"effect_intensity": 0,
"precipitation_name": "brain waves",
"bodypart_string": "head",
"effect_msg": "You feel an odd wave-like sensation pass through your head.",
"effect_msg_frequency": 16,
"effect_msg_blocked_frequency": 32,
"message_type": 2,
"protection_data": [
{ "check": "RAIN_PROTECT", "odds": 1 },
{ "check": "ACIDPROOF", "odds": 1 },
{ "check": "DEFAULT", "odds": 2 }
]
}
All members are optional.
| Identifier |
Description |
| pressure_min |
Min pressure |
| pressure_max |
Max pressure |
| humidity_min |
Min humidity |
| humidity_max |
Max humidity |
| temperature_min |
Min temperature |
| temperature_max |
Max temperature |
| windpower_min |
Min windpower |
| windpower_max |
Max windpower |
| humidity_and_pressure |
If there are pressure and humidity requirements are they both required or just one |
| acidic |
Does this require acidic precipitation |
| time |
Time of day. Valid values are: day, night, and both. |
| required_weathers |
Will only be selected if conditions match for any of the specified types, i.e. rain can only happen if the conditions for clouds, light drizzle or drizzle are present. Required weathers should be "before" this one in the region weather list. |
{
"id": "lightning",
"type": "weather_type",
"name": "Lightning Storm",
"color": "c_yellow",
"map_color": "h_yellow",
"glyph": "%",
"ranged_penalty": 4,
"sight_penalty": 1.25,
"light_modifier": -45,
"sound_attn": 8,
"dangerous": false,
"precip": "heavy",
"rains": true,
"acidic": false,
"effects": [{ "name": "thunder", "intensity": 50 }, { "name": "lightning", "intensity": 600 }],
"tiles_animation": "weather_rain_drop",
"weather_animation": { "factor": 0.04, "color": "c_light_blue", "glyph": "," },
"sound_category": "thunder",
"sun_intensity": "none",
"requirements": { "pressure_max": 990, "required_weathers": ["thunder"] }
}