Transport Drones

by Klonan

Adds transport drones and transport depots

Content
3 months ago
0.18 - 1.1
71.1K
Logistics

g Adding asphalt from 'Asphalt Roads' as road surface

1 year, 9 months ago

I am trying to add asphalt from https://mods.factorio.com/mod/AsphaltPaving as a road surface.

I am currently using the following code:
data.raw.item["Arci-asphalt"].is_road_tile = true

to add to this from Asphalt Roads:
data:extend(
{
{
type = "item",
name = "Arci-asphalt",
icon = "AsphaltPaving/graphics/icons/hr/asphalt.png",
icon_size = 64,
flags = {},
subgroup = "Arci-asphalt-1",
order = "a",
stack_size = config.asphalt_stack_size,
place_as_tile =
{
result = "Arci-asphalt",
condition_size = 1,
condition = { "water-tile" }
}
}
}
)

Is this the correct implementation?

1 year, 9 months ago

I found where I went wrong. The code works, I just had to move it from data-final-fixes.lua to data.lua

1 year, 9 months ago

I just made a mod for this. It handles all of the Arci road tiles. Please let me know if it works for you, and I would be happy to see it absorbed into either Transport Drones or Asphalt Roads.

https://mods.factorio.com/mod/Transport-Drones-On-Asphalt

New response