mirror of
https://github.com/DerTyp7/example-top-down-unity.git
synced 2025-10-30 12:57:08 +01:00
-Added Items
-Added item stacking -adding and removing items
This commit is contained in:
10
Assets/Scripts/Inventory/FoodItem.cs
Normal file
10
Assets/Scripts/Inventory/FoodItem.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
[CreateAssetMenu(fileName = "FoodItem", menuName = "Items/FoodItem", order = 2)]
|
||||
public class FoodItem : Item
|
||||
{
|
||||
public int health;
|
||||
public int water;
|
||||
public int regeneration;
|
||||
}
|
||||
Reference in New Issue
Block a user