mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 21:17:44 +01:00
Automapper - IMPORTANT, READ ME [MDB IGNORE] (#14679)
* wew * Update area_spawn_subsystem.dm * Update area_spawn_subsystem.dm * Update area_spawn_entries.dm * wew * Update area_spawn_entries.dm * Update area_spawn_entries.dm * Update area_spawn_entries.dm * Update summon_beacon.dm * yeees * Update area_spawn_entries.dm * qwqw * e * Update area_spawn_entries.dm * Update area_spawn_entries.dm * yes * Update area_spawn_entries.dm * Update area_spawn_entries.dm * Update area_spawn_entries.dm * Update area_spawn_entries.dm * Update area_spawn_entries.dm * automapper * mmkay * wew * science post * Update DeltaStation2_skyrat.dmm * fc * starting on delta * Update metastation_science_post.dmm * better loading system, metastation, delta, better file system * unit tests, bugfixes, multiz support * Update automapper.dm * Update _compile_options.dm * Kilo and tramstation * wew * Update area_spawn_entries.dm * Update automapper_config.toml * Update automapper_subsystem.dm * Update Skyrat_Map_Reset.dmm * remove redundant maps * Update _basemap.dm * wew * Update automap_template.dm * guard outposts no need * wew * NTR offices * e * Update area_spawn_entries.dm * Update area_spawn_entries.dm * Update icebox_ntrep_office.dmm * 0 * iucebox arrivals fix * Update area_spawn_entries.dm * Update automap_template.dm * Update readme.md
This commit is contained in:
@@ -302,11 +302,15 @@ Used by the AI doomsday and the self-destruct nuke.
|
||||
add_new_zlevel("[name][i ? " [i + 1]" : ""]", level)
|
||||
++i
|
||||
|
||||
SSautomapper.preload_templates_from_toml(files) // SKYRAT EDIT ADDITION - We need to load our templates AFTER the Z level exists, otherwise, there is no z level to preload.
|
||||
|
||||
// load the maps
|
||||
for (var/P in parsed_maps)
|
||||
var/datum/parsed_map/pm = P
|
||||
if (!pm.load(1, 1, start_z + parsed_maps[P], no_changeturf = TRUE))
|
||||
if (!pm.load(1, 1, start_z + parsed_maps[P], no_changeturf = TRUE, blacklisted_turfs = SSautomapper.get_turf_blacklists(files))) // SKYRAT EDIT CHANGE - We use blacklisted turfs to carve out places for our templates.
|
||||
errorList |= pm.original_path
|
||||
else
|
||||
SSautomapper.load_templates_from_cache(files) // SKYRAT EDIT ADDITION - We need to load our templates from cache after our space has been carved out.
|
||||
if(!silent)
|
||||
add_startup_message("Loaded [name] in [(REALTIMEOFDAY - start_time)/10]s!") //SKYRAT EDIT CHANGE
|
||||
return parsed_maps
|
||||
|
||||
Reference in New Issue
Block a user