keryja / factorio-fast-filter-fill

A Factorio mod for quickly setting cargo wagon filters (Original by SeaRyanC, Continued by Keryja)
https://mods.factorio.com/mods/Keryja/fast-filter-fill
MIT License
1 stars 1 forks source link

My try to fix blueprint fill #3

Closed StephanSteinert closed 6 years ago

StephanSteinert commented 6 years ago

The original code compared all items of the blueprint against available request slots. I changed it to compare unique item names against requester slots.

keryja commented 6 years ago

I fixed it using blueprint.cost_to_build which just has a list of all types of items used, so it saves us having to count each individual entity (And it doesn't mess up on curved rails).

Thanks for your effort though!

StephanSteinert commented 6 years ago

Nice. Good work. Thank you.