Spidertron Automation

by ILLISIS

Automated Spidertrons; have the ability to move, set logistic requests, construct, deconstruct, repair, upgrade entities/blueprints and destroy enemies of any size, anywhere on the map with items from your logistic network for the ultimate fire and forget automation and megabase quality of life experience with unmatched scaling potential.

Tweaks
a day ago
1.1 - 2.0
35.0K
Logistics Combat Logistic network

Changelog

Version: 2.0.17
Date: 2024-12-29
  Changes:
    - updated localization files for crowdin translations and configured automatic release workflow.
Version: 2.0.16
Date: 2024-12-20
  Changes:
    - [mods] Added remote interface to register custom Constructrons and Service Stations types.
    - Added in game tips-and-tricks help articles to improve the novice user experience.
Version: 2.0.15
Date: 2024-12-14
  Bugfixes:
    - Added validation to logitstic sections to prevent a crash when all sections were removed from a Constructron.
Version: 2.0.14
Date: 2024-11-30
  Changes:
    - Added behavioural support for different landfill types like foundations and ice platforms.
  Bugfixes:
    - Fixed another crash during cargo job prospecting.
    - Fixed an issue that caused Constructrons not to restart a landfill job if there were no items to build available when moving into position.
Version: 2.0.13
Date: 2024-11-22
  Bugfixes:
    - Fixed a crash during logistic job propecting.
    - Fixed a UI issue to smooth out cancelling multiple jobs.
Version: 2.0.12
Date: 2024-11-14
  Bugfixes:
    - Fixed a crash when performing a quality upgrade on an entity with a mismatching item name.
Version: 2.0.11
Date: 2024-11-10
  Changes:
    - Added the ability to select construction robots added by other mods.
  Bugfixes:
    - Fixed entity processsing for upgrade jobs selecting the original item quality rather than the upgrade target quality.
    - Fixed that upgrade jobs would check for the wrong item quality when determining if the job is complete.
Version: 2.0.10
Date: 2024-11-07
  Bugfixes:
    - Fixed an issue that caused Constructrons that were placed by robots to not register.
    - Fixed a crash that could occur when jobs are in progress with item requests from mods that are removed.
    - Fixed a crash when a cargo job did not fit into a single Constructron's inventory.
    - The standard construction-robot is now selected correctly after some niche cases occur.
    - Trash unrequested will now be disabled if enabled.
    - The count on the logistics screen now shows the correct amount of Constructrons requesting items.
    - Correctly sized the item icons in chests etc.
Version: 2.0.9
Date: 2024-11-04
  Bugfixes:
    - Fixed an issue that caused Constructrons to request items with an unknown quality level and therefore the logistic network will never fulfill the request.
    - Fixed an issue that caused the ammunition name not to be updated on jobs in progress.
Version: 2.0.8
Date: 2024-11-04
  Changes:
    - Quality levels are generated dynamically now to add support for mods like infinite quality tiers.
  Bugfixes:
    - Fixed a crash when an item removal plan was in range of a construction job.
    - Fixed a crash when clicking a item in the job details screen.
    - Fixed a crash when there was an pre-existing duplicate request in the logistic section filter.
Version: 2.0.7
Date: 2024-11-01
  Bugfixes:
    - Fixed a crash when clicking the locate button when a worker is not assigned to a job.
Version: 2.0.6
Date: 2024-10-27
  Bugfixes:
    - Fixed a crash in the main UI when collapsing a job section.
  Changes:
    - Added a hidden ability for the user to control the custom pathfinders iteration count for longer custom paths.
Version: 2.0.5
Date: 2024-10-25
  Bugfixes:
    - Fixed an logic loop that caused jobs to move back to the starting state when the ammo was changed during an active job.
    - Fixed an issue that caused the available Constructron count to be out when a worker was invalidated during a job.
Version: 2.0.4
Date: 2024-10-24
  Changes:
    - Reimplemented equipment checks for roboports and power generation.
  Bugfixes:
    - Fixed another crash during a utility / robot collection job when the Constructron had exoskeleton equipment.
    - Fixed a crash when a Constructron attempted to keep robots in the inventory for the next job but had none.
Version: 2.0.3
Date: 2024-10-23
  Changes:
    - Removed remanants of the old /ctron commands. All functionality is now available in the Constructron Control Center.
  Bugfixes:
    - Fixed a crash during a utility / robot collection job.
    - Fixed a crash during deconstruction chunk splitting.
    - Fixed an issue that caused Constructrons to dump their robots into the network when there are still jobs to do.
    - Fixed an issue that caused Constructrons to move to an idle position when there are still jobs to do.
Version: 2.0.2
Date: 2024-10-22
  Bugfixes:
    - Fixed a crash when a belt was upgraded but subsequently deconstructed by force placing.
Version: 2.0.1
Date: 2024-10-21
  Features:
    - Added the ability to copy and paste station requests.
    - Added a camera window to the locate button for a quick view of the job location.
  Changes:
    - Added job colors to the UI for better distinction.
    - Added a job status indicator label to the each job in the UI of what the worker is doing.
    - Removed logistic section rename to stop it from showing in the logistic list. Do not remove the last logistic section from a Constructron.
    - The surface selection dropdowns within the UI now only show surfaces with at least one Constructron and one Service Station.
    - Auxilary UI's such as settings and cargo are now contextual to the surface that is selected within the main UI instead of the player's current surface.
  Bugfixes:
    - Fixed a crash when a cargo job was in progress and the destination station was invalidated.
    - Fixed a crash caused by non-sequential surface indexes, commonly because a surface was deleted.
    - Fixed a crash when roboports were removed and readded to a Constructron during a job.
    - Fixed a crash when processing items-on-ground for deconstruction.
    - Fixed a crash when attempting to clear a logistic request from the job details UI.
    - Fixed a crash when managing logistics requests from the all logistics UI.
Version: 2.0.0
Date: 2024-10-21
  Features:
    - Support for Factorio 2.0 and Space Age DLC.
    - Support for item quality.
  Bugfixes:
    - Fixed an issue that caused Constructrons on a cargo job not to move to another station if they were at the destination station at the start of the job.
Version: 1.1.32
Date: 2024-09-28
  Bugfixes:
    - Fixed more issues where collision masks were being shared with tiles.
Version: 1.1.31
Date: 2024-09-28
  Bugfixes:
    - Fixed an issue where the collision masks were being set on incorrect entities due to them using referenced tables.
Version: 1.1.30
Date: 2024-09-27
  Bugfixes:
    - [SE] Fixed an issue causing entities not being able to be placed where they should be.
Version: 1.1.29
Date: 2024-09-26
  Bugfixes:
    - Fixed an issue where the logistics cleared from the global logistics ui did not clear the button when clicked.
    - Fixed an issue that prevented Cargo jobs from being assigned on other surfaces.
    - [pY] Made further changes to the pathfinder to work better with extremely large buildings.
  Changes:
    - Chunks are now individually assessed against the job delay value rather than the whole surface.
Version: 1.1.28
Date: 2024-09-21
  Bugfixes:
    - [pY] Tweaked the pathfinder to work better with extremely large buildings.
  Changes:
    - The specific station is only displayed on the cargo job screen if opened from a station. An all stations button will appear to display all stations.
Version: 1.1.27
Date: 2024-09-17
  Bugfixes:
    - Fixed an issue that caused the Constructrons not to roam stations when any item could be fulfilled by the network but was already delivered.
    - Fixed a crash when a Constructron decides to roam during a cargo job and the destination station no longer existed.
    - Fixed a crash when a player changes a stations cargo request and the station no longer existed.
Version: 1.1.26
Date: 2024-09-14
  Bugfixes:
    - Fixed a crash for new saves due to a missing varible initialization.
Version: 1.1.25
Date: 2024-09-14
  Changes:
    - [MAJOR] Added Cargo job functionality. Constructrons can now transport items between stations.
    - Added an all logistics screen to manage logistic request of all Constructrons on the surface.
    - Constructrons will now only roam if there is no incoming items from robots.
    - Constructrons will now keep robots in their inventory if there is a queued job.
Version: 1.1.24
Date: 2024-09-02
  Changes:
    - Major code restructure.
    - Settings button "apply to all" now reads as "apply to all surfaces" for clarity reasons.
  Bugfixes:
    - Fixed an issue which caused the available Constructron count to be incorrect when jobs were reassigned.
Version: 1.1.23
Date: 2024-08-13
  Bugfixes:
    - Fixed a minor issue with the robot activity check.
    - Fixed a crash when new surfaces are created and a repair job is started on another surface. Properly this time.
Version: 1.1.22
Date: 2024-08-08
  Bugfixes:
    - Fixed a crash when new surfaces are created and a repair job is started on another surface.
Version: 1.1.21
Date: 2024-08-02
  Bugfixes:
    - Resolved an issue with the previous version migration to fix the repair tool name in some circumstances.
Version: 1.1.20
Date: 2024-08-01
  Changes:
    - Added a shortcut to open the Constructron Control Center in addition to the hotkey combination.
  Bugfixes:
    - Fixed a crash caused by the repair tool name not being set on newly created surfaces.
    - Fixed an issue that caused map view not to work when Space Exploration mod was not enabled.
    - Fixed an issue where what was in the cursor would be deleted when the hotkey was used.
Version: 1.1.19
Date: 2024-07-18
  Bugfixes:
    - Fixed a crash when the UI is opened for the first time on a new game.
Version: 1.1.18
Date: 2024-07-17
  Features:
    - [MAJOR] Constructron Control Center: A graphical user interface to have oversight and control over Constructrons.
      - SHIFT + C + C to activate. (hold shift and double tap C)
    - [MAJOR] Most settings can now be configured per surface.
    - Added the ability to select the repair-tool used by Constructrons to repair.
  Bugfixes:
    - Fixed a mismatch in available Constructron count on circuits when a Constructron was invalidated during a job.
  Changes:
    - Settings have been moved from game mod settings to the GUI.
    - Debug rendering now renders under entities instead of over them.
    - Removed percent health repair setting. Constructrons will simply repair any entity if it gets damaged.
    - [K2] Standardised the equipment grid for Constructrons to match the Spidertron in order to support the K2 spidertron equipment.
Version: 1.1.17
Date: 2024-07-06
  Changes:
    - [SE] Changed rocket-powered-constructron recipe to conume 4 jetpacks instead of 200 cargo-rocket-sections.
Version: 1.1.16
Date: 2024-06-22
  Bugfixes:
    - Fixed an issue that allowed item-request-proxies and tiles to be built with construction jobs disabled.
    - [SE] Fixed a crash when a service station was placed on a space ship and moved to another surface.
Version: 1.1.15
Date: 2024-06-17
  Features:
    - Added support for Pyanodons mods.
  Changes:
    - Removed normal recipe for Constructrons opting for the simple recipe which only requires 1 Spidertron to craft a Constructron.
  Bugfixes:
    - [Nullius] Fixed an issue preventing equipment from being added to Constructron equipment grids.
Version: 1.1.14
Date: 2024-05-28
  Bugfixes:
    - Fixed a crash after a new surface was created and a Constructron and / or station was placed on that surface.
    - Fixed a crash when a surface was deleted and a Constructron and / or station was present on that surface.
  Changes:
    - Radar reveal will now only detect spawners and worms to trigger a destroy job to reduce the amount of jobs triggered.
    - An entity proximity search has been added to radar scanning to discover the full nest size to reduce the amount of jobs triggered.
    - Chunk checks now only detect military targets, which filters out worm splashes, reducing the amount of jobs triggered.
    - Destroy jobs will now progress conditionally on enemies in range rather than potentially terminating early based on arbitrary timing.
    - Repair pack count is now based on robot count times 4 instead of 50 + 2 per entity in the case of destroy jobs.
  Translation:
    - updated russian locale [thanks Eldrinn-Elantey]
Version: 1.1.13
Date: 2024-05-26
  Bugfixes:
    - Fixed an issue with the selection tool not triggering destroy jobs.
    - Fixed a crash when a logistic slot was manually set on a Constructron and the max request was 'infinity'.
    - Fixed an issue where construction jobs were disabled and Constructrons and Stations were not registered.
Version: 1.1.12
Date: 2024-05-25
  Bugfixes:
    - Fixed a crash related to combinators when more than 20 items were requested.
Version: 1.1.11
Date: 2024-05-24
  Features:
    - [MAJOR] Entity selection tool: Bypass job toggle settings by manually selecting which entities you want constructed & deconstructed.
      - SHIFT + C To activate
      - Left click select to build
      - Right click select to deconstruct
      - Shift right click select to destroy
    - [MAJOR] Destroy jobs: Constructrons will seek and destroy biter nests found via radar reveal.
    - [MAJOR] Added the ability to request a default amount of ammo for Constructrons to defend themselves with.
    - [MAJOR] Added circuit output to Stations which output what Constructrons are requesting at that particular Station and general stats.
    - Utility jobs - a new job type that allows for the Constructron to perform a variety of tasks. Represented by the color yellow.
    - Robot collection: Constructrons will now go and collect robots left behind after a job (E.g. after a deconstruction job with full inventory) instead of waiting for them at the station.
    - Constructrons that get dammaged below 60% health will now cancel the job and attempt to retreat to the service station.
  Changes:
    - Corrected setting name enties_per_tick to entities_per_second.
    - Repair jobs now paint the Constructron's purple and black is now used for destroy jobs.
    - Constructron's that cannot find a path now present a red line to the failed destination in debug mode.
    - Changed the amount of repair packs a repair job takes per entity to 1 instead of 3.
    - Added interface for other mods to notify Constructron about new entities. [fgardt]
  Bugfixes:
    - Fixed a crash when the custom pathfinder iterated into ungenerated chunks.
Version: 1.1.10
Date: 2024-05-18
  Features:
    - [MAJOR] Entity selection tool: Bypass job toggle settings by manually selecting which entities you want constructed & deconstructed.
      - SHIFT + C To activate
      - Left click select to build
      - Right click select to deconstruct
  Changes:
    - Added compatibility with Nullius [fgardt]
Version: 1.1.9
Date: 2024-02-26
  Changes:
    - Added confirmation messages to horde mode enable/disable command.
    - Updated /ctron help to include horde mode enable/disable command.
    - Added debug message to inform the user when a Constructron is not considered for a job because robots have not made it back into the inventory.
  Bugfixes:
    - Fixed a crash when commands were ran from the server console.
    - Fixed a crash when jobs were in progress and the last station was removed or has no power.
    - Hopefully fixed the intermittent inventory overload issue once and for all.
Version: 1.1.8
Date: 2024-02-20
  Bugfixes:
    - Fixed an entity validation issue when a station has no power.
Version: 1.1.7
Date: 2024-02-19
  Bugfixes:
    - Fixed Constructrons prematurely walking away before all entities are deconstructed.
    - Fixed request / inventory overload potential in chunk merging process.
Version: 1.1.6
Date: 2024-02-16
  Bugfixes:
    - Fixed a crash when a station has no power.
    - Fixed item request proxies not being found by a reset all command.
    - Fixed entities not being scanned which prevents the subsequent job from being created after a construction chunk was overloaded.
    - Fixed robots not being factored in to the total required slot calculation on the first chunk of a job which could lead to inventory overload.
    - Fixed (or at least significantly improved) construction job slot calculation to prevent inventory / request overload.
  Changes:
    - Added /ctron (enable|disable) horde to enable/disable horde mode via command.
    - Added robot check in the migration script to check that robots are valid.
    - Filtered out fish from the entity processor to stop Constructrons attempting to walk on water. Sorry no fishing zone.
Version: 1.1.5
Date: 2024-01-28
  Changes:
    - Fixed a typo.
Version: 1.1.4
Date: 2024-01-28
  Bugfixes:
    - Fixed entity validiation.
    - Fixed Constructrons gettings stuck trying to navigate to an island during a landfill job.
Version: 1.1.3
Date: 2024-01-25
  Bugfixes:
    - Fixed Constructrons getting stuck deconstructing cliffs with no cliff-explosives in inventory.
Version: 1.1.2
Date: 2024-01-21
  Changes:
    - Fixed an issue that caused the Constructron waypoints to be out of order on landfill jobs.
Version: 1.1.1
Date: 2024-01-19
  Changes:
    - Reimplemented chunk splitting for deconstruction jobs. This will use more Constructrons when a chunk has more than one inventory worth of items to collect.
  Bugfixes:
    - Fixed an issue that caused Constructrons to not use the games pathfinder during landfill jobs.
    - Fixed an issue where Constructrons could not path to or from proximity to water.
    - Fixed an issue where full Constructrons would not return to the station.
    - Fixed a crash when a Constructron did not have any roboports and was being considered for a job.
    - Fixed a crash when the station was assigned to a job, is removed, and no Constructrons were available.
    - Fixed a crash in the custom pathfinder after iterations completed and there was no more task positions left.
Version: 1.1.0
Date: 2024-01-05
  Features:
    - [MAJOR] Implemented a custom pathfinder to augment the games pathfinder for landfill jobs.
  Changes:
    - [MAJOR] Completely overhauled the job operation code.
    - Aligned the Constructron collision mask to the Spidertron which allows Constructrons to path through shallow water.
    - [SE] Added event handler for teleportation of Constructrons and Stations.
    - The reset command no longer triggers jobs for job types that are disabled.
    - It is now possible to clear an individual job types queue and unprocessed entities. see /ctron help
    - The minimum supported Factorio version for this mod is now 1.1.77.
  Bugfixes:
    - Fixed managed surfaces not being repopulated when performing the reset command.
    - Fixed infamous line 285 crash during deconstruction processing of modded entities that did not return a product upon mining the entity.
    - Fixed Constructrons getting stuck while building long trains.
    - Fixed request / inventory overload.
    - Fixed items-on-ground not being actioned upon being marked for deconstruction due to legacy code.
    - Fixed roboport radius not being reset when a reset command was run dueing landfill jobs.
  Other:
    - Removed clear robots setting as this is now done by default.
    - Robot name is validated on mod setting change rather than within a job and will be reset if it is invalid with a message displayed.
Version: 1.0.74
Date: 2023-05-05
  Changes:
    - Modified pathfinder attempt process to attempt more things in one go for a faster outcome.
  Bugfixes:
    - Request overload issue that causes the Constructron to wait for logistics with a full inventory.
Version: 1.0.73
Date: 2023-03-16
  Changes:
    - Added Chinese localisation.
Version: 1.0.72
Date: 2023-03-10
  Changes:
    - Added Russian localisation.
    - Added French localisation.
    - Using the 'reset all' or 'clear all' commands now resets path request queues.
Version: 1.0.71
Date: 2023-03-03
  Bugfixes:
    - Fixed Constructrons not requesting bots when used for the first time on a deconstruction job.
    - Fixed icon sizes on assemblers, chests and belts.
Version: 1.0.70
Date: 2023-02-25
  Changes:
    - [SE] Changed normal recipes to align with the spidertron.
Version: 1.0.69
Date: 2023-02-09
  Features:
    - Horde Mode. Literally thousands of Constructrons can perform jobs by assigning one Constructron per task/chunk. (avoids job proximity merging)
  Changes:
    - New setting: Horde Mode - toggles horde mode.
    - Constructrons no longer step to the station if they are already in range.
    - Added requeue functionality to path finder when it is busy instead of retrying the job action.
  Bugfixes:
    - Fixed a crash when the specified robot name was invalid in the settings.
Version: 1.0.68
Date: 2023-02-05
  Improvements:
    - Constructrons will now move to a new station if their own station they are requesting at is removed.
  Bugfixes:
    - Fixed an issue that caused a memory leak and game crash when a Constructron had a roboport with a construction radius of 0.
    - Fixed a crash when considering roboports to roam to that are out of power.
  Changes:
    - New command: /ctron enable all - enables all job types.
    - New command: /ctron disable all - disables all job types.
Version: 1.0.67
Date: 2023-02-04
  Bugfixes:
    - Fixed a crash when an entity was deconstructructed with an inventory but was not in the trash_items cache.
    - Fixed a crash when the job.request_station was invalidated during logistic roaming.
    - Fixed an issue where Constructrons would get staged and the function would return early instead of moving on to find an available Constructron.
    - Fixed and issue where Constructrons would get staged but the job_processor would not be triggered.
  Changes:
    - Increased maximum entities_per_tick settin value to 100000.
Version: 1.0.66
Date: 2023-02-03
  Bugfixes:
    - Fixed a crash when tiles were deconstructed.
Version: 1.0.65
Date: 2023-02-03
  Features:
    - Smart logistic roaming. Constructrons will now roam to other stations if the current logistic network has nothing to offer and another one does.
  Improvements:
    - Major job efficiency improvements because all entities are placed inside a chunk before it can be released as a job.
    - Optimizations, when different things are idle they are now disabled and awoken when needed.
    - Pathfinder speed & performance attempt was re-introduced when not on a landfill job.
    - Jobs are given to constructrons all at the same time now instead of one per second previously.
    - Constructrons will no longer roam the map just because a chunk will fit into it's inventory.
    - Entity inventories are now taken into account when deconstructing. i.e modules, inputs, outputs and fuel etc. This will cause far more Constructrons to be sent to the job site when there are full chests etc.
  Bugfixes:
    - Deconstruction jobs should always be selected first now.
    - Fixed an issue where if the path finder was busy it would mark the path in the job as active.
    - Fixed an issue where the try_again_attempts in the path finder were reset with each new request.
  Changes:
    - A red rectangle is drawn around the chunks in debug mode where and when entities are being processed.
    - Logistic request slots are now cleared as they are filled making it easier to identify lacking items.
    - Removed missing material alert setting, the alert is only triggered when no stations have anything to offer after 15 seconds.
    - Removed max_jobtime setting as it only effected the old station roaming method.
  Info:
    - The job_start_delay setting is no longer the maximum wait time before jobs get released but rather the minimum.
    - Very large jobs will seem slow to start, this is becuase of the entity processing embargo. The entities_per_tick setting effects this delay significantly.
Version: 1.0.64
Date: 2023-01-23
  Bugfixes:
    - Fixed a crash when Constructrons were recalled via command(s).
    - Fixed an issue where chunks could be overloaded with entities that resulted in a job loop.
  Changes:
    - Added job chunk visuals to debug mode.
    - Large amounts of code restructure.
Version: 1.0.63
Date: 2023-01-21
  Bugfixes:
    - A crash when clearing items from trash took too long.
    - Constructrons movement speed was inhibited while station roaming.
Version: 1.0.62
Date: 2023-01-20
  Bugfixes:
    - Constructrons not operating on any surface other than nauvis.
    - A possible crash during the v1.0.55 migration script when pathfinder global variables weren't initialised yet.
Version: 1.0.61
Date: 2023-01-20
  Bugfixes:
    - A crash if '/ctron reset settings' was used.
    - Empty slots during job creation not being counted correctly.
  Changes:
    - Large amounts of code restructure.
    - Refactor chunk merge function.
    - Refactor request_done condition.
Version: 1.0.60
Date: 2023-01-17
  Bugfixes:
    - A crash when Constructrons had certain roboport equipments equipped.
    - An issue where items were blacklisted when some but not all recipies were hidden.
Version: 1.0.59
Date: 2023-01-15
  Bugfixes:
    - Constructrons powered by solar energy were not being considered for jobs.
    - Migration script issue causing a crash when loading older game saves.
Version: 1.0.58
Date: 2023-01-15
  Bugfixes:
    - Constructrons and Stations not being correctly counted if /ctron clear all command was used.
    - Allowed_items cache was being cleared but not rebuilt if /ctron reset all was used.
  Changes:
    - Removed toggle setting for items-on-ground. (due to entity processing optimizations).
Version: 1.0.57
Date: 2023-01-14
  Bugfixes:
    - [SE] Spidertrons despawn when ordered to place spaceship tiles.
    - Miniloaders not being upgraded.
    - A crash if roboports were removed whilst on a landfill job.
  Improvements:
    - Large amounts of optimization to entity processing.
    - Code/file restructuring for better readability and navigation.
    - Improvements to Debug mode to show more information about what is happening.
  Changes:
    - Added a power source as an equipment requirement instead of just roboports. Which prevents Constructrons walking off while being setup.
    - The "equipment needed" message will be draw on Constructrons even without debug mode enable if equipment requirements are not met.
    - Landfill now cannot be disabled and all settings have been removed (due to entity processing optimizations).
    - Removed action messages in debug mode due to not being specific to a Constructron. Instead, see text drawn on the Constructrons.
Version: 1.0.56
Date: 2023-01-09
  Bugfixes:
    - A crash when other mods called the game pathfinder API.
Version: 1.0.55
Date: 2023-01-09
  Info:
    - 1 Year anniversary update!
  Bugfixes:
    - Pathfinder retries failing which prevented traversal of land 1 tile wide.
    - Containers that were not completely emptied/picked up during deconstruction jobs would not be added as a new job in the chunk checks.
    - Constructrons taking small movement steps in jobs.
    - Entities that could be placed by multiple different items will no longer request all items but only the first.
  Improvements:
    - Pathfinder will now search for the mainland and start building from a fairly close point rather than trying to path through the whole lake.
  Changes:
    - Overhaul of Constructron movement actions/conditions.
    - Renvations to job actions and job conditions code.
    - Deduplicated validation code.
    - Pathfinder was refactored for better readability & less complexity.
    - Pathfinder was overhauled in general.
Version: 1.0.54
Date: 2022-12-29
  Improvements:
    - Constructrons no longer respond to entites within roboport range that robots have already been dispathed to fulfill.
    - Slight optimization to entity processing.
    - Tweaked upgrade jobs to follow standard processing.
  Changes:
    - Entity processing is now every 15 ticks instead of every tick.
Version: 1.0.53
Date: 2022-12-28
  Bugfixes:
    - A crash when /ctron reset settings was used.
    - Some settings were not being reset to defaults when using /ctron reset settings.
    - Fixed pathfinder.initial_bounding_box being inadvertenly changed during path requests.
  Improvements:
    - Added a constant waypoint overshoot and waypoint orbit check when Constructrons are active and are moving faster than intended due to other mods.
    - Tweaked path finder to use very skinny paths.
  Changes:
    - Various internal CI improvements.
    - Various code comments added.
    - Added better formatting in pathfinder code for readability.
    - Added initial go_to_position job to get to the service station before request_items job.
Version: 1.0.52
Date: 2022-12-26
  Bugfixes:
    - An issue where Constructrons would get stuck in perpetual 'moving to position'.
  Improvements:
    - Overshoot prevention. Constructrons will now slow to base speed within 3 map chunks of the destination.
Version: 1.0.51
Date: 2022-12-25
  Bugfixes:
    - A crash on load when jobs were in progress after 1.0.50.
Version: 1.0.50
Date: 2022-12-24
  Changes:
    - [internal] expose job to actions and conditions for later use.
    - Job retry after 3 failures of attempting to move to a position.
Version: 1.0.49
Date: 2022-12-23
  Changes:
    - Defaulted max entities per tick to 1000 instead of 100.
  Bugfixes:
    - Required item count is now correctly factored in when identifying if a Constructron has inventory to build a ghost.
Version: 1.0.48
Date: 2022-12-15
  Bugfixes:
    - Modded roboports being removed.
    - A bug that caused a crash when the Constructron could not reach its destination.
    - A bug that caused a crash when a Constructron was standing in a logistic network but did not have a roboport itself.
Version: 1.0.47
Date: 2022-12-06
  Bugfixes:
    - A bug where which caused jobs not to trigger when clear_robots_when_idle was enabled.
  Other:
    - Added type annotations to functions. [fgardt]
Version: 1.0.46
Date: 2022-12-01
  Changes:
    - Major changes to landfill behaviour that results in a much better experience. Constructrons will now build landfill as they move toward the construction area creating a path.
  Bugfixes:
    - Constructrons and Stations would not be registered when construction jobs were disabled.
Version: 1.0.45
Date: 2022-11-13
  Bugfixes:
    - A bug which caused Constructrons to work on the wrong surface.
Version: 1.0.44
Date: 2022-11-11
  Changes:
    - Made the experience of Constructron staging a bit better when logistic requests were delayed.
    - Code Cleanup.
Version: 1.0.43
Date: 2022-11-10
  Changes:
    - Removed periodic Constructron checks, now available Constructrons will be checked as needed.
Version: 1.0.42
Date: 2022-11-08
  Bugfixes:
    - A crash upgrading miniloaders and other items with mismatching prototype names.
Version: 1.0.41
Date: 2022-11-03
  Changes:
    - Reverted back to pre 1.0.30 method of unused chunk processing for optimization purposes.
    - Cleaned up a lot of unused information in the chunk tables for optimization purposes.
    - Added interval reset to the Constructron checks.
  Bugfixes:
    - Pre v1.0.21 save game migration bug.
Version: 1.0.40
Date: 2022-10-30
  Bugfixes:
    - A bug that caused only the first Constructron to be checked.
Version: 1.0.39
Date: 2022-10-30
  Bugfixes:
    - Constructrons getting stuck on ghosts that cannot be fulfilled due to missing inventory.
  Changes:
    - Disabled the Constructron job grouping. Whilst a cool feature, this change will make it easier to develop and has no negative impacts to how the mod works.
    - Optimized frequent check occuring on all Constructrons. Constructrons will now be checked in a queued format eliminating a cpu spike when hundreds of Constructrons were placed.
Version: 1.0.38
Date: 2022-10-21
  Bugfixes:
    - A crash when train rails were detected in the new build_done check behaviour
Version: 1.0.37
Date: 2022-10-20
  Changes:
    - Additional changes to deconstruct_done behaviour.
    - Added a graceful wrapup of deconstruction jobs when the inventory has no remaining free slots. Instead of the job carrying on like normal, the Constructron will walk back to the station and queue another job.
    - Changed build_done check behaviour. It now checks if there is more to build in the area instead of only basing it off the bot statuses.
    - Changed upgrade_done check behaviour. It now checks if there is more to build in the area instead of only basing it off the bot statuses.
    - Removed overally verbose logging from pathfinder.
    - Added Dynamic Robot Queues to optional mods. This is an excelent companion mod to increase bot throughput without any changes to the game and minimal performance loss. https://mods.factorio.com/mod/dynamic-robot-queues
    - [SE] Added "Cannot be placed on:" description in Constructron tooltip. - Thanks Stringweasel!
Version: 1.0.36
Date: 2022-10-8
  Changes:
    - Changed deconstruction_done check behaviour. It now checks if there is more to deconstruct in the area instead of only basing it off the bot statuses.
    - Jobs will no longer be assigned to Constructrons that are awaiting robots to fly back to them.
Version: 1.0.35
Date: 2022-09-16
  Changes:
    - Added Space Exploration as an optional dependency for Stringweasel.
Version: 1.0.34
Date: 2022-08-27
  Changes:
    - New, hopefully more fitting and unique, mod thumbnail.
    - Added a new setting to control wether a Constructron will clear all bots from it's inventory after a job is done. Bots will get requested at the beginning of a new job with this enabled.
Version: 1.0.33
Date: 2022-08-19
  Changes:
    - Enabled the ability to repair at any percentage for high health buildings that get damaged only slightly.
    - Minor setting rename.
Version: 1.0.32
Date: 2022-07-20
  Bugfixes:
    - Fixed a bug that disabled deconstruction when items-on-ground is disabled.
Version: 1.0.31
Date: 2022-07-9
  Bugfixes:
    - Fixed a crash when recalling Constructrons when no stations are present on the surface.
    - Fixed unwanted behaviour with internal troubleshooting commands.
Version: 1.0.30
Date: 2022-06-4
  Bugfixes:
    - Fixed multiplayer desyncs by disabling the pathfinder cache in path requests.
    - Fixed a job loop in very specific circumstances.
  Improvements:
    - Constructrons will now spread out randomly around a station when there are more than 10 Constructrons on a surface.
Version: 1.0.29
Date: 2022-05-25
  Bugfixes:
    - Fix a bug that caused entities marked for deconstruction to not be actioned after a reset all command.
Version: 1.0.28
Date: 2022-05-23
  Improvements:
    - Added better visualisation to single entity chunk checks for deconstruction & upgrades.
  Bugfixes:
    - Fixed a bug that caused build/deconstruction/upgrade checks to miss entities.
Version: 1.0.27
Date: 2022-05-22
  Bugfixes:
    - Fixed crash with 'lastpos' variable not being set in jobs that existed prior to v1.0.26.
Version: 1.0.26
Date: 2022-05-22
  Improvements:
    - Anti-stuck / waypoint orbiting / pathfinding reattempts added which will find new paths during landfill jobs as they become available.
    - Prioritized deconstruction jobs after reset command is given.
    - Added extra validation to go_to_position action.
  Bugfixes:
    - Fixed an issue that prevented landfill from being enabled through the mod settings menu.
Version: 1.0.25
Date: 2022-05-15
  Bugfixes:
    - Optimized the get_service_stations function when unit_numbers were extremely high to fix very slow responses in the function and even game freezes.
Version: 1.0.24
Date: 2022-05-14
  Bugfixes:
    - Bugfix in deconstruction checks to fix unremoved trees and rocks.
Version: 1.0.23
Date: 2022-05-11
  Bugfixes:
    - Bugfix for Rocket Constructrun not responding to scripting due to entity placement filters.
    - Bugfix for entity counts not subtracting at time of removal which caused a crash when Constructrons performed a check and had no robots in inventory.
Version: 1.0.22
Date: 2022-05-6
  Features:
    - New setting: entities_per_tick - control how many items are processed into jobs per tick. Higher numbers requires more initial compute with large blueprints.
    - Added /ctron stats command for further diagnostics.
    - Added /ctron clear inventory command.
  Improvements:
    - Optimizations to job assignment process with a significant amount of Constructrons.
    - Optimizations through out other parts of job assignment process.
    - Optimizations to on_built event.
    - Optimizations to inventory calculations.
  Bugfixes:
    - Bugfix in /ctron reset all command whilst recalling the Constructrons.
    - Bugfix after surface deletion.
Version: 1.0.21
Date: 2022-05-1
  Features:
    - Added a rocket Constructron for Space Exporation. This must be enabled in the startup settings and is only placable in space zones. WIP.
  Improvements:
    - Commands! enable|disable|reset|clear. Please see the mod portal page for info.
    - Performance improvements in entity processing and Constructron checks.
  Bugfixes:
    - Minor bugfix with unit status not clearing after it was picked up/destroyed.
    - Bugfix for Constructrons requesting more than one path at once.
    - Bugfix for landfill not being constructed after toggling the setting.
    - Bugfix for LTN like entities that cannot be crafted by the player.
Version: 1.0.20
Date: 2022-04-15
  Bugfixes:
    - Changed chunk calculation assumptions back to original value to decrease the chance of missing entities.
    - Bugfix in migration script which only occurred in older saves.
Version: 1.0.19
Date: 2022-04-10
  Improvements:
    - Added a check to detect entities that may have been missed during an upgrade job.
    - Moved missed entity messages to debug instead of game chat.
    - Added a game alert when a Constructrons logistic request is not fulfilled within 30 seconds by default.
    - Added a setting to control after how long the alert is displayed.
    - Items on the ground that get marked for deconstruction will now be actioned.
    - Added a toggle option in startup settings that toggles deconstruction of items on ground.
  Bugfixes:
    - Fixed a bug that caused Rocks and trees to be excluded from deconstruction jobs.
    - Construction robots will now be cleared from inventory if the count exceeds desired_robot_count.
  Known issues:
    - After job time out, Constructrons will attempt to finish the build or deconstruction queue even if the inventory is full.
    - If something happens to the Constructron during an active job it continues as if nothing is wrong. There are checks in place to queue another job however.
Version: 1.0.18
Date: 2022-04-03
  Experimental:
    - Added the ability to construct landfill and landfill like tiles! READ NOTES!
  Improvements:
    - Reregistered and recounted all entities on all surfaces to reduce the chances of crashes occuring from entites previously placed on older versions of the mod.
    - Added force checks to various actions such as construct, deconstruct and upgrade to accomodate AbandonedRuins mod and Auto-Deconstruct mod.
    - Added force to chunk checks so other forces entities will not be considered when a ghost is placed from another force.
    - Expanded minimum chunk check range so item-request-proxies / missing modules would be found in single entity construction if they got missed somehow.
  Bugfixes:
    - Various crashes due to lack of entity validation.
  Info:
    - Landfill can be enabled or disabled through the mod settings menu.
    - Landfill functionality is highly experimental and does not represent the finished product.
    - Landfill is best constructed in small jobs close to the shore. It is highly recommended to have atleast a few Constructrons placed.
    - Constructrons will obviously not be able to reach entities/tiles in the middle of a lake and will cause Construnctrons to become stuck if this is done.
    - Constructing landfill will likely cause inefficient behaviour of Constructrons until the job is complete.
  Known issues:
    - After job time out, Constructrons will attempt to finish the build or deconstruction queue even if the inventory is full.
    - If something happens to the Constructron during an active job it continues as if nothing is wrong. There are checks in place to queue another job however.
Version: 1.0.17
Date: 2022-03-26
  Bugfixes:
    - Fixed job assignment function exit when previous surfaces had no available Constructrons.
  Known issues:
    - After job time out, Constructrons will attempt to finish the build or deconstruction queue even if the inventory is full.
    - If something happens to the Constructron during an active job it continues as if nothing is wrong. There are checks in place to queue another job however.
    - The Landfill-like tiles are not constructed as this requires changes to the pathing calculation.
Version: 1.0.16
Date: 2022-03-25
  Bugfixes:
    - Fixed queue backlogs that were created if a player performed an action on a lot of entities and then undone the changes
  Known issues:
    - After job time out, Constructrons will attempt to finish the build or deconstruction queue even if the inventory is full.
    - If something happens to the Constructron during an active job it continues as if nothing is wrong. There are checks in place to queue another job however.
    - The Landfill-like tiles are not constructed as this requires changes to the pathing calculation.
Version: 1.0.15
Date: 2022-03-21
  Bugfixes:
    - Added validation to pathfinder to prevent a crash.
    - Bug fixes in chunk check processes.
  Known issues:
    - After job time out, Constructrons will attempt to finish the build or deconstruction queue even if the inventory is full.
    - If something happens to the Constructron during an active job it continues as if nothing is wrong. There are checks in place to queue another job however.
    - The Landfill-like tiles are not constructed as this requires changes to the pathing calculation.
Version: 1.0.14
Date: 2022-03-21
  Improvements:
    - Constructrons can now repair entities! This is OFF by default - toggle this in the mod settings.
    - v3 pathfinder has been introduced for better path finding!
    - A mod settings to control how low an entity can get before a repair job is triggered has been added.
    - Startup mod settings have been added which gives the ability to toggle construct, rebuild, deconstruct, upgrade and repair jobs.
    - Debug text no longer has a random offset.
  Bugfixes:
    - Map mod settings now update in game.
  Info:
    - The Constructron colour whilst performing a repair job is charcoal.
    - Any pre-existing damage on entities will not be repaired. The repair jobs are triggered by on_entity_damaged.
    - Constructrons that are already on the way to repair an entity that dies will still proceed as the job is already in progress.
    - Constructrons that are already on the way to repair an entity that gets repaired by a local robot will still proceed as the job is already in progress.
    - If you find there are too many repair jobs that are fulfilled by robots the advice is to lower the repair % or toggle the repair jobs to OFF.
  Known issues:
    - After job time out, Constructrons will attempt to finish the build or deconstruction queue even if the inventory is full.
    - If something happens to the Constructron during an active job it continues as if nothing is wrong. There are checks in place to queue another job however.
    - The Landfill-like tiles are not constructed as this requires changes to the pathing calculation.
Version: 1.0.13
Date: 2022-03-11
  Improvements:
    - Countless amounts of code cleanup and refactoring all thanks to Karoschl!
    - Constructron waypoint circling should be detected and reset.
  Info:
    - Krastorio2 Tesla coils should now target Constructrons
  Known issues:
    - After job time out, Constructrons will attempt to finish the build or deconstruction queue even if the inventory is full.
    - If something happens to the Constructron during an active job it continues as if nothing is wrong. There are checks in place to queue another job however.
    - The Landfill-like tiles are not constructed as this requires changes to the pathing calculation.
Version: 1.0.12
Date: 2022-03-11
  Improvements:
    - Compatibility with Packing Tape
  Known issues:
    - After job time out, Constructrons will attempt to finish the build or deconstruction queue even if the inventory is full.
    - If something happens to the Constructron during an active job it continues as if nothing is wrong. There are checks in place to queue another job however.
    - The Landfill-like tiles are not constructed as this requires changes to the pathing calculation.
Version: 1.0.11
Date: 2022-03-09
  Improvements:
    - Constructrons are now painted grey(idle) when placed or cloned to another surface.
  Bugfixes:
    - Resolved a crash in Constructron staging when no stations were placed.
    - Resolved a crash in go_to_position retry when a companion was no longer valid.
    - Fixed companion Constructrons not resetting thier status after the leader became invalid.
  Known issues:
    - After job time out, Constructrons will attempt to finish the build or deconstruction queue even if the inventory is full.
    - If something happens to the Constructron during an active job it continues as if nothing is wrong. There are checks in place to queue another job however.
    - The Landfill-like tiles are not constructed as this requires changes to the pathing calculation.
Version: 1.0.10
Date: 2022-03-08
  Improvements:
    - Chunk checks now finds item-request-proxy / unfulfilled modules and will queue another job.
  Bugfixes:
    - Resolved a crash when a Constructron companion was no longer valid.
    - Resolved 'calculate_required_inventory_slot_count' crash.
  Known issues:
    - After job time out, Constructrons will attempt to finish the build or deconstruction queue even if the inventory is full.
    - If something happens to the Constructron during an active job it continues as if nothing is wrong. There are checks in place to queue another job however.
    - The Landfill-like tiles are not constructed as this requires changes to the pathing calculation.
Version: 1.0.9
Date: 2022-03-05
  Improvements:
    - The mod will now detect unbuilt ghost tiles after a build job.
    - Constructron pathing now takes into account the smallest gaps(1 tile) between water to path through.
    - Garbage collection on path requests that fail to navigate to destination.
  Bugfixes:
    - Resolved a crash in 1.0.7 migrations with invalid entities.
  Known issues:
    - After job time out, Constructrons will attempt to finish the build or deconstruction queue even if the inventory is full.
    - If something happens to the Constructron during an active job it continues as if nothing is wrong. There are checks in place to queue another job however.
    - The Landfill-like tiles are not constructed as this requires changes to the pathing calculation.
Version: 1.0.8
Date: 2022-02-26
  Improvements:
    - Surface support! using this mod with Space Exploration is now possible.
    - Visual debuging! Massive improvements to the debug view so it is alot more obvious to see what a Constructron is doing.
    - Constructrons will now request/refill robots based on two new mod settings, robot_name and robot_count.
    - Service Stations now have a new look.
    - Construction and Deconstruction jobs will now be fulfilled by another Constructron after the original stops existing.
    - Deconstruction jobs now have better logic to detect when a Constructrons inventory is full. The process is much faster but still needs work.
    - Added Fuzzy pathing logic to assist when entities are placed in tight places or when using mods like MazeRibbon018.
    - Constructrons will now retry move actions after a few seconds instead of max_jobtime.
    - Constructrons and Service Stations are now registered entities so their removal will be captured regardless of how they are removed.
  Bugfixes:
    - Resolved the 'next_station' crash when only one Service Station was placed.
    - Resolved an issue with unconstructucted rails being detected by the post job check.
  Info:
    - Space-exploration platform tiles are not constructed at this time for the same reason as landfill.
    - Constructrons do not travel between space-exploration surfaces themselves.
    - A discord has been created for discussions, ideas, bugs etc. https://discord.gg/m9TDSsH3u2
  Known issues:
    - After job time out, Constructrons will attempt to finish the build or deconstruction queue even if the inventory is full.
    - If something happens to the Constructron during an active job it continues as if nothing is wrong. There are checks in place to queue another job however.
    - The Landfill-like tiles are not constructed as this requires changes to the pathing calculation.
Version: 1.0.7
Date: 2022-02-09
  Improvements:
    - Added the ability to construct tiles! Landfill (and others like Landfill) is unfortunately still not possible at this stage. Landfill is specifically ignored.
    - Significantly more validation is performed at all job stages to prevent crashes.
    - Added event listening for when mods add modules to an entity (i.e Module Inerter) so Constructrons will now build modules even if a ghost is not created.
    - Constructrons will now move to other service stations in hope of fulfilling their logistic request at the new station after max_jobtime is reached. More logic to be added to make this smarter later.
    - Added Krastorio 2 support with equipment grids in Constructrons.
  Bugfixes:
    - Clean up service stations and constructrons that are destroyed which will prevent crashes at various stages.
    - Clean up service stations that are removed by bots which will prevent crashes at various stages.
    - Constructrons will now retry to move into position after overshooting its destination due to moving too fast after max_jobtime is reached.
    - Constructrons will now retry to move into position after max_jobtime if a player interferes with the Contructron either by driving the Constructron or using a connected Spidertron Remote to it.
  Known issues:
    - After job time out, Constructrons will attempt to finish the build or deconstruction queue even if the inventory is full.
    - If something happens to the Constructron during an active job it continues as if nothing is wrong. There are checks in place to queue another job however.
    - The Landfill tile is not constructed as this requires changes to the pathing calculation.
Version: 1.0.6
Date: 2022-01-30
  Improvements:
    - Deconstruction jobs now adhere to the same 5 second(default) delay to allow for robots to deconstruct the entities.
    - Upgrade jobs now adhere to the same 5 second(default) delay to allow for robots to upgrade the entities.
    - Job start delay is now configurable. Allow more or less time for robots to finish building before a job is queued.
    - Ghosts created by other mods (such as Recursive Blueprints) will now be built.
    - Entities created by other mods that are not buildable by the player, like those found in Logistic Train Network(LTN) will now be skipped from logistic requests.
Version: 1.0.5
Date: 2022-01-25
  Improvements:
    - Contructrons will now rebuild entities that die. I.e are destroyed by biters or players.
    - Constructrons will now go back for items missed during a deconstruction job.
    - Alternate recipes. An easy mode and normal mode. Toggle this from the game menu > settings > mod settings > startup.
Version: 1.0.4
Date: 2022-01-13
  Bugfixes:
    - Linear constructron job assignment.
  Improvements:
    - Contructrons no longer will start a job without a roboport and at least one bot allowing time to place and fit equipment.
Version: 1.0.3
Date: 2022-01-12
  Bugfixes:
    - Crash on Constructron placement.
  Improvements:
    - Major performance improvements to ghost and deconstruction entity processing.
    - Ability to set maximum amount of time a job can take before timing out and returning home in the mod settings. Default is 2 minutes.
    - Code refactoring.
  Known issues:
    - After job time out, Constructrons will attempt to finish the build or deconstruction queue when the inventory is full.
    - Missed ghosts and deconstructions will no longer be considered by Contructrons until the entity is deconstructed again.
Version: 1.0.2
Date: 2022-01-10
  Bugfixes:
    - Mining a Constructron gives the player a Spidertron instead.
    - Partially fixed deconstruction process when Constructron inventory fills. Constructrons will not get stuck any more eliminating manual intervention.
  Known issues:
    - Constructrons will attempt to finish the deconstruction queue when the inventory is full.
    - Missed deconstructions will no longer be considered by Contructrons until the entity is deconstructed again.
    - Placing Constructrons whilst there are active jobs may cause a crash.
  Other:
    - Inception of debug mode.
Version: 1.0.1
Date: 2022-01-09
  Bugfixes:
    - Crash on mining a Constructron whilst there are active jobs.