This commit is contained in:
alberyk
2022-01-19 14:52:03 -03:00
parent ce96cbf3a9
commit 0f3e6c29af
4 changed files with 15 additions and 8 deletions

View File

@@ -5,7 +5,7 @@
the Sol Alliance over the loss of such a wealthy system, while Nanotrasen continues to have a heavy hand in all levels of Tau Ceti." the Sol Alliance over the loss of such a wealthy system, while Nanotrasen continues to have a heavy hand in all levels of Tau Ceti."
cargo_price_coef = list("nt" = 0.8, "hpi" = 0.8, "zhu" = 0.8, "een" = 1, "get" = 0.8, "arz" = 1, "blm" = 1, cargo_price_coef = list("nt" = 0.8, "hpi" = 0.8, "zhu" = 0.8, "een" = 1, "get" = 0.8, "arz" = 1, "blm" = 1,
"iac" = 1, "zsc" = 1, "vfc" = 1, "bis" = 0,8, "xmg" = 0.8, "npi" = 0.8) "iac" = 1, "zsc" = 1, "vfc" = 1, "bis" = 0,8, "xmg" = 0.8, "npi" = 0.8)
possible_exoplanets = list(/obj/effect/overmap/visitable/sector/exoplanet/barren/asteroid) possible_exoplanets = list(/obj/effect/overmap/visitable/sector/exoplanet/barren/asteroid, /obj/effect/overmap/visitable/sector/exoplanet/barren/asteroid)
/datum/space_sector/romanovich /datum/space_sector/romanovich
name = SECTOR_ROMANOVICH name = SECTOR_ROMANOVICH
@@ -13,7 +13,7 @@
semi-precious metals as well as radioactive elements, the Romanovich Cloud is the source of nearly all the raw materials used within Tau Ceti. The cloud is also one of the few\ semi-precious metals as well as radioactive elements, the Romanovich Cloud is the source of nearly all the raw materials used within Tau Ceti. The cloud is also one of the few\
sources of Phoron, a volatile but highly-sought after compound, known for its uses in the biomedical and energy industries. Most of the sources of Phoron within the Romanovich \ sources of Phoron, a volatile but highly-sought after compound, known for its uses in the biomedical and energy industries. Most of the sources of Phoron within the Romanovich \
Cloud are under control of NanoTrasen, which has consequently established many high-tech research facilities in the area in the past few years." Cloud are under control of NanoTrasen, which has consequently established many high-tech research facilities in the area in the past few years."
possible_exoplanets = list(/obj/effect/overmap/visitable/sector/exoplanet/barren/asteroid/romanovich) possible_exoplanets = list(/obj/effect/overmap/visitable/sector/exoplanet/barren/asteroid, /obj/effect/overmap/visitable/sector/exoplanet/barren/asteroid/romanovich)
/datum/space_sector/corp_zone /datum/space_sector/corp_zone
name = SECTOR_CORP_ZONE name = SECTOR_CORP_ZONE

View File

@@ -50,11 +50,14 @@
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') 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 base_turf = /turf/simulated/floor/exoplanet/barren
//asteroid
/obj/effect/overmap/visitable/sector/exoplanet/barren/asteroid /obj/effect/overmap/visitable/sector/exoplanet/barren/asteroid
name = "mineral asteroid" name = "mineral asteroid"
desc = "A large, resource rich asteroid." desc = "A large, resource rich asteroid."
map_generators = list(/datum/random_map/noise/exoplanet/barren/asteroid, /datum/random_map/noise/ore/rich) map_generators = list(/datum/random_map/noise/exoplanet/barren/asteroid, /datum/random_map/noise/ore/rich)
rock_colors = list(COLOR_ASTEROID_ROCK) rock_colors = null
planetary_area = /area/exoplanet/barren/asteroid
/obj/effect/overmap/visitable/sector/exoplanet/barren/asteroid/romanovich /obj/effect/overmap/visitable/sector/exoplanet/barren/asteroid/romanovich
name = "romanovich cloud asteroid" name = "romanovich cloud asteroid"
@@ -67,3 +70,6 @@
fauna_prob = 1 fauna_prob = 1
fauna_types = list(/mob/living/simple_animal/carp, /mob/living/simple_animal/hostile/retaliate/cavern_dweller) fauna_types = list(/mob/living/simple_animal/carp, /mob/living/simple_animal/hostile/retaliate/cavern_dweller)
/area/exoplanet/barren/asteroid
name = "\improper Asteroi surface"
base_turf = /turf/unsimulated/floor/asteroid/ash

View File

@@ -290,17 +290,17 @@
var/new_type = landmark_type var/new_type = landmark_type
//sanity-check map size //sanity-check map size
var/lm_min_x = TRANSITIONEDGE+10 var/lm_min_x = TRANSITIONEDGE+LANDING_ZONE_RADIUS
var/lm_max_x = maxx-TRANSITIONEDGE-10 var/lm_max_x = maxx-TRANSITIONEDGE-LANDING_ZONE_RADIUS
var/lm_min_y = TRANSITIONEDGE+10 var/lm_min_y = TRANSITIONEDGE+LANDING_ZONE_RADIUS
var/lm_max_y = maxy-TRANSITIONEDGE-10 var/lm_max_y = maxy-TRANSITIONEDGE-LANDING_ZONE_RADIUS
if (lm_max_x < lm_min_x || lm_max_y < lm_min_y) if (lm_max_x < lm_min_x || lm_max_y < lm_min_y)
log_and_message_admins("Map Size is too small to Support Away Mission Shuttle Landmark. [lm_min_x] [lm_max_x] [lm_min_y] [lm_max_y]") log_and_message_admins("Map Size is too small to Support Away Mission Shuttle Landmark. [lm_min_x] [lm_max_x] [lm_min_y] [lm_max_y]")
return return
while(num) while(num)
attempts-- attempts--
var/turf/T = locate(rand(TRANSITIONEDGE + LANDING_ZONE_RADIUS, maxx - TRANSITIONEDGE - LANDING_ZONE_RADIUS), rand(TRANSITIONEDGE + LANDING_ZONE_RADIUS, maxy - TRANSITIONEDGE - LANDING_ZONE_RADIUS),map_z[map_z.len]) var/turf/T = locate(rand(lm_min_x, lm_max_x), rand(lm_min_y, lm_max_y),map_z[map_z.len])
if(!T || (T in places)) // Two landmarks on one turf is forbidden as the landmark code doesn't work with it. if(!T || (T in places)) // Two landmarks on one turf is forbidden as the landmark code doesn't work with it.
continue continue
if(attempts >= 0) // While we have the patience, try to find better spawn points. If out of patience, put them down wherever, so long as there are no repeats. if(attempts >= 0) // While we have the patience, try to find better spawn points. If out of patience, put them down wherever, so long as there are no repeats.

View File

@@ -57,6 +57,7 @@
return 1 return 1
/datum/random_map/automata/cave_system/apply_to_map() /datum/random_map/automata/cave_system/apply_to_map()
..()
if(!origin_x) origin_x = 1 if(!origin_x) origin_x = 1
if(!origin_y) origin_y = 1 if(!origin_y) origin_y = 1
if(!origin_z) origin_z = 1 if(!origin_z) origin_z = 1