Example #1
0
 protected override void InstantiateItems()
 {
     townShops.Add(
         "Townie",
         new Item[]
     {
         MasterItemList.IronChest(),
         MasterItemList.ClothShirt(),
         MasterItemList.IronDagger(),
         MasterItemList.WoodenShield(),
         MasterItemList.HealthPotion(),
         MasterItemList.HealthPotion(),
         MasterItemList.Log(),
         MasterItemList.Log(),
         MasterItemList.Log()
     });
     townShops.Add(
         "Barbarian",
         new Item[]
     {
         MasterItemList.Log(),
         MasterItemList.Log(),
         MasterItemList.Log()
     });
 }
Example #2
0
    protected override void InstantiateDefaultEquipment()
    {
        base.InstantiateDefaultEquipment();
        defaultArmor = new Item[] { MasterItemList.ClothShirt(),
                                        MasterItemList.ClothTrousers(),
                                        MasterItemList.LeatherBoots(),
                                        MasterItemList.LeatherGloves() };

        defaultWeapon = new Item[] { MasterItemList.IronDagger() };
    }