String line = null;
_fishsEasy = new FastList<FishData>();
_fishsNormal = new FastList<FishData>();
_fishsHard = new FastList<FishData>();
FishData fish;
//format:
// id;level;name;hp;hpregen;fish_type;fish_group;fish_guts;guts_check_time;wait_time;combat_time
while((line = lnr.readLine()) != null)
{
//ignore comments
if(line.trim().length() == 0 || line.startsWith("#"))
{
continue;
}
StringTokenizer st = new StringTokenizer(line, ";");
int id = Integer.parseInt(st.nextToken());
int lvl = Integer.parseInt(st.nextToken());
String name = st.nextToken();
int hp = Integer.parseInt(st.nextToken());
int hpreg = Integer.parseInt(st.nextToken());
int type = Integer.parseInt(st.nextToken());
int group = Integer.parseInt(st.nextToken());
int fish_guts = Integer.parseInt(st.nextToken());
int guts_check_time = Integer.parseInt(st.nextToken());
int wait_time = Integer.parseInt(st.nextToken());
int combat_time = Integer.parseInt(st.nextToken());
fish = new FishData(id, lvl, name, hp, hpreg, type, group, fish_guts, guts_check_time, wait_time, combat_time);
switch(fish.getGroup())
{
case 0:
_fishsEasy.add(fish);
break;
case 1: