...
I highly recommend storing your constants as properties of a function to avoid cluttering up this section of the file!
Arrays
Arrays containing primitive values look like this:
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
truckBodies=Body3MBT, Body2SUP, Body4ABT, Body1REC truckPropulsions=hover01, wheeled01 tankBodies=Body7ABT, Body6SUPP, Body8MBT, Body5REC, Body3MBT, Body2SUP, Body4ABT, Body1REC tankPropulsions=HalfTrack, wheeled01 vtolBodies=Body7ABT, Body6SUPP, Body8MBT, Body5REC, Body3MBT, Body2SUP, Body4ABT, Body1REC |
...
Objects and nested arrays
As soon as you start dealing with objects or nested arrays, it becomes a real mess:
...
Good luck making sense of that!
Broken stuff (eg. functions)
And, if you have anything with functions (or anything else Warzone doesn't know how to persist), you'll end up with this sort of thing:
...