forked from psznm/DoubleSpeedSpidertron
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata-final-fixes.lua
More file actions
21 lines (18 loc) · 858 Bytes
/
Copy pathdata-final-fixes.lua
File metadata and controls
21 lines (18 loc) · 858 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
local eq1 = data.raw["movement-bonus-equipment"]["DoubleSpeedSpidertron_exoskeleton-equipment"]
local eq2 = data.raw["generator-equipment"]["DoubleSpeedSpidertron_fusion-reactor-equipment"]
if mods["bobvehicleequipment"] then
table.insert(eq1.categories, "vehicle-equipment")
table.insert(eq2.categories, "vehicle-equipment")
end
if mods["vtk-armor-plating"] then
table.insert(eq1.categories, "vtk-armor-plating")
table.insert(eq2.categories, "vtk-armor-plating")
end
if mods["Krastorio2"] then
table.insert(eq1.categories, "universal-equipment")
table.insert(eq1.categories, "vehicle-equipment")
table.insert(eq1.categories, "vehicle-motor")
table.insert(eq2.categories, "universal-equipment")
table.insert(eq2.categories, "vehicle-equipment")
table.insert(eq2.categories, "vehicle-motor")
end