Skip to content

Commit

Permalink
the thing
Browse files Browse the repository at this point in the history
  • Loading branch information
Sniblet committed Nov 13, 2023
1 parent a45376a commit 370fa60
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions code/modules/psionics/abilities/mend.dm
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@

user.visible_message(SPAN_NOTICE("[user] lays a palm on [H]..."), SPAN_NOTICE("You lay your palm on [H] and get to work."))
to_chat(user, SPAN_NOTICE("You start by flowing your regenerative psionic energy through their vital organs..."))
for(var/obj/item/organ/O in H.internal_organs)
for(var/obj/item/organ/O in H.bad_internal_organs)
if(do_mob(user, H, 15 SECONDS))
if(O.damage > 0) // Fix internal damage
to_chat(SPAN_NOTICE("You mend their [O]'s bruising."))
to_chat(user, SPAN_NOTICE("You mend their [O]'s bruising."))
O.heal_damage(O.damage)
if(HAS_FLAG(O.status, ORGAN_BROKEN))
to_chat(SPAN_NOTICE("You restart their [O]'s functionality."))
to_chat(user, SPAN_NOTICE("You restart their [O]'s functionality."))
O.status &= ~ORGAN_BROKEN
if(O.damage <= 5 && O.organ_tag == BP_EYES) // Fix eyes
H.sdisabilities &= ~BLIND
Expand All @@ -50,20 +50,20 @@
if(!O.robotic < ORGAN_ROBOT) // No robot parts for this.
continue
if(do_mob(user, H, 15 SECONDS))
to_chat(SPAN_NOTICE("You mend their [O]'s bruising."))
to_chat(user, SPAN_NOTICE("You mend their [O]'s bruising."))
O.heal_damage(0, O.damage, internal = TRUE, robo_repair = FALSE)

to_chat(user, SPAN_NOTICE("Finally, you flowing your regenerative psionic energy through their broken limbs..."))
to_chat(user, SPAN_NOTICE("Finally, you begin flowing your regenerative psionic energy through their broken limbs..."))
for(var/obj/item/organ/E in H.bad_external_organs) // Fix bones
var/obj/item/organ/external/affected = E
if(do_mob(user, H, 10 SECONDS))
if((affected.damage < affected.min_broken_damage * config.organ_health_multiplier) && (affected.status & ORGAN_BROKEN))
to_chat(SPAN_NOTICE("You mend their [affected] together."))
to_chat(user, SPAN_NOTICE("You mend their [affected] together."))
affected.status &= ~ORGAN_BROKEN
if(HAS_FLAG(affected.status, ORGAN_ARTERY_CUT))
to_chat(SPAN_NOTICE("You mend a spliced artery in their [affected]."))
to_chat(user, SPAN_NOTICE("You mend a spliced artery in their [affected]."))
affected.status &= ~ORGAN_ARTERY_CUT
if(HAS_FLAG(affected.status, ORGAN_DEAD))
to_chat(SPAN_NOTICE("You mend some necrosis from their [affected]."))
to_chat(user, SPAN_NOTICE("You mend some necrosis from their [affected]."))
affected.status &= ~ORGAN_DEAD
user.visible_message(SPAN_NOTICE("[user] raises their palm from [H]."), SPAN_NOTICE("You raise your palm, having finished your work."))
2 changes: 1 addition & 1 deletion code/modules/psionics/abilities/rend.dm
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
armor_penetration = 30
cooldown = 30
psi_cost = 35
attack_verb = list("rends apart", "disintegrates")
attack_verb = list("rent apart", "disintegrated")
hitsound = 'sound/weapons/heavysmash.ogg'
flags = 0
var/structure_mode = FALSE
Expand Down

0 comments on commit 370fa60

Please sign in to comment.