[1.1.0] LuaControl::get_blueprint_entities

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
User avatar
Kuxynator
Inserter
Inserter
Posts: 31
Joined: Wed Sep 23, 2020 5:02 pm
Contact:

[1.1.0] LuaControl::get_blueprint_entities

Post by Kuxynator »

I found a new function `LuaControl::get_blueprint_entities` and also the is_cursor_blueprint() seems to be new.
both are not listed in [Version history/1.1.0](https://wiki.factorio.com/Version_history/1.1.0)
The function is nice but unfortunately only half the battle. The tiles are not returned with this.
I would prefer a function returning the whole blueprint (LuaItemStack?). so I can access all entities, tiles and also the name and icons and the remaining properties.

User avatar
Kuxynator
Inserter
Inserter
Posts: 31
Joined: Wed Sep 23, 2020 5:02 pm
Contact:

Re: [1.1.0] LuaControl::get_blueprint_entities

Post by Kuxynator »

no comment?

Daeruun
Inserter
Inserter
Posts: 43
Joined: Thu May 04, 2017 8:37 pm
Contact:

Re: [1.1.0] LuaControl::get_blueprint_entities

Post by Daeruun »

It would be nice to get the whole blueprint as a temporary copy.
Even better a whole blueprint book that is stored in library.
So that one could extract the complete costs to build for example.

Post Reply

Return to “Modding interface requests”