> For the complete documentation index, see [llms.txt](https://sunfish-studios.gitbook.io/main/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sunfish-studios.gitbook.io/main/vehicle/main-components/fishing-modes/tug-of-war.md).

# Tug of War

The Tug of War Mode is a new Fishing Mode introduced in version 1.1.0. This mode adds a dinamic gameplay feature, where the player needs to oppose the fish movement and reel only when the fish get's tired.

<figure><img src="/files/FyFBxAGAdWtEYrb1YRpY" alt=""><figcaption></figcaption></figure>

## How to Play

* Cast your fishing rod, wait for a **big bite.**
* Reel the fish while it's not fleeing.
* When the fish is trying to flee, stop the reeling or it will drain your stamina 4x faster *(default value)*
* While the fish is trying to flee, move the character direction in the opposite direction, this will drastically reduce the fleeing speed, increasing your chances of catching the fish.
* The fish will eventually get tired and stop the fleeing, use those windows to reel the fish in!

<figure><img src="/files/lXhdxE6sS6rkFPcVNjAz" alt=""><figcaption></figcaption></figure>

## How the System Works

<figure><img src="/files/usDVOo9Ao0W0kUSUiURi" alt="" width="476"><figcaption></figcaption></figure>

To Enable Tug of War, select the option inside of your Fishing State in the Fishing Tab.

<figure><img src="/files/m0sl6UzMkuEsZe7wMste" alt="" width="563"><figcaption></figcaption></figure>

The FishTugOfWar script is a child of [Fishing Caster](/main/vehicle/main-components/fishing-caster.md) the TugOfWarMode script is a FishingMode and it's responsible to connect Tug of War gameplay with the Fishing State.

As soon as the bobber hit's the water a new fish will be generated, we'll use this fish data to drive the behaviours from here, it will start in the **Tired Phase** giving the player a few seconds to reel.

<figure><img src="/files/vpztzyN5tWWl8nJ30MRM" alt="" width="490"><figcaption></figcaption></figure>

Adjust the Tired Duration in the [Fish Data](/main/vehicle/main-components/fish-data.md). After the Tired Phase End the fish will choose a direction to flee using the **Flee Range Angle**, it will always try to flee in the opposite direction of the player, the flee range goes from 0 (west) to 180 (east)&#x20;

<figure><img src="/files/2tMDoXvtTLDeAOpsvnKH" alt=""><figcaption></figcaption></figure>

The fish will flee during the **Struggle Duration** using **Flee Speed,** after that it will return to the Tired Phase and the cycle will repeat.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://sunfish-studios.gitbook.io/main/vehicle/main-components/fishing-modes/tug-of-war.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
