literally half of the game
This commit is contained in:
parent
1590b5faa6
commit
b842289076
77 changed files with 11904 additions and 72 deletions
|
|
@ -1,8 +1,14 @@
|
|||
using UnityEngine;
|
||||
|
||||
public class Item : MonoBehaviour
|
||||
[CreateAssetMenu(fileName = "New Item", menuName = "Item")]
|
||||
public class Item : ScriptableObject
|
||||
{
|
||||
[Header("Identification")]
|
||||
public string itemName;
|
||||
public string description;
|
||||
public Sprite icon;
|
||||
[Header("Crafting")]
|
||||
public InventoryManager.ItemAmount[] requiredMaterials;
|
||||
public int craftedAmount = 1; //amount of items received after being crafted
|
||||
public int value; //items will be sold at a percentage of value?
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue