| 1234567891011121314151617181920212223242526 |
- using System;
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- // [CreateAssetMenu(fileName = "New Item", menuName = "Data/New Item", order = 1)]
- public class ItemORIG : ScriptableObject {
- public string ID = Guid.NewGuid().ToString().ToUpper();
- public string FriendlyName;
- public string Description;
- public Categories Category;
- public bool Stackable;
- public int BuyPrice;
- [Range(0, 1)]
- public float SellPercentage;
- public Sprite Icon;
- public enum Categories {
- Armor,
- Food,
- Potion,
- Weapon,
- Junk
- }
- }
|