mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 05:51:56 +01:00
Exoplanet Overhaul: The Shape of Things to Come (#16216)
* the end of the beginning * SPEED * SPEED * we real speed * fix ore gen * re-organize exoplanet stuff * reorg and rename defines, fix ores * Everything Else * 1.2.0+a3 rust_g * fix merge * get rid of noise maps * fix adhomai, delete random maps * make adhomai poggers or something idk * debug * crystal planet, misc bugfixes * fixes * log * change mineral gen to make adhomai work * try this * huh * huhw * rust_g 1.2.0+a4 * port adhomai changes to correct file * fix for rock nomad * bugfixes
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
/obj/effect/overmap/visitable/sector/exoplanet/barren/asteroid
|
||||
name = "mineral asteroid"
|
||||
desc = "A large, resource rich asteroid."
|
||||
massvolume = "Miniscule, not immediately apparent in mass"
|
||||
surfacegravity = "Miniscule, non-obstructive gravity well"
|
||||
surface_color = COLOR_GRAY
|
||||
scanimage = "asteroid.png"
|
||||
possible_themes = list(/datum/exoplanet_theme/barren/asteroid)
|
||||
rock_colors = list(COLOR_ASTEROID_ROCK)
|
||||
planetary_area = /area/exoplanet/barren/asteroid
|
||||
ruin_planet_type = PLANET_ASTEROID
|
||||
ruin_allowed_tags = RUIN_AIRLESS|RUIN_LOWPOP|RUIN_MINING|RUIN_SCIENCE|RUIN_HOSTILE|RUIN_WRECK|RUIN_NATURAL
|
||||
|
||||
place_near_main = list(1, 1)
|
||||
|
||||
/obj/effect/overmap/visitable/sector/exoplanet/barren/asteroid/update_icon()
|
||||
icon_state = "asteroid[rand(1,3)]"
|
||||
|
||||
/obj/effect/overmap/visitable/sector/exoplanet/barren/asteroid/generate_planet_image()
|
||||
skybox_image = image('icons/skybox/skybox_rock_128.dmi', "bigrock")
|
||||
skybox_image.color = pick(rock_colors)
|
||||
skybox_image.pixel_x = rand(0,64)
|
||||
skybox_image.pixel_y = rand(128,256)
|
||||
skybox_image.appearance_flags = DEFAULT_APPEARANCE_FLAGS | RESET_COLOR
|
||||
skybox_image.blend_mode = BLEND_OVERLAY
|
||||
|
||||
/obj/effect/overmap/visitable/sector/exoplanet/barren/asteroid/romanovich
|
||||
name = "romanovich cloud asteroid"
|
||||
desc = "A phoron rich asteroid."
|
||||
possible_themes = list(/datum/exoplanet_theme/barren/asteroid/phoron)
|
||||
@@ -5,8 +5,7 @@
|
||||
scanimage = "barren.png"
|
||||
planetary_area = /area/exoplanet/barren
|
||||
rock_colors = list(COLOR_BEIGE, COLOR_GRAY80, COLOR_BROWN)
|
||||
possible_themes = list(/datum/exoplanet_theme/mountains)
|
||||
map_generators = list(/datum/random_map/noise/exoplanet/barren, /datum/random_map/noise/ore)
|
||||
possible_themes = list(/datum/exoplanet_theme/barren)
|
||||
features_budget = 6
|
||||
surface_color = "#807d7a"
|
||||
water_color = null
|
||||
@@ -22,81 +21,3 @@
|
||||
|
||||
/obj/effect/overmap/visitable/sector/exoplanet/barren/get_surface_color()
|
||||
return "#6C6251"
|
||||
|
||||
/datum/random_map/noise/exoplanet/barren
|
||||
descriptor = "barren exoplanet"
|
||||
smoothing_iterations = 4
|
||||
land_type = /turf/simulated/floor/exoplanet/barren
|
||||
flora_prob = 0.1
|
||||
flora_diversity = 0
|
||||
fauna_prob = 0
|
||||
|
||||
/datum/random_map/noise/exoplanet/barren/New()
|
||||
if(prob(10))
|
||||
flora_diversity = 1
|
||||
..()
|
||||
|
||||
/turf/simulated/floor/exoplanet/barren
|
||||
name = "ground"
|
||||
icon = 'icons/turf/flooring/asteroid.dmi'
|
||||
icon_state = "asteroid"
|
||||
|
||||
/turf/simulated/floor/exoplanet/barren/update_icon()
|
||||
overlays.Cut()
|
||||
if(prob(20))
|
||||
overlays += image('icons/turf/decals/decals.dmi', "asteroid[rand(0,9)]")
|
||||
|
||||
/turf/simulated/floor/exoplanet/barren/Initialize()
|
||||
. = ..()
|
||||
update_icon()
|
||||
|
||||
/area/exoplanet/barren
|
||||
name = "\improper Planetary surface"
|
||||
ambience = 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/effects/wind/wind_4_2.ogg','sound/effects/wind/wind_5_1.ogg')
|
||||
base_turf = /turf/simulated/floor/exoplanet/barren
|
||||
|
||||
//asteroid
|
||||
|
||||
/obj/effect/overmap/visitable/sector/exoplanet/barren/asteroid
|
||||
name = "mineral asteroid"
|
||||
desc = "A large, resource rich asteroid."
|
||||
massvolume = "Miniscule, not immediately apparent in mass"
|
||||
surfacegravity = "Miniscule, non-obstructive gravity well"
|
||||
surface_color = COLOR_GRAY
|
||||
scanimage = "asteroid.png"
|
||||
map_generators = list(/datum/random_map/noise/exoplanet/barren/asteroid, /datum/random_map/noise/ore/rich)
|
||||
rock_colors = list(COLOR_ASTEROID_ROCK)
|
||||
planetary_area = /area/exoplanet/barren/asteroid
|
||||
ruin_planet_type = PLANET_ASTEROID
|
||||
ruin_allowed_tags = RUIN_AIRLESS|RUIN_LOWPOP|RUIN_MINING|RUIN_SCIENCE|RUIN_HOSTILE|RUIN_WRECK|RUIN_NATURAL
|
||||
|
||||
place_near_main = list(1, 1)
|
||||
|
||||
/obj/effect/overmap/visitable/sector/exoplanet/barren/asteroid/update_icon()
|
||||
icon_state = "asteroid[rand(1,3)]"
|
||||
|
||||
/obj/effect/overmap/visitable/sector/exoplanet/barren/asteroid/generate_planet_image()
|
||||
skybox_image = image('icons/skybox/skybox_rock_128.dmi', "bigrock")
|
||||
skybox_image.color = pick(rock_colors)
|
||||
skybox_image.pixel_x = rand(0,64)
|
||||
skybox_image.pixel_y = rand(128,256)
|
||||
skybox_image.appearance_flags = DEFAULT_APPEARANCE_FLAGS | RESET_COLOR
|
||||
skybox_image.blend_mode = BLEND_OVERLAY
|
||||
|
||||
/obj/effect/overmap/visitable/sector/exoplanet/barren/asteroid/romanovich
|
||||
name = "romanovich cloud asteroid"
|
||||
desc = "A phoron rich asteroid."
|
||||
possible_themes = list(/datum/exoplanet_theme/mountains/phoron)
|
||||
map_generators = list(/datum/random_map/noise/exoplanet/barren/asteroid, /datum/random_map/noise/ore/rich/phoron)
|
||||
|
||||
/datum/random_map/noise/exoplanet/barren/asteroid
|
||||
descriptor = "asteroid exoplanet"
|
||||
smoothing_iterations = 4
|
||||
land_type = /turf/unsimulated/floor/asteroid/ash
|
||||
fauna_prob = 1
|
||||
fauna_types = list(/mob/living/simple_animal/hostile/carp/asteroid, /mob/living/simple_animal/hostile/carp/bloater, /mob/living/simple_animal/hostile/carp/shark/reaver,
|
||||
/mob/living/simple_animal/hostile/carp/shark/reaver/eel, /mob/living/simple_animal/hostile/gnat)
|
||||
|
||||
/area/exoplanet/barren/asteroid
|
||||
name = "\improper Asteroid Surface"
|
||||
base_turf = /turf/unsimulated/floor/asteroid/ash
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
/obj/effect/overmap/visitable/sector/exoplanet/crystal
|
||||
name = "crystalline exoplanet"
|
||||
desc = "A near-airless world whose surface is encrusted with various crystalline minerals."
|
||||
color = "#6ba7f7"
|
||||
scanimage = "barren.png"
|
||||
geology = "Exceptional silica content compared to baseline; minimal tectonic activity present"
|
||||
planetary_area = /area/exoplanet/crystal
|
||||
rock_colors = list(COLOR_BLUE_GRAY, COLOR_PALE_BLUE_GRAY)
|
||||
possible_themes = list(/datum/exoplanet_theme/crystal)
|
||||
features_budget = 6
|
||||
surface_color = null
|
||||
water_color = null
|
||||
ruin_planet_type = PLANET_CRYSTAL
|
||||
ruin_allowed_tags = RUIN_AIRLESS|RUIN_LOWPOP|RUIN_MINING|RUIN_SCIENCE|RUIN_HOSTILE|RUIN_WRECK|RUIN_NATURAL
|
||||
|
||||
/obj/effect/overmap/visitable/sector/exoplanet/barren/generate_habitability()
|
||||
return HABITABILITY_BAD
|
||||
|
||||
/obj/effect/overmap/visitable/sector/exoplanet/barren/generate_atmosphere()
|
||||
..()
|
||||
atmosphere.remove_ratio(0.9)
|
||||
|
||||
/obj/effect/overmap/visitable/sector/exoplanet/barren/get_surface_color()
|
||||
return "#6ba7f7"
|
||||
@@ -8,16 +8,14 @@
|
||||
planetary_area = /area/exoplanet/desert
|
||||
rock_colors = list(COLOR_BEIGE, COLOR_PALE_YELLOW, COLOR_GRAY80, COLOR_BROWN)
|
||||
plant_colors = list("#efdd6f","#7b4a12","#e49135","#ba6222","#5c755e","#420d22")
|
||||
map_generators = list(/datum/random_map/noise/exoplanet/desert, /datum/random_map/noise/ore)
|
||||
possible_themes = list(/datum/exoplanet_theme/mountains/breathable)
|
||||
possible_themes = list(/datum/exoplanet_theme/desert)
|
||||
surface_color = "#d6cca4"
|
||||
water_color = null
|
||||
ruin_planet_type = PLANET_DESERT
|
||||
ruin_allowed_tags = RUIN_LOWPOP|RUIN_MINING|RUIN_SCIENCE|RUIN_HOSTILE|RUIN_WRECK|RUIN_NATURAL
|
||||
|
||||
/obj/effect/overmap/visitable/sector/exoplanet/desert/generate_map()
|
||||
if(prob(70))
|
||||
lightlevel = rand(5,10)/10 //deserts are usually :lit:
|
||||
lightlevel = rand(5,10)/10 //deserts are usually :lit:
|
||||
..()
|
||||
|
||||
/obj/effect/overmap/visitable/sector/exoplanet/desert/generate_atmosphere()
|
||||
@@ -43,27 +41,6 @@
|
||||
S.set_trait(TRAIT_CARNIVOROUS,2)
|
||||
S.set_trait(TRAIT_SPREAD,0)
|
||||
|
||||
/datum/random_map/noise/exoplanet/desert
|
||||
descriptor = "desert exoplanet"
|
||||
smoothing_iterations = 4
|
||||
land_type = /turf/simulated/floor/exoplanet/desert
|
||||
|
||||
flora_prob = 0
|
||||
fauna_types = list(/mob/living/simple_animal/thinbug, /mob/living/simple_animal/tindalos)
|
||||
|
||||
/datum/random_map/noise/exoplanet/desert/get_additional_spawns(var/value, var/turf/T)
|
||||
..()
|
||||
if(is_edge_turf(T))
|
||||
return
|
||||
var/v = noise2value(value)
|
||||
if(v > 6)
|
||||
if(prob(10))
|
||||
new/obj/structure/quicksand(T)
|
||||
|
||||
/area/exoplanet/desert
|
||||
ambience = 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')
|
||||
base_turf = /turf/simulated/floor/exoplanet/desert
|
||||
|
||||
/obj/structure/quicksand
|
||||
name = "sand"
|
||||
icon = 'icons/obj/quicksand.dmi'
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
surfacewater = "63% surface water, majority readings not visibly potable. Expected mineral toxicity or salt presence in water bodies"
|
||||
planetary_area = /area/exoplanet/grass
|
||||
rock_colors = list(COLOR_ASTEROID_ROCK, COLOR_GRAY80, COLOR_BROWN)
|
||||
plant_colors = list("#0e1e14","#1a3e38","#5a7467","#9eab88","#6e7248", "RANDOM")
|
||||
map_generators = list(/datum/random_map/noise/exoplanet/grass)
|
||||
plant_colors = list("#3c772e","#27614b","#3f8d35","#185f18","#799628", "RANDOM")
|
||||
possible_themes = list(/datum/exoplanet_theme/grass)
|
||||
ruin_planet_type = PLANET_GRASS
|
||||
ruin_allowed_tags = RUIN_LOWPOP|RUIN_SCIENCE|RUIN_HOSTILE|RUIN_WRECK|RUIN_NATURAL
|
||||
|
||||
@@ -46,21 +46,8 @@
|
||||
if(prob(30))
|
||||
S.set_trait(TRAIT_PARASITE,1)
|
||||
|
||||
/area/exoplanet/grass
|
||||
base_turf = /turf/simulated/floor/exoplanet/grass
|
||||
ambience = 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')
|
||||
|
||||
/area/exoplanet/grass/play_ambience(var/mob/living/L)
|
||||
..()
|
||||
if(L && L.client && (L.client.prefs.sfx_toggles & ASFX_AMBIENCE) && !L.ear_deaf)
|
||||
L.playsound_to(get_turf(L),sound('sound/ambience/jungle.ogg', repeat = 1, wait = 0, volume = 25, channel = 1))
|
||||
|
||||
/datum/random_map/noise/exoplanet/grass
|
||||
descriptor = "grass exoplanet"
|
||||
smoothing_iterations = 2
|
||||
land_type = /turf/simulated/floor/exoplanet/grass
|
||||
water_type = /turf/simulated/floor/exoplanet/water/shallow
|
||||
|
||||
flora_prob = 10
|
||||
flora_diversity = 6
|
||||
fauna_types = list(/mob/living/simple_animal/yithian, /mob/living/simple_animal/tindalos, /mob/living/simple_animal/cosmozoan)
|
||||
/obj/effect/overmap/visitable/sector/exoplanet/grass/marsh
|
||||
name = "marsh exoplanet"
|
||||
desc = "A swampy planet, home to exotic creatures and flora."
|
||||
possible_themes = list(/datum/exoplanet_theme/grass/marsh)
|
||||
ruin_planet_type = PLANET_MARSH
|
||||
|
||||
@@ -7,47 +7,9 @@
|
||||
rock_colors = list(COLOR_BEIGE, COLOR_PALE_YELLOW, COLOR_GRAY80, COLOR_BROWN)
|
||||
grass_color = null
|
||||
plant_colors = null
|
||||
map_generators = list(/datum/random_map/noise/exoplanet/grass/grove)
|
||||
possible_themes = list(/datum/exoplanet_theme/mountains/breathable)
|
||||
possible_themes = list(/datum/exoplanet_theme/jungle)
|
||||
ruin_planet_type = PLANET_GROVE
|
||||
ruin_allowed_tags = RUIN_LOWPOP|RUIN_SCIENCE|RUIN_HOSTILE|RUIN_WRECK|RUIN_NATURAL
|
||||
|
||||
/obj/effect/overmap/visitable/sector/exoplanet/grass/grove/get_surface_color()
|
||||
return "#5C7F34"
|
||||
|
||||
/area/exoplanet/grass/grove
|
||||
base_turf = /turf/simulated/floor/exoplanet/grass/grove
|
||||
|
||||
/datum/random_map/noise/exoplanet/grass/grove
|
||||
descriptor = "grove exoplanet"
|
||||
smoothing_iterations = 2
|
||||
land_type = /turf/simulated/floor/exoplanet/grass/grove
|
||||
water_type = /turf/simulated/floor/exoplanet/water/shallow
|
||||
|
||||
fauna_prob = 1
|
||||
fauna_types = list(/mob/living/simple_animal/yithian, /mob/living/simple_animal/tindalos)
|
||||
|
||||
/datum/random_map/noise/exoplanet/grass/grove/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/bamboo(T)
|
||||
if(3)
|
||||
if(prob(25))
|
||||
new /obj/structure/flora/stalks(T)
|
||||
if(4)
|
||||
if(prob(75))
|
||||
new /obj/structure/flora/clutter(T)
|
||||
if(5)
|
||||
if(prob(35))
|
||||
new /obj/structure/flora/bush/grove(T)
|
||||
if(6)
|
||||
if(prob(25))
|
||||
new /obj/structure/flora/tree/grove(T)
|
||||
|
||||
@@ -6,10 +6,9 @@
|
||||
geology = "Extreme, surface-apparent tectonic activity. Unreadable high-energy geothermal readings. Surface traversal demands caution"
|
||||
weather = "Global sub-atmospheric volcanic ambient weather system. Exercise extreme caution with unpredictable volcanic eruption"
|
||||
surfacewater = "Majority superheated methane, silicon and metallic substances, 7% liquid surface area."
|
||||
planetary_area = /area/exoplanet/barren
|
||||
planetary_area = /area/exoplanet/lava
|
||||
rock_colors = list(COLOR_DARK_GRAY)
|
||||
possible_themes = list(/datum/exoplanet_theme/mountains)
|
||||
map_generators = list(/datum/random_map/noise/exoplanet/lava, /datum/random_map/noise/ore)
|
||||
possible_themes = list(/datum/exoplanet_theme/volcanic)
|
||||
features_budget = 4
|
||||
surface_color = "#cf1020"
|
||||
water_color = null
|
||||
@@ -25,19 +24,3 @@
|
||||
|
||||
/obj/effect/overmap/visitable/sector/exoplanet/lava/get_surface_color()
|
||||
return "#575d5e"
|
||||
|
||||
/datum/random_map/noise/exoplanet/lava
|
||||
descriptor = "lava exoplanet"
|
||||
smoothing_iterations = 4
|
||||
land_type = /turf/unsimulated/floor/asteroid/basalt
|
||||
water_type = /turf/simulated/lava
|
||||
water_level_min = 3
|
||||
water_level_max = 5
|
||||
flora_prob = 0
|
||||
flora_diversity = 0
|
||||
fauna_prob = 0
|
||||
|
||||
/area/exoplanet/lava
|
||||
name = "\improper Planetary surface"
|
||||
ambience = AMBIENCE_LAVA
|
||||
base_turf = /turf/unsimulated/floor/asteroid/basalt
|
||||
|
||||
@@ -5,8 +5,6 @@
|
||||
color = "#bf7c39"
|
||||
icon_state = "globe1"
|
||||
rock_colors = list(COLOR_GRAY80)
|
||||
possible_themes = list(/datum/exoplanet_theme/mountains)
|
||||
map_generators = list(/datum/random_map/noise/exoplanet/barren, /datum/random_map/noise/ore)
|
||||
features_budget = 1
|
||||
surface_color = "#B1A69B"
|
||||
generated_name = FALSE
|
||||
@@ -36,8 +34,6 @@
|
||||
rock_colors = null
|
||||
plant_colors = null
|
||||
rock_colors = list("#4a3f41")
|
||||
possible_themes = list(/datum/exoplanet_theme/mountains)
|
||||
map_generators = list(/datum/random_map/noise/exoplanet/barren, /datum/random_map/noise/ore)
|
||||
features_budget = 1
|
||||
surface_color = "#4a3f41"
|
||||
generated_name = FALSE
|
||||
@@ -88,8 +84,7 @@
|
||||
surfacegravity = "0.25"
|
||||
charted = "Natural satellite of Tajaran homeworld, charted 2418CE, NanoTrasen Corporation"
|
||||
geology = "Zero tectonic heat, completely dormant geothermal signature. Presumed dead core"
|
||||
possible_themes = list(/datum/exoplanet_theme/mountains)
|
||||
map_generators = list(/datum/random_map/noise/exoplanet/barren/raskara, /datum/random_map/noise/ore)
|
||||
possible_themes = list(/datum/exoplanet_theme/barren/raskara)
|
||||
features_budget = 1
|
||||
surface_color = "#373737"
|
||||
generated_name = FALSE
|
||||
@@ -109,23 +104,6 @@
|
||||
skybox_image.pixel_x = rand(0,64)
|
||||
skybox_image.pixel_y = rand(128,256)
|
||||
|
||||
/datum/random_map/noise/exoplanet/barren/raskara
|
||||
land_type = /turf/simulated/floor/exoplanet/barren/raskara
|
||||
|
||||
/turf/simulated/floor/exoplanet/barren/raskara
|
||||
name = "ground"
|
||||
icon = 'icons/turf/flooring/asteroid.dmi'
|
||||
icon_state = "asteroid"
|
||||
color = "#373737"
|
||||
|
||||
/turf/simulated/floor/exoplanet/barren/update_icon()
|
||||
overlays.Cut()
|
||||
|
||||
/area/exoplanet/barren/raskara
|
||||
name = "Raskara Surface"
|
||||
ambience = AMBIENCE_OTHERWORLDLY
|
||||
base_turf = /turf/simulated/floor/exoplanet/barren/raskara
|
||||
|
||||
//Adhomai
|
||||
/obj/effect/overmap/visitable/sector/exoplanet/adhomai
|
||||
name = "Adhomai"
|
||||
@@ -142,8 +120,7 @@
|
||||
surfacewater = "Majority frozen, 78% surface water. Significant tidal forces from natural satellite"
|
||||
rock_colors = null
|
||||
plant_colors = null
|
||||
possible_themes = list(/datum/exoplanet_theme/mountains/adhomai)
|
||||
map_generators = list(/datum/random_map/noise/exoplanet/snow/adhomai, /datum/random_map/noise/ore/rich)
|
||||
possible_themes = list(/datum/exoplanet_theme/snow/adhomai)
|
||||
features_budget = 8
|
||||
surface_color = "#e8faff"
|
||||
water_color = "#b5dfeb"
|
||||
@@ -187,7 +164,7 @@
|
||||
|
||||
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_themes = list(/datum/exoplanet_theme/snow/tundra/adhomai)
|
||||
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)
|
||||
|
||||
desc += " The landing sites are located at the [landing_faction]'s territory."
|
||||
@@ -216,106 +193,3 @@
|
||||
|
||||
/obj/effect/overmap/visitable/sector/exoplanet/adhomai/update_icon()
|
||||
return
|
||||
|
||||
/datum/random_map/noise/exoplanet/snow/adhomai
|
||||
descriptor = "Adhomai"
|
||||
smoothing_iterations = 1
|
||||
flora_prob = 5
|
||||
water_level_max = 2
|
||||
land_type = /turf/simulated/floor/exoplanet/snow
|
||||
water_type = /turf/simulated/floor/exoplanet/ice
|
||||
fauna_types = list(/mob/living/simple_animal/ice_tunneler, /mob/living/simple_animal/ice_tunneler/male, /mob/living/simple_animal/fatshouter, /mob/living/simple_animal/fatshouter/male,
|
||||
/mob/living/simple_animal/hostile/retaliate/rafama, /mob/living/simple_animal/hostile/retaliate/rafama/male, /mob/living/simple_animal/hostile/retaliate/rafama/baby,
|
||||
/mob/living/simple_animal/hostile/wind_devil, /mob/living/carbon/human/farwa/adhomai, /mob/living/simple_animal/hostile/harron, /mob/living/simple_animal/climber,
|
||||
/mob/living/simple_animal/snow_strider, /mob/living/simple_animal/nosehorn)
|
||||
|
||||
/datum/random_map/noise/exoplanet/snow/adhomai/generate_flora()
|
||||
for(var/i = 1 to flora_diversity)
|
||||
var/seed_chosen = pick("shand", "mtear", "earthenroot", "nifberries", "nfrihi", "nmshaan")
|
||||
var/datum/seed/chosen_seed = SSplants.seeds[seed_chosen]
|
||||
|
||||
small_flora_types += chosen_seed
|
||||
|
||||
/datum/random_map/noise/exoplanet/snow/adhomai/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(10))
|
||||
new /obj/structure/flora/rock/ice(T)
|
||||
if(3)
|
||||
if(prob(50))
|
||||
new /obj/structure/flora/grass/adhomai(T)
|
||||
if(4)
|
||||
if(prob(50))
|
||||
new /obj/structure/flora/bush/adhomai(T)
|
||||
if(5)
|
||||
if(prob(15))
|
||||
new /obj/structure/flora/tree/adhomai(T)
|
||||
if(6)
|
||||
if(prob(15))
|
||||
new /obj/structure/flora/rock/adhomai(T)
|
||||
if(7)
|
||||
if(prob(15))
|
||||
new /obj/effect/floor_decal/snowdrift(T)
|
||||
if(8)
|
||||
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')
|
||||
base_turf = /turf/simulated/floor/exoplanet/mineral/adhomai
|
||||
|
||||
/turf/simulated/floor/exoplanet/mineral/adhomai
|
||||
name = "icy rock"
|
||||
icon = 'icons/turf/flooring/ice_cavern.dmi'
|
||||
icon_state = "icy_rock"
|
||||
temperature = T0C - 5
|
||||
has_edge_icon = FALSE
|
||||
|
||||
/turf/simulated/floor/exoplanet/mineral/adhomai/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = "icy_rock[rand(1,19)]"
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
planetary_area = /area/exoplanet/snow
|
||||
rock_colors = list(COLOR_DARK_BLUE_GRAY, COLOR_GUNMETAL, COLOR_GRAY80, COLOR_DARK_GRAY)
|
||||
plant_colors = list("#d0fef5","#93e1d8","#93e1d8", "#b2abbf", "#3590f3", "#4b4e6d")
|
||||
map_generators = list(/datum/random_map/noise/exoplanet/snow)
|
||||
possible_themes = list(/datum/exoplanet_theme/snow)
|
||||
surface_color = "#e8faff"
|
||||
water_color = "#b5dfeb"
|
||||
|
||||
@@ -22,16 +22,3 @@
|
||||
limit = initial(H.cold_level_1) + rand(1,10)
|
||||
atmosphere.temperature = max(T0C - rand(10, 100), limit)
|
||||
atmosphere.update_values()
|
||||
|
||||
/datum/random_map/noise/exoplanet/snow
|
||||
descriptor = "snow exoplanet"
|
||||
smoothing_iterations = 1
|
||||
flora_prob = 5
|
||||
water_level_max = 3
|
||||
land_type = /turf/simulated/floor/exoplanet/snow
|
||||
water_type = /turf/simulated/floor/exoplanet/ice
|
||||
fauna_types = list(/mob/living/simple_animal/hostile/retaliate/samak, /mob/living/simple_animal/hostile/retaliate/diyaab, /mob/living/simple_animal/hostile/retaliate/shantak)
|
||||
|
||||
/area/exoplanet/snow
|
||||
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')
|
||||
base_turf = /turf/simulated/floor/exoplanet/snow
|
||||
|
||||
@@ -372,7 +372,7 @@ var/global/dmm_suite/preloader/_preloader = new
|
||||
|
||||
if(crds)
|
||||
if(!no_changeturf && ispath(path, /turf))
|
||||
. = crds.ChangeTurf(path, FALSE, TRUE)
|
||||
. = crds.ChangeTurf(path, FALSE, TRUE, TRUE)
|
||||
else
|
||||
. = create_atom(path, crds)//first preloader pass
|
||||
|
||||
|
||||
@@ -106,6 +106,9 @@ var/list/banned_ruin_ids = list()
|
||||
qdel(S)
|
||||
for(var/obj/machinery/M in T)
|
||||
qdel(M)
|
||||
if(LAZYLEN(T.decals))
|
||||
T.decals.Cut()
|
||||
T.cut_overlays()
|
||||
template.load(central_turf, TRUE)
|
||||
var/datum/map_template/ruin = template
|
||||
if(istype(ruin))
|
||||
|
||||
Reference in New Issue
Block a user