# Changing Prison jobs reward

## Overview

* This simple page will help you how and where you are able to change Prison Job reward.

## Location

Path: `rcore_prison/config.lua`

## Guide

1. **Open rcore\_prison/config.lua**
   * Search for Config.PrisonJobs.Rewards
2. **Adjust as you need**
   * To change reduce sentence, you can simply go to the `type = 'REDUCE_SENTENCE'` and adjust its value to your desired value.
   * To change how many credits, for his job Prisoner should get go to the `type = 'CREDITS'` and adjust the min / max value to your desired value

## File structure

```lua
PrisonJobs = {
    PlayerJobCoolDown = 2, -- This is the cooldown for player to get new job (default: 2 min)
    ResetJobPoolCooldown = 1, -- This is the cooldown for resetting job pool (default: 1 min)
    RequiredDelivery = 5, -- This is the required delivery for prisoner to be released
    
    SetCustomRequiredDeliveries = true, -- This is used for setting custom required deliveries for each job

    Electrician = {
        EachJobLevelIncreaseDifficulty = true -- This is used for increasing difficulty for each job level
    },

    LeaveJobKey = 'G', -- This is the key for leaving the job
    DoJobKey = 'E', -- This is the key for doing the job

    Stepper = {
        DoTask = 'SPACE', -- This is the key for doing exercises
        StopTask = 'H', -- This is the key for stopping exercise
        RequireInputMinigame = false,
    },

    -- This is the list of the rewards which are going to be given to player when they finish the job(s)

    Rewards = {
        {
            type = 'ITEM',
            list = {}
        },
        {
            type = 'CREDITS',
            min = 100,
            max = 500,
        },
        {
            type = 'REDUCE_SENTENCE',
            value = 5 -- This is the value for reducing sentence time as reward (5 min)
        }
    },

    RenderInteractZoneDistance = 100.0, -- This is the distance for rendering interact zone
    InRadius = 1.5, -- This is the distance for checking if player is in radius

    RequiredDeliveries = { -- This is the required deliveries for each job
        [JOBS.ELECTRICIAN] = 1,
        [JOBS.GARDENER] = 5,
        [JOBS.CLEAN_GROUND] = 3,
        [JOBS.BUSH_TRIMMING] = 3,
        [JOBS.COOK] = 2,
        [JOBS.LAUNDRY] = 3,
    }
},
```


---

# 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/guides/prison-jobs-rewards.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.
