Mining Drones

by Klonan
Adds mining drones and mining depots
7 days ago
0.17 - 0.18
21124

Changelog

Version: 0.2.1
Date: 2020-01-19
  Changes:
    - Fixed base game pathfinder crashes due to drone collision mask.
    - Fix error with missing attack proxy prototypes.
    - Fix error with some mods with certain tint definitions.
              

Version: 0.2.0
Date: 2020-01-13
  Changes:
    - Drones will now have a color matching the resource they are mining.
    - Fixed a desync with cyclic references and serpent serialisation.
    - Added a remote interface to get the number of active drones.
    - Tweaked the recipes, mining depot is a bit more expensive, drones are a bit cheaper.
    - Fixed mining things when resource prototypes change to require fluid midway through mining.
              

Version: 0.1.14
Date: 2019-12-28
  Changes:
    - Fixed that script path requests could say "try again later" and I would just not handle it. This should fix more cases of entities being mined out of order.
              

Version: 0.1.13
Date: 2019-12-28
  Changes:
    - Changed the target picking logic to help prevent drones mining things out of order.
    - This is also potentially a fix for some desyncs related to large lists. Serpent serialises them differently depending on length, and this fixes it (hopefully?).
              

Version: 0.1.12
Date: 2019-12-27
  Changes:
    - Changed the logic around when to spawn drones, so now its proportional to how full the depot is. Basically, if it is half full, it will send at most half of its drones.
    - Further attempts to stop dudes getting stuck on things.
              

Version: 0.1.11
Date: 2019-12-25
  Changes:
    - Optimized the resource searching logic, so extreme patches won't take 5 minutes to process.
              

Version: 0.1.10
Date: 2019-12-17
  Changes:
    - Fix not cleaning up proxy chests used for inventory management, leading to performance drops over time.
              

Version: 0.1.9
Date: 2019-12-16
  Changes:
    - Fixed that natural evolution enemies would make the drones drop alien poop.
              

Version: 0.1.8
Date: 2019-12-16
  Changes:
    - Switch to using a corpse for the 'caution plate' sprite.
      This lets the return path target an entity which has some internal engine logic to make the pathing work smoother.
              

Version: 0.1.7
Date: 2019-12-16
  Changes:
    - Drastically reduce cost of mining depot.
    - Rebalance cost of mining drone (More plate, but less gears and sticks), and reduce recipe time.
    - Fixed spazziness of drone mining resource on the deploy pad.
              

Version: 0.1.6
Date: 2019-12-15
  Changes:
    - Fix mining drones removing ghosts on top of the mining targets. (This needs a migration, so lots of drones will stop working briefly.)
              

Version: 0.1.5
Date: 2019-12-15
  Changes:
    - Make the dudes immune to belts. They kept getting stuck, and didn't add anything to the fun.
    - Lowered the mining sound volume a bit.
    - Fixed a startup crash due to some other mod.
              

Version: 0.1.4
Date: 2019-12-14
  Changes:
    - Try to stop drones suiciding so much.
    - And if they do suicide, they won't make an alert...
              

Version: 0.1.3
Date: 2019-12-11
  Changes:
    - Fixed depleting infinite resources.
              

Version: 0.1.2
Date: 2019-12-11
  Changes:
    - Fixed compatibility with Unit Control.
              

Version: 0.1.1
Date: 2019-12-11
  Changes:
    - Fixed compatibility with PyRawOres.
              

Version: 0.1.0
Date: 2019-12-11
  Changes:
    - Initial release.
    - Add mining drones and mining depot.
    - Add mining drone speed and mining drone productivity technologies.