Skip to content

Commit c4510c8

Browse files
committed
Update config.lua
1 parent bb4b502 commit c4510c8

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

alcoholism/config.lua

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,4 +205,60 @@ lia.config.add("AlcoholMotionBlurDelay", "Alcohol Motion Blur Delay", 0.03, nil,
205205
type = "Float",
206206
min = 0.01,
207207
max = 1
208+
})
209+
210+
lia.config.add("AlcoholIntenseMultiplier", "Alcohol Intense Multiplier", 2, nil, {
211+
desc = "Strength multiplier for control swerving when highly intoxicated.",
212+
category = "Alcoholism",
213+
type = "Float",
214+
min = 1,
215+
max = 5
216+
})
217+
218+
lia.config.add("AlcoholRagdollThreshold", "Alcohol Ragdoll Threshold", 80, nil, {
219+
desc = "BAC level that triggers a ragdoll fall.",
220+
category = "Alcoholism",
221+
type = "Int",
222+
min = 1,
223+
max = 100
224+
})
225+
226+
lia.config.add("AlcoholRagdollMin", "Alcohol Ragdoll Min", 60, nil, {
227+
desc = "Minimum seconds before another ragdoll can occur.",
228+
category = "Alcoholism",
229+
type = "Int",
230+
min = 1,
231+
max = 600
232+
})
233+
234+
lia.config.add("AlcoholRagdollMax", "Alcohol Ragdoll Max", 120, nil, {
235+
desc = "Maximum seconds before another ragdoll can occur.",
236+
category = "Alcoholism",
237+
type = "Int",
238+
min = 1,
239+
max = 600
240+
})
241+
242+
lia.config.add("AlcoholRagdollChance", "Alcohol Ragdoll Chance", 35, nil, {
243+
desc = "Chance percentage that a ragdoll fall happens when threshold is met.",
244+
category = "Alcoholism",
245+
type = "Int",
246+
min = 1,
247+
max = 100
248+
})
249+
250+
lia.config.add("AlcoholRagdollDuration", "Alcohol Ragdoll Duration", 5, nil, {
251+
desc = "Seconds the player stays ragdolled from intoxication.",
252+
category = "Alcoholism",
253+
type = "Int",
254+
min = 1,
255+
max = 60
256+
})
257+
258+
lia.config.add("AlcoholIntenseTime", "Alcohol Intense Time", 5, nil, {
259+
desc = "Seconds of heavier movement after BAC increases.",
260+
category = "Alcoholism",
261+
type = "Int",
262+
min = 1,
263+
max = 60
208264
})

0 commit comments

Comments
 (0)