id changed

This commit is contained in:
s-prechtl 2022-06-09 09:26:17 +02:00
parent 8e64a009f5
commit 63acfe3807
7 changed files with 15 additions and 15 deletions

View file

@ -10,7 +10,7 @@ public class Item : ScriptableObject, IComparable<Item> {
public Sprite defaultSprite;
public int price;
public int SellPrice => Convert.ToInt32(price * 0.8);
public int Id => _id;
public int ID => _id;
public Item(string displayName, string description, int id) {
this.displayName = displayName;