959e80cf72
assets upload description.
33 lines
655 B
C#
33 lines
655 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using RPGCreationKit;
|
|
|
|
namespace RPGCreationKit
|
|
{
|
|
[System.Flags]
|
|
public enum TradableItems
|
|
{
|
|
Ammos = (1 << 0),
|
|
Armors = (1 << 1),
|
|
Books = (1 << 2),
|
|
Consumables = (1 << 3),
|
|
Keys = (1 << 4),
|
|
Miscs = (1 << 5),
|
|
Weapons = (1 << 6)
|
|
};
|
|
|
|
public class Merchant : MonoBehaviour
|
|
{
|
|
public string ID;
|
|
public string merchantName;
|
|
|
|
[Space(5)]
|
|
|
|
public TradableItems WantsToBuy;
|
|
[Space(5)]
|
|
|
|
public Inventory inventory;
|
|
public Equipment equipment;
|
|
}
|
|
} |