Converts Perfluorodecalin's side-effect into an actual overdose (#21081)

* Converts Perfluorodecalin's side-effect into actual overdose

* Make Perfluorodecalin heal its own OD again
This commit is contained in:
Nathan Winters
2023-05-22 22:24:53 +02:00
committed by GitHub
parent e8e85574d0
commit 8000a0e40b
@@ -504,6 +504,8 @@
reagent_state = LIQUID
color = "#C8A5DC"
metabolization_rate = 0.2
overdose_threshold = 4
allowed_overdose_process = TRUE
addiction_chance = 1
addiction_chance_additional = 20
addiction_threshold = 10
@@ -512,14 +514,18 @@
/datum/reagent/medicine/perfluorodecalin/on_mob_life(mob/living/carbon/human/M)
var/update_flags = STATUS_UPDATE_NONE
update_flags |= M.adjustOxyLoss(-25*REAGENTS_EFFECT_MULTIPLIER, FALSE)
if(volume >= 4)
M.LoseBreath(12 SECONDS)
if(prob(33))
update_flags |= M.adjustBruteLoss(-1*REAGENTS_EFFECT_MULTIPLIER, FALSE)
update_flags |= M.adjustFireLoss(-1*REAGENTS_EFFECT_MULTIPLIER, FALSE)
return ..() | update_flags
/datum/reagent/medicine/perfluorodecalin/overdose_process(mob/living/M)
M.LoseBreath(12 SECONDS)
return list(0, STATUS_UPDATE_NONE)
/datum/reagent/medicine/ephedrine
name = "Ephedrine"
id = "ephedrine"