mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-15 00:53:23 +01:00
You no longer hit IPC on help intent if they are missing a limb (#25703)
* dont hit IPC * cable coils too
This commit is contained in:
@@ -93,6 +93,9 @@ emp_act
|
||||
return
|
||||
var/obj/item/organ/external/S = bodyparts_by_name[user.zone_selected]
|
||||
if(!S)
|
||||
if(ismachineperson(src))
|
||||
to_chat(user, "<span class='notice'>[p_they(TRUE)] [p_are()] missing that limb!</span>")
|
||||
return TRUE
|
||||
return
|
||||
if(!S.is_robotic() || S.open == ORGAN_SYNTHETIC_OPEN)
|
||||
return
|
||||
|
||||
@@ -83,6 +83,10 @@ GLOBAL_LIST_INIT(cable_coil_recipes, list (new/datum/stack_recipe/cable_restrain
|
||||
var/mob/living/carbon/human/H = M
|
||||
var/obj/item/organ/external/S = H.bodyparts_by_name[user.zone_selected]
|
||||
|
||||
if(!S && ismachineperson(M) && user.a_intent == INTENT_HELP)
|
||||
to_chat(user, "<span class='notice'>[M.p_they(TRUE)] [M.p_are()] missing that limb!</span>")
|
||||
return
|
||||
|
||||
if(!S?.is_robotic() || user.a_intent != INTENT_HELP || S.open == ORGAN_SYNTHETIC_OPEN)
|
||||
return ..()
|
||||
if(S.burn_dam > ROBOLIMB_SELF_REPAIR_CAP)
|
||||
|
||||
Reference in New Issue
Block a user