menu.add(TargetMenuItem(new HexTarget(coords, board, Targetable.TYPE_HEX_CLEAR)));
if (client.game.getOptions().booleanOption("tacops_start_fire") && (h.containsTerrain(Terrains.WOODS) || h.containsTerrain(Terrains.JUNGLE) || h.containsTerrain(Terrains.FIELDS) || hasMunitionType(AmmoType.M_INFERNO) || hasMunitionType(AmmoType.M_INFERNO_IV) || hasMunitionType(AmmoType.M_THUNDER_INFERNO))) { //$NON-NLS-1$
menu.add(TargetMenuItem(new HexTarget(coords, board, Targetable.TYPE_HEX_IGNITE)));
}
} if (h != null && h.containsTerrain(Terrains.FUEL_TANK)) {
menu.add(TargetMenuItem(new BuildingTarget(coords, board, false)));
if (client.game.getOptions().booleanOption("tacops_start_fire")) { //$NON-NLS-1$
menu.add(TargetMenuItem(new BuildingTarget(coords, board, true)));
}
} if (h != null && h.containsTerrain(Terrains.BUILDING)) {
menu.add(TargetMenuItem(new BuildingTarget(coords, board, false)));
if (client.game.getOptions().booleanOption("tacops_start_fire")) { //$NON-NLS-1$
menu.add(TargetMenuItem(new BuildingTarget(coords, board, true)));
}
}
if (h != null && currentPanel instanceof FiringDisplay) {
if (board.inSpace() && hasAmmoType(AmmoType.T_SCREEN_LAUNCHER)) {
menu.add(TargetMenuItem(new HexTarget(coords, board, Targetable.TYPE_HEX_SCREEN)));