mirror of
https://github.com/Aurorastation/Aurora-Old.git
synced 2026-08-30 16:16:17 +01:00
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:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user