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

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,
    }
},

Last updated