3f28227f6c
About The Pull Request Part of #44440 Surgery now gives detailed description to the surgeon and anyone within one tile of distance, and more vague or ambiguous descriptions to the patient and anyone further away. This can lead to a surgeon being able to perform a brainwashing in place of a brain surgery with nobody being the wiser, or implanting a different organ than the one agreed on, and so on. Changelog cl add: Surgery steps are now shown in detail only to the surgeon and anyone standing adjacent to them; the patient and people watching from further away get a more vague/ambiguous description. /cl
42 lines
1.7 KiB
Plaintext
42 lines
1.7 KiB
Plaintext
/datum/surgery/advanced/bioware/nerve_splicing
|
|
name = "Nerve Splicing"
|
|
desc = "A surgical procedure which splices the patient's nerves, making them more resistant to stuns."
|
|
steps = list(/datum/surgery_step/incise,
|
|
/datum/surgery_step/retract_skin,
|
|
/datum/surgery_step/clamp_bleeders,
|
|
/datum/surgery_step/incise,
|
|
/datum/surgery_step/incise,
|
|
/datum/surgery_step/splice_nerves,
|
|
/datum/surgery_step/close)
|
|
possible_locs = list(BODY_ZONE_CHEST)
|
|
bioware_target = BIOWARE_NERVES
|
|
|
|
/datum/surgery_step/splice_nerves
|
|
name = "splice nerves"
|
|
accept_hand = TRUE
|
|
time = 155
|
|
|
|
/datum/surgery_step/splice_nerves/preop(mob/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery)
|
|
display_results(user, target, "<span class='notice'>You start splicing together [target]'s nerves.</span>",
|
|
"[user] starts splicing together [target]'s nerves.",
|
|
"[user] starts manipulating [target]'s nervous system.")
|
|
|
|
/datum/surgery_step/splice_nerves/success(mob/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery)
|
|
display_results(user, target, "<span class='notice'>You successfully splice [target]'s nervous system!</span>",
|
|
"[user] successfully splices [target]'s nervous system!",
|
|
"[user] finishes manipulating [target]'s nervous system.")
|
|
new /datum/bioware/spliced_nerves(target)
|
|
return TRUE
|
|
|
|
/datum/bioware/spliced_nerves
|
|
name = "Spliced Nerves"
|
|
desc = "Nerves are connected to each other multiple times, greatly reducing the impact of stunning effects."
|
|
mod_type = BIOWARE_NERVES
|
|
|
|
/datum/bioware/spliced_nerves/on_gain()
|
|
..()
|
|
owner.physiology.stun_mod *= 0.5
|
|
|
|
/datum/bioware/spliced_nerves/on_lose()
|
|
..()
|
|
owner.physiology.stun_mod *= 2 |