Significantly buff food items and nerf hunger decay. (#11163)

This commit is contained in:
Moony
2022-09-10 02:36:32 -05:00
committed by GitHub
parent 6fbac12ac3
commit f238852e4d

View File

@@ -21,7 +21,7 @@ namespace Content.Server.Nutrition.Components
set => _baseDecayRate = value; set => _baseDecayRate = value;
} }
[DataField("baseDecayRate")] [DataField("baseDecayRate")]
private float _baseDecayRate = 0.1f; private float _baseDecayRate = 0.01666666666f;
[ViewVariables(VVAccess.ReadWrite)] [ViewVariables(VVAccess.ReadWrite)]
public float ActualDecayRate public float ActualDecayRate
@@ -50,10 +50,10 @@ namespace Content.Server.Nutrition.Components
public Dictionary<HungerThreshold, float> HungerThresholds => _hungerThresholds; public Dictionary<HungerThreshold, float> HungerThresholds => _hungerThresholds;
private readonly Dictionary<HungerThreshold, float> _hungerThresholds = new() private readonly Dictionary<HungerThreshold, float> _hungerThresholds = new()
{ {
{ HungerThreshold.Overfed, 600.0f }, { HungerThreshold.Overfed, 200.0f },
{ HungerThreshold.Okay, 450.0f }, { HungerThreshold.Okay, 150.0f },
{ HungerThreshold.Peckish, 300.0f }, { HungerThreshold.Peckish, 100.0f },
{ HungerThreshold.Starving, 150.0f }, { HungerThreshold.Starving, 50.0f },
{ HungerThreshold.Dead, 0.0f }, { HungerThreshold.Dead, 0.0f },
}; };