Transport Drones

by Klonan

Adds transport drones and transport depots

Content
11 months ago
0.18 - 1.1
77.4K
Logistics

g Did trucks became slower?

4 years ago
(updated 4 years ago)

They're going at 16.2km/h loaded and 21.6km/h empty without upgrades. Am I imagining things or did they become slower recently?

The readme says "Drones start with a speed of 22km/h, and a stack capacity of 1."

https://i.imgur.com/yEWvsqf.png

4 years ago

They get a speed penalty depending on what they are carrying.

4 years ago

function transport_drone:update_speed()
local speed = get_drone_speed(self.entity.force.index)
if self.riding_player then
speed = speed * 1.5
elseif self.fuel_amount then
speed = speed * 0.6
elseif self.held_item then
speed = speed * 0.75
end
self.entity.speed = speed
end

4 years ago

Oh, I see, thank you!

New response