Highlander mode now includes borgs

This commit is contained in:
zxaber
2020-09-13 22:24:49 -07:00
parent c00ac839a9
commit 1008d7921e
10 changed files with 107 additions and 14 deletions
+19
View File
@@ -17,6 +17,22 @@ GLOBAL_VAR_INIT(highlander, FALSE)
continue
H.make_scottish()
for(var/mob/living/silicon/ai/AI in GLOB.player_list)
if(!istype(AI) || AI.stat == DEAD)
continue
if(AI.deployed_shell)
AI.deployed_shell.undeploy()
AI.change_mob_type(/mob/living/silicon/robot , null, null)
AI.gib()
for(var/mob/living/silicon/robot/robot in GLOB.player_list)
if(!istype(robot) || robot.stat == DEAD)
continue
if(robot.shell)
robot.gib()
continue
robot.make_scottish()
message_admins("<span class='adminnotice'>[key_name_admin(usr)] used THERE CAN BE ONLY ONE!</span>")
log_admin("[key_name(usr)] used THERE CAN BE ONLY ONE.")
addtimer(CALLBACK(SSshuttle.emergency, /obj/docking_port/mobile/emergency.proc/request, null, 1), 50)
@@ -29,3 +45,6 @@ GLOBAL_VAR_INIT(highlander, FALSE)
/mob/living/carbon/human/proc/make_scottish()
mind.add_antag_datum(/datum/antagonist/highlander)
/mob/living/silicon/robot/proc/make_scottish()
mind.add_antag_datum(/datum/antagonist/highlander/robot)