57 lines
1.1 KiB
C#
57 lines
1.1 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace SimpleInventorySystem
|
|
{
|
|
public enum ItemTags
|
|
{
|
|
Any,
|
|
Helmet,
|
|
Headset,
|
|
Glasses,
|
|
FaceCover,
|
|
Plate,
|
|
Weapon,
|
|
Sidearm,
|
|
MeleeWeapon,
|
|
TacticalRig,
|
|
TacticalRigAttachment,
|
|
MedPouch,
|
|
Backpack,
|
|
Pouch1x1,
|
|
Pouch2x1,
|
|
Pouch3x1,
|
|
Pouch2x2,
|
|
BodyArmor,
|
|
PlateCarrier,
|
|
HeavyAmmunition,
|
|
MediumAmmunition,
|
|
LightAmmunition,
|
|
ShotgunRounds
|
|
}
|
|
|
|
public enum RarityType
|
|
{
|
|
Common,
|
|
Uncommon,
|
|
Rare,
|
|
Epic,
|
|
Legendary
|
|
}
|
|
|
|
[Serializable]
|
|
public class Rarity
|
|
{
|
|
public RarityType rarityType;
|
|
public Color color;
|
|
}
|
|
|
|
|
|
public class InventorySystemPreferences
|
|
{
|
|
// This class is simply there for convenience. The bulk of this file will contain elements that the game developer or programmer can modify to extend their game.
|
|
}
|
|
}
|