Page 1 of 1

Allow read/write to blueprint's description

Posted: Sat May 27, 2023 7:19 pm
by GlassBricks
Right now, AFAIK there is no API to read or write to blueprint descriptions.

I have a mod which deals with creating blueprints; it would be nice if I would allow users to save/write to descriptions, but this is currently not (reasonably) possible to do.

Re: Allow read/write to blueprint's description

Posted: Wed May 29, 2024 1:15 am
by SophieFitz
I use his mod (https://mods.factorio.com/mod/bp100) a lot and I would like to add my support for this request. Right now I have to manually copy the description over to the blueprints created in Staged Blueprint Planning whenever I modify any of the blueprints that have descriptions. Enabling the mod to have access to the blueprint description would simplify this process and make the mod that much more versatile :)

Re: Allow read/write to blueprint's description

Posted: Sat Aug 17, 2024 10:20 pm
by ahicks
We also really want this.

A workaround with edge case issues is to export to a blueprint string, decode the JSON, modify the JSON, and import it back. I'm blind and working "in the backend" if you will by the nature of mods but I believe the edge case is that if the blueprint is in hand then the rotation resets. Not 100% sure. I do know that another edge case of a blueprint in hand is that cursor_stack_temporary resets.