mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-28 07:20:09 +01:00
Away Site Exoplanet Generation Improvements + Crystal Planet and Cryo Outpost Updates (#19735)
changes: - rscadd: "Crystal Planet Outpost Update. Adds submaps and exoplanet generation." - rscadd: "Cryo Outpost Update. Updates exoplanet generation." - rscadd: "Away Site Exoplanet Generation Improvements. Allows setting atmos for all exoplanet turfs on the map." - rscadd: "Away Site Exoplanet Generation Improvements. Exoplanet turfs can have light if they are outside." - rscadd: "Away Site Exoplanet Generation Improvements. Base Turf fixes, explosions do not turn turfs into space, and destroying or mining turfs is generally better handled." --------- Signed-off-by: DreamySkrell <107256943+DreamySkrell@users.noreply.github.com> Co-authored-by: DreamySkrell <> Co-authored-by: Fluffy <65877598+FluffyGhoster@users.noreply.github.com>
This commit is contained in:
co-authored by
DreamySkrell <>
Fluffy
parent
ed2aa69444
commit
e545213323
@@ -68,11 +68,13 @@
|
||||
|
||||
var/datum/space_level/base_level = null
|
||||
for(var/traits_for_level in traits)
|
||||
var/level = SSmapping.add_new_zlevel(name, traits_for_level, contain_turfs = FALSE)
|
||||
var/datum/space_level/level = SSmapping.add_new_zlevel(name, traits_for_level, contain_turfs = FALSE)
|
||||
if(!base_level)
|
||||
base_level = level
|
||||
GLOB.map_templates["[level.z_value]"] = src
|
||||
|
||||
var/datum/map_load_metadata/M = maploader.load_map(file(mappath), x, y, base_level.z_value, no_changeturf = no_changeturf)
|
||||
|
||||
if(M)
|
||||
bounds = extend_bounds_if_needed(bounds, M.bounds)
|
||||
atoms_to_initialise += M.atoms_to_initialise
|
||||
@@ -86,7 +88,6 @@
|
||||
if (base_turf_for_zs)
|
||||
SSatlas.current_map.base_turf_by_z[num2text(z_index)] = base_turf_for_zs
|
||||
SSatlas.current_map.player_levels |= z_index
|
||||
GLOB.map_templates["[z_index]"] = src
|
||||
|
||||
smooth_zlevel(world.maxz)
|
||||
require_area_resort()
|
||||
|
||||
Reference in New Issue
Block a user