Transport Drones


Adds transport drones and transport depots

Content
2 months ago
2.0
2.90K

g Error

a day ago

Error while running event Transport_Drones_Meglinge_Fork::on_entity_died (ID 4)
LuaForce doesn't contain key kill_count_statistics.
stack traceback:
[C]: in function 'index'
...nsport_Drones_Meglinge_Fork
/script/transport_drone.lua:743: in function 'handler'
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>

a day ago

Replace the problematic lines with this:
entity.force.get_kill_count_statistics(entity.surface).on_flow("transport-drone-1", 1)
event.force.get_kill_count_statistics(entity.surface).on_flow("transport-drone-1", -1)

10 hours ago

Hello thanks for helping us Hromon, i would need a little more help please what problematic line i tried to search on transport_drone.lua but found nothing corresponding to "on_entity_died" or "entity.force.get"

Thanks

10 hours ago

Okay i found some in script folder then transport_drone.lua i'm putting the line you said instead of the one written there, thanks i hope it works!

New response