func void B_OpenFatFish()
{
var int fatfishomizer;
fatfishomizer = Hlp_Random(100);
fatfish_opener = fatfish_opener + 1;
if (fatfish_opener == 1)
{
B_PlayerFindItem(itmi_gold, 30);
}
else if (shell_opener == 20)
{
B_PlayerFindItem(itmi_nugget, 1);
}
else if (shell_opener == 35)
{
B_PlayerFindItem(itmi_addon_whitepearl, 1);
}
else if (shell_opener == 50)
{
B_PlayerFindItem(itmi_addon_whitepearl, 1);
}
else
{
if (fatfishomizer >= 98)
{
B_PlayerFindItem(itmi_nugget, 1);
}
else if (fatfishomizer >= 95)
{
B_PlayerFindItem(itmi_goldnugget_addon, 3);
}
else if (fatfishomizer >= 85)
{
B_PlayerFindItem(itmi_goldnugget_addon, 2);
}
else if (fatfishomizer >= 65)
{
B_PlayerFindItem(itmi_oldcoin, 1);
}
else if (fatfishomizer >= 50)
{
B_PlayerFindItem(itmi_goldnugget_addon, 1);
}
else if (fatfishomizer >= 35)
{
B_PlayerFindItem(itmi_gold, 15);
}
else if (fatfishomizer >= 25)
{
B_PlayerFindItem(itke_lockpick, 1);
}
else
{
B_Say_Overlay(self, self, "$NOTHINGTOGET02");
AI_PrintScreen(PRINT_NOTHINGTOGET02, -1, YPOS_ITEMGIVEN, FONT_SCREENSMALL, 2);
};
};
};