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)
|
2025-07-30 01:33:52 +02:00
|
|
|
-- Separated by gender (0 = male, 1 = female)
|
2025-07-30 01:18:19 +02:00
|
|
|
Config.Backpacks = {
|
2025-07-30 01:33:52 +02:00
|
|
|
[0] = { -- Male backpacks
|
|
|
|
[31] = { -- Example: Small backpack drawable ID for males
|
|
|
|
maxweight = 10000, -- 10kg
|
|
|
|
slots = 10,
|
|
|
|
label = 'Small Backpack',
|
|
|
|
-- Optional: specific textures
|
|
|
|
textures = {
|
|
|
|
[0] = true, -- Texture ID 0
|
|
|
|
[1] = true, -- Texture ID 1
|
|
|
|
-- Add more textures if needed
|
|
|
|
}
|
|
|
|
},
|
|
|
|
[41] = { -- Example: Medium backpack drawable ID for males
|
|
|
|
maxweight = 20000, -- 20kg
|
|
|
|
slots = 15,
|
|
|
|
label = 'Medium Backpack'
|
|
|
|
},
|
|
|
|
[44] = { -- Example: Large backpack drawable ID for males
|
|
|
|
maxweight = 30000, -- 30kg
|
|
|
|
slots = 20,
|
|
|
|
label = 'Large Backpack'
|
|
|
|
},
|
|
|
|
[52] = { -- Example: Tactical backpack drawable ID for males
|
|
|
|
maxweight = 40000, -- 40kg
|
|
|
|
slots = 25,
|
|
|
|
label = 'Tactical Backpack'
|
|
|
|
},
|
|
|
|
[81] = { -- Example: Hiking backpack drawable ID for males
|
|
|
|
maxweight = 50000, -- 50kg
|
|
|
|
slots = 30,
|
|
|
|
label = 'Hiking Backpack'
|
2025-07-30 01:31:07 +02:00
|
|
|
}
|
2025-07-30 01:18:19 +02:00
|
|
|
},
|
2025-07-30 01:33:52 +02:00
|
|
|
[1] = { -- Female backpacks
|
|
|
|
[29] = { -- Example: Small backpack drawable ID for females
|
|
|
|
maxweight = 10000, -- 10kg
|
|
|
|
slots = 10,
|
|
|
|
label = 'Small Backpack'
|
|
|
|
},
|
|
|
|
[39] = { -- Example: Medium backpack drawable ID for females
|
|
|
|
maxweight = 20000, -- 20kg
|
|
|
|
slots = 15,
|
|
|
|
label = 'Medium Backpack'
|
|
|
|
},
|
|
|
|
[42] = { -- Example: Large backpack drawable ID for females
|
|
|
|
maxweight = 30000, -- 30kg
|
|
|
|
slots = 20,
|
|
|
|
label = 'Large Backpack'
|
|
|
|
},
|
|
|
|
[49] = { -- Example: Tactical backpack drawable ID for females
|
|
|
|
maxweight = 40000, -- 40kg
|
|
|
|
slots = 25,
|
|
|
|
label = 'Tactical Backpack'
|
|
|
|
},
|
|
|
|
[77] = { -- Example: Hiking backpack drawable ID for females
|
|
|
|
maxweight = 50000, -- 50kg
|
|
|
|
slots = 30,
|
|
|
|
label = 'Hiking Backpack'
|
|
|
|
}
|
2025-07-30 01:18:19 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
-- 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'
|
|
|
|
}
|