This commit is contained in:
Ell 2022-01-08 12:41:02 +01:00
parent 8723b0ebb4
commit ce5eb6e03a
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="TinyLifeApi" Version="0.19.0" /> <PackageReference Include="TinyLifeApi" Version="0.19.1" />
<PackageReference Include="ExtremelySimpleLogger" Version="1.2.4" /> <PackageReference Include="ExtremelySimpleLogger" Version="1.2.4" />
<PackageReference Include="MLEM.Data" Version="5.2.0" /> <PackageReference Include="MLEM.Data" Version="5.2.0" />

View file

@ -47,7 +47,7 @@ public class SitDownOnGrassAction : MultiAction {
// this method is called when the action completes in any way, even if it fails // this method is called when the action completes in any way, even if it fails
if (type == CompletionType.Completed) { if (type == CompletionType.Completed) {
// once we're finished sitting, we want to get a nice emotion modifier for it // once we're finished sitting, we want to get a nice emotion modifier for it
this.Person.AddEmotion(ExampleMod.GrassSittingModifier, 2, TimeSpan.FromHours(1)); this.Person.AddEmotion(ExampleMod.GrassSittingModifier, 2, TimeSpan.FromHours(1), this.Type);
} }
} }