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

138 lines
4.3 KiB
Lua
Raw Permalink 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)
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
2025-08-05 16:40:06 +02:00
[116] = { -- Example: Small backpack drawable ID for males
2025-07-30 01:33:52 +02:00
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'
},
2025-08-05 16:40:06 +02:00
[143] = { -- Example: Large backpack drawable ID for males
2025-07-30 01:33:52 +02:00
maxweight = 30000, -- 30kg
slots = 20,
label = 'Large Backpack'
},
2025-08-05 16:40:06 +02:00
[142] = { -- Example: Tactical backpack drawable ID for males
2025-07-30 01:33:52 +02:00
maxweight = 40000, -- 40kg
slots = 25,
label = 'Tactical Backpack'
},
2025-08-05 16:40:06 +02:00
[150] = { -- Example: Hiking backpack drawable ID for males
2025-07-30 01:33:52 +02:00
maxweight = 50000, -- 50kg
slots = 30,
label = 'Hiking Backpack'
2025-08-05 16:40:06 +02:00
},
[116] = { -- Example: Large backpack drawable ID for females
maxweight = 30000, -- 30kg
slots = 20,
label = 'PD Backpack'
},
[115] = { -- Example: Large backpack drawable ID for females
maxweight = 30000, -- 30kg
slots = 20,
label = 'PD Backpack 2'
},
2025-08-10 19:17:46 +02:00
[45] = { -- Example: Large backpack drawable ID for females
maxweight = 30000, -- 30kg
slots = 20,
label = 'Sporttasche'
},
2025-08-05 16:40:06 +02:00
2025-07-30 01:18:19 +02:00
},
2025-07-30 01:33:52 +02:00
[1] = { -- Female backpacks
2025-07-30 01:43:12 +02:00
[158] = { -- Example: Small backpack drawable ID for females
2025-07-30 01:33:52 +02:00
maxweight = 10000, -- 10kg
slots = 10,
label = 'Small Backpack'
},
2025-07-30 01:50:31 +02:00
[153] = { -- Example: Small backpack drawable ID for females
maxweight = 10000, -- 10kg
slots = 10,
label = 'Small Backpack 2'
},
[148] = { -- Example: Small backpack drawable ID for females
maxweight = 10000, -- 10kg
slots = 10,
label = 'Small Backpack 3'
},
[345] = { -- Example: Medium backpack drawable ID for females
2025-07-30 01:33:52 +02:00
maxweight = 20000, -- 20kg
slots = 15,
label = 'Medium Backpack'
},
2025-07-30 01:50:31 +02:00
[147] = { -- Example: Medium backpack drawable ID for females
maxweight = 20000, -- 20kg
slots = 15,
label = 'Medium Backpack 2'
},
[145] = { -- Example: Large backpack drawable ID for females
2025-07-30 01:33:52 +02:00
maxweight = 30000, -- 30kg
slots = 20,
label = 'Large Backpack'
},
2025-07-30 01:50:31 +02:00
[118] = { -- Example: Large backpack drawable ID for females
maxweight = 30000, -- 30kg
slots = 20,
label = 'PD Backpack'
},
[119] = { -- Example: Large backpack drawable ID for females
maxweight = 30000, -- 30kg
slots = 20,
label = 'PD Backpack 2'
},
[146] = { -- Example: Tactical backpack drawable ID for females
2025-07-30 01:33:52 +02:00
maxweight = 40000, -- 40kg
slots = 25,
label = 'Tactical Backpack'
},
2025-07-30 01:50:31 +02:00
[151] = { -- Example: Hiking backpack drawable ID for females
2025-07-30 01:33:52 +02:00
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
2025-07-30 02:23:20 +02:00
Config.Debug = false
2025-07-30 01:31:07 +02:00
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 = {
2025-07-30 02:23:20 +02:00
enabled = false,
2025-07-30 01:18:19 +02:00
webhookName = 'backpacks', -- Name of the webhook in qb-log
openTitle = 'Backpack Opened',
openColor = 'blue'
}