[MIRROR] Fixes skeletons not healing burn damage by milk. [MDB IGNORE] (#23125)

* Fixes skeletons not healing burn damage by milk. (#77645)

## About The Pull Request
Closes https://github.com/tgstation/tgstation/issues/77629
## Changelog
🆑
fix: Skeletons now heal burn damage with milk once again.
/🆑

* Fixes skeletons not healing burn damage by milk.

---------

Co-authored-by: Helg2 <93882977+Helg2@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-08-16 20:21:11 -04:00
committed by GitHub
co-authored by Helg2
parent 57272c8d22
commit b0b200387d
2 changed files with 6 additions and 1 deletions
@@ -8,6 +8,7 @@
icon_state = "liver-p"
organ_flags = ORGAN_MINERAL
organ_traits = list(TRAIT_PLASMA_LOVER_METABOLISM)
milk_burn_healing = 0
/obj/item/organ/internal/liver/bone/plasmaman/handle_chemical(mob/living/carbon/organ_owner, datum/reagent/chem, seconds_per_tick, times_fired)
. = ..()
@@ -8,6 +8,10 @@
desc = "You have no idea what this strange ball of bones does."
icon_state = "liver-bone"
organ_traits = list(TRAIT_STABLELIVER)
///Var for brute healing via milk
var/milk_brute_healing = 2.5
///Var for burn healing via milk
var/milk_burn_healing = 2.5
/obj/item/organ/internal/liver/bone/handle_chemical(mob/living/carbon/organ_owner, datum/reagent/chem, seconds_per_tick, times_fired)
. = ..()
@@ -43,7 +47,7 @@
if(chem.volume > 50)
organ_owner.reagents.remove_reagent(chem.type, (chem.volume - 50))
to_chat(organ_owner, span_warning("The excess milk is dripping off your bones!"))
organ_owner.heal_bodypart_damage(2.5 * REM * seconds_per_tick)
organ_owner.heal_bodypart_damage(milk_brute_healing * REM * seconds_per_tick, milk_burn_healing * REM * seconds_per_tick)
for(var/datum/wound/iter_wound as anything in organ_owner.all_wounds)
iter_wound.on_xadone(1 * REM * seconds_per_tick)
return // Do normal metabolism