Document LuaSurface::create_entities_from_blueprint_string
-
- Inserter
- Posts: 21
- Joined: Fri Apr 19, 2024 7:12 pm
- Contact:
Document LuaSurface::create_entities_from_blueprint_string
Title says it all really. In the tips&tricks simulations, there is a lot of use of game.surface[1].create_entities_from_blueprint_string("etc"), but it's not documented anywhere as far as I can tell.
Re: Document LuaSurface::create_entities_from_blueprint_string
It is indeed not documented, because it has some issues where it won't always work properly. It'll stay a non-public method for that reason, but you're free to use it at your own risk of course. Thanks for the report.
Re: Document LuaSurface::create_entities_from_blueprint_string
Actually, it seems this method was fixed to work properly, so it'll be properly documented for the next release.