Added interaction for trees and stones, added items wood, stone, book and slimeball, v1.4.0

This commit is contained in:
Nicola Sovic
2022-07-12 12:11:32 +02:00
parent 8dbc177dcb
commit d898a1c5fd
23 changed files with 643 additions and 17 deletions

View File

@@ -9,13 +9,21 @@ namespace Assets.Scripts
{
public Book(int luck) : base(luck)
{
itemName = "The kings diary #1";
loadImage();
rarityColor = Color.white;
}
public Book(JToken json) : base(json)
{
}
override
protected void loadImage()
{
image = Resources.Load<Texture>("Items/Inv_Book");
}
}
}