Reworked the gun system to handle hostage scenarios better.

Ported and adjusted with permission from Lost Worlds.
This commit is contained in:
SkyMarshal
2012-03-01 19:18:27 -07:00
parent 8a96288384
commit 0d8c7d5e51
53 changed files with 1938 additions and 139 deletions
@@ -439,6 +439,13 @@
invisibility = 2
else
invisibility = 0
if(targeted_by && target_locked)
overlays += target_locked
else if(targeted_by)
target_locked = new /obj/effect/target_locked(src)
overlays += target_locked
else if(!targeted_by && target_locked)
del(target_locked)
/*
for (var/mob/M in viewers(1, src))//For the love of god DO NOT REFRESH EVERY SECOND - Mport