1
0
Fork 0
forked from Simnation/Main
Main/resources/[jobs]/[crime]/nordi_containerheist/config.lua
2025-08-10 19:01:48 +02:00

448 lines
17 KiB
Lua

Config = {}
-- General Settings
Config.Debug = true -- Set to true for debug prints
Config.CooldownTime = 1 -- Minutes between heists (per player)
Config.GlobalCooldown = 1 -- Minutes between heists (server-wide)
Config.PoliceRequired = 1 -- Minimum police required
Config.PoliceJobs = {
"police", -- Regular police
"marshal", -- Marshal service
}
-- Required Items
Config.RequiredItems = {
flex = {
name = "anglegrinder", -- Item name in your inventory
label = "Flex", -- Display name
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 = {
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!",
policeMessage = "Einbruch in der Nähe von %s", -- Diese Zeile fehlt
alreadyRobbed = "Dieser Container wurde bereits kürzlich ausgeraubt!",
}
-- Blip Settings
Config.Blip = {
sprite = 67,
color = 1,
scale = 0.8,
label = "Einbruch",
duration = 180, -- seconds
flash = true,
}
Config.ContainerTypes = {
-- Regular shipping containers
{
model = "prop_container_01a",
type = "shipping",
label = "Schiffs 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 = "black_phone", label = "iFruit 12XR Schwarz", min = 1, max = 3, chance = 30},
{item = "rolex", label = "Crowex Titan", min = 1, max = 2, chance = 20},
{item = "goldchain", label = "Gold Kette", min = 1, max = 3, chance = 25},
{item = "diamond", label = "Diamand", min = 1, max = 1, chance = 5},
{item = "laptop", label = "Laptop", min = 1, max = 1, chance = 15},
{item = "drone", label = "Drohne", min = 1, max = 1, chance = 2},
},
policeAlert = true,
},
{
model = "prop_container_01b",
type = "shipping",
label = "Schiffs 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 = "weapon_pistol", label = "Bretta", min = 1, max = 1, chance = 10},
{item = "pistol_ammo", label = "Pistolen Muntion", min = 10, max = 30, chance = 25},
{item = "armor", label = "Body Armor", min = 1, max = 2, chance = 20},
{item = "weapon_knife", label = "Messer", min = 1, max = 1, chance = 30},
},
policeAlert = true,
},
{
model = "prop_container_01c",
type = "shipping",
label = "Schiffs 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 = "Schiffs 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 = "Schiffs 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 = "Schiffs 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 = "Schiffs 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 = "Schiffs 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 = "Schiffs 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 = "Schiffs 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,
},
-- Trailer models
{
model = "tr_prop_tr_truktrailer_01a",
type = "trailer",
label = "LKW 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 = "codeine_syrup", label = "Codein", min = 3, max = 6, chance = 30},
{item = "filter_papers", label = "Filtertips", min = 4, max = 8, chance = 20},
{item = "rolling_paper", label = "Drehpapier", min = 4, max = 8, chance = 40},
{item = "tenkgoldchain", label = "10k Goldkette", min = 1, max = 2, chance = 5},
},
policeAlert = true,
},
}