Skip to content

Commit

Permalink
[MIRROR] Corrects a few surgery moods [MDB IGNORE] (#3748)
Browse files Browse the repository at this point in the history
* Corrects a few surgery moods (#83826)

Missed these

* Corrects a few surgery moods

---------

Co-authored-by: NovaBot <[email protected]>
Co-authored-by: Afevis <[email protected]>
Co-authored-by: NovaBot13 <[email protected]>
Co-authored-by: Iajret <[email protected]>
  • Loading branch information
5 people authored Jun 10, 2024
1 parent dab1de3 commit 15675a3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/modules/surgery/amputation.dm
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
span_notice("[user] severs [target]'s [target.parse_zone_with_bodypart(target_zone)]!"),
span_notice("[user] severs [target]'s [target.parse_zone_with_bodypart(target_zone)]!"),
)
display_pain(target, "You can no longer feel your severed [target.parse_zone_with_bodypart(target_zone)]!", mood_event_type = /datum/mood_event/surgery)
display_pain(target, "You can no longer feel your severed [target.parse_zone_with_bodypart(target_zone)]!", mood_event_type = /datum/mood_event/surgery/success)

if(HAS_MIND_TRAIT(user, TRAIT_MORBID) && ishuman(user))
var/mob/living/carbon/human/morbid_weirdo = user
Expand Down
1 change: 1 addition & 0 deletions code/modules/surgery/coronary_bypass.dm
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
span_warning("[user] screws up, causing blood to spurt out of [target_human]'s chest!"),
span_warning("[user] screws up, causing blood to spurt out of [target_human]'s chest!"),
)
display_pain(target, mood_event_type = /datum/mood_event/surgery/failure)
var/obj/item/bodypart/target_bodypart = target_human.get_bodypart(target_zone)
target_bodypart.adjustBleedStacks(10)
target_human.adjustOrganLoss(ORGAN_SLOT_HEART, 10)
Expand Down
2 changes: 1 addition & 1 deletion code/modules/surgery/organic_steps.dm
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
return ..()

/datum/surgery_step/incise/failure(mob/user, mob/living/target, target_zone, obj/item/tool, datum/surgery/surgery, fail_prob)
display_pain(target, mood_event_type = /datum/mood_event/surgery)
display_pain(target, mood_event_type = /datum/mood_event/surgery/failure)
return ..()

/datum/surgery_step/incise/nobleed/preop(mob/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery)
Expand Down

0 comments on commit 15675a3

Please sign in to comment.