Protolasers (WIP/unobtainable), beginnings of accuracy rework.

My first project!  Done by myself!  Yesss.

okay, sounds helped.  but it was mostly me.
This commit is contained in:
Duck-
2014-08-31 00:20:25 -04:00
parent 83a06403dc
commit e026c65a6f
13 changed files with 438 additions and 10 deletions
@@ -1321,6 +1321,10 @@
var/obj/item/weapon/gun/energy/rifle/sniperrifle/s = locate() in src
if(s.zoom)
s.zoom()
if(locate(/obj/item/weapon/gun/energy/laser/modular, contents))
var/obj/item/weapon/gun/energy/laser/modular/s = locate() in src
if(s.zoom)
s.zoom()
else
sight &= ~(SEE_TURFS|SEE_MOBS|SEE_OBJS)
@@ -1019,7 +1019,7 @@
/*
/mob/living/silicon/robot/proc/updatefire()
return
*
*/
//Call when target overlay should be added/removed
/mob/living/silicon/robot/update_targeted()
if(!targeted_by && target_locked)
+5
View File
@@ -192,6 +192,11 @@
var/obj/item/weapon/gun/energy/rifle/sniperrifle/s = locate() in mob
if(s.zoom)
s.zoom()
if(locate(/obj/item/weapon/gun/energy/laser/modular, mob.contents)) // If mob moves while zoomed in with modular rifle, unzoom them.
var/obj/item/weapon/gun/energy/laser/modular/s = locate() in mob
if(s.zoom)
s.zoom()
if(Process_Grab()) return