factorio-miniloader icon indicating copy to clipboard operation
factorio-miniloader copied to clipboard

Compatibility for variants

Open oorzkws opened this issue 4 years ago • 4 comments

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?

oorzkws avatar Aug 16 '20 08:08 oorzkws

Why is this is necessary?

mspielberg avatar Aug 16 '20 14:08 mspielberg

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

oorzkws avatar Aug 16 '20 22:08 oorzkws

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.

mspielberg avatar Aug 17 '20 02:08 mspielberg

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.

oorzkws avatar Aug 17 '20 05:08 oorzkws