public Chest() { for (int i = 0; i < 10; i++) { ChestItem[i] = new ChestItem("None", 0, 1); } }
public Chest(string name, int money, int exp, int reqlvl, int traplvl, int key, int damage, int npcspawn, int npcamount) { Name = name; Money = money; Experience = exp; RequiredLevel = reqlvl; TrapLevel = traplvl; Key = key; Damage = damage; NpcSpawn = npcspawn; SpawnAmount = npcamount; for (int i = 0; i < 10; i++) { ChestItem[i] = new ChestItem("None", 0, 1); } }