mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 16:38:22 +01:00
Psionic spellchecks (#17780)
* the thing * tried to fix something i couldnt
This commit is contained in:
@@ -37,10 +37,10 @@
|
||||
for(var/obj/item/organ/O in H.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
|
||||
@@ -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."))
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user