description |
---|
Ohhh shiny, they're mine! |
- Players can rob the Vangelico jewelry shop, break glass cases with different weapons and receive rewards!
Config = {}
Config.Timeout = 30 * (60 * 2000) -- cooldown between robberies in minutes
Config.RequiredCops = 2 -- Amount of police needed online to start the robbery
Config.JewelleryLocation = { -- location to start robbery
["coords"] = vector3(-630.5, -237.13, 38.08),
}
Config.Locations = { -- location of the smashable cases
[1] = {
["coords"] = vector3(-626.83, -235.35, 38.05), -- location
["isOpened"] = false, -- dynamically changed, don't edit
["isBusy"] = false, -- dynamically changed, don't edit
},
[2] = {
["coords"] = vector3(-625.81, -234.7, 38.05),
["isOpened"] = false,
["isBusy"] = false,
},
[3] = {
["coords"] = vector3(-626.95, -233.14, 38.05),
["isOpened"] = false,
["isBusy"] = false,
},
[4] = {
["coords"] = vector3(-628.0, -233.86, 38.05),
["isOpened"] = false,
["isBusy"] = false,
},
[5] = {
["coords"] = vector3(-625.7, -237.8, 38.05),
["isOpened"] = false,
["isBusy"] = false,
},
[6] = {
["coords"] = vector3(-626.7, -238.58, 38.05),
["isOpened"] = false,
["isBusy"] = false,
},
[7] = {
["coords"] = vector3(-624.55, -231.06, 38.05),
["isOpened"] = false,
["isBusy"] = false,
},
[8] = {
["coords"] = vector3(-623.13, -232.94, 38.05),
["isOpened"] = false,
["isBusy"] = false,
},
[9] = {
["coords"] = vector3(-620.29, -234.44, 38.05),
["isOpened"] = false,
["isBusy"] = false,
},
[10] = {
["coords"] = vector3(-619.15, -233.66, 38.05),
["isOpened"] = false,
["isBusy"] = false,
},
[11] = {
["coords"] = vector3(-620.19, -233.44, 38.05),
["isOpened"] = false,
["isBusy"] = false,
},
[12] = {
["coords"] = vector3(-617.63, -230.58, 38.05),
["isOpened"] = false,
["isBusy"] = false,
},
[13] = {
["coords"] = vector3(-618.33, -229.55, 38.05),
["isOpened"] = false,
["isBusy"] = false,
},
[14] = {
["coords"] = vector3(-619.7, -230.33, 38.05),
["isOpened"] = false,
["isBusy"] = false,
},
[15] = {
["coords"] = vector3(-620.95, -228.6, 38.05),
["isOpened"] = false,
["isBusy"] = false,
},
[16] = {
["coords"] = vector3(-619.79, -227.6, 38.05),
["isOpened"] = false,
["isBusy"] = false,
},
[17] = {
["coords"] = vector3(-620.42, -226.6, 38.05),
["isOpened"] = false,
["isBusy"] = false,
},
[18] = {
["coords"] = vector3(-623.94, -227.18, 38.05),
["isOpened"] = false,
["isBusy"] = false,
},
[19] = {
["coords"] = vector3(-624.91, -227.87, 38.05),
["isOpened"] = false,
["isBusy"] = false,
},
[20] = {
["coords"] = vector3(-623.94, -228.05, 38.05),
["isOpened"] = false,
["isBusy"] = false,
}
}
Config.WhitelistedWeapons = { -- weapons that can break the glass
[`weapon_assaultrifle`] = { -- weapon hash
["timeOut"] = 10000 -- the amount of time the progress bar takes
},
[`weapon_carbinerifle`] = {
["timeOut"] = 10000
},
[`weapon_pumpshotgun`] = {
["timeOut"] = 10000
},
[`weapon_sawnoffshotgun`] = {
["timeOut"] = 10000
},
[`weapon_compactrifle`] = {
["timeOut"] = 10000
},
[`weapon_microsmg`] = {
["timeOut"] = 10000
},
[`weapon_autoshotgun`] = {
["timeOut"] = 10000
},
[`weapon_pistol`] = {
["timeOut"] = 10000
},
[`weapon_pistol_mk2`] = {
["timeOut"] = 10000
},
[`weapon_combatpistol`] = {
["timeOut"] = 10000
},
[`weapon_appistol`] = {
["timeOut"] = 10000
},
[`weapon_pistol50`] = {
["timeOut"] = 10000
},
}
Config.VitrineRewards = { -- Items received by smashing cases
[1] = {
["item"] = "rolex", -- item name
["amount"] = { -- randomized between min and max
["min"] = 1, -- minimum amount received
["max"] = 4 -- maximum amount received
},
},
[2] = {
["item"] = "diamond_ring",
["amount"] = {
["min"] = 1,
["max"] = 4
},
},
[3] = {
["item"] = "goldchain",
["amount"] = {
["min"] = 1,
["max"] = 4
},
},
}