Transport Drones on Asphalt

by drdozer

Minimal mod to enable transport drones to drive on various modded roads.

Content
4 months ago
1.1 - 2.0
3.97K
Transportation

i Bugfix for AsphaltRoadsPatched and This Mod

3 days ago
(updated 3 days ago)

Hello DrDozer, I noticed like another post here that transport drones would not work unless you had a string of connected transport drone tiles in the middle of asphalt roads you create. In your "data-updates.lua" line 34 you had set to "if name:find(arci_prefix, 1, true) == 1 then". I changed it to "if name:find("Arci-asphalt", 1, true) == 1 then" and the asphalt roads behave as intended, allowing drones to path to depots without a string of transport drone roads

edit: ok further playing into my save, changing it to "Arcti-asphalt" did fix them pathing on it, but not sending out new "orders", however I changed it to name:find("Arci-", and it works perfectly now, sending and receiving shipping orders between depots

3 days ago

Hello DrDozer, I noticed like another post here that transport drones would not work unless you had a string of connected transport drone tiles in the middle of asphalt roads you create. In your "data-updates.lua" line 34 you had set to "if name:find(arci_prefix, 1, true) == 1 then". I changed it to "if name:find("Arci-asphalt", 1, true) == 1 then" and the asphalt roads behave as intended, allowing drones to path to depots without a string of transport drone roads

edit: ok further playing into my save, changing it to "Arcti-asphalt" did fix them pathing on it, but not sending out new "orders", however I changed it to name:find("Arci-", and it works perfectly now, sending and receiving shipping orders between depots

edit edit: I'm dumb, I don't code, more info is on the github but I think I got it to work for real for real

New response