# Canteen

## Overview

* Our Prison canteen allows to Prisoners get free food package (enabled by default) so they dont starve to death with 5 minute cooldown (can be changed) for taking next package.
* Configuration path: config.lua - Config.Canteen

### Config file structure

```lua
Canteen = {
    Enable = true, -- This is used for enabling canteen system
    CreditItems = {
        { name = 'water', price = 30 },
        { name = 'fries', price = 7 },
        { name = 'sprunk', price = 7 },
        { name = 'cigarrete', price = 80 },
    },
    
    FreeFoodPackage = true, -- This is used for enabling free food package system
    FreeFoodPackageCooldown = 5, -- This is the cooldown for free food package system (5 min)
    FreeFoodPackageItems = {
        { name = 'water', count = 1 },
        { name = 'sprunk', count = 1 },
    }
},
```

## Gallery

<figure><img src="/files/zfrGYVJCgbgzoqeGEo8a" alt=""><figcaption><p>Canteen paid</p></figcaption></figure>

<figure><img src="/files/xuZkduIDKNrJ5HmrzwxM" alt=""><figcaption><p>Canteen free</p></figcaption></figure>

## Features

* Includes free food package so Prisoners can get some food
* Includes paid package which includes better items, player get credits by doing job in Prison.

## Location

* By default can be found under blip named `Prison Canteen` with icon/symbol (C)
* The location can be different for each map preset and can be adjusted in `rcore_prison/data/presets/yourPrisonMap.lua`.

<figure><img src="/files/OYdq076UhtGuBVXp0eua" alt=""><figcaption><p>Canteen free</p></figcaption></figure>


---

# 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://documentation.rcore.cz/paid-resources/rcore_prison/features/canteen.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.
