mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
Reagents, Cryotubes, etc no longer fix prosthetics (#16701)
* Reagents, Cryotubes, etc no longer fix prosthetics * Internal organs too * Clarify CL
This commit is contained in:
@@ -618,7 +618,7 @@
|
||||
var/list/damaged_organs = get_damaged_organs(TRUE, TRUE, FALSE)
|
||||
if(length(damaged_organs))
|
||||
// Heal an absurd amount, basically regenerate one organ.
|
||||
heal_organ_damage(50, 50, FALSE)
|
||||
heal_organ_damage(50, 50)
|
||||
blood_used += 3
|
||||
|
||||
var/missing_blood = species.blood_volume - REAGENT_VOLUME(vessel, /singleton/reagent/blood)
|
||||
|
||||
@@ -218,6 +218,8 @@
|
||||
var/obj/item/organ/internal/I = internal
|
||||
if(amount <= 0)
|
||||
break
|
||||
if(BP_IS_ROBOTIC(I))
|
||||
continue //Chems won't help, you need surgery to fix robot organs
|
||||
if(heal)
|
||||
if(I.damage < amount)
|
||||
amount -= I.damage
|
||||
@@ -279,7 +281,7 @@
|
||||
//Heals ONE external organ, organ gets randomly selected from damaged ones.
|
||||
//It automatically updates damage overlays if necesary
|
||||
//It automatically updates health status
|
||||
/mob/living/carbon/human/heal_organ_damage(var/brute, var/burn, var/prosthetic = TRUE)
|
||||
/mob/living/carbon/human/heal_organ_damage(var/brute, var/burn, var/prosthetic = FALSE)
|
||||
var/list/obj/item/organ/external/parts = get_damaged_organs(brute, burn, prosthetic)
|
||||
if(!length(parts))
|
||||
return
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
author: Doxxmedearly
|
||||
|
||||
delete-after: True
|
||||
|
||||
changes:
|
||||
- bugfix: "Cryotubes, medicine, and other reagents should no longer heal prosthetic limbs."
|
||||
- bugfix: "Prosthetic internal organs can no longer be fixed with reagents such as clonexadone. They must be fixed via surgery."
|
||||
Reference in New Issue
Block a user