1
0
Fork 0
forked from Simnation/Main
Main/resources/[jobs]/[crime]/nordi_containerheist/config.lua

449 lines
17 KiB
Lua
Raw Normal View History

2025-07-20 03:56:42 +02:00
Config = {}
2025-07-20 02:41:44 +02:00
-- General Settings
2025-07-20 03:59:03 +02:00
Config.Debug = true -- Set to true for debug prints
2025-07-20 17:41:10 +02:00
Config.CooldownTime = 1 -- Minutes between heists (per player)
Config.GlobalCooldown = 1 -- Minutes between heists (server-wide)
2025-07-20 17:32:03 +02:00
Config.PoliceRequired = 1 -- Minimum police required
2025-07-20 03:18:58 +02:00
Config.PoliceJobs = {
"police", -- Regular police
"marshal", -- Marshal service
}
2025-07-20 02:41:44 +02:00
-- Required Items
Config.RequiredItems = {
flex = {
2025-07-20 02:53:21 +02:00
name = "anglegrinder", -- Item name in your inventory
label = "Flex", -- Display name
2025-07-20 02:41:44 +02:00
amount = 1, -- How many required
remove = false, -- Whether to remove the item after use
durability = false, -- Whether the item has durability
durabilityDecrease = 20, -- How much durability to decrease per use (%)
},
-- You can add more required items here
}
-- Notification Settings
Config.Notifications = {
2025-07-20 19:10:20 +02:00
title = "Container Einbruch",
policeTitle = "DISPATCH-ALARM",
success = "Du bist erfolgreich in den Container eingebrochen!",
failed = "Der Einbruch in den Container ist fehlgeschlagen!",
noTools = "Du hast nicht das benötigte Werkzeug!",
cooldown = "Du musst warten, bevor du den nächsten Überfall starten kannst!",
globalCooldown = "Diese Art von Überfall ist derzeit gesperrt!",
notEnoughPolice = "Es sind nicht genug Polizisten in der Stadt!",
2025-07-20 02:41:44 +02:00
}
-- Blip Settings
Config.Blip = {
sprite = 67,
color = 1,
scale = 0.8,
2025-07-20 17:41:10 +02:00
label = "Container Einbruch",
2025-07-20 02:41:44 +02:00
duration = 180, -- seconds
flash = true,
}
2025-07-20 17:41:10 +02:00
2025-07-20 03:54:06 +02:00
Config.ContainerTypes = {
-- Regular shipping containers
2025-07-20 17:41:10 +02:00
{
model = "prop_container_01a",
type = "shipping",
2025-07-20 03:18:58 +02:00
label = "Shipping Container",
2025-07-20 17:41:10 +02:00
offset = vector3(0.0, -4.0, 0.0),
heading = 180.0,
2025-07-20 03:18:58 +02:00
animation = {
dict = "amb@world_human_welding@male@base",
name = "base",
flag = 1,
2025-07-20 17:41:10 +02:00
duration = 30000,
2025-07-20 03:18:58 +02:00
},
rewards = {
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
},
policeAlert = true,
},
2025-07-20 17:41:10 +02:00
{
model = "prop_container_01b",
type = "shipping",
label = "Shipping Container",
offset = vector3(0.0, -4.0, 0.0),
heading = 180.0,
2025-07-20 03:18:58 +02:00
animation = {
dict = "amb@world_human_welding@male@base",
name = "base",
flag = 1,
duration = 30000,
},
rewards = {
2025-07-20 03:54:06 +02:00
{item = "weapon_pistol", label = "Pistol", min = 1, max = 1, chance = 10},
{item = "pistol_ammo", label = "Pistol Ammo", min = 10, max = 30, chance = 25},
{item = "armor", label = "Body Armor", min = 1, max = 2, chance = 20},
{item = "weapon_knife", label = "Knife", min = 1, max = 1, chance = 30},
{item = "cash", label = "Cash", min = 2000, max = 7000, chance = 35},
2025-07-20 03:18:58 +02:00
},
policeAlert = true,
},
2025-07-20 17:41:10 +02:00
{
model = "prop_container_01c",
type = "shipping",
label = "Shipping Container",
offset = vector3(0.0, -4.0, 0.0),
heading = 180.0,
animation = {
dict = "amb@world_human_welding@male@base",
name = "base",
flag = 1,
duration = 30000,
},
rewards = {
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
},
policeAlert = true,
},
{
model = "prop_container_01d",
type = "shipping",
label = "Shipping Container",
offset = vector3(0.0, -4.0, 0.0),
heading = 180.0,
animation = {
dict = "amb@world_human_welding@male@base",
name = "base",
flag = 1,
duration = 30000,
},
rewards = {
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
},
policeAlert = true,
},
{
model = "prop_container_01e",
type = "shipping",
label = "Shipping Container",
offset = vector3(0.0, -4.0, 0.0),
heading = 180.0,
animation = {
dict = "amb@world_human_welding@male@base",
name = "base",
flag = 1,
duration = 30000,
},
rewards = {
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
},
policeAlert = true,
},
{
model = "prop_container_01f",
type = "shipping",
label = "Shipping Container",
offset = vector3(0.0, -4.0, 0.0),
heading = 180.0,
animation = {
dict = "amb@world_human_welding@male@base",
name = "base",
flag = 1,
duration = 30000,
},
rewards = {
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
},
policeAlert = true,
},
{
model = "prop_container_01g",
type = "shipping",
label = "Shipping Container",
offset = vector3(0.0, -4.0, 0.0),
heading = 180.0,
animation = {
dict = "amb@world_human_welding@male@base",
name = "base",
flag = 1,
duration = 30000,
},
rewards = {
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
},
policeAlert = true,
},
{
model = "prop_container_01h",
type = "shipping",
label = "Shipping Container",
offset = vector3(0.0, -4.0, 0.0),
heading = 180.0,
animation = {
dict = "amb@world_human_welding@male@base",
name = "base",
flag = 1,
duration = 30000,
},
rewards = {
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
},
policeAlert = true,
},
{
model = "prop_container_02a",
type = "shipping",
label = "Shipping Container",
offset = vector3(0.0, -4.0, 0.0),
heading = 180.0,
animation = {
dict = "amb@world_human_welding@male@base",
name = "base",
flag = 1,
duration = 30000,
},
rewards = {
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
},
policeAlert = true,
},
{
model = "prop_container_03a",
type = "shipping",
label = "Shipping Container",
offset = vector3(0.0, -2.0, 0.0),
heading = 180.0,
animation = {
dict = "amb@world_human_welding@male@base",
name = "base",
flag = 1,
duration = 30000,
},
rewards = {
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
},
policeAlert = true,
},
{
model = "prop_container_03b",
type = "shipping",
label = "Shipping Container",
offset = vector3(0.0, -2.0, 0.0),
heading = 180.0,
animation = {
dict = "amb@world_human_welding@male@base",
name = "base",
flag = 1,
duration = 30000,
},
rewards = {
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
},
policeAlert = true,
},
{
model = "prop_container_03mb",
type = "shipping",
label = "Shipping Container",
offset = vector3(0.0, -2.0, 0.0),
heading = 180.0,
animation = {
dict = "amb@world_human_welding@male@base",
name = "base",
flag = 1,
duration = 30000,
},
rewards = {
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
},
policeAlert = true,
},
{
model = "prop_container_04a",
type = "shipping",
label = "Shipping Container",
offset = vector3(0.0, -2.0, 0.0),
heading = 180.0,
animation = {
dict = "amb@world_human_welding@male@base",
name = "base",
flag = 1,
duration = 30000,
},
rewards = {
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
},
policeAlert = true,
},
{
model = "prop_container_04mb",
type = "shipping",
label = "Shipping Container",
offset = vector3(0.0, -2.0, 0.0),
heading = 180.0,
animation = {
dict = "amb@world_human_welding@male@base",
name = "base",
flag = 1,
duration = 30000,
},
rewards = {
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
},
policeAlert = true,
},
{
model = "prop_container_05mb",
type = "shipping",
label = "Shipping Container",
offset = vector3(0.0, -2.0, 0.0),
heading = 180.0,
animation = {
dict = "amb@world_human_welding@male@base",
name = "base",
flag = 1,
duration = 30000,
},
rewards = {
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
},
policeAlert = true,
},
{
model = "prop_container_ld",
type = "shipping",
label = "Shipping Container",
offset = vector3(0.0, -2.0, 0.0),
heading = 180.0,
animation = {
dict = "amb@world_human_welding@male@base",
name = "base",
flag = 1,
duration = 30000,
},
rewards = {
{item = "phone", label = "Phone", min = 1, max = 3, chance = 30},
{item = "rolex", label = "Rolex Watch", min = 1, max = 2, chance = 20},
{item = "goldchain", label = "Gold Chain", min = 1, max = 3, chance = 25},
{item = "diamond", label = "Diamond", min = 1, max = 1, chance = 5},
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
{item = "cash", label = "Cash", min = 1000, max = 5000, chance = 40},
},
policeAlert = true,
},
{
model = "prop_container_door_mb",
type = "shipping",
label = "Container Door",
offset = vector3(0.0, -1.0, 0.0),
heading = 180.0,
animation = {
dict = "amb@world_human_welding@male@base",
name = "base",
flag = 1,
duration = 20000,
},
rewards = {
{item = "phone", label = "Phone", min = 1, max = 1, chance = 20},
{item = "cash", label = "Cash", min = 500, max = 2000, chance = 30},
},
policeAlert = false,
},
2025-07-20 03:18:58 +02:00
2025-07-20 17:41:10 +02:00
-- Trailer models
2025-07-20 18:04:26 +02:00
{
model = "trailers",
type = "trailer",
label = "Cargo Trailer",
offset = vector3(0.0, 0.0, 0.0), -- Changed to use dynamic positioning in the function
heading = 0.0, -- Changed to use dynamic heading in the function
animation = {
dict = "amb@world_human_welding@male@base",
name = "base",
flag = 1,
duration = 45000,
},
rewards = {
{item = "electronics", label = "Electronics", min = 3, max = 8, chance = 40},
{item = "plastic", label = "Plastic", min = 10, max = 20, chance = 60},
{item = "aluminum", label = "Aluminum", min = 10, max = 20, chance = 50},
{item = "copper", label = "Copper", min = 5, max = 15, chance = 30},
{item = "cash", label = "Cash", min = 3000, max = 10000, chance = 25},
},
policeAlert = true,
},
2025-07-20 17:41:10 +02:00
}