1
0
Fork 0
forked from Simnation/Main
Main/resources/[inventory]/nordi_backpack/config.lua
2025-07-30 01:22:03 +02:00

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'
}