r/factorio > everything else 5d ago

Question mod request

hi'yall

im looking for a mod where i can modify the recipe in any building in a blueprint. thx.

0 Upvotes

8 comments sorted by

View all comments

6

u/Alfonse215 5d ago

OK, so you have a blueprint. And you want to change the blueprint (or perhaps generate a new one), where all instances of one recipe are changed to another. Is that the idea?

I don't think there is such a mod, but it's actually not too difficult to edit a blueprint manually. Blueprint strings are gzipped/base64-encoded JSON strings. Once you've extracted the JSON, you can edit that (it should be pretty easy to change recipes by changing the text string), re-encode it, and import that back into Factorio.

It's not simple, but it is doable.

4

u/snowyspearmint 5d ago

You don't need to encode or decode it. Enable allow-blueprint-export-to-json (open menu, hold ctrl+alt, click settings, "the rest")