Adds Adhomian Eclipses (#19378)

Adds Adhomian Eclipses of Shi-rr’ata and Shi-rra Arr’Kahata

- [x] Backend code to allow for different 'sunlight'
- [x] Add Shi-rr’ata
- [x] Add Shi-rra Arr’Kahata
- [ ] Find date for Shi-rr’ata (Denied by Cat Lore)

---------

Co-authored-by: Ben10083 <Ben10083@users.noreply.github.com>
This commit is contained in:
Ben
2024-06-10 11:52:44 +00:00
committed by GitHub
co-authored by Ben10083
parent ce6edd0a56
commit 6b30f10cce
7 changed files with 212 additions and 5 deletions
@@ -125,6 +125,9 @@
ground_survey_result = "<br>High concretation of dense metal in the mantle"
// --------------------------------- Adhomai
// NOTE: To trigger Adhomai 'event' (eclipses). Use the set holiday verb to the eclipse name BEFORE this planet is initialized, or have holiday added to holidays.dm
// "Shi-rrata" : Messa Eclipse. Lighting changes.
// "Shi-rra ArrKahata" : Raskara Eclipse. This makes planet covered in darkness and increases hostile animal spawns (Adhomai Hell)
/obj/effect/overmap/visitable/sector/exoplanet/adhomai
name = "Adhomai"
desc = "The Tajaran homeworld. Adhomai is a cold and icy world, suffering from almost perpetual snowfall and extremely low temperatures."
@@ -192,6 +195,12 @@
ruin_type_whitelist = list (/datum/map_template/ruin/exoplanet/north_pole_monolith, /datum/map_template/ruin/exoplanet/north_pole_nka_expedition, /datum/map_template/ruin/exoplanet/north_pole_worm)
initial_weather_state = /singleton/state/weather/calm/arctic_planet
if(Holiday == "Shi-rra ArrKahata") // Messa weeps.
if(landing_faction != "North Pole")
possible_themes = list(/datum/exoplanet_theme/snow/adhomai/darkest_eclipse)
else
possible_themes = list(/datum/exoplanet_theme/snow/tundra/adhomai/darkest_eclipse)
desc += " The landing sites are located at the [landing_faction]'s territory."
/obj/effect/overmap/visitable/sector/exoplanet/adhomai/generate_habitability()
@@ -200,6 +209,12 @@
/obj/effect/overmap/visitable/sector/exoplanet/adhomai/generate_map()
if(prob(75))
lightlevel = rand(3,10)/10
switch(Holiday) // Handle eclipses
if("Shi-rrata") // Messa Eclipse
lightlevel = 9/10
lightcolor = COLOR_CYAN
if("Shi-rra ArrKahata") //Raskara Eclipse. Board your windows.
lightlevel = 0
..()
/obj/effect/overmap/visitable/sector/exoplanet/adhomai/generate_planet_image()