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

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

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.

Last updated