Skip to content

Commit

Permalink
The Uueoa-Esa Sector
Browse files Browse the repository at this point in the history
  • Loading branch information
RustingWithYou committed Apr 13, 2024
1 parent 17b4485 commit 5d4f58e
Show file tree
Hide file tree
Showing 36 changed files with 1,162 additions and 12 deletions.
1 change: 1 addition & 0 deletions aurorastation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -2379,6 +2379,7 @@
#include "code\modules\maps\planet_types\lore\konyang.dm"
#include "code\modules\maps\planet_types\lore\srandmarr.dm"
#include "code\modules\maps\planet_types\lore\tauceti.dm"
#include "code\modules\maps\planet_types\lore\uueoaesa.dm"
#include "code\modules\martial_arts\gunkata.dm"
#include "code\modules\martial_arts\martial.dm"
#include "code\modules\martial_arts\plasma_fist.dm"
Expand Down
18 changes: 18 additions & 0 deletions code/game/ambience.dm
Original file line number Diff line number Diff line change
Expand Up @@ -214,3 +214,21 @@
#define AMBIENCE_KONYANG_WATER list(\
'sound/ambience/konyang/konyang-water.ogg'\
)

#define AMBIENCE_DESERT list(\
'sound/effects/wind/desert0.ogg',\
'sound/effects/wind/desert1.ogg',\
'sound/effects/wind/desert2.ogg',\
'sound/effects/wind/desert3.ogg',\
'sound/effects/wind/desert4.ogg',\
'sound/effects/wind/desert5.ogg'\
)

#define AMBIENCE_JUNGLE list(\
'sound/effects/wind/wind_2_1.ogg',\
'sound/effects/wind/wind_2_2.ogg',\
'sound/effects/wind/wind_3_1.ogg',\
'sound/effects/wind/wind_4_1.ogg',\
'sound/ambience/eeriejungle2.ogg',\
'sound/ambience/eeriejungle1.ogg'\
)
30 changes: 26 additions & 4 deletions code/modules/background/space_sectors/badlands.dm
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,29 @@
name = SECTOR_UUEOAESA
description = "The home of the Unathi race, Uueoa-Esa is a solar system with 4 rocky planets and 1 gas giant. Moghes is the homeworld of the Unathi species and third from its mother star. \
It is similar in density and composition to Earth and held host to varied and complex environments and local fauna and flora. It's surface area of salt water is much lower than most other habitable planets. \
Moghes is currently experiencing immense environmental degradation following a global nuclear war in the 2430's."
starlight_color = COLOR_WHITE
starlight_power = 5
starlight_range = 1
Moghes is currently experiencing immense environmental degradation following a global nuclear war in the 2430s."
skybox_icon = "uueoaesa"
starlight_color = "#f8711e"
starlight_power = 2
starlight_range = 4
cargo_price_coef = list("nt" = 1.5, "hpi" = 0.5, "zhu" = 1.5, "een" = 1.5, "get" = 1.2, "arz" = 0.5, "blm" = 1.2, "iac" = 1.0, "zsc" = 0.9, "vfc" = 1.2, "bis" = 1.5, "xmg" = 0.6, "npi" = 1.5)
sector_welcome_message = 'sound/AI/welcome_hegemony.ogg'
scheduled_port_visits = list("Thursday", "Sunday")
ports_of_call = list("the city of Skalamar")

possible_exoplanets = list(
/obj/effect/overmap/visitable/sector/exoplanet/barren/omzoli,
/obj/effect/overmap/visitable/sector/exoplanet/barren/pid,
/obj/effect/overmap/visitable/sector/exoplanet/barren/asteroid/chanterel,
/obj/effect/overmap/visitable/sector/exoplanet/barren/asteroid/ytizi,
/obj/effect/overmap/visitable/sector/exoplanet/ouerea,
/obj/effect/overmap/visitable/sector/exoplanet/moghes

)

lore_radio_stations = list(
"72.4 Radio Free Ouerea" = "config/lore_radio/uueoaesa/72.4_Radio_Free_Ouerea.txt",
"83.3 Canyon City Radio" = "config/lore_radio/uueoaesa/83.3_Canyon_City_Radio.txt",
"132.6 SkaldFM" = "config/lore_radio/uueoaesa/132.6_Skald_FM.txt",
"166.8 Discontinued Emergency Broadcast" = "config/lore_radio/uueoaesa/166.8_Azarak_Emergency_Broadcast.txt"
)
206 changes: 206 additions & 0 deletions code/modules/maps/planet_types/lore/uueoaesa.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,206 @@
//Omzoli
/obj/effect/overmap/visitable/sector/exoplanet/barren/omzoli
name = "Omzoli"
desc = "A small and barren planet, bereft of anything other than scientific value and some small mineral deposits"
color = "#a39f9e"
icon_state = "globe"
rock_colors = list(COLOR_GRAY80)
possible_themes = list(/datum/exoplanet_theme/barren)
features_budget = 1
surface_color = "#6b6464"
generated_name = FALSE
charted = "Unathi core world. Charted 2403CE, Sol Alliance Department of Colonization"
geology = "Low mineral levels. No active geothermal signatures detected. "
ring_chance = 0
ruin_planet_type = PLANET_LORE
//ruin_type_whitelist = list(/datum/map_template/ruin/exoplanet/izweski_probe, /datum/map_template/ruin/exoplanet/heph_survey_post, /datum/map_template/ruin/exoplanet/kazhkz_crash)

/obj/effect/overmap/visitable/sector/exoplanet/barren/omzoli/get_surface_color()
return "#6b6464"

/obj/effect/overmap/visitable/sector/exoplanet/barren/omzoli/update_icon()
return

//Pid
/obj/effect/overmap/visitable/sector/exoplanet/barren/pid
name = "Pid"
desc = "Tret's moon, now home to a majority of K'laxan k'ois farming efforts."
icon_state = "asteroid"
color = "#ddff61"
rock_colors = list("#93948f")
features_budget = 1
surface_color = "#83857f"
charted = "Natural satellite of Tret, Unathi core world. Charted 2403CE, Sol Alliance Department of Colonization"
generated_name = FALSE
small_flora_types = list(/datum/seed/koisspore)
possible_themes = list(/datum/exoplanet_theme/barren/pid)
ring_chance = 0
ruin_planet_type = PLANET_LORE
planetary_area = /area/exoplanet/barren/pid
//ruin_type_whitelist = list(/datum/map_template/ruin/exoplanet/pid_crashed_shuttle, /datum/map_template/ruin/exoplanet/pid_kois_farm, /datum/map_template/ruin/exoplanet/izweski_probe, /datum/map_template/ruin/exoplanet/heph_survey_post, /datum/map_template/ruin/exoplanet/kazhkz_crash)

/obj/effect/overmap/visitable/sector/exoplanet/barren/pid/generate_atmosphere()
..()
if(atmosphere)
atmosphere.remove_ratio(1)
atmosphere.adjust_gas(GAS_NITROGEN, MOLES_N2STANDARD)
atmosphere.temperature = T0C + 20
atmosphere.update_values()

//Ytizi Belt Asteroid. This exists solely for unique away site spawns, and is otherwise indistinguishable from a regular asteroid
/obj/effect/overmap/visitable/sector/exoplanet/barren/asteroid/ytizi
name = "Ytizi Belt asteroid"
desc = "One of the many mineral-rich asteroids found in the Uueoa-Esa system's asteroid belt"
icon_state = "asteroid2"
possible_themes = list(/datum/exoplanet_theme/barren/asteroid)
ruin_planet_type = PLANET_LORE
features_budget = 3
//ruin_type_whitelist = list(/datum/map_template/ruin/exoplanet/heph_mining_station, /datum/map_template/ruin/exoplanet/miners_guild_outpost, /datum/map_template/ruin/exoplanet/sol_listening_post, /datum/map_template/ruin/exoplanet/crashed_sol_shuttle_01, /datum/map_template/ruin/exoplanet/crashed_skrell_shuttle_01, /datum/map_template/ruin/exoplanet/digsite, /datum/map_template/ruin/exoplanet/abandoned_outpost, /datum/map_template/ruin/exoplanet/izweski_probe, /datum/map_template/ruin/exoplanet/heph_survey_post, /datum/map_template/ruin/exoplanet/kazhkz_crash)

//Chanterel
/obj/effect/overmap/visitable/sector/exoplanet/barren/asteroid/chanterel
name = "Chanterel"
desc = "Moghes' only moon. Rich in minerals, it is home to several mining operations."
icon_state = "asteroid"
color = "#dddedc"
possible_themes = list(/datum/exoplanet_theme/barren/asteroid/chanterel)
rock_colors = list("#c9c9c7")
features_budget = 3
surface_color = "#a3a3a3"
charted = "Natural satellite of Moghes, Unathi homeworld. Charted 2403CE, Sol Alliance Department of Colonization"
geology = "Large mineral deposits. No sign of geothermal activity."
generated_name = FALSE
ring_chance = 0
ruin_planet_type = PLANET_LORE
place_near_main = list(2,2)
//ruin_type_whitelist = list(/datum/map_template/ruin/exoplanet/heph_mining_station, /datum/map_template/ruin/exoplanet/miners_guild_outpost, /datum/map_template/ruin/exoplanet/digsite, /datum/map_template/ruin/exoplanet/abandoned_outpost, /datum/map_template/ruin/exoplanet/crashed_sol_shuttle_01, /datum/map_template/ruin/exoplanet/crashed_skrell_shuttle_01, /datum/map_template/ruin/exoplanet/izweski_probe, /datum/map_template/ruin/exoplanet/heph_survey_post, /datum/map_template/ruin/exoplanet/kazhkz_crash)
scanimage = "chanterel.png"

/obj/effect/overmap/visitable/sector/exoplanet/barren/asteroid/chanterel/generate_planet_image()
skybox_image = image('icons/skybox/lore_planets.dmi', "chanterel")
skybox_image.pixel_x = rand(0,64)
skybox_image.pixel_y = rand(128,256)

//Moghes
/obj/effect/overmap/visitable/sector/exoplanet/moghes
name = "Moghes"
desc = "The hot and arid homeworld of the Unathi race, and capital world of the Izweski Hegemony. Moghes is currently suffering from an ongoing ecological collapse due to recent nuclear war."
icon_state = "globe2"
color = "#dfe08d"
planetary_area = /area/exoplanet/moghes
massvolume = "0.97/1.03"
surfacegravity = "0.93"
charted = "Unathi homeworld. Charted 2403CE, Sol Alliance Department of Colonization"
geology = "High tectonic heat. Significant geothermal activity detected."
weather = "Global full-atmosphere hydrological weather system. Substantial meteorological activity, violent storms unpredictable. Heavy radioactive contamination detected in atmosphere."
surfacewater = "34% surface water. Weak tidal forces from natural satellite."
scanimage = "moghes.png"
ring_chance = 0
rock_colors = list(COLOR_BEIGE, COLOR_PALE_YELLOW, COLOR_GRAY80, COLOR_BROWN)
plant_colors = null
possible_themes = list(/datum/exoplanet_theme/grass/moghes) //default to untouched lands in case pre_ruin_preparation fucks up
features_budget = 8
flora_diversity = 0
has_trees = FALSE
small_flora_types = list(/datum/seed/xuizi, /datum/seed/gukhe, /datum/seed/sarezhi, /datum/seed/flower/serkiflower, /datum/seed/sthberry)
surface_color = "#e8faff"
generated_name = FALSE
ruin_planet_type = PLANET_LORE
//ruin_type_whitelist = list(/datum/map_template/ruin/exoplanet/moghes_village) //defaults to village bc for some reason nothing spawns if this is empty
place_near_main = list(2,2)
actors = list("reptilian humanoid", "three-faced reptilian humanoid", "a statue", "a sword", "an unidentifiable object", "an Unathi skull", "a staff", "a fishing spear", "reptilian humanoids", "unusual devices", "a pyramid")
var/landing_region

/obj/effect/overmap/visitable/sector/exoplanet/moghes/pre_ruin_preparation()
if(prob(30))
landing_region = "Untouched Lands"
else
landing_region = "Wasteland"
switch(landing_region)
if("Untouched Lands")
possible_themes = list(/datum/exoplanet_theme/grass/moghes) //non-nuked theme
surface_color = "#164a14"
//Untouched Lands ruins
//ruin_type_whitelist = list(/datum/map_template/ruin/exoplanet/moghes_village, /datum/map_template/ruin/exoplanet/moghes_heph_mining, /datum/map_template/ruin/exoplanet/moghes_bar, /datum/map_template/ruin/exoplanet/moghes_hegemony_base, /datum/map_template/ruin/exoplanet/moghes_skakh, /datum/map_template/ruin/exoplanet/moghes_thakh, /datum/map_template/ruin/exoplanet/moghes_kung_fu, /datum/map_template/ruin/exoplanet/moghes_fishing_spot, /datum/map_template/ruin/exoplanet/moghes_memorial, /datum/map_template/ruin/exoplanet/moghes_guild_mining, /datum/map_template/ruin/exoplanet/moghes_threshbeast_herd, /datum/map_template/ruin/exoplanet/moghes_diona_traders, /datum/map_template/ruin/exoplanet/moghes_untouched_tyrant)

if("Wasteland")
possible_themes = list(/datum/exoplanet_theme/desert/wasteland) //nuked theme
surface_color = "#faeac5"
//Wasteland ruins
//ruin_type_whitelist = list(/datum/map_template/ruin/exoplanet/moghes_guwandi, /datum/map_template/ruin/exoplanet/moghes_gawgaryn_bikers, /datum/map_template/ruin/exoplanet/moghes_kataphract_wasteland, /datum/map_template/ruin/exoplanet/moghes_wasteland_dorviza, /datum/map_template/ruin/exoplanet/moghes_wasteland_ozeuoi, /datum/map_template/ruin/exoplanet/moghes_wasteland_vihnmes, /datum/map_template/ruin/exoplanet/moghes_wasteland_village, /datum/map_template/ruin/exoplanet/moghes_wasteland_izweski, /datum/map_template/ruin/exoplanet/moghes_siakh, /datum/map_template/ruin/exoplanet/moghes_queendom, /datum/map_template/ruin/exoplanet/moghes_wasteland_klax, /datum/map_template/ruin/exoplanet/moghes_wasteland_reclaimer, /datum/map_template/ruin/exoplanet/moghes_wasteland_mikuetz, /datum/map_template/ruin/exoplanet/moghes_wasteland_crater, /datum/map_template/ruin/exoplanet/moghes_wasteland_oasis, /datum/map_template/ruin/exoplanet/moghes_wasteland_battlefield, /datum/map_template/ruin/exoplanet/moghes_ruined_base, /datum/map_template/ruin/exoplanet/moghes_wasteland_tomb, /datum/map_template/ruin/exoplanet/moghes_wasteland_bomb, /datum/map_template/ruin/exoplanet/moghes_wasteland_crash, /datum/map_template/ruin/exoplanet/moghes_wasteland_priests, /datum/map_template/ruin/exoplanet/moghes_dead_guwandi, /datum/map_template/ruin/exoplanet/moghes_gawgaryn_riders, /datum/map_template/ruin/exoplanet/moghes_wasteland_tyrant)

desc += " The landing sites are located in the [landing_region]."

/obj/effect/overmap/visitable/sector/exoplanet/moghes/generate_habitability()
return HABITABILITY_IDEAL

/obj/effect/overmap/visitable/sector/exoplanet/moghes/generate_map()
if(prob(75))
lightlevel = rand(5,10)/10
..()

/obj/effect/overmap/visitable/sector/exoplanet/moghes/generate_atmosphere()
..()
if(atmosphere)
atmosphere.remove_ratio(1)
atmosphere.adjust_gas(GAS_OXYGEN, MOLES_O2STANDARD, 1)
atmosphere.adjust_gas(GAS_NITROGEN, MOLES_N2STANDARD, 1)
if(landing_region == "Wasteland")
atmosphere.temperature = T0C + rand(40, 50)
else
atmosphere.temperature = T0C + rand(30, 40)
atmosphere.update_values()

/obj/effect/overmap/visitable/sector/exoplanet/moghes/update_icon()
return

/obj/effect/overmap/visitable/sector/exoplanet/moghes/generate_planet_image()
skybox_image = image('icons/skybox/lore_planets.dmi', "moghes")
skybox_image.pixel_x = rand(0,64)
skybox_image.pixel_y = rand(128,256)

//Ouerea
/obj/effect/overmap/visitable/sector/exoplanet/ouerea
name = "Ouerea"
desc = "The fourth planet from the Uueoa-Esa star, Ouerea was the first planet colonized by the Unathi. It is now home to most of the Hegemony's food production, as ecological collapse devastated Moghes"
icon_state = "globe1"
color = "#0b9e68"
planetary_area = /area/exoplanet/ouerea
massvolume = "0.94/1.0"
surfacegravity = "0.98"
charted = "Unathi core world. Charted 2403CE, Sol Alliance Department of Colonization"
geology = "High-energy geothermal signature, tectonic activity non-obstructive to surface environment"
weather = "Global full-atmosphere hydrological weather system. Dangerous meteorological activity not present"
surfacewater = "52% surface water. Four major surface seas detected."
rock_colors = null
plant_colors = null
possible_themes = list(/datum/exoplanet_theme/grass/ouerea)
features_budget = 6
ring_chance = 0
flora_diversity = 0
has_trees = FALSE
small_flora_types = list(/datum/seed/xuizi, /datum/seed/gukhe, /datum/seed/aghrassh)
generated_name = FALSE
ruin_planet_type = PLANET_LORE
//ruin_type_whitelist = list(/datum/map_template/ruin/exoplanet/ouerea_heph_mining, /datum/map_template/ruin/exoplanet/ouerea_village, /datum/map_template/ruin/exoplanet/ouerea_bar, /datum/map_template/ruin/exoplanet/ouerea_autakh, /datum/map_template/ruin/exoplanet/ouerea_hegemony_base, /datum/map_template/ruin/exoplanet/ouerea_farm, /datum/map_template/ruin/exoplanet/ouerea_fishing_spot, /datum/map_template/ruin/exoplanet/ouerea_sol_base, /datum/map_template/ruin/exoplanet/ouerea_skrell_base, /datum/map_template/ruin/exoplanet/ouerea_guild_mining, /datum/map_template/ruin/exoplanet/ouerea_nt_ruin, /datum/map_template/ruin/exoplanet/ouerea_freewater, /datum/map_template/ruin/exoplanet/ouerea_battlefield, /datum/map_template/ruin/exoplanet/ouerea_threshbeast_herd)
place_near_main = list(2,2)

/obj/effect/overmap/visitable/sector/exoplanet/ouerea/generate_habitability()
return HABITABILITY_IDEAL

/obj/effect/overmap/visitable/sector/exoplanet/ouerea/generate_map()
if(prob(75))
lightlevel = rand(5,10)/10
..()

/obj/effect/overmap/visitable/sector/exoplanet/ouerea/generate_atmosphere()
..()
if(atmosphere)
atmosphere.remove_ratio(1)
atmosphere.adjust_gas(GAS_OXYGEN, MOLES_O2STANDARD, 1)
atmosphere.adjust_gas(GAS_NITROGEN, MOLES_N2STANDARD, 1)
atmosphere.temperature = T0C + rand(25, 30)
atmosphere.update_values()

/obj/effect/overmap/visitable/sector/exoplanet/ouerea/update_icon()
return
3 changes: 3 additions & 0 deletions code/modules/mob/living/carbon/human/human_species.dm
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ INITIALIZE_IMMEDIATE(/mob/living/carbon/human/dummy/mannequin)
/mob/living/carbon/human/stok/Initialize(mapload)
. = ..(mapload, SPECIES_MONKEY_UNATHI)

/mob/living/carbon/human/stok/moghes
faction = "Moghes"

/mob/living/carbon/human/bug/Initialize(mapload)
. = ..(mapload, SPECIES_MONKEY_VAURCA)
src.gender = FEMALE
Expand Down
5 changes: 5 additions & 0 deletions code/modules/mob/living/simple_animal/friendly/moghes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
response_disarm = "gently pushes aside"
response_harm = "kicks"
attacktext = "kicked"
faction = "Moghes"

maxHealth = 100
health = 100
Expand Down Expand Up @@ -59,6 +60,7 @@
response_disarm = "gently pushes aside"
response_harm = "kicks"
attacktext = "kicked"
faction = "Moghes"

maxHealth = 200
health = 200
Expand Down Expand Up @@ -94,6 +96,7 @@
/mob/living/simple_animal/aquatic/fish/moghes
name = "orszi fish"
desc = "A small fish native to the rivers and seas of the planet Moghes, the orzsi or 'swarm fish' is a common food source for noble and common Unathi alike."
faction = "Moghes"

/mob/living/simple_animal/otzek
name = "otzek"
Expand All @@ -110,6 +113,7 @@
emote_see = list("flicks its tongue", "shakes its head")
speak_chance = 1
turns_per_move = 5
faction = "Moghes"

organ_names = list("head", "chest", "right fore leg", "left fore leg", "right rear leg", "left rear leg", "tail")
response_help = "pets"
Expand Down Expand Up @@ -138,6 +142,7 @@
emote_see = list("pecks at the ground","flaps its wings","flicks out its tongue")
speak_chance = 1
turns_per_move = 5
faction = "Moghes"

organ_names = list("head", "chest", "left leg", "right leg", "left wing", "right wing")
response_help = "pets"
Expand Down
9 changes: 9 additions & 0 deletions code/modules/overmap/exoplanets/biomes/barren.dm
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,12 @@

/singleton/biome/barren/asteroid/ice
turf_type = /turf/simulated/floor/exoplanet/ice

/singleton/biome/barren/pid
turf_type = /turf/simulated/floor/exoplanet/barren
generators = list(SMALL_FLORA = list(POISSON_SAMPLE, 7))
spawn_types = list(
SMALL_FLORA = list(
/obj/effect/landmark/exoplanet_spawn/plant = 2
)
)
26 changes: 26 additions & 0 deletions code/modules/overmap/exoplanets/biomes/desert.dm
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,29 @@
/mob/living/simple_animal/tindalos = 1
)
)

/singleton/biome/desert/wasteland //TODO: Add cool wrecked shit for the wasteland
generators = list(
GRASSES = list(BATCHED_NOISE, -0.1, 360, 4),
SMALL_FLORA = list(POISSON_SAMPLE, 7),
LARGE_FLORA = list(POISSON_SAMPLE, 7),
WILDLIFE = list(POISSON_SAMPLE, 45)
)
spawn_types = list(
GRASSES = list(
/obj/structure/flora/grass/desert/bush = 1,
/obj/structure/flora/grass/desert = 3
),
SMALL_FLORA = list(
/obj/structure/flora/rock/desert = 1,
/obj/structure/flora/rock/desert/scrub = 3,
),
LARGE_FLORA = list(
/obj/structure/flora/tree/desert/tiny = 1
),
WILDLIFE = list(
/mob/living/simple_animal/hostile/shrieker = 1,
/mob/living/carbon/human/stok/moghes = 1,
/mob/living/simple_animal/threshbeast = 1
)
)
Loading

0 comments on commit 5d4f58e

Please sign in to comment.