Gets rid of hasorgans() helper proc (#18692)

This was just ishuman()
This commit is contained in:
Cameron Lennox
2025-11-07 21:30:32 -05:00
committed by GitHub
parent 607d8a386d
commit c2b50ace33
24 changed files with 74 additions and 78 deletions
+1 -1
View File
@@ -319,7 +319,7 @@
if(anchored)
to_chat(user, span_notice("\The [src] won't budge, you can't pick it up!"))
return
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
@@ -193,7 +193,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)