update to 0.11.0

This commit is contained in:
Ell 2021-06-05 17:48:28 +02:00
parent c2b0843104
commit 0ce7b27ef4
2 changed files with 3 additions and 4 deletions

View file

@ -56,8 +56,7 @@ namespace ExampleMod {
}; };
// adding a simple action: sitting down in the grass, which also gives us a nice emotion modifier // adding a simple action: sitting down in the grass, which also gives us a nice emotion modifier
ActionType.Register(new ActionType.TypeSettings("ExampleMod.SitOnGrass", ObjectCategory.Ground, ActionType.Register(new ActionType.TypeSettings("ExampleMod.SitOnGrass", ObjectCategory.Ground, typeof(SitDownOnGrassAction)) {
(t, i) => new SitDownOnGrassAction(t, i)) {
// we set this action to be executable only on grass tiles, not on other ground // we set this action to be executable only on grass tiles, not on other ground
CanExecute = (info, automatic) => { CanExecute = (info, automatic) => {
var tile = info.Map.GetTile(info.ActionLocation.ToPoint()); var tile = info.Map.GetTile(info.ActionLocation.ToPoint());

View file

@ -5,7 +5,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="TinyLifeApi" Version="0.10.1" /> <PackageReference Include="TinyLifeApi" Version="0.11.0" />
<PackageReference Include="ExtremelySimpleLogger" Version="1.2.1" /> <PackageReference Include="ExtremelySimpleLogger" Version="1.2.1" />
<PackageReference Include="MLEM.Data" Version="4.3.0" /> <PackageReference Include="MLEM.Data" Version="4.3.0" />