-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathconfig.lua
52 lines (45 loc) · 1.53 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 = {}
Config.Debug = true
Config.Language = "en"
Config.Slapping = {
DefaultHealth = 100, -- Initial player's health
MaxDamage = 30, -- Max removal of health in a turn.
DeathChance = 0, -- Change this to 1 - 100 for chance of dying from a knockout.
MinPressDist = math.random(70, 80), -- Prevents macro spamming (Sometimes)
MaxPresses = 40, -- When the press count for the charge up hits this number, it's max damage.
SlappingLength = 3 * 1000, -- Max time someone can charge up their slap.
SkillSize = 25, -- Hit Size
SkillSpeed = 3, -- Hardest Slap Speed
}
Config.AllowedControls = {
[51] = true, -- Slap
[177] = true, -- Leave
[249] = true, -- Push To Talk
}
Config.Items = {
["slaptable"] = {
table = "default", -- Which table to use in Config.SlapTables
},
}
Config.SlapTables = {
["default"] = {
model = `v_res_tre_bedsidetable`, -- Model of Table
offset = vector4(0.0, 1.0, -1.0, 0.0), -- Offset if placed. (x,y,z,heading)
points = {
home = vector3(0.0, -0.45, 0.75), -- Home Side Position.
away = vector3(0.0, 0.45, 0.75), -- Away Side Position.
menu = vector3(-0.65, 0.0, 0.75), -- Menu Position.
},
camera = {
offset = vector3(2.0, 0.0, 1.5),
heading = 270.0,
}
}
}
Config.CanRemoveTable = function(source, data)
if source == data.source then
return true
else
return false
end
end