From 4f9ff1e96615e315d920643f427b76b4279fc392 Mon Sep 17 00:00:00 2001 From: ThataKat <49598651+ThataKat@users.noreply.github.com> Date: Sat, 19 Oct 2024 22:22:44 -0700 Subject: [PATCH] Theobromine Tweaks (vulps + coffee) (#2024) tweak theobromine and make cocoa powder metab it --- .../Prototypes/Reagents/Consumable/Food/ingredients.yml | 3 +++ Resources/Prototypes/Reagents/toxins.yml | 9 ++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Resources/Prototypes/Reagents/Consumable/Food/ingredients.yml b/Resources/Prototypes/Reagents/Consumable/Food/ingredients.yml index 34cafe50983..76362684037 100644 --- a/Resources/Prototypes/Reagents/Consumable/Food/ingredients.yml +++ b/Resources/Prototypes/Reagents/Consumable/Food/ingredients.yml @@ -234,6 +234,9 @@ reagent: Nutriment min: 0.1 factor: 1 + - !type:AdjustReagent # DeltaV - Make cocoa powder actually toxic to animal organs + reagent: Theobromine + amount: 0.2 plantMetabolism: - !type:PlantAdjustNutrition amount: 0.1 diff --git a/Resources/Prototypes/Reagents/toxins.yml b/Resources/Prototypes/Reagents/toxins.yml index 12b05f9b232..24bdf7b6596 100644 --- a/Resources/Prototypes/Reagents/toxins.yml +++ b/Resources/Prototypes/Reagents/toxins.yml @@ -403,7 +403,7 @@ boilingPoint: 554 # I'm not a chemist, but it boils at 295, lower than melting point, idk how it works so I gave it higher value metabolisms: Poison: - metabolismRate: 0.05 + metabolismRate: 0.04 # DeltaV - Slowed to allow coffee/etc to build up theobromine effects: - !type:HealthChange conditions: @@ -411,12 +411,15 @@ type: Animal # Applying damage to the mobs with lower metabolism capabilities damage: types: - Poison: 0.4 + Poison: 0.3 # DeltaV - slightly reduced to account for slowed metabolism rate - !type:ChemVomit - probability: 0.04 #Scaled for time, not metabolismrate. + probability: 0.1 #Scaled for time, not metabolismrate. # DeltaV - Increased from .04 Vomit more when there is a lot of it conditions: - !type:OrganType type: Animal + - !type:ReagentThreshold #DeltaV - Readded this. No longer causes vomitting at the lightest whiff of coffee + reagent: Theobromine + min: 0.5 - type: reagent id: Amatoxin