# 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="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-57787858934b78e5122760e17f817753e4787bae%2Fprison_package_interact_start.png?alt=media" alt=""><figcaption><p>How the interaction looks</p></figcaption></figure>

<figure><img src="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-b0fd2cb54e8aba2e398021f3afff6a87f2408021%2Fprison_package_interact_in_action.png?alt=media" 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`
