changed water sprite, removed debug logs, farmland -> grass with shovel

This commit is contained in:
j-weissen 2022-06-09 01:05:11 +02:00
parent cdd8ae7441
commit 74d6c7813c
6 changed files with 19 additions and 21 deletions

View file

@ -19,10 +19,16 @@ namespace Tiles
public override BaseTile Clicked(UsableItem usable)
{
BaseTile rv = null;
base.Clicked(usable);
_crop.Clicked(usable);
if (ItemContainer.Instance.GetItemIdByName("Shovel") == usable.Id)
{
rv = new GrassTile(_gameObject);
}
return null;
return rv;
}
}
}