Adds weather to the exoplanets (#18855)

This pr adds weather to some exoplanets:
-snow exoplanets, including adhomai, can go from calm to light snow,
medium snow, and heavy snow
-jungle planets, including konyang, can go from calm to light rain,
regular rain, and storm
-lava planets can go from calm to ash

---------

Co-authored-by: Matt Atlas <mattiathebest2000@hotmail.it>
Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Alberyk
2024-04-06 18:23:01 +00:00
committed by GitHub
co-authored by Matt Atlas Matt Atlas
parent 77ef4add97
commit b2dfb35453
9 changed files with 112 additions and 6 deletions
@@ -29,3 +29,46 @@
/singleton/state_transition/weather/hail
target = /singleton/state/weather/rain/hail
likelihood_weighting = 20
//weather for planets
//snow planets
/singleton/state_transition/weather/calm/snow_planet
target = /singleton/state/weather/calm/snow_planet
/singleton/state_transition/weather/snow/snow_planet
target = /singleton/state/weather/snow/snow_planet
/singleton/state_transition/weather/snow_medium/snow_planet
target = /singleton/state/weather/snow/medium/snow_planet
/singleton/state_transition/weather/snow_heavy/snow_planet
target = /singleton/state/weather/snow/heavy/snow_planet
//jungle planets planets
/singleton/state_transition/weather/calm/jungle_planet
target = /singleton/state/weather/calm/jungle_planet
/singleton/state_transition/weather/rain/jungle_planet
target = /singleton/state/weather/rain/jungle_planet
/singleton/state_transition/weather/storm/jungle_planet
target = /singleton/state/weather/rain/storm/jungle_planet
//lava planets
/singleton/state_transition/weather/calm/lava_planet
target = /singleton/state/weather/calm/lava_planet
/singleton/state_transition/weather/ash/lava_planet
target = /singleton/state/weather/ash/lava_planet
//arctic planets
/singleton/state_transition/weather/calm/arctic_planet
target = /singleton/state/weather/calm/lava_planet
/singleton/state_transition/weather/hail/arctic_planet
target = /singleton/state/weather/rain/hail/arctic_planet
@@ -189,3 +189,56 @@
descriptor = "A rain of ash falls from the sky."
cosmetic_span_class = "warning"
cosmetic_messages = list("Drifts of ash fall from the sky.")
//planet weathers
//snow planet - only snow or calm
/singleton/state/weather/calm/snow_planet
transitions = list(/singleton/state_transition/weather/snow/snow_planet)
/singleton/state/weather/snow/snow_planet
transitions = list(
/singleton/state_transition/weather/calm/snow_planet,
/singleton/state_transition/weather/snow_medium/snow_planet
)
/singleton/state/weather/snow/medium/snow_planet
transitions = list(
/singleton/state_transition/weather/snow/snow_planet,
/singleton/state_transition/weather/snow_heavy/snow_planet
)
/singleton/state/weather/snow/heavy/snow_planet
transitions = list(/singleton/state_transition/weather/snow_medium/snow_planet)
//jungle planets - only calm or rain
/singleton/state/weather/calm/jungle_planet
transitions = list(/singleton/state_transition/weather/rain/jungle_planet)
/singleton/state/weather/rain/jungle_planet
transitions = list(
/singleton/state_transition/weather/calm/jungle_planet,
/singleton/state_transition/weather/storm/jungle_planet
)
/singleton/state/weather/rain/storm/jungle_planet
transitions = list(/singleton/state_transition/weather/rain/jungle_planet)
//lava planets - only calm or ash
/singleton/state/weather/calm/lava_planet
transitions = list(/singleton/state_transition/weather/ash/lava_planet)
/singleton/state/weather/ash/lava_planet
transitions = list(/singleton/state_transition/weather/calm/lava_planet)
//arctic planet - only calm or hail
/singleton/state/weather/calm/arctic_planet
transitions = list(/singleton/state_transition/weather/hail/arctic_planet)
/singleton/state/weather/rain/hail/arctic_planet
transitions = list(/singleton/state_transition/weather/calm/arctic_planet)