Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds a speed penalty to incomplete Yautja field surgery. #7901

Merged
merged 3 commits into from
Dec 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions code/modules/surgery/mcomp_tendwounds.dm
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@

/datum/surgery_step/mstabilize_wounds/success(mob/user, mob/living/carbon/human/target, target_zone, obj/item/tool, tool_type, datum/surgery/surgery)
target.heal_overall_damage(40,40)
target.Slow(300)
target.Superslow(150)

if(isspeciesyautja(target))
target.emote("click2")
Expand Down Expand Up @@ -115,6 +117,8 @@

/datum/surgery_step/mtend_wounds/success(mob/user, mob/living/carbon/human/target, target_zone, obj/item/tool, tool_type, datum/surgery/surgery)
target.heal_overall_damage(65,65)
target.Slow(300)
target.Superslow(150)

for(var/datum/internal_organ/organ in target.internal_organs) //Fixes all organs
organ.rejuvenate()
Expand Down Expand Up @@ -167,6 +171,8 @@

/datum/surgery_step/cauterize/mclamp_wound/success(mob/user, mob/living/carbon/target, target_zone, obj/item/tool, tool_type, datum/surgery/surgery)
target.heal_overall_damage(125,125) //makes sure that all damage is healed
target.SetSlow(0 SECONDS)
target.SetSuperslow(0 SECONDS)

if(user == target)
user.visible_message(SPAN_NOTICE("[user] finshes closing the treated wounds on their body with [tool]."),
Expand Down
Loading