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
128 lines (122 loc) · 3.04 KB
/
config.lua
File metadata and controls
128 lines (122 loc) · 3.04 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
123
124
125
126
127
128
Config = Config or {}
local animations = {
backpack = {
dict = 'amb@world_human_hiker_standing@female@base',
anim = 'base',
bone = 'Back',
attaching_position = {
x = -0.15,
y = -0.15,
z = -0.05,
x_rotation = -5.0,
y_rotation = 90.0,
z_rotation = 0.0,
}
},
backpack2 = {
dict = 'amb@world_human_hiker_standing@female@base',
anim = 'base',
bone = 'Back',
attaching_position = {
x = 0.07,
y = -0.15,
z = -0.05,
x_rotation = 0.0,
y_rotation = 90.0,
z_rotation = 175.0,
}
},
suitcase2 = {
dict = 'missheistdocksprep1hold_cellphone',
anim = 'static',
bone = 'RightHand',
attaching_position = {
x = 0.10,
y = 0.0,
z = 0.0,
x_rotation = 0.0,
y_rotation = 280.0,
z_rotation = 53.0,
}
},
paramedicbag = {
dict = 'missheistdocksprep1hold_cellphone',
anim = 'static',
bone = 'RightHand',
attaching_position = {
x = 0.29,
y = -0.05,
z = 0.0,
x_rotation = -25.0,
y_rotation = 280.0,
z_rotation = 75.0,
}
},
}
local props = {
backpack = {
model = 'sf_prop_sf_backpack_01a',
animation = animations.backpack
},
backpack2 = {
model = 'prop_michael_backpack',
animation = animations.backpack2
},
suitcase = {
model = 'prop_ld_suitcase_01',
animation = animations.suitcase2
},
suitcase2 = {
model = 'prop_security_case_01',
animation = animations.suitcase2
},
paramedicbag = {
model = 'xm_prop_smug_crate_s_medical',
animation = animations.paramedicbag
}
}
Config.duration = {
open = 1, --sec
close = 1
}
Config.player_slow_on_weight_change = {
active = true,
weight = 15000
}
Config.items = {
['backpack1'] = {
slots = 5,
size = 100000,
weight = 10000,
weight_multiplier = 0.8, -- less value means items has less weight in backpack
prop = props.backpack
},
['backpack2'] = {
slots = 5,
size = 100000,
weight = 10000,
weight_multiplier = 0.8,
prop = props.backpack2
},
['briefcase'] = {
slots = 3,
size = 10000,
weight = 10000,
weight_multiplier = 0.8,
locked = 'password',
prop = props.suitcase2
},
['paramedicbag'] = {
slots = 10,
size = 50000,
weight = 10000,
weight_multiplier = 0.8,
prop = props.paramedicbag
},
}
Config.Blacklist_items = {
active = true,
list = {
'weapon_rpg'
}
}