Skip to content

Comments

Update fill_request_proxies.lua#1

Open
Maoman1101 wants to merge 1 commit intoYPetremann:masterfrom
Maoman1101:master
Open

Update fill_request_proxies.lua#1
Maoman1101 wants to merge 1 commit intoYPetremann:masterfrom
Maoman1101:master

Conversation

@Maoman1101
Copy link

@Maoman1101 Maoman1101 commented Jul 13, 2025

This merge is intended to fix this bug:

https://mods.factorio.com/mod/hover_ghost_builder/discussion/67af0a3ab383ecc2f9a07b3b

Here is a summary of my changes:
1: Now has validation of inventory entries
2: Ensures a plan is never assigned with an empty or broken in_inventory
3: Adds a helper function which scans the list and verifies live and accessible item stacks exist in the entity’s inventory before allowing them to be used.
4: Plans are now only reconstructed if their remaining inventory entries are still valid after transfer attempts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant