mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 06:54:18 +01:00
Pneumalin and Adipemcina fix organ damage (#9750)
This commit is contained in:
@@ -1193,7 +1193,9 @@
|
||||
H.add_chemical_effect(CE_PULSE, -1)
|
||||
|
||||
var/obj/item/organ/internal/lungs/L = H.internal_organs_by_name[BP_LUNGS]
|
||||
L.rescued = FALSE
|
||||
if(istype(L) && !BP_IS_ROBOTIC(L))
|
||||
L.rescued = FALSE
|
||||
L.damage = max(L.damage - (removed * 1.5), 0)
|
||||
|
||||
. = ..()
|
||||
|
||||
@@ -1269,7 +1271,7 @@
|
||||
/datum/reagent/azoth/overdose(var/mob/living/carbon/M, var/alien)
|
||||
M.adjustBruteLoss(5)
|
||||
|
||||
/datum/reagent/adipemcina //Based on quinapril
|
||||
/datum/reagent/adipemcina
|
||||
name = "Adipemcina"
|
||||
description = "Adipemcina is a complex, organ-regenerative medication that increases the rate at which cells differentiate into myocardial cells. Adipemcina overdoses result in severe liver damage and vomiting."
|
||||
reagent_state = LIQUID
|
||||
@@ -1280,6 +1282,9 @@
|
||||
|
||||
/datum/reagent/adipemcina/affect_blood(var/mob/living/carbon/human/M, var/alien, var/removed)
|
||||
M.add_chemical_effect(CE_CARDIOTOXIC, -removed*2)
|
||||
var/obj/item/organ/internal/heart/H = M.internal_organs_by_name[BP_HEART]
|
||||
if(istype(H) && !BP_IS_ROBOTIC(H))
|
||||
H.damage = max(H.damage - (removed * 2), 0)
|
||||
..()
|
||||
|
||||
/datum/reagent/adipemcina/overdose(var/mob/living/carbon/human/M, var/alien)
|
||||
|
||||
Reference in New Issue
Block a user