This repository has been archived by the owner on Sep 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathconfig.lua
168 lines (158 loc) · 4.67 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
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
Oilwell_config = Oilwell_config or {}
Oilwell_config.inventory_max_size = 41
Oilwell_config.AnimationSpeedDivider = 20 -- higher value => less animation speed at 100%
Oilwell_config.actionSpeed = 5 -- how fast oilpump actionspeed is updated to new action speed / just visual
Oilwell_config.fuel_script = 'LegacyFuel'
Oilwell_config.fuel_script = 'keep-fuel'
Oilwell_config.Settings = {
size = {
oilwell_storage = 10000,
},
oil_well = {
blip = {
sprite = 436,
colour = 5,
range = 'short',
-- CITIZENID | OILWELLNAME | DB_ID_RAW | TYPE | OILWELL_HASH
-- if scirpt detect this keywords inside string it will replace them.
name = 'Oil DB_ID_RAW'
}
},
capacity = {
oilbarell = {
size = 5000, -- gal
cost = 500
},
truck = {
size = 5000, -- gal placeholder
cost = 25000
}
}
}
Oilwell_config.locations = {
storage = {
position = vector4(1710.67, -1662.0, 110.8, 325.22),
rotation = vector3(0.0, 0.0, 0.0),
model = 'prop_storagetank_06',
blip = {
sprite = 478,
colour = 5,
range = 'short',
name = 'Oil TYPE'
}
},
distillation = {
position = vector4(1674, -1650.5, 110.2, 10),
rotation = vector3(0.0, 0.0, 10.0),
model = 'prop_gas_tank_01a',
blip = {
sprite = 467,
colour = 5,
range = 'short',
name = 'Oil TYPE'
}
},
blender = {
position = vector4(1737.56, -1635.58, 110.88, 190),
rotation = vector3(0.0, 0.0, 190.0),
model = 'prop_storagetank_01',
blip = {
sprite = 365,
colour = 5,
range = 'short',
name = 'Oil TYPE'
}
},
barrel_withdraw = {
position = vector4(1712.23, -1622.53, 111.48, 214.88),
rotation = vector3(0.0, 0.0, 0.0),
model = 'imp_prop_groupbarrel_03',
blip = {
sprite = 549,
colour = 5,
range = 'short',
name = 'Oil TYPE'
}
},
-- placeholder
-- oil_wellhead = {
-- position = vector4(1480.9, -1850.85, 70.1, 246.85),
-- rotation = vector3(0.0, 0.0, 0.0),
-- model = 'prop_oil_wellhead_01',
-- },
toggle_job = {
position = vector4(1703.5, -1635, 111.49, 100.11),
rotation = vector3(0.0, 0.0, 100.0),
model = 'xm_base_cia_server_02',
blip = {
sprite = 306,
colour = 5,
range = 'short',
name = 'Oil TYPE'
}
},
crude_oil_transport = {
position = vector4(1220.0, -2986.0, 4.7, 180),
rotation = vector3(0.0, 0.0, 180.0),
model = 'prop_oil_wellhead_04',
blip = {
sprite = 306,
colour = 5,
range = 'short',
name = 'Oil TYPE'
}
}
}
Oilwell_config.Delivery = {
refund = 20000,
TriggerLocation = vector3(1737.45, -1691.28, 112.73),
SpawnLocation = vector4(1741.19, -1694.61, 112.73, 125.57),
DinstanceToTrigger = 5.0,
vehicleModel = 'rallytruck'
}
Oilwell_config.Transport = {
max_stock = 20000, --gal per type
prices = {
crudeOil = 3,
gasoline = 7,
fuel_oil = 3.5
},
barell_refund = 200,
duration = 5 --sec
}
-- Make separate file for locale
Oilwell_config.Locale = {
mail = {
sender = 'Oil Company',
subject = 'Payment Receipt',
message = 'Dear %s %s, <br /><br />This email is a copy of Payment Receipt.<br />Your payment was: <strong>%.2f$</strong><br />Sold amount : <strong> %d (gal)</strong><br />Barrel refund : <strong> %d$</strong>'
},
info = {
mr = 'Mr.',
mrs = 'Mrs.',
}
}
Oilwell_config.TruckWithdraw = {
npc = {
model = 'S_M_Y_Construct_02',
variant = {},
coords = vector4(1737.49, -1691.76, 111.73, 116.07),
scenario = 'WORLD_HUMAN_CLIPBOARD',
flag = 1,
freeze = true,
invincible = true,
blockevents = true,
},
box = {
minz_offset = -1,
maxz_offset = 1.75,
w = 1.5,
l = 2.35,
heading = 160.0
}
}
-- prop_barrel_exp_01a.yft ron
-- prop_barrel_exp_01b.yft glob oil
-- prop_oil_wellhead_01
-- prop_oilcan_02a
-- vector3(998.08, -1859.08, 30.89)