ThemeInfo.lua


 * Not to be confused with ThemeInfo.ini.

ThemeInfo.lua is a file used by members of the spinal shark collective (and some other themers) to have a theme be able to self-identify various pieces of information. It is related to ThemeInfo.ini but defines information differently.

History
The idea spawned from the early second prototype of StepMania dynamism, which included a Lua function returning the theme version. This was carried over into Synikal's F.A.Y.B.A.N. as well as shakesoda's optical and Midiman's StepMania: Strike. dubaiOne was the first theme to include the themeInfo table, though it did so in a file called, which also contained a bunch of other functions.

Examples
At its most basic, ThemeInfo.lua looks something like this:

Other fields may be added as necessary.

To access a value, use one of the two options below:

Where  is one of the keys in themeInfo. For example,  gets you the theme name.