Page 1 of 1

[Done] Migration Question

Posted: Wed May 08, 2019 4:16 pm
by TheSAguy
Hi,

I changed an item from "bi-charcoal" to "wood-charcoal".
I created a migration file: "Bio_Industries_0.17.19.json" with:

Code: Select all

{
  "item":
  [
    ["wood-charcoal", "bi-charcoal"]
  ]
}
I thought that this would prevent the items from being removed when you load a game, but all "bi-charcoal" still got removed.
Is this correct and if so, what is the purpose of the migration script I added?

Thanks.

Re: Migration Question

Posted: Wed May 08, 2019 4:22 pm
by AmatorPhasma
TheSAguy wrote: Wed May 08, 2019 4:16 pm Hi,

I changed an item from "bi-charcoal" to "wood-charcoal".
I created a migration file: "Bio_Industries_0.17.19.json" with:

Code: Select all

{
  "item":
  [
    ["wood-charcoal", "bi-charcoal"]
  ]
}
I thought that this would prevent the items from being removed when you load a game, but all "bi-charcoal" still got removed.
Is this correct and if so, what is the purpose of the migration script I added?

Thanks.
You have to turn this around::

Code: Select all

["bi-charcoal", "wood-charcoal"]

Re: [Done] Migration Question

Posted: Wed May 08, 2019 5:37 pm
by TheSAguy
Ah!
Thanks.