forked from swkeep/keep-bags
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.lua
133 lines (125 loc) · 3.5 KB
/
config.lua
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
123
124
125
126
127
128
129
130
131
132
133
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 = {}
}
Config.npc = {
position = vector4(1169.21, -291.49, 68.02, 321.64),
model = 's_m_m_gardener_01',
scenario = 'WORLD_HUMAN_DRINKING'
}
Config.retrieval = {
available_at = 2, -- hours
expire_at = 24, -- hours
}
-- Backpack configurations
Config.Bags = {
{
item = 'backpack1',
slots = 15,
size = 100000,
cloth = {
male = {
["bag"] = { item = 36, texture = 0 }
},
female = {
["bag"] = { item = 102, 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 = 7 }
}
},
-- 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 = {
["bag"] = { item = 82, 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 }
}
}
}
}