private void PopulateArmour() { Armor padded = new Armor("Padded", 5, 10, "padded armour", 1); Armor leather = new Armor("Leather", 10, 15, "leather armour", 2); Armor studded_leather = new Armor("Studded_leather", 25, 20, "studded leather armour", 3); Armor chain_shirt = new Armor("Chain_shirt", 100, 25, "chain shirt armour", 4); Armor hide = new Armor("Hide", 15, 25, "hide armour", 3); Armor scale_mail = new Armor("Scale_mail", 50, 30, "scale mail armour", 4); Armor chainmail = new Armor("Chainmail", 150, 40, "chainmail armour", 5); Armor breastplate = new Armor("Breastplate", 200, 30, "breastplate armour", 5); Armor splint_mail = new Armor("Splint_mail", 200, 45, "splint mail armour", 6); Armor banded_mail = new Armor("Banded_mail", 250, 35, "banded mail armour", 6); Armor half_plate = new Armor("Half_plate", 600, 50, "half-plate armour", 7); Armor full_plate = new Armor("Full_plate", 1500, 50, "full plate armour", 8); //adding armour to shop shop.GetInventory().AddItem(padded); shop.GetInventory().AddItem(leather); shop.GetInventory().AddItem(breastplate); shop.GetInventory().AddItem(splint_mail); shop.GetInventory().AddItem(half_plate); shop.GetInventory().AddItem(banded_mail); shop.GetInventory().AddItem(full_plate); //adding armour to locations gregsOffice.GetInventory().AddItem(studded_leather); gregsOffice.GetInventory().AddItem(chain_shirt); gregsOffice.GetInventory().AddItem(hide); t127.GetInventory().AddItem(scale_mail); t127.GetInventory().AddItem(chainmail); }
public void init() { PaddedArmour = new Armor(15, 150, "BlaBlaBla", 15); }