Platforms do not request full stacks of buildings

by Quezler

Building materials that are over-delivered are returned to the silo and their rocket parts refunded.

Tweaks
24 days ago
2.0
337
Factorio: Space Age Icon Space Age Mod
Logistics Manufacturing Cheats

Changelog

Version: 1.0.12
Date: 2024. 11. 24
  Info:
    - Put debug logging behind a setting
Version: 1.0.11
Date: 2024. 11. 24
  Info:
    - Fix crash when manually delivering (why?) when build requests are off and no sections exist
Version: 1.0.10
Date: 2024. 11. 16
  Info:
    - Fix misplaced variable in assert due to variable naming
Version: 1.0.9
Date: 2024. 11. 16
  Info:
    - Fix assertion failing because 50 rocket parts were consumed instantly
Version: 1.0.8
Date: 2024. 11. 16
  Info:
    - Add missing string.format()
Version: 1.0.7
Date: 2024. 11. 16
  Info:
    - Fix 1.0.6 getting stuck in a loop when constructing with items from other planets
Version: 1.0.6
Date: 2024. 11. 16
  Info:
    - Fix platform getting stuck in a foundation request loop
Version: 1.0.5
Date: 2024. 11. 15
  Info:
    - Require factorio 2.0.16 or above due to entity.get_logistic_sections()
Version: 1.0.4
Date: 2024. 11. 15
  Info:
    - Prevent the empty filter crash
Version: 1.0.3
Date: 2024. 11. 15
  Info:
    - Debug control.lua:70: assertion failed!
Version: 1.0.2
Date: 2024. 11. 15
  Info:
    - Debug attempt to index field 'value' (a nil value)
Version: 1.0.1
Date: 2024. 11. 15
  Info:
    - Fix a load order compatibility issue between two of my mods (you'll need to update them both)
Version: 1.0.0
Date: 2024. 11. 15
  Info:
    - Mod portal release
Version: 0.0.2
Date: 2024. 11. 15
  Info:
    - Cleanup code
    - Return the oversupply back to the silo it came from
    - Attempt to work out the refund math
    - Work out the refund math
    - Cleanup the old math and the log's
Version: 0.0.1
Date: 2024. 11. 15
  Info:
    - Initial commit