Logistic Nexus


A compact logistics-aware mall that detects shortages, requests materials, crafts intermediate components internally, and supplies finished products to the logistic network.

Utilities
13 days ago
2.0
136
Logistic network Circuit network Manufacturing

Changelog

Version: 1.2.3
Date: 2026-07-29
  Bugfixes:
    - Fixed personal logistic requests over-counting for characters: equipped guns, ammunition, and armor are now counted as items already owned. Previously only the main inventory was checked, so the mall would over-request ammo, guns, and armor the player already had equipped.
    - Optimized delivery counting: bulk-read targeted deliveries once per requester point instead of re-iterating per item. Reduces redundant work in construction shortage collection and workshop delivery progress checks.

Version: 1.2.2
Date: 2026-07-29
  Bugfixes:
    - Fixed chronic workshop stalling: the flat 40-second stall timeout no longer false-triggers on slow recipes (e.g. Bob's Mods alloys with energy > 40s). The stall check now skips when crafting_progress > 0, only firing when the workshop is genuinely stuck with zero progress.
    - Fixed wrong-item blocking on stall: when a stall is detected, the blocked item is now the current step's intermediate ingredient (e.g. "cobalt-steel-plate"), not the top-level target (e.g. "red-circuit"). This prevents the brain from blocking the wrong item and creating an infinite retry loop.
    - Fixed GUI not openable: clicking a workshop now opens the Logistic Nexus status GUI instead of unconditionally suppressing it. Previously player.opened was set to nil, killing the native GUI before it could render.
    - Fixed circuit exclusion not blocking intermediate ingredients: items excluded via circuit combinator signals are now blocked everywhere in the crafting plan, not just as top-level shortage candidates. The exclusion set is threaded through the planner so intermediates like "cobalt-steel-plate" are never crafted internally when blocked.
    - Removed redundant inventory flush logic in abandon_waiting_assignment (now handled by reset_workshop_assignment since v1.2.1).
  Features:
    - Implemented the 'logistic-nexus-excluded-categories' startup setting: players can now block entire item subgroups by listing comma-separated subgroup names. Factorio 2.0 circuit networks cannot carry item-subgroup signals, so this setting is the mechanism for subgroup-level blocking.

Version: 1.2.1
Date: 2026-07-29
  Bugfixes:
    - Fixed workshops permanently stalling after assignment reset: reset_workshop_assignment now collects items from the output inventory, flushes the internal inventory to the provider, and clears the recipe. Previously the workshop kept its recipe set after stall detection or draining, allowing it to continue crafting with leftover fractional ingredients (e.g. Bob's Mods alloys) and filling the output inventory with uncollected items that blocked all future jobs.
    - Fixed item loss when mining a workshop: all inventories (output, internal, requester chest, input) are now flushed to the provider before companions are destroyed. Previously mining the workshop destroyed the provider chest, losing all items trapped inside.

Version: 1.2.0
Date: 2026-07-16
  Bugfixes:
    - Fixed permanent crafting stall when supply fluctuates: workshops no longer get stuck in crafting_step forever when ingredients run out mid-craft.
    - Fixed false stall detection on multi-step recipes: the stall timer was accumulating across all crafting steps instead of resetting per-step, causing the final product to be abandoned mid-craft after enough intermediate steps.
    - Fixed items stranded in workshop output inventory: crafted items are now always collected and pushed to the provider chest when an assignment is abandoned or enters draining state.
    - Fixed items stranded in internal_inventory during draining: tick_draining now flushes internal_inventory to the provider, not just the output inventory.
    - Fixed workshop mk2 recipe crash on base-only Factorio 2.0: stack-inserter is a Space Age item, now falls back to bulk-inserter when Space Age is not installed.
  Changes:
    - Added crafting stall detection: if a workshop's step index hasn't advanced for 2400 ticks, the assignment is abandoned so the brain can reassign to a different item.
    - Added blocked-item TTL: when a workshop stalls on an item, the brain skips that item for 3600 ticks before retrying, preventing repeated reassignment to the same stalling recipe.
    - Added optional Space Age dependency in info.json.
    - Added debug logging setting (logistic-nexus-debug-logging) for troubleshooting workshop state machine issues.
  Features:
    - Added real-API integration test suite (FactorioTest) running 23 tests inside a real Factorio instance, including full bot-delivered pipeline tests and multi-step stall regression tests.

Version: 1.1.0
Date: 2026-07-14
  Bugfixes:
    - Fixed internal inventory being lost when abandoning, clearing, or resetting an assignment with an unknown state.
    - Fixed construction reservations not releasing all alternative items_to_place_this entries.
    - Fixed construction scan cache repeatedly restarting on networks with no construction area.
    - Fixed stale upgrade-marked entity references after configuration changes.
    - Fixed mod recipe categories defined in set/map format not being added to workshop crafting categories.
  Changes:
    - Resized mod thumbnail to 144x144 for Factorio mod portal compliance.
    - Added release packaging target to Makefile.
    - Cleaned up pre-release debug files and made Makefile tool paths overridable.

Version: 1.0.0
Date: 2026-07-14
  Features:
    - Official 1.0 release.
    - Added batch-crafting support with configurable max batches per job.
    - Added comprehensive status GUI and console commands.
    - Added circuit-network controls for blocking items and limiting product variety.
    - Added flying-text alerts for blocked crafts.
    - Added Logistic Nexus workshop MK2 upgrade.
    - Added automatic barrelled recipe generation for fluid recipes.

Version: 0.1.8
Date: 2026-07-08
  Changes:
    - Fixed Logistic Nexus recipe refresh after new research unlocks.
    - Improved barrelled recipe enable/disable syncing with source recipes.

Version: 0.1.7
Date: 2026-07-04
  Changes:
    - Added construction support for upgrade planner requests.
    - Improved construction demand scanning and diagnostics.
    - Improved item-return safety to reduce ground spills during rebuilds.
    - Optimized construction scan queue processing and hardened recipe amount handling.

Version: 0.1.6
Date: 2026-06-30
  Changes:
    - Fixed internal replanning so Logistic Nexus uses available logistic-network components before crafting intermediates.
    - Fixed construction scanning crash when tile ghosts are present.

Version: 0.1.5
Date: 2026-06-22
  Changes:
    - Added exact-quality crafting for logistic and construction requests.

Version: 0.1.4
Date: 2026-06-18
  Changes:
    - Rechecks available intermediate components before internal crafting begins.

Version: 0.1.3
Date: 2026-06-18
  Changes:
    - Optimized construction-request scanning to prevent frame-time spikes.

Version: 0.1.2
Date: 2026-06-14
  Changes:
    - Improved fluid recipe handling to use barrels efficiently.

Version: 0.1.1
Date: 2026-06-11
  Changes:
    - Fixed errors and updated Logistic Nexus graphics.

Version: 0.1.0
Date: 2026-06-08
  Features:
    - Initial release.