Is it possible to migrate fluids (json)?

Place to get help with not working mods / modding interface.
Lilly
Long Handed Inserter
Long Handed Inserter
Posts: 55
Joined: Mon Apr 11, 2016 6:42 pm
Contact:

Is it possible to migrate fluids (json)?

Post by Lilly »

I was creating a mod that replaces a few fluids with other fluids, so I created the following migration script and saved it as 'migrations/migrate.json'. When I loaded a game, all my raw wood was replaced by advanced circuits, as expected. However all pipes that contained water still contained water, rather than crude-oil. Is fluid migration supported?

Code: Select all

{
  "item": [["raw-wood","advanced-circuit"]],
  "fluid": [["water", "crude-oil"]]
}
Rseding91
Factorio Staff
Factorio Staff
Posts: 16442
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Is it possible to migrate fluids (json)?

Post by Rseding91 »

Fluid migrations are supported in 0.15.
If you want to get ahold of me I'm almost always on Discord.
Lilly
Long Handed Inserter
Long Handed Inserter
Posts: 55
Joined: Mon Apr 11, 2016 6:42 pm
Contact:

Re: Is it possible to migrate fluids (json)?

Post by Lilly »

Ok, thanks!
Post Reply

Return to “Modding help”