This repository was archived by the owner on Jan 27, 2024. It is now read-only.
forked from swkeep/keep-bags
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.lua
More file actions
122 lines (116 loc) · 3.27 KB
/
config.lua
File metadata and controls
122 lines (116 loc) · 3.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
Config = {}
-- Maximum inventory slots for players (inventory slots)
Config.max_inventory_slots = 41
Config.clothingScript = 'qb-clothing' -- illenium-appearance or qb-clothing oe esx (skinchanger)
-- When set to skinchanger, it only supports 'bag' as a clothing option and nothing else!
-- Default durations (in seconds)
Config.duration = {
open = 1, -- Time to open a bag
lockpick = 5 -- Time to lockpick a bag
}
-- Prevent players from carrying multiple backpacks
-- They will stuck in one place until they put the extra bags away
Config.notAllowedToCarryMultipleBackpacks = true
-- Maximum allowed backpacks per player
Config.maxAllowedBackpacks = 2
-- Whitelist for lockpicking access
Config.lockpick_whitelist = {
active = true,
jobs = { 'police' }, -- Jobs with lockpicking access
citizenid = {}
}
-- Backpack configurations
Config.Bags = {
{
item = 'backpack1',
slots = 15,
size = 100000,
cloth = {
male = {
["bag"] = { item = 36, texture = 0 }
},
female = {
["bag"] = { item = 1, texture = 0 }
}
},
-- If active, the backpack only accepts items listed here and returns other items to the player
whitelist = {
'iron',
'steel'
},
duration = {
opening = 1,
lockpicking = 5
}
},
{
item = 'backpack2',
slots = 20,
size = 200000,
cloth = {
male = {
["bag"] = { item = 36, texture = 1 }
},
female = {
["bag"] = { item = 85, texture = 13 }
}
},
-- If active, the backpack accepts all items except those listed here
blacklist = {
'water',
'steel'
}
},
{
item = 'duffle1',
slots = 20,
size = 200000,
cloth = {
male = {
["bag"] = { item = 82, texture = 4 }
},
female = {
["accessory"] = { item = 123, texture = 0 }
}
}
},
{
item = 'paramedicbag',
slots = 10,
size = 50000,
prop = GetProp('paramedicbag') -- Use props from shared/props.lua
},
{
item = 'briefcase',
slots = 5,
size = 10000,
locked = true,
prop = GetProp('suitcase2') -- Use props from shared/props.lua
},
{
item = 'policepouches',
slots = 6,
size = 200000,
cloth = {
male = {
["accessory"] = { item = 146, texture = 0 }
},
female = {
["accessory"] = { item = 123, texture = 0 }
}
}
},
{
item = 'policepouches1',
slots = 12,
size = 400000,
cloth = {
male = {
["accessory"] = { item = 147, texture = 0 }
},
female = {
["accessory"] = { item = 123, texture = 0 }
}
}
}
}