LuaSurface::create_entity missing variant parameter for loader types

Place to report issues and suggest improvements to the API documentation.
Post Reply
User avatar
_CodeGreen
Long Handed Inserter
Long Handed Inserter
Posts: 60
Joined: Sat Mar 05, 2022 11:30 am
Contact:

LuaSurface::create_entity missing variant parameter for loader types

Post by _CodeGreen »

LuaSurface::create_entity allows the use of the `type` field for use with underground belts, and that is listed.
However, you can set "input" and "output" on loaders as well, and this isn't listed on the method doc.
I assume this is not intentional, and I'm glad I guessed that it worked and found out, but others may not be as lucky.
My Mods | If you can't make it perfect, make it adjustable

Post Reply

Return to “Documentation Improvement Requests”