...
You can use this to work around missing API features should end-users install your mod in to an earlier version of the game, although it's probably better to check the existence of constants, functions or globals before using them as defined in Changes by VersionChange log.
A proposal has been made for a release date or API date to be provided, as version alone is often not descriptive enough.
...
Backport to earlier releases, and get more specific version information on all releases, using version.js.
Examples
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
debugconsole("Game version: "+version); |
...