[MIRROR] Gets rid of hasorgans() helper proc (#11943)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-11-08 19:56:59 +01:00
committed by GitHub
co-authored by Cameron Lennox
parent 6673d29f9f
commit 6b0b835a18
24 changed files with 74 additions and 78 deletions
+1 -1
View File
@@ -320,7 +320,7 @@
else
to_chat(user, span_notice("This is anchored and you can't lift it."))
return // End CHOMPStation Edit
if (hasorgans(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)
+1 -1
View File
@@ -71,7 +71,7 @@
to_chat(user,span_notice("You gracefully ring [src]."))
/obj/item/deskbell/proc/check_ability(mob/user)
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)
@@ -169,7 +169,7 @@
. += "There is about [src.amount] square units of paper left!"
/obj/item/wrapping_paper/attack(mob/target as mob, mob/user as mob)
if (!ishuman(target)) return
if(!ishuman(target)) return
var/mob/living/carbon/human/H = target
if (istype(H.wear_suit, /obj/item/clothing/suit/straight_jacket) || istype(H.wear_suit, /obj/item/clothing/suit/shibari) || H.stat)
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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)