Page 1 of 1

Question regarding JSON migrations

Posted: Thu Jul 01, 2021 2:53 pm
by Pi-C
I have a default recipe and an alternative recipe for the same product in my mod. For some reason, the default recipe was named something like "recipe-2" and the additional recipe "recipe-1". That didn't seem logical, so I exchanged the names. Of course, now I also need a migration:

Code: Select all

{
  "recipe":
  [
    ["recipe-1", "recipe-2"],
    ["recipe-2", "recipe-1"]
  ]
}
Would that cause problems if both recipes are used in a game?