mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
Tend Wounds Now Covers Organic (and Healable) Mobtypes (#52296)
* tw * silicons OUT * better checkin * fffff * Update healing.dm
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/datum/surgery_step/heal,
|
||||
/datum/surgery_step/close)
|
||||
|
||||
target_mobtypes = list(/mob/living/carbon/human, /mob/living/carbon/monkey)
|
||||
target_mobtypes = list(/mob/living)
|
||||
possible_locs = list(BODY_ZONE_CHEST)
|
||||
requires_bodypart_type = FALSE
|
||||
replaced_by = /datum/surgery
|
||||
@@ -14,6 +14,15 @@
|
||||
var/healing_step_type
|
||||
var/antispam = FALSE
|
||||
|
||||
/datum/surgery/healing/can_start(mob/user, mob/living/patient)
|
||||
. = ..()
|
||||
if(isanimal(patient))
|
||||
var/mob/living/simple_animal/critter = patient
|
||||
if(!critter.healable)
|
||||
return FALSE
|
||||
if(!(patient.mob_biotypes & (MOB_ORGANIC|MOB_HUMANOID)))
|
||||
return FALSE
|
||||
|
||||
/datum/surgery/healing/New(surgery_target, surgery_location, surgery_bodypart)
|
||||
..()
|
||||
if(healing_step_type)
|
||||
|
||||
Reference in New Issue
Block a user