Replace all of one entity/building/etc with another
Replace all of one entity/building/etc with another
short version: i basically need to replace 4k+ instances of one object within my factorio with another (yes it's a mod compatibility thing). I don't care if it's robots replacing them or some kind of savegame-editor, as long as it gets the job done. i'm deeply grateful for any help in advance.
- SuperSandro2000
- Filter Inserter
- Posts: 741
- Joined: Sun Jan 12, 2014 3:54 am
- Contact:
Re: Replace all of one entity/building/etc with another
Did you take a look on how migration .json files work? They would be perfect for this.
Please call me simply Sandro.
My Main Mods: Sandro's fixes, Expanded Rocket Payloads Touched by an AngelBob and more can be found here
My Main Mods: Sandro's fixes, Expanded Rocket Payloads Touched by an AngelBob and more can be found here
Re: Replace all of one entity/building/etc with another
Upgrade planner can also help you do this. https://mods.factorio.com/mods/Klonan/upgrade-planner
Re: Replace all of one entity/building/etc with another
i haven't taken a look at that, where can i learn about it?SuperSandro2000 wrote: ↑Fri Dec 28, 2018 2:13 amDid you take a look on how migration .json files work? They would be perfect for this.
i looked at that, but it won't let me assign upgrades unless the items are "of the same type". and even though my items in question are two electric poles, it doesn't seem to recognize them as same type since they're from two different mods.Zavian wrote: ↑Fri Dec 28, 2018 3:03 amUpgrade planner can also help you do this. https://mods.factorio.com/mods/Klonan/upgrade-planner
Re: Replace all of one entity/building/etc with another
Okay i just went and searched myself, and it seems to have worked! thank you man, you really helped me revive my game!SuperSandro2000 wrote: ↑Fri Dec 28, 2018 2:13 amDid you take a look on how migration .json files work? They would be perfect for this.
- SuperSandro2000
- Filter Inserter
- Posts: 741
- Joined: Sun Jan 12, 2014 3:54 am
- Contact:
Re: Replace all of one entity/building/etc with another
glad I could help you. If you have troubles getting it to work in the future feel free to dm me.Zappron wrote: ↑Fri Dec 28, 2018 11:42 amOkay i just went and searched myself, and it seems to have worked! thank you man, you really helped me revive my game!SuperSandro2000 wrote: ↑Fri Dec 28, 2018 2:13 amDid you take a look on how migration .json files work? They would be perfect for this.
Please call me simply Sandro.
My Main Mods: Sandro's fixes, Expanded Rocket Payloads Touched by an AngelBob and more can be found here
My Main Mods: Sandro's fixes, Expanded Rocket Payloads Touched by an AngelBob and more can be found here