mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 05:51:56 +01:00
Amputation Confirmation (#12495)
This commit is contained in:
@@ -296,7 +296,9 @@
|
||||
to_chat(user, SPAN_WARNING("The blades aren't spinning, you can't cut anything!"))
|
||||
return FALSE
|
||||
|
||||
return (affected.limb_flags & ORGAN_CAN_AMPUTATE)
|
||||
if(affected.limb_flags & ORGAN_CAN_AMPUTATE)
|
||||
var/confirmation = alert("You are about to amputate [target]'s [affected.name]! Are you sure you want to do that?", "Amputation confirmation", "Yes", "No")
|
||||
return confirmation == "Yes"
|
||||
|
||||
/decl/surgery_step/amputate/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