It makes copy pasting/sharing tankdefs way easier more accessible to the average user while also making TankDefinitions.ts much more readable.
Might also pave a path for more changes further down the line regarding offloading other static data to dedicated files.
Summarize what's being changed (include any screenshots, code, or other media if available):
new json file for "pure" tankdefinitions
tsconfig change allows for importing json modules directly
clean up TankDefinitions.ts as well as casting imported json to our custom "TankDefinition" type
Confirm the following:
[x] I have tested these changes (by compiling, running, and playing) and have seen no unintended differences in gameplay
Why:
It makes copy pasting/sharing tankdefs way easier more accessible to the average user while also making TankDefinitions.ts much more readable. Might also pave a path for more changes further down the line regarding offloading other static data to dedicated files.
Summarize what's being changed (include any screenshots, code, or other media if available):
Confirm the following: