mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-01-28 18:02:17 +00:00
Merge pull request #10654 from Heroman3003/transcoring
Decreases notification timing for transcore, allows delaying
This commit is contained in:
@@ -15,7 +15,7 @@ SUBSYSTEM_DEF(transcore)
|
||||
init_order = INIT_ORDER_TRANSCORE
|
||||
|
||||
// THINGS
|
||||
var/overdue_time = 15 MINUTES
|
||||
var/overdue_time = 6 MINUTES // Has to be a multiple of wait var, or else will just round up anyway.
|
||||
|
||||
var/current_step = SSTRANSCORE_IMPLANTS
|
||||
|
||||
@@ -113,8 +113,9 @@ SUBSYSTEM_DEF(transcore)
|
||||
curr_MR.dead_state = MR_NORMAL
|
||||
else
|
||||
if(curr_MR.dead_state != MR_DEAD) //First time switching to dead
|
||||
db.notify(curr_MR.mindname)
|
||||
curr_MR.last_notification = world.time
|
||||
if(curr_MR.do_notify)
|
||||
db.notify(curr_MR.mindname)
|
||||
curr_MR.last_notification = world.time
|
||||
curr_MR.dead_state = MR_DEAD
|
||||
|
||||
if(MC_TICK_CHECK)
|
||||
@@ -250,12 +251,9 @@ SUBSYSTEM_DEF(transcore)
|
||||
return 1
|
||||
|
||||
// Send a past-due notification to the medical radio channel.
|
||||
/datum/transcore_db/proc/notify(var/name, var/repeated = FALSE)
|
||||
/datum/transcore_db/proc/notify(var/name)
|
||||
ASSERT(name)
|
||||
if(repeated)
|
||||
global_announcer.autosay("This is a repeat notification that [name] is past-due for a mind backup.", "TransCore Oversight", "Medical")
|
||||
else
|
||||
global_announcer.autosay("[name] is past-due for a mind backup.", "TransCore Oversight", "Medical")
|
||||
global_announcer.autosay("[name] is past-due for a mind backup.", "TransCore Oversight", "Medical")
|
||||
|
||||
// Called from mind_record to add itself to the transcore.
|
||||
/datum/transcore_db/proc/add_backup(var/datum/transhuman/mind_record/MR)
|
||||
|
||||
Reference in New Issue
Block a user