# Configuration

```lua
Config = Config or {}

-- The name of the Framework you are using. 
-- Example: If your Framework name was changed from 'QBCore' to 'VTCore', update this to 'VTCore'.
Config.CoreName = 'QBCore' 
--The name of the main script of the Framework. Required for proper interaction between resources.
Config.CoreScriptName = 'qb-core'

-- Enable or disable the debug mode.
-- true - enables debug mode (shows additional info and zones in the game).
-- WARNING: It is recommended to set this to true only in dev (development) mode.
-- false - disables debug mode (suitable for standard use).
Config.debug = false -- debugPoly / false and true

-- Choose the notification system.
-- Possible values:
-- "ox" - uses the OX notification system.
-- "qb" - uses the QBcore notification system.
Config.Notify = "ox"

-- Sets the cooldown time for smashing cases.
-- The formula is x * (60 * 2000), where x is the time in minutes. Example: 5 minutes = 5 * (60 * 2000).
Config.Timeout = 5 * (60 * 2000) 

-- Choose the door lock system.
-- Possible values:
-- "qb" - uses the 'qb-doorlock' system.
-- "nui" - uses the 'nui-doorlock' system.
-- "ox" - uses the 'ox_doorlock' system.
Config.DoorLock = 'ox'

-- The door identifier in the door lock configuration.
-- This must match the name of the door in the chosen door lock system's configuration.
Config.DoorId = 'Jewelry'

-- Jobs considered as police roles.
-- Example: "police" for standard police jobs.
Config.Jobs = "police"
-- Minimum number of cops required to start the heist.
-- A value of 0 means no cops are required.
Config.RequiredCops = 0

--The name of the blip (map marker) for the jewelry store location.
Config.BlipsName = "Vangelico Jewelry"
-- Coordinates for the jewelry store location.
-- Used to create a map blip.
Config.JewelleryLocation = {["coords"] = vector3(-630.5, -237.13, 38.08)} -- Locations blips!

--This item is added as a random reward during the heist.
Config.Gold = "10kgoldchain"

-- Thermite Settings
Config.ThermiteSettings = {
    Thermite = {
        -- Coordinates for the thermite placement location.
        -- Players can use thermite to unlock the main door of the store.
        ThermiteCoords = vector3(-596.25, -284.01, 50.32),
        -- Name of the thermite item.
        -- This item must be in the player's inventory to place a charge.
        DoorItem = "thermite",
        -- Settings for the thermite minigame.
        -- difficulty - difficulty level of the minigame (higher value = harder).
        -- size - size of the game field.
        -- rounds - number of rounds to complete.
        -- time - time (in seconds) to finish the minigame.
        MinigameSettings = {
            difficulty = 10,
            size = 7,
            rounds = 7,
            time = 50
        }
    },
    Keycard = {
        -- Coordinates for using the keycard to deactivate alarms and lasers.
        -- Players must use the keycard at this location to secure safe access inside.
        RoofCoords = vector3(-629.2, -230.68, 38.06),
        -- Name of the keycard item.
        -- Required to deactivate the store's alarms and lasers.
        HackItems = "keycard3",
        -- Settings for the keycard minigame.
        -- rows - number of rows in the game field.
        -- columns - number of columns in the game field.
        -- timer - time (in seconds) to finish the minigame.
        MinigameSettings = {
            rows = 5,
            columns = 5,
            timer = 30
        }
    }
}

-- Description: Weapons that players can use to smash shop windows.
Config.WhitelistedWeapons = {
    -- Wrench:
    -- weapon_wrench - Unique identifier (hash) for the "wrench" weapon.
    -- ["timeOut"] - Time (in milliseconds) required to smash a window with this weapon.
    [GetHashKey("weapon_wrench")] = {
        ["timeOut"] = 5000
    },
    -- Nightstick:
    -- weapon_nightstick - Unique identifier (hash) for the "nightstick" weapon.
    -- ["timeOut"] - Time (in milliseconds) required to smash a window with this weapon.
    [GetHashKey("weapon_nightstick")] = {
        ["timeOut"] = 5000
    },
}

-- Description: Items that can be picked up from the showcase (or similar locations).
-- "item" - the name of the item that can be picked up.
-- "amount" - the minimum and maximum amount of the item that can be picked up.
-- ["min"] Minimally amount (1 items).
-- ["max"] maximum amount (4 items).
Config.VitrineRewards = {
    [1] = {
        ["item"] = "rolex",
        ["amount"] = {
            ["min"] = 1,
            ["max"] = 4
        }
    },
    [2] = {
        ["item"] = "diamond_ring",
        ["amount"] = {
            ["min"] = 1,
            ["max"] = 4
        }
    },
    [3] = {
        ["item"] = "goldchain",
        ["amount"] = {
            ["min"] = 1,
            ["max"] = 4
        }
    }
}

Config.Locations = {
    [1] = {
        ["coords"] = vector4(-627.6, -234.35, 38.55, 216.6),
        ["rotation"] = 126.0,
        ["isOpened"] = false,
        ["isBusy"] = false
    },
    [2] = {
        ["coords"] = vector4(-626.55, -233.6, 38.55, 216.6),
        ["rotation"] = 126.0,
        ["isOpened"] = false,
        ["isBusy"] = false
    },
    [3] = {
        ["coords"] = vector4(-626.15, -234.15, 38.55, 35.97),
        ["rotation"] = 306.75,
        ["isOpened"] = false,
        ["isBusy"] = false
    },
    [4] = {
       ["coords"] = vector4(-627.2, -234.9, 38.55, 35.87),
       ["rotation"] = 306.0,
        ["isOpened"] = false,
        ["isBusy"] = false
    },
    [5] = {
        ["coords"] = vector4(-626.35, -239.05, 38.55, 216.32),
        ["rotation"] = 125.32,
        ["isOpened"] = false,
        ["isBusy"] = false
    },
    [6] = {
        ["coords"] = vector4(-625.3, -238.30, 38.55, 215.47),
        ["rotation"] = 306.25,
        ["isOpened"] = false,
        ["isBusy"] = false
    },
    [7] = {
        ["coords"] = vector4(-622.65, -232.55, 38.55, 305.79),
        ["rotation"] = 35.0,
        ["isOpened"] = false,
        ["isBusy"] = false
    },
    [8] = {
        ["coords"] = vector4(-623.95, -230.75, 38.55, 305.79),
        ["rotation"] = 35.0,
        ["isOpened"] = false,
        ["isBusy"] = false
    },
    [9] = {
        ["coords"] = vector4(-621.5, -228.95, 38.55, 305.79),
        ["rotation"] = 35.0,
        ["isOpened"] = false,
        ["isBusy"] = false
    },
    [10] = {
        ["coords"] = vector4(-620.15, -230.75, 38.55, 305.79),
        ["rotation"] = 35.0,
        ["isOpened"] = false,
        ["isBusy"] = false
    },
    [11] = {
        ["coords"] = vector4(-623.7, -228.65, 38.55, 216.6),
        ["rotation"] = 126.0,
        ["isOpened"] = false,
        ["isBusy"] = false
    },
    [12] = {
       ["coords"] = vector4(-625.35, -227.4, 38.55, 216.6),
       ["rotation"] = 126.0,
        ["isOpened"] = false,
        ["isBusy"] = false
    },
    [13] = {
        ["coords"] = vector4(-624.25, -226.6, 38.55, 216.6),
        ["rotation"] = 126.00,
        ["isOpened"] = false,
        ["isBusy"] = false
    },
    [14] = {
        ["coords"] = vector4(-620.5, -232.9, 38.55, 216.6),
        ["rotation"] = 126.00,
        ["isOpened"] = false,
        ["isBusy"] = false
    },
    [15] = {
        ["coords"] = vector4(-618.8, -234.15, 38.55, 216.6),
        ["rotation"] = 126.00,
        ["isOpened"] = false,
        ["isBusy"] = false
    },
    [16] = {
        ["coords"] = vector4(-619.85, -234.9, 38.55, 216.6),
        ["rotation"] = 126.00,
        ["isOpened"] = false,
        ["isBusy"] = false
    },
    [17] = {
        ["coords"] = vector4(-620.0, -226.2, 38.55, 305.79),
        ["rotation"] = 35.0,
        ["isOpened"] = false,
        ["isBusy"] = false
    },
    [18] = {
        ["coords"] = vector4(-619.2, -227.3, 38.55, 305.79),
        ["rotation"] = 35.0,
        ["isOpened"] = false,
        ["isBusy"] = false
    },
    [19] = {
        ["coords"] = vector4(-617.9, -229.15, 38.55, 305.79),
        ["rotation"] = 35.0,
        ["isOpened"] = false,
        ["isBusy"] = false
    },
    [20] = {
        ["coords"] = vector4(-617.1, -230.2, 38.55, 305.79),
        ["rotation"] = 35.0,
        ["isOpened"] = false,
        ["isBusy"] = false
    }
}

-- Spawn random ped
Config.MaleNoHandshoes = {
    [0] = true,[1] = true,[2] = true,[3] = true,[4] = true,[5] = true,[6] = true,[7] = true,[8] = true,[9] = true,
    [10] = true,[11] = true,[12] = true,[13] = true,[14] = true,[15] = true,[18] = true,[26] = true,[52] = true,
    [53] = true,[54] = true,[55] = true,[56] = true,[57] = true,[58] = true,[59] = true,[60] = true,[61] = true,
    [62] = true,[112] = true,[113] = true,[114] = true,[118] = true,[125] = true,[132] = true
}

-- Spawn random ped
Config.FemaleNoHandshoes = {
    [0] = true,[1] = true,[2] = true,[3] = true,[4] = true,[5] = true,[6] = true,[7] = true,[8] = true,[9] = true,[10] = true,[11] = true,[12] = true,[13] = true,[14] = true,
    [15] = true,[19] = true,
    [59] = true,[60] = true,[61] = true,[62] = true,[63] = true,[64] = true,[65] = true,[66] = true,[67] = true,[68] = true,[69] = true,[70] = true,[71] = true,[129] = true,
    [130] = true,[131] = true,[135] = true,
    [142] = true,[149] = true,[153] = true,[157] = true,[161] = true,[165] = true
}

Config.LaserData = {
    origins = {
        vector3(-627.022, -229.265, 37.36), vector3(-627.009, -229.264, 38.136),vector3(-627.016, -229.264, 38.849), vector3(-627.22, -228.634, 41.312), 
        vector3(-621.493, -236.413, 41.278),vector3(-624.268, -232.861, 42.406), vector3(-624.126, -233.049, 42.398), vector3(-621.53, -236.051, 37.606), 
        vector3(-621.549, -236.05, 38.304), vector3(-621.949, -225.499, 37.827), vector3(-621.956, -225.477, 38.544), vector3(-627.003, -228.595, 38.157), 
        vector3(-627.001, -228.673, 37.425),vector3(-619.289, -228.737, 41.947), vector3(-619.116, -229.01, 41.927), vector3(-619.091, -235.657, 41.633), 
        vector3(-618.157, -234.979, 41.51), vector3(-622.721, -231.85, 43.249), vector3(-623.941, -230.079, 43.2), vector3(-626.44, -227.312, 42.001), 
        vector3(-623.866, -225.357, 41.846),vector3(-621.454, -235.497, 42.149),vector3(-622.747, -225.688, 41.889), vector3(-625.525, -230.613, 42.414),
        vector3(-629.645, -238.253, 37.501), vector3(-629.673, -238.334, 38.353), vector3(-624.73, -236.497, 41.423), vector3(-626.866, -238.101, 41.41),
        vector3(-627.206, -233.71, 37.557), vector3(-626.45, -233.161, 37.173),
    },
    targets = {
        vector3(-622.145, -235.865, 37.518), vector3(-622.157, -235.899, 38.096), vector3(-622.159, -235.905, 38.886), vector3(-623.704, -232.689, 37.057), 
        vector3(-624.879, -231.464, 37.057),vector3(-626.307, -230.235, 37.057), vector3(-622.897, -234.956, 37.057), vector3(-617.218, -232.828, 37.882), 
        vector3(-617.218, -232.81, 38.486), vector3(-616.903, -232.158, 37.837), vector3(-617.017, -232.12, 38.497), vector3(-623.101, -225.249, 37.333), 
        vector3(-622.81, -225.35, 38.47),vector3(-618.281, -228.628, 37.057), vector3(-620.606, -225.837, 37.057), vector3(-617.676, -233.194, 37.057), 
        vector3(-620.619, -235.623, 37.057), vector3(-621.896, -230.033, 37.057), vector3(-620.76, -232.435, 37.057), vector3(-623.647, -225.986, 37.057), 
        vector3(-625.985, -227.589, 37.057),vector3(-622.984, -228.736, 37.057), vector3(-622.015, -232.727, 37.057), vector3(-620.225, -231.427, 37.057),
        vector3(-622.792, -232.831, 37.166), vector3(-622.76, -232.876, 37.675), vector3(-627.42, -233.848, 38.057),vector3(-626.636, -233.278, 38.026),
        vector3(-627.823, -229.745, 37.499), vector3(-627.794, -229.601, 38.556),
    },
    settings = {
        travelTimeBetweenTargets = {1.0, 1.0},
        waitTimeAtTargets = {0.0, 0.0},
        color = {r = 105, g = 26, b = 26, a = 0.8},
        name = "Jewellery"
    }
}
```


---

# 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://vt-developmets.gitbook.io/vt-scripts/our-scripts/our-paid-scripts-qb/jewelry-robbery-v2/configuration.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.
