mirror of
https://github.com/Ellpeck/TinyLifeExampleMod.git
synced 2024-11-22 03:53:29 +01:00
0.31.0
This commit is contained in:
parent
7493d4b896
commit
661b7e5b7a
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="TinyLifeApi" Version="0.30.1" />
|
<PackageReference Include="TinyLifeApi" Version="0.31.0" />
|
||||||
|
|
||||||
<PackageReference Include="ExtremelySimpleLogger" Version="1.2.5" />
|
<PackageReference Include="ExtremelySimpleLogger" Version="1.2.5" />
|
||||||
<PackageReference Include="Lib.Harmony" Version="2.2.1" />
|
<PackageReference Include="Lib.Harmony" Version="2.2.1" />
|
||||||
|
|
|
@ -31,7 +31,7 @@ public class ExampleModGrassSitAction : MultiAction {
|
||||||
// this method gets called every update frame while the action is active
|
// this method gets called every update frame while the action is active
|
||||||
|
|
||||||
// set our person to look like they're sitting on the ground
|
// 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
|
// restore need and lower emotions
|
||||||
this.Person.RestoreNeed(NeedType.Energy, 0.5F, this.Info, speedMultiplier);
|
this.Person.RestoreNeed(NeedType.Energy, 0.5F, this.Info, speedMultiplier);
|
||||||
|
|
Loading…
Reference in a new issue