[FIX] Cult Shadow Shackles can now cuff people who are missing an arm. (#26707)

* Copies the requirements from handcuff code

* This proc is never implemented

* Removes unused procs
This commit is contained in:
Daylight
2024-09-11 20:34:20 +03:00
committed by GitHub
parent 4f6641c8ae
commit 965b42bf51
3 changed files with 2 additions and 27 deletions
@@ -1608,12 +1608,6 @@ Eyes need to have significantly high darksight to shine unless the mob has the X
#undef CPR_CHEST_COMPRESSION_RESTORATION
#undef CPR_BREATHS_RESTORATION
/mob/living/carbon/human/canBeHandcuffed()
if(get_num_arms() >= 2)
return TRUE
else
return FALSE
/mob/living/carbon/human/has_mutated_organs()
for(var/obj/item/organ/external/E in bodyparts)
if(E.status & ORGAN_MUTATED)
@@ -74,24 +74,6 @@
return TRUE
return FALSE
//Limb numbers
/mob/proc/get_num_arms()
return 2
/mob/living/carbon/human/get_num_arms()
. = 0
for(var/X in bodyparts)
var/obj/item/organ/external/affecting = X
if(affecting.body_part == ARM_RIGHT)
.++
if(affecting.body_part == ARM_LEFT)
.++
//sometimes we want to ignore that we don't have the required amount of arms.
/mob/proc/get_arm_ignore()
return FALSE
/mob/proc/get_num_legs()
return 2