Removes old lines of code mentioning genetic_damage, fixes text misleading to receiving "genetic_damage". (#22068)

* Removes and changes unrequired code and false text

* Update code/modules/antagonists/changeling/datum_changeling.dm

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>

---------

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
This commit is contained in:
XFirebirdX
2023-08-25 18:04:25 +02:00
committed by GitHub
parent b820ced744
commit c4547e7251
5 changed files with 2 additions and 9 deletions
@@ -36,8 +36,6 @@
var/sting_range = 2
/// The changeling's identifier when speaking in the hivemind, i.e. "Mr. Delta 123".
var/changelingID = "Changeling"
/// The current amount of genetic damage incurred from power use.
var/genetic_damage = 0
/// If the changeling is in the process of absorbing someone.
var/is_absorbing = FALSE
/// The amount of points available to purchase changeling abilities.
@@ -185,10 +183,8 @@
var/mob/living/carbon/human/H = owner.current
if(H.stat == DEAD)
chem_charges = clamp(0, chem_charges + chem_recharge_rate - chem_recharge_slowdown, chem_storage * 0.5)
genetic_damage = directional_bounded_sum(genetic_damage, -1, LING_DEAD_GENETIC_DAMAGE_HEAL_CAP, 0)
else // Not dead? no chem/genetic_damage caps.
else
chem_charges = clamp(0, chem_charges + chem_recharge_rate - chem_recharge_slowdown, chem_storage)
genetic_damage = max(0, genetic_damage - 1)
update_chem_charges_ui(H)
/datum/antagonist/changeling/proc/update_chem_charges_ui(mob/living/carbon/human/H = owner.current)
@@ -20,7 +20,6 @@
return FALSE
H.visible_message("<span class='warning'>[H] transforms!</span>")
cling.genetic_damage = 30
to_chat(H, "<span class='warning'>Our genes cry out!</span>")
H.monkeyize()
@@ -4,7 +4,7 @@
/datum/action/changeling/strained_muscles
name = "Strained Muscles"
desc = "We evolve the ability to reduce the acid buildup in our muscles, allowing us to move much faster."
helptext = "The strain will use up our chemicals faster over time, and is not sustainable. Causes slight genetic damage to our genome. Can not be used in lesser form."
helptext = "The strain will use up our chemicals faster over time, and is not sustainable. Can not be used in lesser form."
button_icon_state = "strained_muscles"
chemical_cost = 0
dna_cost = 1