In the generated file, pick any achievement - remove badge property from it, try to run
npx cruncheevos diff sonic.js, you get no changes found
Change something in the same achievement, like title, then run diff again, you get:
A.ID│ 16 (compared to remote)
Title│ - The Floor is Lava
│ + The Floor is Lava1
Desc.│ Get to Marble Zone (no stage select code)
Badge│ 250334 -> 00000
Badge│ 250334 -> 00000 must not happen and is extremely inconvenient, because people may choose to edit existing sets by writing code from scratch instead of using generate command, and not include id and badge properties.
Steps to reproduce:
npx cruncheevos generate 1 sonic.js
In the generated file, pick any achievement - remove badge property from it, try to run
npx cruncheevos diff sonic.js
, you getno changes found
Change something in the same achievement, like title, then run diff again, you get:
Badge│ 250334 -> 00000
must not happen and is extremely inconvenient, because people may choose to edit existing sets by writing code from scratch instead of usinggenerate
command, and not include id and badge properties.