-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathconfig.lua
52 lines (46 loc) · 1.96 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
Config = {}
Locale = {}
Config.RemoveMaskKey = 244 --"M" by default
Config.AlwaysShowCloud = true -- If you want to hide the cloud marker when the player is far from it, set this to true. Turn this off if you want to improve performance.
Config.ShowCloudDistance = 100 -- If "Config.AlwaysShowCloud" is true, this is the distance the cloud will be visible from
-------------------------------------------------
-------- Safe Zone and circle properties --------
-------------------------------------------------
Config.SafeZone = {
center = vector3(-88.055053710938, -1270.5104980469, 0),
size = 2000.0,
blipColor = 7,
markerColor={ r = 200, g = 164, b = 237, a = 100}
}
-------------------------------------------------
------------------- Mask types ------------------
-------------------------------------------------
Config.Masks = {
['bandana'] = { -- Item name. These have to match the items in your database/shared.lua/items.lua
capacity = 100, -- Mask capacity in seconds (depends on 'Config.Gas.tick'. The lower the tick, the faster the capacity decreases)
componentId_male = 51, -- Male mask component
componentId_female = 55 -- Female mask component
},
['gasmask'] = {
capacity = 300,
componentId_male = 38,
componentId_female = 40
},
}
-------------------------------------------------
---------------- Gas properties -----------------
-------------------------------------------------
Config.Gas = {
tick = 1000, -- How often should the gas damage the player in ms (Default: 1s)
damage = 1, -- Gas damage per tick
effect = "michealspliff"-- The visual effect in the gas area
}
-------------------------------------------------
----------------- Localozation ------------------
-------------------------------------------------
Locale = {
safeZoneBlipName = "Safe Zone",
removeMaskNotification = "You removed your protection",
alreadyWearMask = "You already wear protection",
removeHelperText = "Press [M] to remove your protection"
}