> For the complete documentation index, see [llms.txt](https://iremk-scripts.gitbook.io/iremk-scripts-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://iremk-scripts.gitbook.io/iremk-scripts-docs/releases/iremk-store-cluckin-bell-job.md).

# İremK Store - Cluckin' Bell Job

Setup Informations

### 🇹🇷 Türkçe

## Cluckin' Bell Job

Cluckin' Bell Job, FiveM sunucuları için geliştirilmiş, tamamen yapılandırılabilir bir fast-food job sistemidir.

***

## Kurulum

Resource'u sunucunuzun resources klasörüne yerleştirin.

```
resources/[jobs]/iremk-cluckin
```

Resource klasörünün adını değiştirmemeniz önerilir.

***

## Gereksinimler

Scriptin çalışması için:

* QBCore / QBOX
* ox\_lib
* ox\_target
* ox\_inventory

gereklidir.

***

## Config

Tüm script ayarları `config.lua` üzerinden yönetilir.

### Genel Ayarlar

```lua
Config = {}

Config.Job = 'cluckin'
Config.Locale = 'tr'
```

#### Config.Job

Cluckin Bell job adını belirler.

```lua
Config.Job = 'cluckin'
```

Framework içerisindeki job adı ile aynı olmalıdır.

#### Config.Locale

Script dilini belirler.

```lua
Config.Locale = 'tr'
```

***

## Müşteri Sipariş Sistemi

```lua
Config.OrderTarget = {
    coords = vector3(139.2312, -1468.3799, 29.3562),
    size = vec3(1.5, 1.5, 1.5),
    rotation = 0.0,
    label = 'customer_order'
}
```

| Değer      | Açıklama                    |
| ---------- | --------------------------- |
| `coords`   | Sipariş alanının koordinatı |
| `size`     | Target alanının boyutu      |
| `rotation` | Target dönüş açısı          |
| `label`    | Localization key            |

***

## Hazırlık Animasyonları

```lua
Config.PrepareAnim = {
    'mechanic',
    'bbqf'
}
```

Hazırlık işlemlerinde kullanılacak animasyonlar bu bölümden değiştirilebilir.

***

## Buzdolabı

```lua
Config.FridgeStash = {
    id = 'cluckin_fridge',
    label = 'fridge',
    slots = 50,
    weight = 100000,
    coords = vector3(149.31, -1470.61, 29.36),
    size = vec3(2.0, 2.0, 2.0),
    rotation = 54.0
}
```

| Değer      | Açıklama           |
| ---------- | ------------------ |
| `id`       | Stash ID           |
| `label`    | Localization key   |
| `slots`    | Slot kapasitesi    |
| `weight`   | Maksimum ağırlık   |
| `coords`   | Stash koordinatı   |
| `size`     | Target boyutu      |
| `rotation` | Target dönüş açısı |

***

## Hazırlık Alanı

```lua
Config.Targets = {
    Prepare = vector3(146.86, -1472.11, 29.36)
}
```

Hazırlık işlemlerinin gerçekleştirileceği alanı belirler.

***

## Pişirme Sistemi

```lua
Config.Cooking = {
    coords = vector3(147.4308, -1467.9347, 29.2683),
    size = vec3(1.5, 1.5, 1.5),
    rotation = 0.0,

    actions = {
        ...
    }
}
```

### Pişirme Tarifleri

| İşlem   | Girdi                   | Çıktı                    |
| ------- | ----------------------- | ------------------------ |
| Patates | `burgerslicedpotato x1` | `frenchfries_generic x1` |
| Et      | `burgerpatty x1`        | `burgermeat x1`          |
| Soğan   | `burgerslicedonion x1`  | `onionring x1`           |
| Tavuk   | `frozen_chicken x1`     | `fried_chicken x1`       |

#### Bu bir örnektir.

```lua
fries = {
    label = 'cook_fries',
    input = {
        burgerslicedpotato = 1
    },
    output = {
        frenchfries_generic = 1
    }
}
```

***

## Doğrama Sistemi

```lua
Config.Chopping = {
    coords = vector3(145.0235, -1468.5911, 29.2683),
    size = vec3(1.5, 1.5, 1.5),
    rotation = 0.0,

    items = {
        ...
    }
}
```

### Doğrama Tarifleri

| Girdi    | Çıktı                |
| -------- | -------------------- |
| `potato` | `burgerslicedpotato` |
| `tomato` | `slicedtomato`       |
| `onion`  | `burgerslicedonion`  |

#### Bu bir örnektir.

```lua
potato = {
    label = 'chop_potato',
    input = 'potato',
    output = 'burgerslicedpotato'
}
```

***

## Ürün Sistemi

Ürünler:

```lua
Config.Products
```

üzerinden yönetilir.

Ana kategoriler:

```lua
meals
drinks
```

### Ürün Yapısı

```lua
{
    item = 'chickenburger',
    label = 'meal_chickenburger',
    price = 160,
    image = 'chickenburger.png',
    materials = {
        slicedtomato = 1,
        burgerslicedonion = 1,
        burgerbun = 1,
        burgermeat = 1,
        lettuce = 1
    }
}
```

| Değer       | Açıklama                       |
| ----------- | ------------------------------ |
| `item`      | Verilecek inventory item       |
| `label`     | Localization key               |
| `price`     | Ürün fiyatı                    |
| `image`     | Ürün görseli                   |
| `materials` | Üretim için gerekli malzemeler |

## Yeni Ürün Ekleme

Yeni bir ürün ilgili kategoriye aşağıdaki yapı kullanılarak eklenebilir:

```lua
{
    item = 'newburger',
    label = 'meal_newburger',
    price = 200,
    image = 'newburger.png',
    materials = {
        burgerbun = 1,
        burgermeat = 1,
        lettuce = 1
    }
}
```

***

## 🇬🇧 English

## Cluckin' Bell Job

Cluckin' Bell Job is a fully configurable fast-food job system developed for FiveM servers.

***

### Installation

Place the resource inside your server's `resources` folder.

```
resources/[jobs]/iremk-cluckin
```

It is recommended not to change the resource folder name.

***

### Requirements

The following dependencies are required for the script to work:

* QBCore / QBOX
* ox\_lib
* ox\_target
* ox\_inventory

***

### Config

All script settings are managed through `config.lua`.

#### General Settings

```lua
Config = {}

Config.Job = 'cluckin'

Config.Locale = 'en'
```

**Config.Job**

Defines the Cluckin' Bell job name.

```lua
Config.Job = 'cluckin'
```

The job name must match the job registered in your framework.

**Config.Locale**

Defines the language used by the script.

```lua
Config.Locale = 'en'
```

Supported languages:

```
tr
en
```

***

### Customer Order System

```lua
Config.OrderTarget = {
    coords = vector3(139.2312, -1468.3799, 29.3562),
    size = vec3(1.5, 1.5, 1.5),
    rotation = 0.0,
    label = 'customer_order'
}
```

| Value      | Description                     |
| ---------- | ------------------------------- |
| `coords`   | Customer order area coordinates |
| `size`     | Target area size                |
| `rotation` | Target rotation                 |
| `label`    | Localization key                |

***

### Preparation Animations

```lua
Config.PrepareAnim = {
    'mechanic',
    'bbqf'
}
```

The animations used during preparation can be changed from this section.

***

### Fridge

```lua
Config.FridgeStash = {
    id = 'cluckin_fridge',
    label = 'fridge',
    slots = 50,
    weight = 100000,
    coords = vector3(149.31, -1470.61, 29.36),
    size = vec3(2.0, 2.0, 2.0),
    rotation = 54.0
}
```

| Value      | Description       |
| ---------- | ----------------- |
| `id`       | Stash ID          |
| `label`    | Localization key  |
| `slots`    | Slot capacity     |
| `weight`   | Maximum weight    |
| `coords`   | Stash coordinates |
| `size`     | Target size       |
| `rotation` | Target rotation   |

***

### Preparation Area

```lua
Config.Targets = {
    Prepare = vector3(146.86, -1472.11, 29.36)
}
```

Defines the target area used for preparation actions.

***

### Cooking System

```lua
Config.Cooking = {
    coords = vector3(147.4308, -1467.9347, 29.2683),
    size = vec3(1.5, 1.5, 1.5),
    rotation = 0.0,

    actions = {
        ...
    }
}
```

#### Cooking Recipes

| Action  | Input                   | Output                   |
| ------- | ----------------------- | ------------------------ |
| Fries   | `burgerslicedpotato x1` | `frenchfries_generic x1` |
| Meat    | `burgerpatty x1`        | `burgermeat x1`          |
| Onion   | `burgerslicedonion x1`  | `onionring x1`           |
| Chicken | `frozen_chicken x1`     | `fried_chicken x1`       |

**Example**

```lua
fries = {
    label = 'cook_fries',
    input = {
        burgerslicedpotato = 1
    },
    output = {
        frenchfries_generic = 1
    }
}
```

***

### Chopping System

```lua
Config.Chopping = {
    coords = vector3(145.0235, -1468.5911, 29.2683),
    size = vec3(1.5, 1.5, 1.5),
    rotation = 0.0,

    items = {
        ...
    }
}
```

#### Chopping Recipes

| Input    | Output               |
| -------- | -------------------- |
| `potato` | `burgerslicedpotato` |
| `tomato` | `slicedtomato`       |
| `onion`  | `burgerslicedonion`  |

**Example**

```lua
potato = {
    label = 'chop_potato',
    input = 'potato',
    output = 'burgerslicedpotato'
}
```

***

### Product System

Products are managed through:

```lua
Config.Products
```

The main categories are:

```
meals
drinks
```

#### Product Structure

```lua
{
    item = 'chickenburger',
    label = 'meal_chickenburger',
    price = 160,
    image = 'chickenburger.png',
    materials = {
        slicedtomato = 1,
        burgerslicedonion = 1,
        burgerbun = 1,
        burgermeat = 1,
        lettuce = 1
    }
}
```

| Value       | Description                        |
| ----------- | ---------------------------------- |
| `item`      | Inventory item given to the player |
| `label`     | Localization key                   |
| `price`     | Product price                      |
| `image`     | Product image                      |
| `materials` | Required materials for production  |

***

### Adding a New Product

A new product can be added to the corresponding category using the following structure:

```lua
{
    item = 'newburger',
    label = 'meal_newburger',
    price = 200,
    image = 'newburger.png',
    materials = {
        burgerbun = 1,
        burgermeat = 1,
        lettuce = 1
    }
}
```

The specified inventory item and product image must exist.


---

# 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://iremk-scripts.gitbook.io/iremk-scripts-docs/releases/iremk-store-cluckin-bell-job.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.
