forked from Simnation/Main
57 lines
1.5 KiB
Lua
57 lines
1.5 KiB
Lua
Config = {}
|
|
|
|
-- Bag component IDs and their inventory properties
|
|
-- These are the drawable IDs for the "bags" component (component ID 5)
|
|
Config.Backpacks = {
|
|
-- [drawableId] = inventory properties
|
|
[158] = { -- Example: Small backpack drawable ID
|
|
maxweight = 10000, -- 10kg
|
|
slots = 10,
|
|
label = 'Small Backpack'
|
|
},
|
|
[41] = { -- Example: Medium backpack drawable ID
|
|
maxweight = 20000, -- 20kg
|
|
slots = 15,
|
|
label = 'Medium Backpack'
|
|
},
|
|
[44] = { -- Example: Large backpack drawable ID
|
|
maxweight = 30000, -- 30kg
|
|
slots = 20,
|
|
label = 'Large Backpack'
|
|
},
|
|
[52] = { -- Example: Tactical backpack drawable ID
|
|
maxweight = 40000, -- 40kg
|
|
slots = 25,
|
|
label = 'Tactical Backpack'
|
|
},
|
|
[81] = { -- Example: Hiking backpack drawable ID
|
|
maxweight = 50000, -- 50kg
|
|
slots = 30,
|
|
label = 'Hiking Backpack'
|
|
}
|
|
}
|
|
|
|
-- Key to open backpack inventory (default: B)
|
|
Config.BackpackKey = 'B'
|
|
|
|
-- Notification settings
|
|
Config.Notifications = {
|
|
noBackpack = {
|
|
title = 'Backpack',
|
|
description = 'You don\'t have a backpack equipped!',
|
|
type = 'error'
|
|
},
|
|
backpackOpened = {
|
|
title = 'Backpack',
|
|
description = 'You opened your backpack',
|
|
type = 'success'
|
|
}
|
|
}
|
|
|
|
-- Logging settings
|
|
Config.Logs = {
|
|
enabled = true,
|
|
webhookName = 'backpacks', -- Name of the webhook in qb-log
|
|
openTitle = 'Backpack Opened',
|
|
openColor = 'blue'
|
|
}
|