120 lines
		
	
	
	
		
			3.8 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			120 lines
		
	
	
	
		
			3.8 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
Config = {}
 | 
						|
 | 
						|
-- Bag component IDs and their inventory properties
 | 
						|
-- These are the drawable IDs for the "bags" component (component ID 5)
 | 
						|
-- Separated by gender (0 = male, 1 = female)
 | 
						|
Config.Backpacks = {
 | 
						|
    [0] = { -- Male backpacks
 | 
						|
        [158] = { -- 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'
 | 
						|
        }
 | 
						|
    },
 | 
						|
    [1] = { -- Female backpacks
 | 
						|
        [158] = { -- Example: Small backpack drawable ID for females
 | 
						|
            maxweight = 10000, -- 10kg
 | 
						|
            slots = 10,
 | 
						|
            label = 'Small Backpack'
 | 
						|
        },
 | 
						|
        [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
 | 
						|
            maxweight = 20000, -- 20kg
 | 
						|
            slots = 15,
 | 
						|
            label = 'Medium Backpack'
 | 
						|
        },
 | 
						|
        [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
 | 
						|
            maxweight = 30000, -- 30kg
 | 
						|
            slots = 20,
 | 
						|
            label = 'Large Backpack'
 | 
						|
        },
 | 
						|
        [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
 | 
						|
            maxweight = 40000, -- 40kg
 | 
						|
            slots = 25,
 | 
						|
            label = 'Tactical Backpack'
 | 
						|
        },
 | 
						|
        [151] = { -- Example: Hiking backpack drawable ID for females
 | 
						|
            maxweight = 50000, -- 50kg
 | 
						|
            slots = 30,
 | 
						|
            label = 'Hiking Backpack'
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 | 
						|
 | 
						|
-- Key to open backpack inventory (default: B)
 | 
						|
Config.BackpackKey = 'B'
 | 
						|
 | 
						|
-- Debug mode - prints additional information to console
 | 
						|
Config.Debug = false
 | 
						|
 | 
						|
-- 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 = false,
 | 
						|
    webhookName = 'backpacks', -- Name of the webhook in qb-log
 | 
						|
    openTitle = 'Backpack Opened',
 | 
						|
    openColor = 'blue'
 | 
						|
}
 |