Significantly nerf chemvomit and give it a reasonable default. (#21453)

This commit is contained in:
IProduceWidgets
2023-11-05 21:16:56 -05:00
committed by GitHub
parent 3a430f3628
commit 79cd2a7d56
3 changed files with 16 additions and 4 deletions

View File

@@ -13,10 +13,10 @@ namespace Content.Server.Chemistry.ReagentEffects
{
/// How many units of thirst to add each time we vomit
[DataField("thirstAmount")]
public float ThirstAmount = -40f;
public float ThirstAmount = -8f;
/// How many units of hunger to add each time we vomit
[DataField("hungerAmount")]
public float HungerAmount = -40f;
public float HungerAmount = -8f;
protected override string? ReagentEffectGuidebookText(IPrototypeManager prototype, IEntitySystemManager entSys)
=> Loc.GetString("reagent-effect-guidebook-chem-vomit", ("chance", Probability));

View File

@@ -52,10 +52,16 @@
Food:
effects:
- !type:ChemVomit
conditions:
- !type:ReagentThreshold
min: 6
probability: 0.20
Drink:
effects:
- !type:ChemVomit
conditions:
- !type:ReagentThreshold
min: 6
probability: 0.20
- type: reagent
@@ -73,9 +79,12 @@
- !type:SatiateThirst
factor: 3
- !type:ChemVomit
conditions:
- !type:ReagentThreshold
min: 6
probability: 0.10
thirstAmount: -10.0
hungerAmount: -10.0
thirstAmount: -5.0
hungerAmount: -5.0
plantMetabolism:
- !type:PlantAdjustWater
amount: .8

View File

@@ -407,6 +407,9 @@
Medicine:
effects:
- !type:ChemVomit
conditions:
- !type:ReagentThreshold
min: 4
probability: 0.3
- type: reagent