Search in sources :

Example 1 with Quiver

use of com.watabou.pixeldungeon.items.bags.Quiver in project pixel-dungeon-remix by NYRDS.

the class TownShopLevel method makeShop.

private void makeShop() {
    ArrayList<Item> items = new ArrayList<>();
    items.add(new LeatherArmor().identify());
    items.add(new Dagger().identify());
    items.add(new Knuckles().identify());
    items.add(new Sword().identify());
    items.add(new Quarterstaff().identify());
    items.add(new TomeOfKnowledge().identify());
    for (int i = 0; i < 3; i++) {
        items.add(new OverpricedRation());
        items.add(new Dart(5).identify());
        items.add(new CommonArrow(25));
        items.add(new Torch().identify());
    }
    items.add(new Keyring());
    items.add(new ScrollHolder());
    items.add(new PotionBelt());
    items.add(new SeedPouch());
    items.add(new Quiver());
    items.add(new WandHolster());
    Item[] range = items.toArray(new Item[items.size()]);
    for (Item item : range) {
        itemForSell(item);
    }
}
Also used : Keyring(com.watabou.pixeldungeon.items.bags.Keyring) Quiver(com.watabou.pixeldungeon.items.bags.Quiver) TomeOfKnowledge(com.nyrds.pixeldungeon.items.books.TomeOfKnowledge) ArrayList(java.util.ArrayList) ScrollHolder(com.watabou.pixeldungeon.items.bags.ScrollHolder) Quarterstaff(com.watabou.pixeldungeon.items.weapon.melee.Quarterstaff) Torch(com.watabou.pixeldungeon.items.Torch) WandHolster(com.watabou.pixeldungeon.items.bags.WandHolster) Item(com.watabou.pixeldungeon.items.Item) Knuckles(com.watabou.pixeldungeon.items.weapon.melee.Knuckles) PotionBelt(com.watabou.pixeldungeon.items.bags.PotionBelt) Sword(com.watabou.pixeldungeon.items.weapon.melee.Sword) OverpricedRation(com.watabou.pixeldungeon.items.food.OverpricedRation) CommonArrow(com.watabou.pixeldungeon.items.weapon.missiles.CommonArrow) SeedPouch(com.watabou.pixeldungeon.items.bags.SeedPouch) LeatherArmor(com.watabou.pixeldungeon.items.armor.LeatherArmor) Dagger(com.watabou.pixeldungeon.items.weapon.melee.Dagger) Dart(com.watabou.pixeldungeon.items.weapon.missiles.Dart)

Aggregations

TomeOfKnowledge (com.nyrds.pixeldungeon.items.books.TomeOfKnowledge)1 Item (com.watabou.pixeldungeon.items.Item)1 Torch (com.watabou.pixeldungeon.items.Torch)1 LeatherArmor (com.watabou.pixeldungeon.items.armor.LeatherArmor)1 Keyring (com.watabou.pixeldungeon.items.bags.Keyring)1 PotionBelt (com.watabou.pixeldungeon.items.bags.PotionBelt)1 Quiver (com.watabou.pixeldungeon.items.bags.Quiver)1 ScrollHolder (com.watabou.pixeldungeon.items.bags.ScrollHolder)1 SeedPouch (com.watabou.pixeldungeon.items.bags.SeedPouch)1 WandHolster (com.watabou.pixeldungeon.items.bags.WandHolster)1 OverpricedRation (com.watabou.pixeldungeon.items.food.OverpricedRation)1 Dagger (com.watabou.pixeldungeon.items.weapon.melee.Dagger)1 Knuckles (com.watabou.pixeldungeon.items.weapon.melee.Knuckles)1 Quarterstaff (com.watabou.pixeldungeon.items.weapon.melee.Quarterstaff)1 Sword (com.watabou.pixeldungeon.items.weapon.melee.Sword)1 CommonArrow (com.watabou.pixeldungeon.items.weapon.missiles.CommonArrow)1 Dart (com.watabou.pixeldungeon.items.weapon.missiles.Dart)1 ArrayList (java.util.ArrayList)1