// Generate a list of destinations the player can go to
List<Integer> taxiMaps = Arrays.asList(100000000, 101000000, 102000000, 103000000, 104000000, 105000000, 120000000);
List<MenuOption> menuOptions = new ArrayList<>();
for (Integer mapId : taxiMaps) {
if (chr.getMapId() != mapId) {
// Once big bang hit, all taxi options cost 1,000 meso
menuOptions.add(NpcScriptUtils.addTaxiMoveOption(script, chr, mapId, chr.getJob() == 0, 1000));
}
}
scripts/npcs/Common.java
The above code needs to be refactored