The End of the World: the Adhomai North Pole (#15905)

* The end of the world as they know it

* The horrors are here

* changelog

* conflict fix
This commit is contained in:
Alberyk
2023-03-07 22:25:53 +00:00
committed by GitHub
parent 33a996fb21
commit 0c05490891
21 changed files with 1719 additions and 4 deletions
@@ -134,9 +134,13 @@
/datum/map_template/ruin/exoplanet/adhomai_war_memorial, /datum/map_template/ruin/exoplanet/adhomai_raskara_ritual, /datum/map_template/ruin/exoplanet/adhomai_raskariim_hideout, /datum/map_template/ruin/exoplanet/adhomai_cavern_geist,
/datum/map_template/ruin/exoplanet/adhomai_tunneler_nest, /datum/map_template/ruin/exoplanet/adhomai_rafama_herd)
place_near_main = list(2, 2)
var/landing_faction
/obj/effect/overmap/visitable/sector/exoplanet/adhomai/pre_ruin_preparation()
var/landing_faction = pick("People's Republic of Adhomai", "Democratic People's Republic of Adhomai", "New Kingdom of Adhomai")
if(prob(15))
landing_faction = "North Pole"
else
landing_faction = pick("People's Republic of Adhomai", "Democratic People's Republic of Adhomai", "New Kingdom of Adhomai")
switch(landing_faction)
if("People's Republic of Adhomai")
possible_random_ruins = list (/datum/map_template/ruin/exoplanet/adhomai_hunting, /datum/map_template/ruin/exoplanet/adhomai_minefield, /datum/map_template/ruin/exoplanet/adhomai_village,
@@ -161,6 +165,11 @@
/datum/map_template/ruin/exoplanet/adhomai_tunneler_nest, /datum/map_template/ruin/exoplanet/adhomai_rafama_herd, /datum/map_template/ruin/exoplanet/adhomai_amohdan, /datum/map_template/ruin/exoplanet/adhomai_archeology,
/datum/map_template/ruin/exoplanet/nka_base, /datum/map_template/ruin/exoplanet/adhomai_president_hadii_statue_toppled)
if("North Pole")
features_budget = 1
map_generators = list(/datum/random_map/noise/exoplanet/snow/adhomai_north_pole, /datum/random_map/noise/ore/rich)
possible_random_ruins = 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)
desc += " The landing sites are located at the [landing_faction]'s territory."
/obj/effect/overmap/visitable/sector/exoplanet/adhomai/generate_habitability()
@@ -179,7 +188,10 @@
/obj/effect/overmap/visitable/sector/exoplanet/adhomai/generate_atmosphere()
..()
if(atmosphere)
atmosphere.temperature = T0C - 5
if(landing_faction == "North Pole")
atmosphere.temperature = T0C - 40
else
atmosphere.temperature = T0C - 5
atmosphere.update_values()
/obj/effect/overmap/visitable/sector/exoplanet/adhomai/update_icon()
@@ -234,6 +246,43 @@
if(prob(10))
new /obj/effect/floor_decal/snowdrift/large(T)
/datum/random_map/noise/exoplanet/snow/adhomai_north_pole
descriptor = "Adhomai North pole"
smoothing_iterations = 1
flora_prob = 0
water_level_max = 4
land_type = /turf/simulated/floor/exoplanet/snow
water_type = /turf/simulated/floor/exoplanet/ice/dark
fauna_types = list(/mob/living/simple_animal/scavenger, /mob/living/simple_animal/ice_catcher, /mob/living/simple_animal/hostile/plasmageist, /mob/living/simple_animal/hostile/wriggler)
/datum/random_map/noise/exoplanet/snow/adhomai_north_pole/generate_flora()
return
/datum/random_map/noise/exoplanet/snow/adhomai_north_pole/get_additional_spawns(var/value, var/turf/T)
..()
if(istype(T, water_type))
return
if(T.density)
return
var/val = min(10,max(0,round((value/cell_range)*10)))
if(isnull(val)) val = 0
switch(val)
if(2)
if(prob(25))
new /obj/structure/flora/rock/ice(T)
if(3)
if(prob(10))
new /obj/structure/geyser(T)
if(4)
if(prob(20))
new /obj/structure/flora/rock/adhomai(T)
if(5)
if(prob(15))
new /obj/effect/floor_decal/snowdrift(T)
if(6)
if(prob(10))
new /obj/effect/floor_decal/snowdrift/large(T)
/area/exoplanet/adhomai
name = "Adhomian Wilderness"
ambience = list('sound/effects/wind/tundra0.ogg', 'sound/effects/wind/tundra1.ogg', 'sound/effects/wind/tundra2.ogg', 'sound/effects/wind/spooky0.ogg', 'sound/effects/wind/spooky1.ogg')