From a5f99dc949628be813fdf2117ad02b336d30330a Mon Sep 17 00:00:00 2001 From: deltanedas <39013340+deltanedas@users.noreply.github.com> Date: Fri, 24 Mar 2023 18:13:22 +0000 Subject: [PATCH] dylo has 30u overdose (#14831) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * dylo has 30u overdose * 😔 --------- Co-authored-by: deltanedas <@deltanedas:kde.org> --- Resources/Prototypes/Reagents/medicine.yml | 41 ++++++++++++++++++---- 1 file changed, 35 insertions(+), 6 deletions(-) diff --git a/Resources/Prototypes/Reagents/medicine.yml b/Resources/Prototypes/Reagents/medicine.yml index 16048ca9b8..c5025c15d7 100644 --- a/Resources/Prototypes/Reagents/medicine.yml +++ b/Resources/Prototypes/Reagents/medicine.yml @@ -22,12 +22,41 @@ damage: types: Poison: -1 - # TODO overdose: vomit, dizzy effect (drunkenness?) + - !type:HealthChange + conditions: + - !type:ReagentThreshold + min: 30 + damage: + types: + Brute: 0.5 + - !type:Jitter + conditions: + - !type:ReagentThreshold + min: 30 + - !type:PopupMessage + conditions: + - !type:ReagentThreshold + min: 30 + type: Local + visualType: Medium + messages: [ "generic-reagent-effect-nauseous" ] + probability: 0.2 + - !type:ChemVomit + conditions: + - !type:ReagentThreshold + min: 30 + probability: 0.02 + Alcohol: + effects: + - !type:Drunk + conditions: + - !type:ReagentThreshold + min: 15 plantMetabolism: - - !type:PlantAdjustToxins - amount: -10 - - !type:PlantAdjustHealth - amount: 1 + - !type:PlantAdjustToxins + amount: -10 + - !type:PlantAdjustHealth + amount: 1 - type: reagent id: Diphenhydramine @@ -802,4 +831,4 @@ conditions: - !type:ReagentThreshold min: 30 - probability: 0.02 \ No newline at end of file + probability: 0.02 -- 2.51.2