Items adjusted prices
fixed some Tile sheeesh selling overflowing Items in Inventory (over 999)
This commit is contained in:
parent
79e86e343c
commit
cdd8ae7441
21 changed files with 106 additions and 84 deletions
|
|
@ -10,7 +10,7 @@ public class Item : ScriptableObject, IComparable<Item> {
|
|||
public Sprite defaultSprite;
|
||||
public int price;
|
||||
public int SellPrice => Convert.ToInt32(price * 0.8);
|
||||
ic int ID => _id;
|
||||
public int Id => _id;
|
||||
|
||||
public Item(string displayName, string description, int id) {
|
||||
this.displayName = displayName;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue