Makes the pinpointer actually track the nuking AI

This commit is contained in:
Shadowlight213
2016-01-11 17:55:16 -08:00
parent 360086c74f
commit f922fc94f6
3 changed files with 8 additions and 2 deletions
@@ -31,6 +31,8 @@
SSshuttle.emergency.mode = SHUTTLE_DOCKED
SSshuttle.emergency.timer = world.time
priority_announce("Hostile enviroment resolved. You have 3 minutes to board the Emergency Shuttle.", null, 'sound/AI/shuttledock.ogg', "Priority")
for(var/obj/item/weapon/pinpointer/point in world)
point.the_disk = null //Point back to the disk.
if(doomsday_device)
doomsday_device.timing = 0
+2 -2
View File
@@ -851,7 +851,7 @@
qdel(malf)
src.occupier.verbs += /mob/living/silicon/ai/proc/corereturn
src.occupier.cancel_camera()
if (seclevel2num(get_security_level()) == SEC_LEVEL_DELTA)
if ((seclevel2num(get_security_level()) == SEC_LEVEL_DELTA) && malf.nuking)
for(var/obj/item/weapon/pinpointer/point in world)
point.the_disk = src //the pinpointer will detect the shunted AI
@@ -868,7 +868,7 @@
if (seclevel2num(get_security_level()) == SEC_LEVEL_DELTA)
for(var/obj/item/weapon/pinpointer/point in world)
for(var/mob/living/silicon/ai/A in living_mob_list)
if(A.stat != DEAD)
if((A.stat != DEAD) && A.nuking)
point.the_disk = A //The pinpointer tracks the AI back into its core.
else