mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-25 17:41:56 +00:00
Sonic Buffs Traitor Borgs (#7093)
Readds the ancient Reset Identity Codes command. Allows traitor borgs to toggle their overclock
This commit is contained in:
@@ -88,7 +88,10 @@ var/datum/antagonist/traitor/traitors
|
||||
add_law_zero(traitor_mob)
|
||||
if(isrobot(traitor_mob))
|
||||
var/mob/living/silicon/robot/R = traitor_mob
|
||||
R.emagged = 1
|
||||
R.overclockavailable = 1
|
||||
R.emagged = 1
|
||||
R.verbs += /mob/living/silicon/robot/proc/ResetSecurityCodes
|
||||
R.verbs += /mob/living/silicon/robot/proc/toggle_overclock
|
||||
return 1
|
||||
|
||||
if(!..())
|
||||
|
||||
@@ -62,7 +62,8 @@
|
||||
if(target.mind && target.mind.special_role && target.emagged)
|
||||
to_chat(target, "Extreme danger. Termination codes detected. Scrambling security codes and automatic AI unlink triggered.")
|
||||
target.ResetSecurityCodes()
|
||||
|
||||
return
|
||||
|
||||
if(target.emagged)
|
||||
to_chat(user, "Access Denied. Safety protocols are disabled.")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user