/*
Maxence
*/
_numberOfFish = round (random(1));
if (_numberOfFish isEqualTo 0) exitWith {hint "Vous n'avez pas attrapé de poisson !";};
_possibleFish = [
// ["Display name","Item class"]
[localize "STR_ANIM_Salema","salema_raw"],
[localize "STR_ANIM_Ornate","ornate_raw"],
[localize "STR_ANIM_Mackerel","mackerel_raw"],
[localize "STR_ANIM_Tuna","tuna_raw"],
[localize "STR_ANIM_Mullet","mullet_raw"],
[localize "STR_ANIM_Catshark","catshark_raw"],
[localize "STR_ANIM_Turtle","turtle_raw"]
];
_catchFish = selectRandom _possibleFish;
if ([true,(_catchFish select 1),1] call life_fnc_handleInv) then {
titleText[format [(localize "STR_NOTF_Fishing"),(_catchFish select 0)],"PLAIN"];
};