mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user