mob stuff

This commit is contained in:
Poojawa
2018-04-23 02:26:53 -05:00
parent 5518efebea
commit 832f071b59
103 changed files with 264 additions and 329 deletions
+4 -5
View File
@@ -121,11 +121,10 @@
T = get_turf(src)
AIarea = get_area(src)
if(AIarea)
for(var/area/A in AIarea.related)
for (var/obj/machinery/power/apc/APC in A)
if (!(APC.stat & BROKEN))
theAPC = APC
break
for (var/obj/machinery/power/apc/APC in AIarea)
if (!(APC.stat & BROKEN))
theAPC = APC
break
if (!theAPC)
switch(PRP)
if(1)