mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
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:
@@ -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-rr’ata" : Messa Eclipse. Lighting changes.
|
||||
// "Shi-rra Arr’Kahata" : 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 Arr’Kahata") // 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-rr’ata") // Messa Eclipse
|
||||
lightlevel = 9/10
|
||||
lightcolor = COLOR_CYAN
|
||||
if("Shi-rra Arr’Kahata") //Raskara Eclipse. Board your windows.
|
||||
lightlevel = 0
|
||||
..()
|
||||
|
||||
/obj/effect/overmap/visitable/sector/exoplanet/adhomai/generate_planet_image()
|
||||
|
||||
Reference in New Issue
Block a user