ItemORIG.cs 615 B

1234567891011121314151617181920212223242526
  1. using System;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using UnityEngine;
  5. // [CreateAssetMenu(fileName = "New Item", menuName = "Data/New Item", order = 1)]
  6. public class ItemORIG : ScriptableObject {
  7. public string ID = Guid.NewGuid().ToString().ToUpper();
  8. public string FriendlyName;
  9. public string Description;
  10. public Categories Category;
  11. public bool Stackable;
  12. public int BuyPrice;
  13. [Range(0, 1)]
  14. public float SellPercentage;
  15. public Sprite Icon;
  16. public enum Categories {
  17. Armor,
  18. Food,
  19. Potion,
  20. Weapon,
  21. Junk
  22. }
  23. }