Beispiel #1
0
        public static List <Equipment> GetEquipmentList(EquipmentTypes type)
        {
            List <Equipment> output = null;

            switch (type)
            {
            case EquipmentTypes.Armour:
                output = Armour.FillEquipmentList();
                break;

            case EquipmentTypes.Ammo:
                output = Ammo.FillEquipmentList();
                break;

            case EquipmentTypes.Focus:
                output = Focus.FillEquipmentList();
                break;

            case EquipmentTypes.ItemContainer:
                output = ItemContainer.FillEquipmentList();
                break;

            case EquipmentTypes.Tool:
                output = Tool.FillEquipmentList();
                break;

            case EquipmentTypes.Utility:
                output = Utility.FillEquipmentList();
                break;

            case EquipmentTypes.Weapon:
                output = Weapon.FillEquipmentList();
                break;
            }
            return(output);
        }
        public static List <Pack> FillPackList()
        {
            Equipment container = new ItemContainer();
            Equipment utility   = new Utility();
            Equipment tool      = new Tool();
            Equipment weapon    = new Weapon();

            List <Pack> PackList = new List <Pack>
            {
                new Pack("Burglar's Pack", 16, new List <Equipment>
                {
                    container.GetEquipment("Backpack"),
                    utility.GetEquipment("Ball bearings (bag of 1.000)", 1),
                    utility.GetEquipment("String (2 meters)", 1),
                    utility.GetEquipment("Bell", 1),
                    utility.GetEquipment("Candle", 5),
                    utility.GetEquipment("Crowbar", 1),
                    utility.GetEquipment("Hammer", 1),
                    utility.GetEquipment("Piton", 10),
                    utility.GetEquipment("Lantern, hooded", 1),
                    utility.GetEquipment("Oil (flask)", 2),
                    utility.GetEquipment("Rations (1 day)", 5),
                    utility.GetEquipment("Tinderbox", 1),
                    container.GetEquipment("Waterskin"),
                    utility.GetEquipment("Rope, hempen (10 meters)", 1)
                }),
                new Pack("Diplomat's Pack", 39, new List <Equipment>
                {
                    container.GetEquipment("Chest"),
                    utility.GetEquipment("Case (map or scroll)", 2),
                    utility.GetEquipment("Clothes, fine", 1),
                    utility.GetEquipment("Ink (30 mililiters bottle)", 1),
                    utility.GetEquipment("Ink pen", 1),
                    utility.GetEquipment("Lamp", 1),
                    utility.GetEquipment("Oil (flask)", 2),
                    utility.GetEquipment("Paper (one sheet)", 5),
                    utility.GetEquipment("Perfume (vial)", 1),
                    utility.GetEquipment("Sealing wax", 1),
                    utility.GetEquipment("Soap", 1)
                }),
                new Pack("Dungeoneer's Pack", 12, new List <Equipment>
                {
                    container.GetEquipment("Backpack"),
                    utility.GetEquipment("Crowbar", 1),
                    utility.GetEquipment("Hammer", 1),
                    utility.GetEquipment("Piton", 10),
                    utility.GetEquipment("Torch", 10),
                    utility.GetEquipment("Tinderbox", 1),
                    utility.GetEquipment("Rations (1 day)", 10),
                    container.GetEquipment("Waterskin"),
                    utility.GetEquipment("Rope, hempen (10 meters)", 1)
                }),
                new Pack("Entertainer's Pack", 40, new List <Equipment>
                {
                    container.GetEquipment("Backpack"),
                    utility.GetEquipment("Bedroll", 1),
                    utility.GetEquipment("Clothes, costume", 2),
                    utility.GetEquipment("Candle", 5),
                    utility.GetEquipment("Rations (1 day)", 5),
                    container.GetEquipment("Waterskin"),
                    tool.GetEquipment("Disguise kit")
                }),
                new Pack("Explorer's Pack", 10, new List <Equipment>
                {
                    container.GetEquipment("Backpack"),
                    utility.GetEquipment("Bedroll", 1),
                    utility.GetEquipment("Mess kit", 1),
                    utility.GetEquipment("Tinderbox", 1),
                    utility.GetEquipment("Torch", 10),
                    utility.GetEquipment("Rations (1 day)", 10),
                    container.GetEquipment("Waterskin"),
                    utility.GetEquipment("Rope, hempen (10 meters)", 1)
                }),
                new Pack("Priest's Pack", 19, new List <Equipment>
                {
                    container.GetEquipment("Backpack"),
                    utility.GetEquipment("Blanket", 1),
                    utility.GetEquipment("Candle", 10),
                    utility.GetEquipment("Tinderbox", 1),
                    container.GetEquipment("Basket"),
                    utility.GetEquipment("Incense (1 block)", 2),
                    utility.GetEquipment("Censer", 1),
                    utility.GetEquipment("Clothes, common", 1),
                    utility.GetEquipment("Rations (1 day)", 2),
                    container.GetEquipment("Waterskin"),
                }),
                new Pack("Scholar's Pack", 40, new List <Equipment>
                {
                    container.GetEquipment("Backpack"),
                    utility.GetEquipment("Book", 1),
                    utility.GetEquipment("Ink (30 mililiters bottle)", 1),
                    utility.GetEquipment("Ink pen", 1),
                    utility.GetEquipment("Parchment (one sheet)", 10),
                    container.GetEquipment("Pouch"),
                    utility.GetEquipment("Knife")
                })
            };

            return(PackList);
        }