forked from Simnation/Main
70 lines
2 KiB
Lua
70 lines
2 KiB
Lua
local Config = {}
|
|
|
|
-- General Settings
|
|
Config.UseQBTarget = true
|
|
Config.UseOxLib = true
|
|
Config.Inventory = 'qs-inventory' -- or 'qb-inventory'
|
|
|
|
-- Robbery Settings
|
|
Config.EnableRobbery = true
|
|
Config.RobberyItem = 'lockpick' -- item needed to rob
|
|
Config.MinRobberyCash = 50
|
|
Config.MaxRobberyCash = 250
|
|
Config.RobberyTime = 15 -- seconds
|
|
Config.PoliceJob = 'police'
|
|
Config.Dispatch = 'ps-dispatch' -- or 'qb-dispatch'
|
|
Config.RobberyAlertChance = 70 -- percentage chance police get alerted
|
|
|
|
-- Player-owned Vending Machines
|
|
Config.PlayerOwnedMachines = {
|
|
AllowedJobs = { -- jobs that can restock/collect money
|
|
'vending',
|
|
'delivery'
|
|
},
|
|
Models = {
|
|
`prop_vend_soda_01`,
|
|
`prop_vend_soda_02`,
|
|
`prop_vend_water_01`
|
|
},
|
|
RestockItem = 'sodasyrup', -- item needed to restock
|
|
StockAmount = 10, -- how much stock restock item provides
|
|
PricePerItem = 10, -- how much player earns per sale
|
|
MaxStock = 50,
|
|
OwnerCut = 0.7 -- percentage owner gets (30% goes to business)
|
|
}
|
|
|
|
-- 24/7 Vending Machines
|
|
Config.DefaultMachines = {
|
|
Models = {
|
|
[`prop_vend_soda_01`] = {
|
|
items = {
|
|
{ name = 'water_bottle', price = 5, label = 'Water' },
|
|
{ name = 'kurkakola', price = 7, label = 'Cola' },
|
|
{ name = 'sprunk', price = 7, label = 'Sprunk' }
|
|
}
|
|
},
|
|
[`prop_vend_soda_02`] = {
|
|
items = {
|
|
{ name = 'water_bottle', price = 5, label = 'Water' },
|
|
{ name = 'ecola', price = 8, label = 'eCola' }
|
|
}
|
|
},
|
|
[`prop_vend_coffe_01`] = {
|
|
items = {
|
|
{ name = 'coffee', price = 10, label = 'Coffee' }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
-- Target Options
|
|
Config.TargetOptions = {
|
|
useZones = true, -- create target zones for machines
|
|
distance = 2.0
|
|
}
|
|
|
|
-- Notification Settings
|
|
Config.Notify = 'qb' -- or 'ox', 'okok', 'esx'
|
|
Config.Locale = 'en' -- if using locale files
|
|
|
|
return Config
|