mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 11:07:12 +01:00
Fix SM (and some other) follow links (#20554)
* hoopefully fix SM message tracking being really weird * update some more follow targets * Apply suggestions from code review hehe Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> * Cleans up some loose ends, implements for arrivals announcer too * Changes target to the new deactivated core --------- Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
@@ -12,8 +12,9 @@ GLOBAL_LIST_EMPTY(empty_playable_ai_cores)
|
||||
cryo_AI()
|
||||
|
||||
/mob/living/silicon/ai/proc/cryo_AI()
|
||||
GLOB.empty_playable_ai_cores += new /obj/structure/AIcore/deactivated(loc)
|
||||
GLOB.global_announcer.autosay("[src] has been moved to intelligence storage.", "Artificial Intelligence Oversight")
|
||||
var/dead_aicore = new /obj/structure/AIcore/deactivated(loc)
|
||||
GLOB.empty_playable_ai_cores += dead_aicore
|
||||
GLOB.global_announcer.autosay("[src] has been moved to intelligence storage.", "Artificial Intelligence Oversight", follow_target_override = dead_aicore)
|
||||
|
||||
//Handle job slot/tater cleanup.
|
||||
var/job = mind.assigned_role
|
||||
|
||||
@@ -416,7 +416,7 @@
|
||||
if((character.mind.assigned_role != "Cyborg") && (character.mind.assigned_role != character.mind.special_role))
|
||||
if(character.mind.role_alt_title)
|
||||
rank = character.mind.role_alt_title
|
||||
GLOB.global_announcer.autosay("[character.real_name],[rank ? " [rank]," : " visitor," ] [join_message ? join_message : "has arrived on the station"].", "Arrivals Announcement Computer")
|
||||
GLOB.global_announcer.autosay("[character.real_name],[rank ? " [rank]," : " visitor," ] [join_message ? join_message : "has arrived on the station"].", "Arrivals Announcement Computer", follow_target_override = character)
|
||||
|
||||
/mob/new_player/proc/AnnounceCyborg(mob/living/character, rank, join_message)
|
||||
if(SSticker.current_state == GAME_STATE_PLAYING)
|
||||
@@ -433,7 +433,7 @@
|
||||
if(character.mind)
|
||||
if(character.mind.assigned_role != character.mind.special_role)
|
||||
// can't use their name here, since cyborg namepicking is done post-spawn, so we'll just say "A new Cyborg has arrived"/"A new Android has arrived"/etc.
|
||||
GLOB.global_announcer.autosay("A new[rank ? " [rank]" : " visitor" ] [join_message ? join_message : "has arrived on the station"].", "Arrivals Announcement Computer")
|
||||
GLOB.global_announcer.autosay("A new[rank ? " [rank]" : " visitor" ] [join_message ? join_message : "has arrived on the station"].", "Arrivals Announcement Computer", follow_target_override = character)
|
||||
|
||||
/mob/new_player/proc/LateChoices()
|
||||
var/mills = ROUND_TIME // 1/10 of a second, not real milliseconds but whatever
|
||||
|
||||
Reference in New Issue
Block a user