func void pc_fishing_try_info()
{
var int currentchance;
currentchance = Hlp_Random(100);
if (b_fishing_checkwp() == TRUE)
{
if (currentchance < 40)
{
printscreens(PRINT_NOFISH, -1, -1, FONT_SCREENSMALL, 2);
}
else if ((currentchance >= 40)
&& (currentchance < 75))
{
CreateInvItems(hero, itfo_fish, 1);
printscreens(PRINT_ONEFISH, -1, -1, FONT_SCREENSMALL, 2);
}
else if ((currentchance >= 75)
&& (currentchance < 85))
{
CreateInvItems(hero, itfo_fish, 2);
printscreens(PRINT_TWOFISH, -1, -1, FONT_SCREENSMALL, 2);
}
else if ((currentchance >= 85)
&& (currentchance < 95))
{
CreateInvItems(hero, itmi_fatfish_01, 1);
printscreens(PRINT_FATFISH, -1, -1, FONT_SCREENSMALL, 2);
}
else if ((currentchance >= 95)
&& (currentchance < 99))
{
CreateInvItems(hero, itfo_fish, 3);
printscreens(PRINT_THREEFISH, -1, -1, FONT_SCREENSMALL, 2);
}
else if (currentchance == 100)
{
CreateInvItems(hero, itmi_fatfish_01, 2);
printscreens(PRINT_TWOFATFISH, -1, -1, FONT_SCREENSMALL, 2);
};
}
else
{
b_fishing_changename();
printscreens(PRINT_NOTHINGLEFT, -1, -1, FONT_SCREENSMALL, 2);
B_EndProductionDialog();
};
};