Updated Mod Data Format (markdown)
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
The Mod file format is a very simple command-based language which is very similar to [YAML](http://www.yaml.org). There are commands for entering all various kinds of data needed to describe a mod and what versions are supported. Most commands are optional, and can be entered in any order. Anywhere this isn't true will be called out below.
|
The Mod file format is a very simple command-based language which is very similar to [YAML](http://www.yaml.org). There are commands for entering all various kinds of data needed to describe a mod and what versions are supported. Most commands are optional, and can be entered in any order. Anywhere this isn't true will be called out below.
|
||||||
|
|
||||||
Each mod is described with its own directory under `/src/data`. The directory should be named using the Mod's slug name (see: [About Slugs](https://github.com/andrewminer/crafting-guide/wiki/About-Slugs)), and contain a file named `mod.cg` using the following format.
|
Each mod is described with its own directory under `/static/data`. The directory should be named using the Mod's slug name (see: [[About Slugs]]), and contain a file named `mod.cg` using the following format.
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
@@ -70,4 +70,4 @@ Each line of the file should usually contain a single command. Each command has
|
|||||||
|
|
||||||
Multiple versions may be specified, and if so, they should be listed with the most recent first.
|
Multiple versions may be specified, and if so, they should be listed with the most recent first.
|
||||||
|
|
||||||
For each version listed, a subdirectory should exist with exactly the same name containing a [ModVersion data file](https://github.com/andrewminer/crafting-guide/wiki/Mod-Version-Data-Format) and an images subdirectory.
|
For each version listed, a subdirectory should exist with exactly the same name containing a [[Mod Version Data Format]]).
|
||||||
Reference in New Issue
Block a user