forked from Simnation/Main
ed
This commit is contained in:
parent
135f0e163e
commit
0905e09ac9
4 changed files with 1 additions and 1 deletions
57
resources/[inventory]/nordi_backpack/config.lua
Normal file
57
resources/[inventory]/nordi_backpack/config.lua
Normal file
|
@ -0,0 +1,57 @@
|
|||
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'
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue