Transport Drones

by Klonan

Adds transport drones and transport depots

26 days ago
0.18 - 1.1
158005

Changelog

Version: 1.0.7
Date: 2022-06-07
  Changes:
    - Fix collision mask issue introduced with version 1.1.60
Version: 1.0.6
Date: 2022-01-16
  Changes:
    - Fix crash when mining somehow invalid supply depot.
    - Fix drones not using the tile speed bonus properly.
    - Added Polish translations, courtesy of  S3BA-pl.
    - Added locale for the mod settings, courtesy of PlexPt.
Version: 1.0.5
Date: 2021-12-23
  Changes:
    - Other tiles can't be built over roads. You have to mine the road first then mine it.
    - Fixes for compatibility with space exploration.
    - Added fast road tile. Faster for walking and for drones!
    - Other mods can add their tile as a road tile by setting `is_road_tile = true` in the item prototype with the place_as_tile for that tile.
Version: 1.0.4
Date: 2021-01-14
  Changes:
    - Fixes for new mining drone version.
Version: 1.0.3
Date: 2021-01-07
  Changes:
    - Another Industrial revolution 2 icon fix (dependency order related).
Version: 1.0.2
Date: 2021-01-06
  Changes:
    - Fix some collision layer things, like not being able to build over rail, landfilling roads, etc.
    - Ghost road tile will try to mark for deconstruction to be placed.
    - Attempt at fixing crash when loading with removed mods.
    - Fix loading with Industrial revolution.
    - Made a bigger request depot buffer, so people playing with stack size mods might end up not losing items.
    - Adjusted depots so you can have max 100 drones in a depot, sorry if that hurts you.
    - Moved the informatron stuff to base game tips and tricks.
    - Fix related to specific circuit request and minimum pickup counts.
Version: 1.0.1
Date: 2020-11-26
  Changes:
    - Fix temperature of fluids (maybe).
Version: 1.0.0
Date: 2020-11-25
  Changes:
    - 1.1 update maybe something else.
Version: 0.7.12
Date: 2020-08-03
  Changes:
    - Fix the thing you know
Version: 0.7.11
Date: 2020-07-30
  Changes:
    - Whoops
Version: 0.7.10
Date: 2020-07-30
  Changes:
    - Fix error on load.
Version: 0.7.9
Date: 2020-07-16
  Changes:
    - Temporary workaround for 0.18.36 changes. Drones sprites won't show cargo now...
Version: 0.7.8
Date: 2020-06-14
  Changes:
    - Added some safety checks to loading config changed events.
Version: 0.7.7
Date: 2020-06-06
  Changes:
    - Added in-game documentation using the 'Informatron' mod.
Version: 0.7.6
Date: 2020-06-04
  Changes:
    - Fix error when trying to read mining depot.
    - Fix error when trying to load after config changed with invalid depots.
    - Buffed the character walking speed of road tiles to 150%.
Version: 0.7.5
Date: 2020-05-26
  Changes:
    - Fix road network logic regarding script raised tiles event.
    - Fixed an issue with supply depots getting stuck not supplying.
Version: 0.7.4
Date: 2020-05-26
  Changes:
    - Fixes for GUI update and raise event things.
Version: 0.7.3
Date: 2020-05-21
  Changes:
    - Fixes for Space exploration.
Version: 0.7.2
Date: 2020-05-21
  Changes:
    - Fix another error with circuit reading fluid depots.
Version: 0.7.1
Date: 2020-05-20
  Changes:
    - Fix error when using a circuit reader with a depot with no contents.
Version: 0.7.0
Date: 2020-05-19
  Changes:
    - Added transport depot writers, transport depot readers, and road network readers.
    - Added technology to unlock the transport depot circuit network stuff.
Version: 0.6.5
Date: 2020-05-12
  Changes:
    - Fix depots not requesting fuel properly.
    - Fix loading when road tile under depots gets changed to another tile somehow.
Version: 0.6.4
Date: 2020-05-12
  Changes:
    - Fix error when mining a depot with fuel on the way.
    - Fixed fluid tanker graphics had an extra bit of the fluid mask showing.
Version: 0.6.3
Date: 2020-05-10
  Changes:
    - Fix rail collision layer things a bit more.
    - Fix compatibility with omni fluid and omni compression.
Version: 0.6.2
Date: 2020-05-10
  Changes:
    - Fix wrong logic deciding when depots should dispatch drones.
Version: 0.6.1
Date: 2020-05-10
  Changes:
    - Fix full ore trucks had no shadow.
    - Fix valid error when mining supply depots and things.
Version: 0.6.0
Date: 2020-05-09
  Changes:
    - New graphics! Special thanks to Bubbles from the Factorio discord.
Version: 0.5.16
Date: 2020-05-05
  Changes:
    - Fixed error when tile under road tile lonely node was nothing.
Version: 0.5.15
Date: 2020-05-03
  Changes:
    - Fixed compatibility with SeaBlock and SpeaceBlock.
Version: 0.5.14
Date: 2020-05-03
  Changes:
    - Changed fluid per drone settings minimum to 0. Setting it to 0 will basically mean you don't need any fuel.
Version: 0.5.13
Date: 2020-05-02
  Changes:
    - Fixed issue with delivering fluids.
    - Fixed localisation of item requests of equipment and other things.
    - Added settings for fluid capacity, fuel type, fuel capacity, fuel consumption, and pollution.
    - Attempt to fix compatibility with Space exploration rails.
    - Buffed fluid depots from 10k storage to 20k storage.
    - Another method of fluid temperature handling.
Version: 0.5.12
Date: 2020-04-25
  Changes:
    - Fix road network loading issue if another mod alters the road tile collision mask.
Version: 0.5.11
Date: 2020-04-24
  Changes:
    - Fix loading issue with road grid mod.
Version: 0.5.10
Date: 2020-04-24
  Changes:
    - Fix locale mixup.
Version: 0.5.9
Date: 2020-04-24
  Changes:
    - Added the 'consider-tile-transitions' mask to the transport drones. This should help them path a bit smoother.
    - Changed how riding drones works. Now its more like riding behind them with a bungee cord.
    - Enabled diagonal neighbors in the road network.
Version: 0.5.8
Date: 2020-04-22
  Changes:
    - Fix error related to not clearing invalid depots from the global lists.
Version: 0.5.7
Date: 2020-04-20
  Changes:
    - Fix error related to buffer depot output fluidbox.
Version: 0.5.6
Date: 2020-04-20
  Changes:
    - Fix error related to remove depots from the wrong networks.
    - Fix extra new networks being created when mining road tiles.
Version: 0.5.5
Date: 2020-04-20
  Changes:
    - Fixed script error related to reading an invalid fluid depot's fluid temperature.
Version: 0.5.4
Date: 2020-04-19
  Changes:
    - Some safety checks for invalid depots when opening the GUI.
    - The GUI will try to determine a nearby network, and will show that if it can.
    - When the GUI is opened, the contents page will be sorted from high to low, it won't be sorted during the refresh/update logic.
Version: 0.5.3
Date: 2020-04-18
  Changes:
    - Properly fix clearing of wrong networks.
Version: 0.5.2
Date: 2020-04-18
  Changes:
    - Fix GUI refresh error when you don't have any of a category of depot.
    - Fix trying to place road over opened gates.
Version: 0.5.1
Date: 2020-04-18
  Changes:
    - Fix GUI size with large display scales.
    - Fix error clearing networks when after merging networks.
Version: 0.5.0
Date: 2020-04-18
  Changes:
    - Added a GUI to see road network status. Contents, depots, etc.
    - Internally refactored how depots are added to road networks.
    - Change how 'riding' drones works, now you are just teleported each tick. This is to prevent issue like construction robots flying off the map.
    - Road network data will now be reset and recalculated each time the config changes.
    - Minimum request count determination is changed slightly. This should help prevent the situation of many drones going to pick up tiny amounts of items.
    - Drones will try to preserve fluid temperature when transporting fluids.
Version: 0.4.1
Date: 2020-04-15
  Changes:
    - Fixed script error when building buffer depots.
Version: 0.4.0
Date: 2020-04-14
  Changes:
    - Rewrote the logic regarding how depots choose where to send drones.
    - Changed update logic so it has a fixed interval, within which all depots will be updated. It defaults to 60 ticks.
    - Added a runtime global mod setting to adjust this interval. Lower values mean more script update time, but the depots are more responsive. Higher values mean reduced UPS usage, at the cost of less responsive depots.
Version: 0.3.12
Date: 2020-04-13
  Changes:
    - Fix error when supply depots are killed.
Version: 0.3.11
Date: 2020-04-13
  Changes:
    - Fix error related to clearing single tile nodes.
Version: 0.3.10
Date: 2020-04-12
  Changes:
    - Drones will now make a little bit of pollution as they drive around.
    - The enter drone hotkey won't activate if it thinks you might be doing something with a nearby vehicle instead.
    - When riding a drone, that drone will have a 50% speed boost.
Version: 0.3.9
Date: 2020-04-12
  Changes:
    - Fixed requesters ordering from buffers with already reserved items.
Version: 0.3.8
Date: 2020-04-12
  Changes:
    - Fixed error when a fuel depot drone was killed.
Version: 0.3.7
Date: 2020-04-11
  Changes:
    - Switched from recursive road network functions to accumulator ones, because someone made a map with a 280,000 tile square and it broke the stack limit.
Version: 0.3.6
Date: 2020-04-11
  Changes:
    - Added a simple heuristic related to item count to the buffer selection function. This should help the situation of requesters always taking from the closest buffer even if it has a very small amount of available items.
Version: 0.3.5
Date: 2020-04-11
  Changes:
    - Fixed error trying to refund bad tile placement with Construction drones built tile event.
Version: 0.3.4
Date: 2020-04-10
  Changes:
    - Somewhat fixed drones getting stuck and suiciding at the entrance to the depots.
    - Fixed script error related to buffer depots with no item set.
Version: 0.3.3
Date: 2020-04-09
  Changes:
    - Fixed buffer depots providing fluids.
    - Readded minimum request amount logic, with some better logic. If the request depot has less that 1 stack of the item, the minimum request will be 1 item. If there is more, the minimum will be 1 stack.
    - Adjusted logic of requesting from buffers. Request depots should tend to request from nearest buffers more reliably.
Version: 0.3.2
Date: 2020-04-09
  Changes:
    - Fixed a script error when removing a depot which was holding a reference to a dead drone.
Version: 0.3.1
Date: 2020-04-08
  Changes:
    - Fix a script error related to dead supply depots.
    - Fixed handling of dying supply depots.
Version: 0.3.0
Date: 2020-04-08
  Changes:
    - Added buffer depot. The buffer depot has priority over normal request depots. Request depots also won't take from supply depots if they have been offered the same items from a buffer depot.
    - Supplying depots (supply, fluid, mining, buffer) will offer to the closest request depots first.
    - Fixed some issue with modded rails and gates not being placeable on roads.
    - Buffed fuel depot capacity to 10k.
    - Removed 'minimum request amount' logic.
Version: 0.2.13
Date: 2020-04-05
  Changes:
    - Fix fuel on the way count not being cleared properly when drones fail their commands.
Version: 0.2.12
Date: 2020-04-05
  Changes:
    - Fixed crash when removing two depots with the exact same node position.
Version: 0.2.11
Date: 2020-04-04
  Changes:
    - Fixed getting free tile products when placing road over minable tiles.
    - Fixed mining depots with blocked placement leaving the caution corpse.
    - Fixed some APM recycling items not showing up.
Version: 0.2.10
Date: 2020-04-02
  Changes:
    - Buff fluid depot capacity from 2k to 10k.
Version: 0.2.9
Date: 2020-04-02
  Changes:
    - Fixed previous fixing leading to infinitely sized requests.
Version: 0.2.8
Date: 2020-04-02
  Changes:
    - Fixed an issue where supply depots would have the wrong count of items to be taken.
Version: 0.2.7
Date: 2020-03-31
  Changes:
    - Another compatibility fix with Alien biomes.
Version: 0.2.6
Date: 2020-03-31
  Changes:
    - Fix some script errors related to depots somehow being in the wrong road networks.
    - Fix compatibility with Alien biomes.
Version: 0.2.5
Date: 2020-03-30
  Changes:
    - Fix fuel request logic when depots have very few drones in them.
Version: 0.2.4
Date: 2020-03-29
  Changes:
    - Fix for Angels methane gas.
Version: 0.2.3
Date: 2020-03-29
  Changes:
    - Fix script error related to removing fluid from a request depot.
Version: 0.2.2
Date: 2020-03-28
  Changes:
    - Added feature to hitchhike on the transport drones. Just press 'enter' (or something else if you rebound the base game hotkey).
Version: 0.2.1
Date: 2020-03-28
  Changes:
    - Fix missing changelog.
Version: 0.2.0
Date: 2020-03-28
  Changes:
    - Added fuel depots. They will deliver fuel to request depots. Request depots now need fuel to function, and transport drones will consume fuel based on how far they travel.
    - Added fluid depots, and fluid requests.
    - Added integration with Mining depots.
    - Added German locale (By LuziferSenpai).
Version: 0.1.6
Date: 2020-03-17
  Changes:
    - Fixed some deadlock stacking item requests not showing.
    - Fixed units being selectable in some circumstances with the unit control mod.
Version: 0.1.5
Date: 2020-03-16
  Changes:
    - Fix error when transport drone was killed by biters.
Version: 0.1.4
Date: 2020-03-16
  Changes:
    - Fix trains being hard to select.
Version: 0.1.3
Date: 2020-03-15
  Changes:
    - Fix compatibility with more weird mods that don't define subgroup on their items.
Version: 0.1.2
Date: 2020-03-15
  Changes:
    - Fix compatibility with some weird mod.
Version: 0.1.1
Date: 2020-03-15
  Changes:
    - Fix compatibility with Cargo Ships mod.
Version: 0.1.0
Date: 2020-03-15
  Changes:
    - Initial release.