Skip to content

Commit

Permalink
Theobromine Tweaks (vulps + coffee) (#2024)
Browse files Browse the repository at this point in the history
tweak theobromine and make cocoa powder metab it
  • Loading branch information
ThataKat authored Oct 20, 2024
1 parent f877a06 commit 4f9ff1e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Resources/Prototypes/Reagents/Consumable/Food/ingredients.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 6 additions & 3 deletions Resources/Prototypes/Reagents/toxins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -403,20 +403,23 @@
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:
- !type:OrganType
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
Expand Down

0 comments on commit 4f9ff1e

Please sign in to comment.