fixes the targeting of the cortex bioware surgeries (#50719)

* fixes the targeting of the cortex bioware surgeries

* Update code/modules/surgery/advanced/bioware/cortex_imprint.dm

Co-authored-by: XDTM <heliumt@yahoo.it>

Co-authored-by: AnturK <AnturK@users.noreply.github.com>
Co-authored-by: XDTM <heliumt@yahoo.it>
This commit is contained in:
ATH1909
2020-05-02 22:38:41 +02:00
committed by GitHub
co-authored by XDTM AnturK
parent 7f4e195950
commit d0e39bbfe6
2 changed files with 4 additions and 5 deletions
@@ -10,7 +10,7 @@
/datum/surgery_step/close)
possible_locs = list(BODY_ZONE_HEAD)
target_mobtypes = list(/mob/living/carbon/human, /mob/living/carbon/monkey)
bioware_target = BIOWARE_LIGAMENTS
bioware_target = BIOWARE_CORTEX
/datum/surgery/advanced/bioware/cortex_folding/can_start(mob/user, mob/living/carbon/target)
var/obj/item/organ/brain/B = target.getorganslot(ORGAN_SLOT_BRAIN)
@@ -1,6 +1,6 @@
/datum/surgery/advanced/bioware/cortex_imprint
name = "Cortex Imprint"
desc = "A surgical procedure which modifies the cerebral cortex into a redundant neural pattern, making the brain able to bypass damage caused by minor brain traumas."
desc = "A surgical procedure which modifies the cerebral cortex into a redundant neural pattern, making the brain able to bypass impediments caused by minor brain traumas."
steps = list(/datum/surgery_step/incise,
/datum/surgery_step/retract_skin,
/datum/surgery_step/clamp_bleeders,
@@ -10,7 +10,7 @@
/datum/surgery_step/close)
possible_locs = list(BODY_ZONE_HEAD)
target_mobtypes = list(/mob/living/carbon/human, /mob/living/carbon/monkey)
bioware_target = BIOWARE_LIGAMENTS
bioware_target = BIOWARE_CORTEX
/datum/surgery/advanced/bioware/cortex_imprint/can_start(mob/user, mob/living/carbon/target)
var/obj/item/organ/brain/B = target.getorganslot(ORGAN_SLOT_BRAIN)
@@ -49,10 +49,9 @@
/datum/bioware/cortex_imprint
name = "Cortex Imprint"
desc = "The cerebral cortex has been reshaped into a redundant neural pattern, making the brain able to bypass damage caused by minor brain traumas."
desc = "The cerebral cortex has been reshaped into a redundant neural pattern, making the brain able to bypass impediments caused by minor brain traumas."
mod_type = BIOWARE_CORTEX
can_process = TRUE
/datum/bioware/cortex_imprint/process()
owner.cure_trauma_type(resilience = TRAUMA_RESILIENCE_BASIC)