mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
Make Nutriment Work again. (#40869)
Fix nutriment Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
This commit is contained in:
committed by
Vanessa
co-authored by
Princess Cheeseballs
parent
1e66b9d05e
commit
29fa901a85
@@ -59,7 +59,7 @@ public sealed class HungerThirstTest : InteractionTest
|
||||
await UseInHand();
|
||||
|
||||
// To see a change in hunger, we need to wait at least 30 seconds
|
||||
await RunSeconds(15); // DeltaV - Was 30
|
||||
await RunSeconds(30);
|
||||
|
||||
// We ensure the food is fully eaten
|
||||
var foodEaten = HandSys.GetActiveItem((SPlayer, Hands));
|
||||
@@ -82,7 +82,7 @@ public sealed class HungerThirstTest : InteractionTest
|
||||
await UseInHand();
|
||||
|
||||
// To see a change in thirst, we need to wait at least 30 seconds
|
||||
await RunSeconds(15); // DeltaV - Was 30
|
||||
await RunSeconds(30);
|
||||
|
||||
// Ensure the solution volume has decreased
|
||||
Assert.That(solution.Value.Comp.Solution.Volume, Is.LessThan(initialSolutionVolume), "Solution volume did not decrease after drinking");
|
||||
|
||||
@@ -45,7 +45,7 @@ public abstract partial class Satiate<T> : EntityEffectBase<T> where T : EntityE
|
||||
/// Change in satiation.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public float Factor = -1.5f;
|
||||
public float Factor = 1.5f;
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="Satiate{T}"/>
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
color: "#24591F"
|
||||
metabolisms:
|
||||
Food:
|
||||
metabolismRate: 2 # DeltaV
|
||||
effects:
|
||||
- !type:SatiateHunger
|
||||
plantMetabolism:
|
||||
@@ -29,7 +28,6 @@
|
||||
color: "#D3D3D3"
|
||||
metabolisms:
|
||||
Food: #This makes it not compete with medicines, a large bonus for something that can heal
|
||||
metabolismRate: 2 # DeltaV
|
||||
effects:
|
||||
- !type:HealthChange
|
||||
probability: 0.5
|
||||
@@ -59,7 +57,6 @@
|
||||
color: "#FFFFE5"
|
||||
metabolisms:
|
||||
Food:
|
||||
metabolismRate: 2 # DeltaV
|
||||
effects:
|
||||
- !type:HealthChange
|
||||
probability: 0.5
|
||||
@@ -82,7 +79,6 @@
|
||||
meltingPoint: 146.0
|
||||
metabolisms:
|
||||
Food:
|
||||
metabolismRate: 2 # DeltaV
|
||||
effects:
|
||||
- !type:SatiateHunger
|
||||
conditions:
|
||||
|
||||
Reference in New Issue
Block a user