mirror of
https://github.com/Ellpeck/TinyLifeExampleMod.git
synced 2024-11-25 21:28:33 +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>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="TinyLifeApi" Version="0.21.2" />
|
<PackageReference Include="TinyLifeApi" Version="0.22.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" />
|
||||||
|
|
|
@ -35,7 +35,7 @@ public class SitDownOnGrassAction : MultiAction {
|
||||||
this.Person.CurrentPose = Person.Pose.SittingGround;
|
this.Person.CurrentPose = Person.Pose.SittingGround;
|
||||||
|
|
||||||
// restore need and lower emotions
|
// 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);
|
this.Person.LowerEmotion(EmotionType.Uncomfortable, 0.0001F, speedMultiplier);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue