# TUNA FARM

### INTRODUCTION

**Tuna Farm** is a farming script developed for FiveM, providing a variety of options and content that will allow you to work as a Farmer while doing small tasks in the fields. The scripts supports ESX Framework, including ESX Legacy and also QBCore. It easily works as / with your Farm Job. The Script is available to purchase [here](https://tuna-scripts.tebex.io/package/4975071).

### SCRIPT FEATURES

In this Script you can find a large variety of content, including:

* Fruit Tree Farm
* Wheat Farm
* Animal Farm
* Plantation Farm

Despite of that, as the main intention is the RolePlay, it's also available a dedicated **Farm Shop** where you can purchase / unlock new fields, buy new Animals and as so, progressing your farm step by step.

### CONFIGURATIONS

The script provides a large possibility to configure each one of the farms above to your preferences. At the moment, the script is using oxmysql or mysql-async and Polyzone as dependencies for better performance and is ready to use with qtarget or ox\_target for ESX and QB-Target or ox\_target for QB. You can also adapt to another target system by yourself (disabled by default). In case you don't use such feature, it's provided a way to use a keyboard key for the different actions, being the key also configurable. You have also the option to use notifications and progressbars, being them already predefined on the script and as so you are free to edit them. By default is being used mythic-notify, however, you can easily change for a different notifications type, as the events triggering the notifications are available. Additionally, you can disable a certain farm if you don't pretend to use it. For example, disabling the plantation farm and having the others activated. All the Farm Shop code is also editable at your own style and the plantation NUI can also be accessible. For more information regarding each farm, please visit the respective section.

### PERFORMANCE

The script is well optimized. In idle runs at 0.00ms and while performing an action it can pick 0.01ms as a max (using a target system). If you are not using a target system, for a common reason it can pick 0.03ms \~ 0.04ms as a max.

### NOTES

If you have any questions regarding the script, suggestions, need support or... you would like to know more, feel free to contact on Discord - <https://discord.gg/NDxCNuYGdC>

{% hint style="success" %}
**Script** ready for qtarget (ESX), ox\_target(ESX/QB) and QB-Target (QB)
{% endhint %}

{% hint style="warning" %}
**Dependencies:** Polyzone & oxmysql or mysql-async (another can be adapted)
{% endhint %}

{% hint style="warning" %}
Script is also using SQL so you will need a database to store those information
{% endhint %}

{% hint style="warning" %}
This script is using **FiveM Tebex Escrow** system | **Game Build** should be **2545** or higher&#x20;
{% endhint %}

{% hint style="info" %}
Client Side | Server Side protected. Other files open for customization, such as all NUI, configs, options and settings
{% endhint %}

Any job menus we let at description of each person to configure. The way of getting/sellings items are at description of each server owner. They decide if pretend them to use as food or to sell them at any place.

### CREATION OF SCRIPT

The aim of this project was to make the best use and explore the areas surrounding the main farm house and with such features providing a lot of things to do for a long time. A focus was also on compatibility with other players performing actions at the same time and syncronising each job to provide something different and with quality, allowing you to enjoy a nice afternoon with your friends.

###


---

# Agent Instructions: 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:

```
GET https://tuna-scripts.gitbook.io/tuna-scripts/scripts/tuna-farm.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
