mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
[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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user