mspielberg / factorio-miniloader

UPS-friendly 1x1 psuedo-loaders for Factorio
GNU Lesser General Public License v3.0
24 stars 21 forks source link

Compatibility for variants #51

Open oorzkws opened 4 years ago

oorzkws commented 4 years ago

Would it be possible to add an interface for registering variants of the miniloaders, or relaxing the match not to require it ending with miniloader/miniloader-inserter?

mspielberg commented 4 years ago

Why is this is necessary?

oorzkws commented 4 years ago

If I have a mod that adds miniloader variants (omnicompression,in this case), they aren't registered correctly with the control stage due to the naming convention not matching the ones your control script looks for. Example prototype below.

image

mspielberg commented 4 years ago

I may expose an API to create additional miniloaders for other mod authors to use, but there will not be a way to register your own inserters that are not managed by the Miniloader code.

oorzkws commented 4 years ago

That's fine, as long as I have the capacity to specify "x named miniloader, y speed" it's good enough for my use case.