package com.hotmail.kalebmarc.textfighter.item;

import com.hotmail.kalebmarc.textfighter.main.Action;
import com.hotmail.kalebmarc.textfighter.main.Ui;
import com.hotmail.kalebmarc.textfighter.main.Weapon;
import com.hotmail.kalebmarc.textfighter.player.Coins;
import com.hotmail.kalebmarc.textfighter.player.Potion;

public class Chest {
	private Chest(){}
	public static void view(){
		
		Action.cls();
		Ui.println("------------------------------");
		Ui.println("          Item Chest          ");
		Ui.println();
		Ui.println("First-Aid kits: " + FirstAid.get());
		Ui.println("Insta-Healths: " + InstaHealth.get());
                Ui.println("Potions: " + (Potion.get("survival") + Potion.get("recovery")));
		Ui.println("Coins: " + Coins.get());
		Ui.println("POWERS: " + Power.get());
		for(int i = 0; i < Weapon.arrayWeapon.size(); i++){
            Ui.print(Weapon.arrayWeapon.get(i).getName() + ": " + Weapon.arrayWeapon.get(i).owns());
			Ui.println(" (Ammo: " + Weapon.arrayWeapon.get(i).getAmmo() + ")");
        }
		for(int i = 1; i < Armour.getArmours().size(); i++){
			Ui.println(Armour.getArmours().get(i).toString() + ": " + Armour.getArmours().get(i).isOwns());
		}
		Ui.println();
		Ui.println("------------------------------");
		Action.pause();
		
	}
}
package com.hotmail.kalebmarc.textfighter.item;

import com.hotmail.kalebmarc.textfighter.main.Action;
import com.hotmail.kalebmarc.textfighter.main.Ui;
import com.hotmail.kalebmarc.textfighter.main.Weapon;
import com.hotmail.kalebmarc.textfighter.player.Coins;
import com.hotmail.kalebmarc.textfighter.player.Potion;

public class Chest {
	private Chest(){}
	public static void view(){
		
		Action.cls();
		Ui.println("------------------------------");
		Ui.println("          Item Chest          ");
		Ui.println();
		Ui.println("First-Aid kits: " + FirstAid.get());
		Ui.println("Insta-Healths: " + InstaHealth.get());
                Ui.println("Potions: " + (Potion.get("survival") + Potion.get("recovery")));
		Ui.println("Coins: " + Coins.get());
		Ui.println("POWERS: " + Power.get());
		for(int i = 0; i < Weapon.arrayWeapon.size(); i++){
			if (Weapon.arrayWeapon.get(i).owns()) {
	        		Ui.print(Weapon.arrayWeapon.get(i).getName());
				Ui.println(" (Ammo: " + Weapon.arrayWeapon.get(i).getAmmo() + ")");
			}
        	}
		for(int i = 1; i < Armour.getArmours().size(); i++){
			if (Armour.getArmours().get(i).isOwns()) {
				Ui.println(Armour.getArmours().get(i).toString());
			}
		}
		Ui.println();
		Ui.println("------------------------------");
		Action.pause();
		
	}
}

Make weapon chest show only the weapons the player has #14