Construction Probe

by Eketek

Scan new constructions within and around a logistics network to assist in automated delivery of construction materials. Proficiency in the use of combinators for mixed shipments is recommended. Or a good set of blueprints.

Content
8 days ago
1.1 - 2.0
285
Logistics Logistic network Circuit network Blueprints

Changelog

Version: 2.2.1
Date: 26 Nov 2025
  Changes:
    - Change the migration scripts to prevent an unchecked object access.
      (NOTE:  This is a blind change, as I do not have an old save immediately on hand to test
              migrations with.  The change was considered back with the 2.0.0 update, but omitted
              on a presumption that some sort of compatibility would have been left in place for 
              handling old migrations.)
Version: 2.2.0
Date: 25 Nov 2025
  Changes:
    - Support for construction probes on space platforms.
      Behavior differs slightly for space platforms 
        (no position or lgoisitic network checks - any probes on a platform signal)
Version: 2.1.1
Date: 22 Nov 2025
  Changes:
    - Fix crash from broken debug code
Version: 2.1.0
Date: 18 Nov 2025
  Changes:
    - Changed direct build logic to allow partial accounting of super force building
        This scans and compares entities in the local area during both the on_pre_build and 
        on_entity_built events, then runs the entity probe logic for anything else that was built.
        For now, this only applies to individual machines (not blueprints or rail planner).
Version: 2.0.3
Date: 17 Nov 2025
  Changes:
    - Add null checks for event properties which are used, but not always specified.
Version: 2.0.2
Date: 17 Nov 2025
  Changes:
    - Fix crash in upgrade tracking (extraneous code)
Version: 2.0.1
Date: 17 Nov 2025
  Changes:
    - Fix crash when using ghost item in construction probe gui.
    - Fix construction probe gui tooltip typo.
Version: 2.0.0
Date: 15 Nov 2025
  Changes:
    - Update for factorio 2.0
      (changes to factorio API, quality)
    - Change tech prerequisite:  advanced electronics -> logistic science pack 
        (fix absurd tech gating in certain overhaul mods ... maybe)
    - Track cliff deconstruction and signals for cliff explosives
    - Track player use of capsule-type items and send signals for those.  
        (mainly intended for cliff explosives)
    - New Graphics
Version: 1.4.0
Date: 6 Feb 2023
  Changes:
    - Support for contruction probe relocation by Picker Dollies.  
    - Added a migration to identifiy and correct internal inconsistancies caused by unexpected 
      relocation of probe entities from earlier versions of this mod.
    - Removed a sanity check from the probe finder (preference is to actually get error messages 
      instead of ignoring internal inconsistancies).
    - Slgihtly de-abstracted the probe finder.
Version: 1.3.0
Date: 6 Feb 2023
  Changes:
    - Revert to 1.0.6 handling, though with proper handling for tiles.
      All attempts to comprehend blueprints during build events has been removed, along with 
      supporting hacks.  Construction probes now operates exclusively by actual entity placement.  
      Partly this is due to a failure to properly get just the ghost-built tile entities (as 
      evidenced by repeatedly making changes then having to undo them), and partly it was due to
      another oberservation that belt & rail counts where being doubled when building with 
      blueprints (forced by a need to obtain them specifically for accounting for smart-dragging 
      and the rail-planner).
Version: 1.2.4
Date: 6 Feb 2023
  Fixes:
    - Added a separate event handler for recognizing ghost-built tiles.  (In other news, I found 
      out what the seemingly arbitrary "offending" bit of code that from 1.2.0 was for...)
Version: 1.2.3
Date: 6 Feb 2023
  Fixes:
    - Remove duplicated result when ghost-building entities.  The offending bit of code was added
      in 1.2.0 and appears to have been an arbitrary change (*probably* was added as an experiment 
      while looking for a way to obtain tile counts [and wanting to do less reloading], then 
      forgotten about after tile counts were obtained from elsewhere)
Version: 1.2.2
Date: 24 Jan 2023
  Fixes:
    - Add missing validity check when scanning blueprints for tiles.
  Changes:
    - Moved the initial build event check (fix from 1.2.1) to avoid possibly triggering tile 
      filtering on the first build event.
      (This change is for consistancy and not for any known or plausible fault)
Version: 1.2.1
Date: 20 Jan 2023
  Fixes:
    - Fixed faulty duplicate construction event detection.  
      The fault occurrs if the first accepted construction event for a Player within a session is 
      marked as "created_by_moving" and there is no preceding build position to compare with
Version: 1.2.0
Date: 16 Jan 2023
  Changes:
    - Construction of tiles is now recognized (brick path, concrete, etc)
    - Reduce excessive tile signals generated by blueprint usage while moving or with click & drag
      UI interaction.  
    - Removed the "Read construction costs directly from blueprints" setting.  
      It is now the only supported behavior.
Version: 1.1.3
Date: 16 Jan 2023
  Fixes:
    - Add a probe search if there is no cached information available during on_pre_build
    - Revise the default construction event handler to capture construction triggered by the
      rail-planner (this is either a bugfix or an upgrade depending on which perspective is taken)
Version: 1.1.2
Date: 16 Jan 2023
  Fixes:
    - Add check to a faulty migration
Version: 1.1.1
Date: 6 Jan 2023
  Fixes:
    - Fixed fault during initialization.  
      (entity destruction event handler was activating prior to the initializer function)
    - Fixed fault when "building" something that has no build cost.  
      (was triggered by building a "Creative Mod" special entity)
Version: 1.1.0
  Changes:
    - Add a manually operated blueprint interface accessible by clicking construction probes.
      The manual interface may be used to "pre-order" construction materials by pulsing the
      construction cost of the blueprint you are holding or a configurable amount for held items
      or ghost items.
    - Re-enabled computation of construction signals by reading blueprints (pre-1.0.6 behavior)
      It is now a global configurable option (enabled by default)
      (The on_built_entity construction monitor does not catch tiles, and there does not appear to
      be an event that specifically identifies ghost tiles)
Version: 1.0.8
  Changes:
    - Use the cursor position as the construction site instead of per-entity position when using
      blueprints and copy & paste.  
      (the switch to per-entity in 1.0.6 was unintentional)
Version: 1.0.7
  Changes:
    - Receive construction update from the script_raised_built event
      (signals for construction indicated by other mods - notably Choumiko's "ModuleInserter")
Version: 1.0.6
  Changes:
    - use on_built_entity instead of on_pre_build
      (Mainly this is intended to account for underground belts when smart dragging, but this also 
      improves accuracy and simplifies some code)
Version: 1.0.5
  Changes:
    - Ignore items with a "hidden" flag set on the item prototype (to prevent the probes from
      emitting signals for various automatically placed script entities).
Version: 1.0.4
  Changes:
    - Detect and emit signals for destroyed machines.
    - Detect and emit signals for upgrade planner actions.
    - Added a remote interface to allow other mods to send arbitrary construction signals
Version: 1.0.3
  Changes:
    - Fixed a catastrophic error in reading ghost item from LuaPlayer.cursor_ghost
Version: 1.0.2
  Changes:
    - Make the local network test fail correctly if there are no construction probes in the local 
      network (to allow subsequent tests to run)
    - Account for changes in forces and surfaces.
    - Identify and remove invalid construction probes.
    - Remove image editor native-format files (.xcf files from /graphics)
    - Remove bbcode formatting from readme.txt
    - Deleted commented out test/debug output statements
    - Adjusted the as-yet unseen the 'unrecognized build' failure to hassle USER about it only 
      once, and to subsequently spam only the log.
Version: 1.0.1
  Changes:
    - Fix a couple mod description texts
Version: 1.0.0
  Info:
    - Initail Release