While I was looking at the interfaces to see if I could create a mod I noticed that it returns an array in sequence without any indication of the index in the library. Also doesn't say the name or description of the element and also don't have the icons for a blueprint book
https://lua-api.factorio.com/latest/cla ... blueprints
LuaPlayer::blueprints add library index, name, description and book icons
Re: LuaPlayer::blueprints add library index, name, description and book icons
One more thing: on_player_configured_blueprint doesn’t work when the player clicks confirm inside the library, only in the inventory.
https://lua-api.factorio.com/latest/eve ... _blueprint
https://lua-api.factorio.com/latest/eve ... _blueprint
Re: LuaPlayer::blueprints add library index, name, description and book icons
Yes! I would love the exact same information available. I'm working on a "search anything" mod (https://mods.factorio.com/mod/factory-palette) and blueprints are one of the things I want to speed up access to the most, but without names/icons it's quite difficult.
Re: LuaPlayer::blueprints add library index, name, description and book icons
+1 for LuaRecord::active_index of blueprint books. Right now it's impossible to tell what the player is using from within the book, unless we're misunderstanding something.
My mods: Multiple Unit Train Control, Smart Artillery Wagons
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk