mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Blindness will now interrupt aiming.
This commit is contained in:
@@ -115,6 +115,8 @@ obj/aiming_overlay/proc/update_aiming_deferred()
|
||||
|
||||
if(!(aiming_with in owner) || (istype(owner, /mob/living/carbon/human) && (owner.l_hand != aiming_with && owner.r_hand != aiming_with)))
|
||||
owner << "<span class='warning'>You must keep hold of your weapon!</span>"
|
||||
else if(owner.eye_blind)
|
||||
owner << "<span class='warning'>You are blind and cannot see your target!</span>"
|
||||
else if(!aiming_at || !istype(aiming_at.loc, /turf))
|
||||
owner << "<span class='warning'>You have lost sight of your target!</span>"
|
||||
else if(owner.incapacitated() || owner.lying || owner.restrained())
|
||||
|
||||
Reference in New Issue
Block a user