This commit is contained in:
Ell 2023-04-14 13:00:32 +02:00
parent 7493d4b896
commit 661b7e5b7a
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="TinyLifeApi" Version="0.30.1" />
<PackageReference Include="TinyLifeApi" Version="0.31.0" />
<PackageReference Include="ExtremelySimpleLogger" Version="1.2.5" />
<PackageReference Include="Lib.Harmony" Version="2.2.1" />

View file

@ -31,7 +31,7 @@ public class ExampleModGrassSitAction : MultiAction {
// this method gets called every update frame while the action is active
// set our person to look like they're sitting on the ground
this.Person.CurrentPose = Person.Pose.SittingGround;
this.Person.CurrentPose = Pose.SittingGround;
// restore need and lower emotions
this.Person.RestoreNeed(NeedType.Energy, 0.5F, this.Info, speedMultiplier);