Skip to content

Commit

Permalink
[MODULAR] Fixes synthetic organ manipulation surgery proccing pain (#772
Browse files Browse the repository at this point in the history
)

* fix

* ok
  • Loading branch information
nikothedude authored and FFMirrorBot committed Feb 9, 2024
1 parent 107a5d8 commit 196f3fd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions modular_nova/modules/synths/code/surgery/mechanic_steps.dm
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,14 @@
"[user] begins to add plating to [target]'s [parse_zone(target_zone)].",
"[user] begins to add plating to [target]'s [parse_zone(target_zone)].",
)

// overridden 3rd arg
/datum/surgery_step/manipulate_organs/internal/mechanic/display_pain(mob/living/target, pain_message, mechanical_surgery = TRUE)
if (target.mob_biotypes & MOB_ROBOTIC)
mechanical_surgery = TRUE
return ..()

/datum/surgery_step/manipulate_organs/external/mechanic/display_pain(mob/living/target, pain_message, mechanical_surgery = TRUE)
if (target.mob_biotypes & MOB_ROBOTIC)
mechanical_surgery = TRUE
return ..()

0 comments on commit 196f3fd

Please sign in to comment.