mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
Adds a modular bitrunning map, changes safehouse spawns (#79937)
## About The Pull Request Primarily, this adds one new map to bitrunning that uses modular rooms. <details> <summary>pictures</summary>    </details> I also added in some changes: - Safehouses are now loaded using the modular map system rather than the bespoke solution qservers had. - Lowers the difficulty of psyker shuffle (which I felt was a little too nightmarish) and boosts its rewards. ## Why It's Good For The Game New maps More integration with prior systems ## Changelog 🆑 add: Added a new modular bitrunning domain - Starfront Saloon. balance: Psyker shuffle domain was made slightly easier and has been given more rewards. /🆑
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
playsound(src, 'sound/machines/terminal_processing.ogg', 30, 2)
|
||||
|
||||
/// If any one of these fail, it reverts the entire process
|
||||
if(!load_domain(map_key) || !load_safehouse() || !load_map_items() || !load_mob_segments())
|
||||
if(!load_domain(map_key) || !load_map_items() || !load_mob_segments())
|
||||
balloon_alert_to_viewers("initialization failed.")
|
||||
scrub_vdom()
|
||||
is_ready = TRUE
|
||||
@@ -115,21 +115,6 @@
|
||||
|
||||
return TRUE
|
||||
|
||||
/// Loads the safehouse
|
||||
/obj/machinery/quantum_server/proc/load_safehouse()
|
||||
var/obj/effect/landmark/bitrunning/safehouse_spawn/landmark = locate() in GLOB.landmarks_list
|
||||
if(isnull(landmark))
|
||||
CRASH("vdom: failed to find safehouse spawn landmark")
|
||||
|
||||
var/turf/spawn_loc = get_turf(landmark)
|
||||
qdel(landmark)
|
||||
|
||||
var/datum/map_template/safehouse/new_safehouse = new generated_domain.safehouse_path()
|
||||
if(!new_safehouse.load(spawn_loc))
|
||||
CRASH("vdom: failed to load safehouse")
|
||||
|
||||
return TRUE
|
||||
|
||||
/// Stops the current virtual domain and disconnects all users
|
||||
/obj/machinery/quantum_server/proc/reset(fast = FALSE)
|
||||
is_ready = FALSE
|
||||
|
||||
Reference in New Issue
Block a user