mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] Gets rid of hasorgans() helper proc (#11943)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
6673d29f9f
commit
6b0b835a18
@@ -48,7 +48,7 @@
|
||||
/obj/structure/extinguisher_cabinet/attack_hand(mob/living/user)
|
||||
if(isrobot(user))
|
||||
return
|
||||
if (ishuman(user))
|
||||
if(ishuman(user))
|
||||
var/mob/living/carbon/human/H = user
|
||||
var/obj/item/organ/external/temp = H.organs_by_name[BP_R_HAND]
|
||||
if (user.hand)
|
||||
|
||||
@@ -593,7 +593,7 @@
|
||||
thing.update_icon()
|
||||
|
||||
/obj/structure/sink/attack_hand(mob/user as mob)
|
||||
if (ishuman(user))
|
||||
if(ishuman(user))
|
||||
var/mob/living/carbon/human/H = user
|
||||
var/obj/item/organ/external/temp = H.organs_by_name[BP_R_HAND]
|
||||
if (H.hand)
|
||||
|
||||
@@ -199,7 +199,7 @@
|
||||
|
||||
else if (user.a_intent == I_HURT)
|
||||
|
||||
if (ishuman(user))
|
||||
if(ishuman(user))
|
||||
var/mob/living/carbon/human/H = user
|
||||
if(H.species.can_shred(H))
|
||||
attack_generic(H,25)
|
||||
|
||||
Reference in New Issue
Block a user