Allow read/write to blueprint's description

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
GlassBricks
Inserter
Inserter
Posts: 38
Joined: Fri Jun 11, 2021 5:20 pm
Contact:

Allow read/write to blueprint's description

Post 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.
SophieFitz
Burner Inserter
Burner Inserter
Posts: 13
Joined: Thu Jan 09, 2020 3:36 pm
Contact:

Re: Allow read/write to blueprint's description

Post 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 :)
ahicks
Inserter
Inserter
Posts: 23
Joined: Sat Jul 13, 2024 10:45 pm
Contact:

Re: Allow read/write to blueprint's description

Post 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.
Post Reply

Return to “Modding interface requests”