Fix some weird tool interactions for IPC surgeries (#20579)

This commit is contained in:
Luc
2023-03-26 12:14:34 +01:00
committed by GitHub
parent d403882384
commit a14d41c279
2 changed files with 15 additions and 2 deletions
+10 -1
View File
@@ -52,7 +52,7 @@
/datum/surgery_step/robotics/external/unscrew_hatch,
/datum/surgery_step/robotics/external/open_hatch,
/datum/surgery_step/proxy/cavity_manipulation/robotic,
/datum/surgery_step/cavity/close_space,
/datum/surgery_step/cavity/close_space/synth,
/datum/surgery_step/robotics/external/close_hatch
)
possible_locs = list(BODY_ZONE_CHEST, BODY_ZONE_HEAD, BODY_ZONE_PRECISE_GROIN)
@@ -200,6 +200,15 @@
return SURGERY_STEP_CONTINUE
/datum/surgery_step/cavity/close_space/synth
name = "seal cavity"
allowed_tools = list(
TOOL_WELDER = 100,
/obj/item/scalpel/laser = 60,
TOOL_CAUTERY = 50,
/obj/item/lighter = 30,
)
/datum/surgery_step/cavity/remove_item
name = "extract object"
+5 -1
View File
@@ -21,7 +21,7 @@
/datum/surgery_step/robotics/external/unscrew_hatch,
/datum/surgery_step/robotics/external/open_hatch,
/datum/surgery_step/proxy/robotics/repair_limb,
/datum/surgery_step/extract_implant,
/datum/surgery_step/extract_implant/synth,
/datum/surgery_step/robotics/external/close_hatch
)
requires_organic_bodypart = FALSE
@@ -97,3 +97,7 @@
"<span class='notice'>You could not find anything inside [target]'s [affected.name].</span>"
)
return SURGERY_STEP_CONTINUE
/datum/surgery_step/extract_implant/synth
allowed_tools = list(TOOL_WIRECUTTER = 100, TOOL_HEMOSTAT = 60)