mirror of
https://github.com/Ellpeck/TinyLifeExampleMod.git
synced 2024-12-22 23:39:23 +01:00
0.22.0
This commit is contained in:
parent
dacc8c87e4
commit
9daa788fde
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="TinyLifeApi" Version="0.21.2" />
|
||||
<PackageReference Include="TinyLifeApi" Version="0.22.0" />
|
||||
|
||||
<PackageReference Include="ExtremelySimpleLogger" Version="1.2.5" />
|
||||
<PackageReference Include="Lib.Harmony" Version="2.2.1" />
|
||||
|
|
|
@ -35,7 +35,7 @@ public class SitDownOnGrassAction : MultiAction {
|
|||
this.Person.CurrentPose = Person.Pose.SittingGround;
|
||||
|
||||
// restore need and lower emotions
|
||||
this.Person.RestoreNeed(NeedType.Energy, 0.5F, speedMultiplier);
|
||||
this.Person.RestoreNeed(NeedType.Energy, 0.5F, this.Info, speedMultiplier);
|
||||
this.Person.LowerEmotion(EmotionType.Uncomfortable, 0.0001F, speedMultiplier);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue