Item Network SA

by djmalk

This mod adds a network for transporting items and fluids. Now with QUALITY support.

Tweaks
2 months ago
2.0
826
Logistics Fluids Logistic network Storage Cheats

Changelog

Version: 1.0.3
Date: 15. 06. 2025
  Changes:
    - Search bar now uses translated prototype names (sorts by ASCII, not full locale rules).
    - Changed Networks Chest health to 350.
    - Changed Network Tanks health to 500.
    - Added Corpse for Network Tank.
  Bugfixes:
    - Added missing localization keys.
    - Russian translation fixes by Dizabeth.
Version: 1.0.2
Date: 15. 06. 2025
  Changes:
    - Quality System Overhaul.
    - Replaced hardcoded quality lists with dynamic prototype parsing.
    - Quality icons and Tooltip colors are now auto-generated, including modded tiers.
    - Quality Tooltips are fully localized.
    - Improved performance by caching quality data at startup.
    - Sorting now uses translated prototype names (sorts by ASCII, not full locale rules).
    - Added a warning when trying to save a tank configuration with a buffer size larger than the tank's capacity.
    - Added Russian translation (thanks to Dizabeth!).

  Bugfixes:
    - Fixed missing localization in fluid picker tooltips.
    - Fixed zoom-level sprite artifacts on the network tank.
    - Fluid flow sprite now stays fully within tank boundaries.
    - Eliminated visual gap between the tank and connected pipe.
    - Fixed GUI localization issues causing buttons to overflow in some languages.
Version: 1.0.1
Date: 31. 05. 2025
  Bugfixes:
    - Fixed and corrected some localization keys.
    - Fixed blueprint logic.
Version: 1.0.0
Date: 30. 05. 2025
  Changes:
    - Added proper localization key support.
    - Changed the color of the Network Sensor sprite and icon.
    - Minor performance optimization to FIFO queue logic.
    - Added mod setting to split Steam into virtual signals by temperature (165°C, 250°C, 500°C) or use vanilla single-signal behavior.
    - More temperatures can be added in data.lua.
    - Added recipe cost to Network Chest and Network Tank (no more free stuff).

  Bugfixes:
    - Fixed crash when Spidertron, Tank or Network Sensor is warped by Warp Drive Machine Mod.
    - Fixed flow sprite alignment on Network Tank.
Version: 0.9.9
Date: 25. 05. 2025
  Changes:
    - Added "Research Requirement" Mod Setting with 4 options: No Research, Production Science, Space Science, and Promethium Science.
Version: 0.9.8
Date: 22. 05. 2025
  Changes:
    - Added scroll bar to Network Chest GUI when more than 20 quality tiers are available.
Version: 0.9.7
Date: 11. 05. 2025
  Changes:
    - Added Search Bar to Network View GUI.
    - Internal refactor: reorganized some functions and nuked dead files. Everything should work the same.
Version: 0.9.6
Date: 10. 05. 2025
  Changes:
    - Copying between Network Chests and assemblers now includes item quality for recipe inputs and outputs.
    - Rocket Silo ingredient requests can now be copied to Network Chests.
    - Copy-pasting from assembler type machines to Network Tanks now transfers fluid requests.
    - Added a Fluid picker GUI if multiple input fluids are used.
    - Shift-right-click an assembler, then shift-left-click a Network Tank to copy its input fluids.
    - Fluids with multiple temperatures (like Steam) must have the temperature set manually.
Version: 0.9.5
Date: 09. 05. 2025
  Changes:
    - Added a Sort button to the Network View that cycles between sorting by name, count, and quality.
    - Network Chest Quality GUI and Quality sort option only shows when vanilla quality mod is active.
    - Added Support for Quality Plus mod.
    - Removed old Network Loader code and assets — no longer used and fully stripped out.

  Bugfixes:
    - Fixed an issue where too many quality buttons caused GUI overflow; buttons now wrap to new rows automatically.
    - Fixed crashes when new quality mods are added without proper support; missing sprites now fall back to a default icon.
Version: 0.9.4
Date: 07. 05. 2025
  Changes:
    - Added support for mythic and prismatic item qualities.
    - Made adding custom qualities easier.
    - Set the tooltip color in Quality.lua, add the quality to the list in data.lua, and provide the .png icon.
    - Added support for 250°C steam signal.
Version: 0.9.3
Date: 27. 04. 2025
  Bugfixes:
    - Fixed crash when network sensor signals went over the maximum value (2,147,483,647).
    - Signals will now cap at 2,147,483,647 if actual stored amount is higher.
Version: 0.9.2
Date: 25. 04. 2025
  Bugfixes:
    - Network now correctly supplies "modules" and "rails" for blueprints.
    - Network Chest now displays the correct remnant and icon when destroyed.
Version: 0.9.1
Date: 23. 04. 2025
  Bugfixes:
    - Fixed a crash when opening the Shortages tab with fluid shortages.
Version: 0.9.0
Date: 23. 04. 2025
  Changes:
    - Added Item Network logistics support for space platform hubs. Supports "Auto-request missing construction materials" setting.
    - Kept vanilla trash handling — trash items are still delivered with rockets.
    - Changed Network GUI sort order to Name → Quality for more consistent item grouping.

  Bugfixes:
    - Construction Bots now get any quality of "repair-packs" and "cliff-explosives" (first normal → legendary) when supplying deconstruction and repair requests.
    - Place a vanilla yellow logistics "Storage Chest" in your bot network to automatically supply missing items to construction bots.
    - Shortages tab now displays item quality.
Version: 0.8.9
Date: 22. 04. 2025
  Changes:
    - New "All Qualities" toggle in Network Chest GUI: quickly add or edit all item quality tiers at once.
    - Improved readability in the Network Chest GUI with color-coded text and icons for Requests and Provides.
    - Quality badges now show color-coded tooltips.
Version: 0.8.8
Date: 22. 04. 2025
  Bugfixes:
    - Fixed crash when using upgrade planner.
    - Vanilla logistic chests now respect request limits.
Version: 0.8.7
Date: 21. 04. 2025
  Bugfixes:
    - Fixed visual glitches with quality badges in Network Chest GUI.
Version: 0.8.6
Date: 21. 04. 2025
  Changes:
    - Quality support.
    - Player logistics now respect item quality.
    - Vehicle logistics (Spidertron, Tank) now respect item quality.
    - Construction robots now fetch correct quality items for blueprints from network.
    - Prevented items with equipment grids from being deposited into the network manually (avoids losing grid contents).
    - Added log warning if you attempt to logistics trash an item with an equipment grid.
    - Network chests can now request and provide items by quality.
    - Multiple requests per item are now allowed, as long as quality differs.
    - Network Chest GUI updated to include quality selector.
    - Quality badges now display on request rows.
    - Sensors now report quality-specific item counts to the circuit network.
    - Changed Network GUI and Sensors GUI sort order.

  Bugfixes:
    - Fixed spoilable and ammo items being incorrectly blocked from manual deposit.
    - Fixed incorrect visual count when extracting quality items from the network.
Version: 0.8.5
Date: 20. 04. 2025
  Changes:
    - Added Tank as a supported logistics vehicle.
    - Network sensors now support fluids.
    - Steam is tracked per temperature (e.g., steam-165c, steam-500c).
    - Changed sprite for network tanks.
    - Changed sprite for network chests.
    - Disabled the network loader.
Version: 0.8.4
Date: 11. 09. 2023
  Bugfixes:
    - Fixed bug when deconstructing logistic entities.
Version: 0.8.3
Date: 08. 09. 2023
  Bugfixes:
    - Fixed bug where Network Tanks stopped updating.
Version: 0.8.2
Date: 08. 09. 2023
  Bugfixes:
    - Fixed bug where unable to load games due to timer bug.
Version: 0.8.1
Date: 08. 09. 2023
  Features:
    - Added a Network Sensor that outputs the count of items in the network and updates every 2 seconds.
    - Added a "Performance" Tab hidden behind a setting that displays durations for performance-critical parts of the mod. Should help while optimizing the mod.

  Bugfixes:
    - Fixed bug where game would crash when copying to/from a Network Chest to a non-assembler entity like a normal chest.
    - Fixed bug where the setting to disable logistic integrations didn't work for missing items.
Version: 0.8.0
Date: 03. 09. 2023
  Features:
    - Enhanced copy-paste behavior between Network Chests and assemblers. If you copy from a Network Chest and paste on an assembler, it add requests for recipe ingredients for the recipe. If you copy from an assembler and paste on a Network Chest, it will provide recipe products from the chest.
    - Network Chest Loaders now have a list of suggested filters when attached to a Network Chest.

  Changes:
    - Changed network chest copy-past behavior so subsequent copies and pastes to the same Network Chest append items rather than overrite items. This should make it easier to have one chest supply multiple assemblers.
    - All fluids with non-integer temperatures now round up to the nearest temperature when inserted into the network. This makes it possible to request those fluid temps from a Network Tank using the rounded temperature. Please submit a bug if this breaks an existing factory.
Version: 0.7.5
Date: 28. 08. 2023
  Features:
    - Added "No Limit" option when providing items from Network Chests and Tanks.

  Bugfixes:
    - Fixed bug where using ReStack to lower stack size would crash.
    - Fixed bug where unable to set large buffers using UI.
Version: 0.7.4
Date: 20. 08. 2023
  Features:
    - Added setting to change the number of updates per tick.
    - Added ability to deposit and retrieve items in the Network View. Thanks to bengardner for implementing this feature!
Version: 0.7.3
Date: 18. 08. 2023
  Bugfixes:
    - Hopefully fixed bug when viewing shortages tab.
Version: 0.7.2
Date: 15. 08. 2023
  Features:
    - Added support for rails, cliff explosives, stone brick paths, repair packs and modules to be automatically supplied to logistic networks. Thanks to bengardner for implementing this feature!

  Bugfixes:
    - Requests for constructing missing items in the construction zone of roboports and players will now be satisfied. Before, only request for missing items in the logistic zone of roboports were satisfied. Thanks to bengardner for implementing this feature!
    - Fixed the bug where the shortages tab would crash when there are invalid item names.
Version: 0.7.1
Date: 11. 08. 2023
  Bugfixes:
    - Removed flib reference and made the Network View header draggable.
Version: 0.7.0
Date: 11. 08. 2023
  Features:
    - Added a new "Shortages" tab to the Network View that displays item shortages to help find bottlenecks. Big thanks to bengardner for implementing this feature!
    - Added support for supplying Spitertron logistic requests from the Item Network. Big thanks to bengardner for implementing this feature!
    - Added support for automatically transferring items to a logistic network if it is missing items to construct ghosts or upgrades. Big thanks to bengardner for implementing this feature!

  Changes:
    - The Network View now has tabs instead of radio buttons for the each view. Big thanks to bengardner for implementing this feature!
Version: 0.6.0
Date: 08. 08. 2023
  Features:
    - Logistic Requester and Buffer chests now pull items from the Item Network. This can be disabled in settings. Huge thanks to bengardner for the idea and implementation, as well as being the first external contributor to this mod. Thanks!

  Changes:
    - Increased Network Tank health from 10 -> 200.
Version: 0.5.0
Date: 29. 07. 2023
  Features:
    - Network Tanks now support fluids with different temperatures! Make sure that if you provide fluids at non-default temperatures (like steam) you update all requester tanks with the new temperature. You can use the Network View to see which fluids are in your network to help debug.
    - Added tooltips to items and fluids in the Network View.

  Changes:
    - Network Tanks that are configured as Providers now only need "limit" and will try to push any fluids into the network.
    - Network Tanks now require a temperature when pulling fluids out of the network.
Version: 0.4.0
Date: 28. 07. 2023
  Changes:
    - Changed queue update logic to be less random and more consistent. This should help smooth out performance, especially for factories with a ton of Network Chests and Tanks.
Version: 0.3.7
Date: 27. 07. 2023
  Bugfixes:
    - Fixed bug where interacting with the mod before the first game tick would crash. This was easy to reproduce in the "Map Editor" mode.
Version: 0.3.6
Date: 22. 07. 2023
  Bugfixes:
    - Fixed bug where destroying Network Chests and Tanks would delete Buffer contents. Contents are now automatically pushed into the network.
    - Fixed bug where replacing ghosts of destroyed Network Chests and Tanks would not set previous requests.
Version: 0.3.5
Date: 19. 07. 2023
  Bugfixes:
    - Fixed crash when deleting a Network Chest with the UI open.
Version: 0.3.4
Date: 12. 07. 2023
  Changes:
    - Increased loader speed to 360 items/sec. No issues seen in tests on existing factories but log a bug if this causes issues.

  Bugfixes:
    - Fixed bug where on_entity_cloned handler did not register network tanks.
Version: 0.3.3
Date: 05. 07. 2023
  Features:
    - Added ability to copy-paste settings from one Network Tank to another.

  Bugfixes:
    - Fixed bug where swapping between 'Request' and 'Provide' without a limit would crash.
Version: 0.3.2
Date: 04. 07. 2023
  Changes:
    - Swapped "Request" and "Provide" to be consistent with logistics chests.
    - Removed readme pictures to reduce zip size from 14Mb -> 500Kb.
    - Changed to update limit when switching between Request and Provide in Network Chests.

  Bugfixes:
    - Fixed bug where Network Tanks and Loaders could not be placed in space in Space Exploration.
Version: 0.3.1
Date: 02. 07. 2023
  Major Features:
    - Added Network Tanks to transport fuids.

  Features:
    - Added refresh button to network view.

  Bugfixes:
    - Fixed to_be_deconstructed bug where deleting and then canceling deletion would stop updating chest.
Version: 0.2.2
Date: 26. 06. 2023
  Features:
    - Added player setting to disable logistic requests and trash from the network.
    - Added setting to configure default stack size on assembler paste.

  Bugfixes:
    - Fixed on_entity_cloned handler.
Version: 0.2.1
Date: 14. 06. 2023
  Features:
    - Added first version of network view UI to view network contents.

  Bugfixes:
    - Fixed crash when updating blueprints.
    - Fixed potential UI bug on multiplayer.
Version: 0.2.0
Date: 10. 06. 2023
  Features:
    - Added ability to press Enter to submit modals.

  Bugfixes:
    - Fixed multiplayer UI bug by refactoring UI to store player states separately.
    - Fixed bug where pasting a deleted entity would remove requests.
Version: 0.1.0
Date: 06. 06. 2023
  Features:
    - Added support for player logistics.

  Changes:
    - Increased loader speed.

  Bugfixes:
    - Renamed Give -> Request and Take -> Provide.