organic repair surgery can be done on a cyborg torso (#14435)
* repair surgery can be done on a cyborg torso because no * uuuuhhhh Silicons asked me to do this * no organic repair surgery on robots
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
target_mobtypes = list(/mob/living/carbon/human, /mob/living/carbon/monkey)
|
||||
possible_locs = list(BODY_ZONE_CHEST)
|
||||
requires_bodypart_type = BODYPART_ORGANIC
|
||||
requires_bodypart_type = NONE
|
||||
replaced_by = /datum/surgery
|
||||
ignore_clothes = TRUE
|
||||
var/healing_step_type
|
||||
@@ -21,6 +21,12 @@
|
||||
healing_step_type, //hehe cheeky
|
||||
/datum/surgery_step/close)
|
||||
|
||||
/datum/surgery/healing/can_start(mob/user, mob/living/carbon/target, obj/item/tool)
|
||||
for(var/obj/item/bodypart/B in target.bodyparts)
|
||||
if(B.is_organic_limb(TRUE))
|
||||
return ..()
|
||||
|
||||
|
||||
/datum/surgery_step/heal
|
||||
name = "repair body"
|
||||
implements = list(TOOL_HEMOSTAT = 100, TOOL_SCREWDRIVER = 65, /obj/item/pen = 55)
|
||||
|
||||
Reference in New Issue
Block a user