mirror of
https://github.com/Ellpeck/TinyLifeExampleMod.git
synced 2024-11-22 12:03:28 +01:00
0.19.1
This commit is contained in:
parent
8723b0ebb4
commit
ce5eb6e03a
2 changed files with 2 additions and 2 deletions
|
@ -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" />
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue