Skip to content

Commit

Permalink
Allow remote driving of cars
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Oct 20, 2024
1 parent ac5425c commit 5bd6741
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions data-final-fixes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,12 @@ for _, category in pairs(data.raw) do
end
end

for _, vehicle_prototype in pairs{"car", "locomotive", "spider-vehicle"} do
for _, vehicle in pairs(data.raw[vehicle_prototype]) do
vehicle.allow_remote_driving = true
end
end

-- add circuit connections to machines
for _, crafting_machine_prototype in pairs{"assembling-machine", "rocket-silo", "furnace"} do
for _, crafting_machine in pairs(data.raw[crafting_machine_prototype]) do
Expand Down

0 comments on commit 5bd6741

Please sign in to comment.