mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-31 09:09:49 +01:00
[MIRROR] Gets rid of hasorgans() helper proc (#11943)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
6673d29f9f
commit
6b0b835a18
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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