> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_prison/features/canteen.md).

# 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>
