28 GetInventory().CreateAttachment(
"Bait");
29 for (
int i = 0;
i < 6; ++
i)
89 m_Player.Message(
"I have started fishing.",
"colorFriendly");
153 m_Player.Message(
"",
"colorStatusChannel");
154 m_Player.Message(
"HOLD right mouse button to pull the fishing line",
"colorAction");
155 m_Player.Message(
"",
"colorStatusChannel");
156 m_Player.Message(
"",
"colorStatusChannel");
157 m_Player.Message(
"",
"colorStatusChannel");
158 m_Player.Message(
"Start pulling when J and <*)))>< meet:",
"colorStatusChannel");
159 m_Player.Message(
"",
"colorStatusChannel");
160 m_Player.Message(
"J" +
fline +
" <*)))><",
"colorImportant");
177 pcatch.SetQuantity(800,
false);
209 m_Player.Message(
"",
"colorStatusChannel");
210 m_Player.Message(
"",
"colorStatusChannel");
211 m_Player.Message(
"",
"colorStatusChannel");
212 m_Player.Message(
"The fish had broken the fishing line and swam away.",
"colorImportant");
213 m_Player.Message(
"",
"colorStatusChannel");
214 m_Player.Message(
"",
"colorStatusChannel");
215 m_Player.Message(
"",
"colorStatusChannel");
216 m_Player.Message(
"",
"colorStatusChannel");
220 m_Player.Message(
"",
"colorStatusChannel");
221 m_Player.Message(
"",
"colorStatusChannel");
222 m_Player.Message(
"",
"colorStatusChannel");
223 m_Player.Message(
"The fish escaped.",
"colorImportant");
224 m_Player.Message(
"",
"colorStatusChannel");
225 m_Player.Message(
"",
"colorStatusChannel");
226 m_Player.Message(
"",
"colorStatusChannel");
227 m_Player.Message(
"",
"colorStatusChannel");
231 m_Player.Message(
"",
"colorStatusChannel");
232 m_Player.Message(
"",
"colorStatusChannel");
233 m_Player.Message(
"",
"colorStatusChannel");
234 m_Player.Message(
"I caught the fish!",
"colorFriendly");
235 m_Player.Message(
"",
"colorStatusChannel");
236 m_Player.Message(
"",
"colorStatusChannel");
237 m_Player.Message(
"",
"colorStatusChannel");
238 m_Player.Message(
"",
"colorStatusChannel");
242 m_Player.Message(
"",
"colorStatusChannel");
243 m_Player.Message(
"",
"colorStatusChannel");
244 m_Player.Message(
"",
"colorStatusChannel");
245 m_Player.Message(
"Fishing time is over.",
"colorFriendly");
246 m_Player.Message(
"",
"colorStatusChannel");
247 m_Player.Message(
"",
"colorStatusChannel");
248 m_Player.Message(
"",
"colorStatusChannel");
249 m_Player.Message(
"",
"colorStatusChannel");
253 Print(
"Wrong number");
269 m_Player.Message(
"",
"colorStatusChannel");
270 m_Player.Message(
"HOLD right mouse button to pull the fishing line",
"colorAction");
271 m_Player.Message(
"RELEASE right mouse button to loosen the fishing line",
"colorAction");
272 m_Player.Message(
"",
"colorStatusChannel");
273 m_Player.Message(
"",
"colorStatusChannel");
274 m_Player.Message(
"Fishing line stretch :",
"colorStatusChannel");
275 m_Player.Message(
"",
"colorStatusChannel");
291 if (!
super.CanPutInCargo(parent))
return false;
void AddAction(typename actionName)
const int ECE_PLACE_ON_SURFACE
void End()
called on surrender end request end
const float MIN_FISHING_TIME
const float TOO_MUCH_PULL
ref Timer m_CyclerCatching
void AddPull(float delta)
float GetFishingEffectivityBonus()
FishingRod_Base_New ANIM_PHASE_OPENED
const string ANIM_PHASE_CLOSED
const int FISH_PULL_CHANCE
const float MAX_FISHING_TIME
const float INIT_LINE_STRETCH
class JsonUndergroundAreaTriggerData GetPosition
override void OnDebugSpawn()
void AnimateFishingRod(bool state)
void FishingRod_Base_New()
override void SetActions()
float GetFishingEffectivityBonus()
override void SetActions()
override bool CanPutInCargo(EntityAI parent)
static proto native float Distance(vector v1, vector v2)
Returns the distance between tips of two 3D vectors.
proto native CGame GetGame()
proto void Print(void var)
Prints content of variable to console/log.
static proto int RandomInt(int min, int max)
Returns a random int number between and min [inclusive] and max [exclusive].