1
0
Fork 0
forked from Simnation/Main
Main/resources/[inventory]/nordi_backpack/config.lua

67 lines
1.8 KiB
Lua
Raw Normal View History

2025-07-30 01:18:19 +02:00
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
2025-07-30 01:22:03 +02:00
[158] = { -- Example: Small backpack drawable ID
2025-07-30 01:18:19 +02:00
maxweight = 10000, -- 10kg
slots = 10,
2025-07-30 01:31:07 +02:00
label = 'Small Backpack',
-- Optional: specific textures
textures = {
[0] = true, -- Texture ID 0
[1] = true, -- Texture ID 1
-- Add more textures if needed
}
2025-07-30 01:18:19 +02:00
},
[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'
2025-07-30 01:31:07 +02:00
-- Debug mode - prints additional information to console
Config.Debug = true
2025-07-30 01:18:19 +02:00
-- 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'
}