Configuration

Main Configuration (config.lua)

Basic Settings

Config.devMode = true          -- Enable debug mode
Config.Framework = 'qb'        -- Framework type (qb/ox)
Config.Inventory = 'qb'        -- Inventory system (qb/ox)

Creator Settings

Config.Creator = {
    Command = "crest",         -- Command to open restaurant creator
    Job = 'realestate'         -- Job required to use creator
}

Fried Models Configuration

Defines items that can be cooked in fryers:

Config.FriedModels = {
    ['frenchfries'] = {
        item = 'frenchfriesbag',           -- Raw item name
        label = 'French Fries Bag',        -- Display name
        burntLabel = 'Burnt French Fries', -- Burnt item name
        rewardItem = 'frenchfries',        -- Cooked item name
        count = 2,                         -- Quantity produced
        model = 'sn_frenchfries',         -- 3D model name
        plateModel = 'sn_frenchfries_extended', -- Plate model
        duration = 5000,                   -- Cooking time (ms)
        offset = vector3(0.0, 0.0, 0.0),  -- Model position offset
        rotation = vector3(0.0, 0.0, 0.0), -- Model rotation
        basketOffset = vector3(0.0, 0.0, 0.2), -- Basket position
        basketRotation = vector3(100.0, 0.0, -16.0), -- Basket rotation
        fryerOffsets = {                   -- Fryer slot positions
            inside = { ... },              -- Inside fryer positions
            basket = { ... }               -- Basket positions
        }
    }
}

Meat Models Configuration

Defines items that can be cooked on grills:

Restaurant Configuration

Defines restaurant locations and equipment:

Music Configuration

Supply Delivery Configuration

Ticket System Configuration

Role Access Configuration

Model Configuration

Sound Effects Configuration


Cooking Items Configuration (config_cookingitems.lua)

Defines all items that can be used in cooking:

Options:

  • item: Item identifier

  • label: Display name

  • input: Can be used as cooking ingredient

  • output: Is a cooked/finished product


Shop Items Configuration (config_shopitems.lua)

Defines items available in the supply shop:

Options:

  • id: Unique item identifier

  • name: Display name

  • description: Item description

  • price: Item price

  • category: Item category (ingredients, vegetables, dairy, sides, beverages)

  • image: Item image URL

  • stock: Available quantity

  • rating: Item rating (1-5 stars)


Usables Configuration (config_usables.lua)

Defines how items can be consumed:

Options:

  • type: Item type (food or drink)

  • hunger: Hunger points restored (food items)

  • thirst: Thirst points restored (drink items)

  • anim: Animation configuration

    • dict: Animation dictionary

    • anim: Animation name

    • duration: Animation duration (-1 for infinite)

    • object: Animation object model

    • bone: Bone attachment point

    • offsets: Position and rotation offsets


All configuration files are loaded automatically when the resource starts.

Last updated