mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 15:45:25 +01:00
Ports / reworks roundstart blurbs (#23545)
* [BEGIN_MISSION] * ai change * also TCOMMS * Update location_blurbs.dm * Apply suggestions from code review Co-authored-by: Gaxeer <44334376+Gaxeer@users.noreply.github.com> * fixes tabbing --------- Co-authored-by: Gaxeer <44334376+Gaxeer@users.noreply.github.com>
This commit is contained in:
@@ -529,8 +529,10 @@ SUBSYSTEM_DEF(jobs)
|
||||
if(istype(G) && !G.prescription)
|
||||
G.upgrade_prescription()
|
||||
H.update_nearsighted_effects()
|
||||
|
||||
if(joined_late || job.admin_only)
|
||||
H.create_log(MISC_LOG, "Spawned as \an [H.dna?.species ? H.dna.species : "Undefined species"] named [H]. [joined_late ? "Joined during the round" : "Roundstart joined"] as job: [rank].")
|
||||
addtimer(CALLBACK(src, TYPE_PROC_REF(/datum/controller/subsystem/jobs, show_location_blurb), H.client, H.mind), 1 SECONDS) //Moment for minds to boot up / people to load in
|
||||
return H
|
||||
if(late_arrivals_spawning)
|
||||
H.forceMove(pick(GLOB.latejoin))
|
||||
@@ -545,6 +547,7 @@ SUBSYSTEM_DEF(jobs)
|
||||
H.Sleeping(5 SECONDS)
|
||||
H.Drunk((2 / liver_multiplier) MINUTES)
|
||||
H.create_log(MISC_LOG, "Spawned as \an [H.dna?.species ? H.dna.species : "Undefined species"] named [H]. Roundstart joined as job: [rank].")
|
||||
addtimer(CALLBACK(src, TYPE_PROC_REF(/datum/controller/subsystem/jobs, show_location_blurb), H.client, H.mind), 1 SECONDS) //Moment for minds to boot up / people to load in
|
||||
return H
|
||||
|
||||
/datum/controller/subsystem/jobs/proc/LoadJobs(highpop = FALSE) //ran during round setup, reads info from jobs list
|
||||
|
||||
@@ -715,6 +715,8 @@ SUBSYSTEM_DEF(ticker)
|
||||
if(delay_end)
|
||||
to_chat(world, "<span class='boldannounceooc'>An admin has delayed the round end.</span>")
|
||||
return
|
||||
if(delay)
|
||||
INVOKE_ASYNC(src, TYPE_PROC_REF(/datum/controller/subsystem/ticker, show_server_restart_blurb), reason)
|
||||
|
||||
if(!isnull(delay))
|
||||
// Delay time was present. Use that.
|
||||
|
||||
Reference in New Issue
Block a user