> 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/package-cigar.md).

# Cigar packaging

## Overview

Prisoners can produce / run economy inside Prison through Cigarettes, that can be crafted at the table.

* By default the defined reward is item named `cigarrete` with random amount from (1-6).
* Configuration path: config.lua - Config.CigarProduction

### Config file structure

```lua
CigarProduction = {
    RewardMin = 1, -- This is the reward amount for minigame
    RewardMax = 6, -- This is the reward amount for minigame
    RewardItem = 'cigarrete', -- This is the reward item for minigame
},
```

## Gallery

<figure><img src="/files/DoTAC1s0g2FSXY8k9D7T" alt=""><figcaption><p>How the interaction looks</p></figcaption></figure>

<figure><img src="/files/XfiNDWUd6hqp1Llle7jP" alt=""><figcaption><p>Active minigame</p></figcaption></figure>

## Features

* Simple minigame is started when Prisoner needs to be press keys when LETTER is in the specific box.
* When player finish minigame, prisoner received reward `cigarette`
