The main entrypoint to your mod. When creating in mod, you define a special
mod.rules file that provides the definition of your mod and the specific actions you want to take.
It contains the following fields:
|ID = author_name.mod_name
|Every mod must have an ID that is used to uniquely identify the mod and differentiate it from other mods. In order to avoid ID conflicts with other mods, you *must* follow the "author_name.mod_name" format. Do *not* use "cosmoteer" as your author name -- that is reserved for official mods only!
|Name = "My Mod Name"
|You must give a human-readable name for your mod. This is what will be shown in the user interface.
|Version = 1.0.0
|The version of the mod that will be shown in the user interface.
|CompatibleGameVersions = ["0.20.27"]
|This is a list of Cosmoteer versions that this mod is known to be compatible with. If this mod is turned on and it isn't known to be compatible with the version of Cosmoteer that the player is running, a warning will be displayed. When upgrading the game, mods that aren't known to be compatible with the new version will also be automatically disabled.
|ModifiesGameplay = true
|This should be set to true for any mod that makes gameplay changes that could affect multiplayer games. Setting this to false *MAY* make it possible to play with someone else who doesn't have this mod, so long as this mod doesn't actually make any gameplay changes. (Setting this to false will *NOT* magically allow you to play with someone who doesn't have this mod; it will just make the error less informative.) If omitted, the default is true.
Was renamed from ModifiesMultiplayer in 0.24.0 update.
|Author = "Your Name/Handle"
|The name of the mod creator(s) that will be shown in the user interface.
|Logo = "logo.png"
|A logo to display for your mod in the user interface. If you specify one, the logo.png file must be in the same directory as the mod.rules file.
|Description = "Description here"
|A longer description of what your mod does to the game. See the example_mod mod.rules file for how to add multiple lines.
|StringsFolder = "strings"
|Mods can define their own per-language string files. The values in a string file (such as en.rules) will add to and override any values in the base string file (such as Data\strings\en.rules). Each language supported should have its own string file named after the two-letter 639-1 language code for that language. Strings can also be used to provide in-game lore.
It is worth noting that there are a few files you're not allowed to change. Trying to do so will result in an error.