mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
agony
This commit is contained in:
@@ -156,13 +156,13 @@
|
||||
var/obj/item/organ/external/affected = target.get_organ(target_zone)
|
||||
if(istype(tool, /obj/item/weapon/weldingtool))
|
||||
var/obj/item/weapon/weldingtool/welder = tool //CHOMPEdit begin. Added damage check.
|
||||
if(affected.brute_dam == 0)
|
||||
to_chat(user, "<span class='notice'>There is no damage to the internal structure here!</span>")
|
||||
return SURGERY_FAILURE
|
||||
else // CHOMPEdit End.
|
||||
if(!welder.isOn() || !welder.remove_fuel(1,user))
|
||||
return 0
|
||||
return affected && affected.open == 3 && (affected.disfigured || affected.brute_dam > 0) && target_zone != O_MOUTH
|
||||
if(affected.brute_dam == 0)
|
||||
to_chat(user, "<span class='notice'>There is no damage to the internal structure here!</span>")
|
||||
return SURGERY_FAILURE
|
||||
else // CHOMPEdit End.
|
||||
if(!welder.isOn() || !welder.remove_fuel(1,user))
|
||||
return 0
|
||||
return affected && affected.open == 3 && (affected.disfigured || affected.brute_dam > 0) && target_zone != O_MOUTH
|
||||
|
||||
/datum/surgery_step/robotics/repair_brute/begin_step(mob/user, mob/living/carbon/human/target, target_zone, obj/item/tool)
|
||||
var/obj/item/organ/external/affected = target.get_organ(target_zone)
|
||||
|
||||
Reference in New Issue
Block a user