forked from overextended/ox_fuel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.lua
90 lines (77 loc) · 1.75 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
Config = {
-- Get notified when a new version releases
versionCheck = true,
-- Enable support for qtarget / ox_target
qtarget = false,
/*
* Show or hide gas stations blips
* 0 - Hide all
* 1 - Show nearest (5000ms interval check)
* 2 - Show all
*/
showBlips = 1,
-- What keys to disable while fueling
disabledKeys = { 0, 22, 23, 24, 29, 30, 31, 37, 44, 56, 82, 140, 166, 167, 168, 170, 288, 289, 311, 323 },
-- Total duration (ex. 10% missing fuel): 10 / 0.25 * 250 = 10 seconds
-- Fuel refill value (every 250msec add 0.25%)
refillValue = 0.50,
-- Fuel tick time (every 250 msec)
refillTick = 250,
-- Fuel cost (Added once every tick)
priceTick = 5,
-- Can durability loss per refillTick
durabilityTick = 1.3,
-- Enables fuel can
petrolCan = {
enabled = true,
duration = 5000,
price = 1000,
refillPrice = 800,
},
-- Fuel usage multiplier based on class (default 1.0)
classUsage = {
[13] = 0.0, -- Cycles
},
-- Fuel usage per second based on vehicle RPM
rpmUsage = {
[1.0] = 0.14,
[0.9] = 0.12,
[0.8] = 0.10,
[0.7] = 0.09,
[0.6] = 0.08,
[0.5] = 0.07,
[0.4] = 0.05,
[0.3] = 0.04,
[0.2] = 0.02,
[0.1] = 0.01,
[0.0] = 0.00,
},
-- Electic vehicles (not currently used)
electricModels = {
[`airtug`] = true,
[`neon`] = true,
[`raiden`] = true,
[`caddy`] = true,
[`caddy2`] = true,
[`caddy3`] = true,
[`cyclone`] = true,
[`dilettante`] = true,
[`dilettante2`] = true,
[`surge`] = true,
[`tezeract`] = true,
[`imorgon`] = true,
[`khamelion`] = true,
[`voltic`] = true,
[`iwagen`] = true,
},
-- Gas pump models
pumpModels = {
`prop_gas_pump_old2`,
`prop_gas_pump_1a`,
`prop_vintage_pump`,
`prop_gas_pump_old3`,
`prop_gas_pump_1c`,
`prop_gas_pump_1b`,
`prop_gas_pump_1d`,
}
}