mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
Explorer Overhaul and Gateway Retirement (#20855)
* Adds Explorer spawnability, removes Cyberaid gateways
* deletes some REALLY old bloat maps and deletes Gateway.dm
* Fixes runtime, and removes more stuff like gateway config... cause we dont have a gateway anymore
* removes all mention of /obj/machine/gateway
* Goodbye test_tiny and evil_santa 😈
* removed a literal fucking pamphlet
* changes map area name from Gateway to Expedetition
* changes the access from ACCESS_GATEWAY to ACCESS_EXPEDITION
* Revert "Goodbye test_tiny and evil_santa 😈"
This reverts commit eda775ecd5.
* ok deletes evil_santa only
* Fixes a runtime
* Adds new visuals for new area and explorer spawn marker
* Unhides explorers from the pref menu
* adds spawns and fixes the gateways for all maps, adds Expedition room to Cere
* improves and cleans up the expedition room maps, also clothes for Explorers
* GET OUT OF HERE EXAMPLE.
* byebye button
This commit is contained in:
@@ -20,8 +20,6 @@ GLOBAL_DATUM_INIT(configuration, /datum/server_configuration, new())
|
||||
var/datum/configuration_section/event_configuration/event
|
||||
/// Holder for the gamemode configuration datum
|
||||
var/datum/configuration_section/gamemode_configuration/gamemode
|
||||
/// Holder for the gateway configuration datum
|
||||
var/datum/configuration_section/gateway_configuration/gateway
|
||||
/// Holder for the general configuration datum
|
||||
var/datum/configuration_section/general_configuration/general
|
||||
/// Holder for the IPIntel configuration datum
|
||||
@@ -81,7 +79,6 @@ GLOBAL_DATUM_INIT(configuration, /datum/server_configuration, new())
|
||||
discord = new()
|
||||
event = new()
|
||||
gamemode = new()
|
||||
gateway = new()
|
||||
general = new()
|
||||
ipintel = new()
|
||||
jobs = new()
|
||||
@@ -119,7 +116,6 @@ GLOBAL_DATUM_INIT(configuration, /datum/server_configuration, new())
|
||||
safe_load(discord, "discord_configuration")
|
||||
safe_load(event, "event_configuration")
|
||||
safe_load(gamemode, "gamemode_configuration")
|
||||
safe_load(gateway, "gateway_configuration")
|
||||
safe_load(general, "general_configuration")
|
||||
safe_load(ipintel, "ipintel_configuration")
|
||||
safe_load(jobs, "job_configuration")
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
/// Config holder for all gateway related things
|
||||
/datum/configuration_section/gateway_configuration
|
||||
/// Do we want to enable away missions or not
|
||||
var/enable_away_mission = TRUE
|
||||
/// Delay (in deciseconds) before the gateway is usable
|
||||
var/away_mission_delay = 6000
|
||||
/// List of all available away missions
|
||||
var/list/enabled_away_missions = list()
|
||||
|
||||
/datum/configuration_section/gateway_configuration/load_data(list/data)
|
||||
// Use the load wrappers here. That way the default isnt made 'null' if you comment out the config line
|
||||
CONFIG_LOAD_BOOL(enable_away_mission, data["enable_away_mission"])
|
||||
CONFIG_LOAD_NUM(away_mission_delay, data["away_mission_delay"])
|
||||
CONFIG_LOAD_LIST(enabled_away_missions, data["enabled_away_missions"])
|
||||
@@ -45,12 +45,6 @@ SUBSYSTEM_DEF(mapping)
|
||||
// Load lavaland
|
||||
loadLavaland()
|
||||
|
||||
// Pick a random away mission.
|
||||
if(GLOB.configuration.gateway.enable_away_mission)
|
||||
load_away_mission()
|
||||
else
|
||||
log_startup_progress("Skipping away mission...")
|
||||
|
||||
// Seed space ruins
|
||||
if(GLOB.configuration.ruins.enable_space_ruins)
|
||||
handleRuins()
|
||||
@@ -257,26 +251,5 @@ SUBSYSTEM_DEF(mapping)
|
||||
|
||||
log_world("Ruin loader finished with [budget] left to spend.")
|
||||
|
||||
/datum/controller/subsystem/mapping/proc/load_away_mission()
|
||||
if(length(GLOB.configuration.gateway.enabled_away_missions))
|
||||
var/watch = start_watch()
|
||||
log_startup_progress("Loading away mission...")
|
||||
|
||||
var/map = pick(GLOB.configuration.gateway.enabled_away_missions)
|
||||
var/file = wrap_file(map)
|
||||
if(isfile(file))
|
||||
var/zlev = GLOB.space_manager.add_new_zlevel(AWAY_MISSION, linkage = UNAFFECTED, traits = list(AWAY_LEVEL,BLOCK_TELEPORT))
|
||||
GLOB.space_manager.add_dirt(zlev)
|
||||
GLOB.maploader.load_map(file, z_offset = zlev)
|
||||
late_setup_level(block(locate(1, 1, zlev), locate(world.maxx, world.maxy, zlev)))
|
||||
GLOB.space_manager.remove_dirt(zlev)
|
||||
log_world("Away mission loaded: [map]")
|
||||
|
||||
log_startup_progress("Away mission loaded in [stop_watch(watch)]s.")
|
||||
|
||||
else
|
||||
log_startup_progress("No away missions found.")
|
||||
return
|
||||
|
||||
/datum/controller/subsystem/mapping/Recover()
|
||||
flags |= SS_NO_INIT
|
||||
|
||||
Reference in New Issue
Block a user