Updated Mod Version Data Format (markdown)
This commit is contained in:
+36
-38
@@ -1,40 +1,43 @@
|
|||||||
Version 2 of the Crafting Guide 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, its items, and the recipes for those items. Most commands are optional, and can be entered in any order. Anywhere this isn't true will be called out below.
|
The ModVersion 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's items and the recipes for those items. Most commands are optional, and can be entered in any order. Anywhere this isn't true will be called out below.
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
schema: 2
|
schema: 2
|
||||||
name: Applied Energistics 2
|
|
||||||
version: rv1-stable-1
|
|
||||||
description: Crafting recipes from Applied Energistics, by AlgorithmX2
|
|
||||||
|
|
||||||
# This is a comment.
|
group: Storage
|
||||||
item: 128³ Spatial Component
|
|
||||||
recipe:
|
|
||||||
input: Glowstone Dust, 16³ Spatial Component, Engineering Processor
|
|
||||||
pattern: 010 121 010
|
|
||||||
tools: Crafting Table
|
|
||||||
|
|
||||||
item: Cable Anchor
|
# This is a comment.
|
||||||
recipe:
|
item: 128³ Spatial Component
|
||||||
input: Iron Ingot
|
recipe:
|
||||||
pattern: ... .0. ...
|
input: Glowstone Dust, 16³ Spatial Component, Engineering Processor
|
||||||
quantity: 3
|
pattern: 010 121 010
|
||||||
tools: Nether Quartz Cutting Knife
|
tools: Crafting Table
|
||||||
recipe:
|
|
||||||
input: Tin Ingot
|
|
||||||
pattern: ... .0. ...
|
|
||||||
quantity: 3
|
|
||||||
tools: Nether Quartz Cutting Knife
|
|
||||||
|
|
||||||
item: Certus Quartz Crystal; gatherable: yes
|
group: Cables
|
||||||
|
|
||||||
item: Printed Calculation Circuit
|
item: Cable Anchor
|
||||||
recipe:
|
recipe:
|
||||||
input: Inscriber Calculation Press, Pure Certus Quartz Crystal
|
input: Iron Ingot
|
||||||
pattern: 0.. .1. ...
|
pattern: ... .0. ...
|
||||||
extras: Inscriber Calculation Press
|
quantity: 3
|
||||||
tools: Inscriber
|
tools: Nether Quartz Cutting Knife
|
||||||
|
recipe:
|
||||||
|
input: Tin Ingot
|
||||||
|
pattern: ... .0. ...
|
||||||
|
quantity: 3
|
||||||
|
tools: Nether Quartz Cutting Knife
|
||||||
|
|
||||||
|
group: Circuits
|
||||||
|
|
||||||
|
item: Certus Quartz Crystal; gatherable: yes
|
||||||
|
|
||||||
|
item: Printed Calculation Circuit
|
||||||
|
recipe:
|
||||||
|
input: Inscriber Calculation Press, Pure Certus Quartz Crystal
|
||||||
|
pattern: 0.. .1. ...
|
||||||
|
extras: Inscriber Calculation Press
|
||||||
|
tools: Inscriber
|
||||||
```
|
```
|
||||||
|
|
||||||
## Basics
|
## Basics
|
||||||
@@ -52,18 +55,13 @@ Please be sure to use these two commands prior to submitting a pull request for
|
|||||||
|
|
||||||
* `schema: <version>` _(required)_
|
* `schema: <version>` _(required)_
|
||||||
|
|
||||||
The data schema used by the file. The current version is: 2.
|
The data schema used by the file. The current version is: 1.
|
||||||
|
|
||||||
* `name: <mod name>` _(required)_
|
* `group: <group>`
|
||||||
|
|
||||||
The name of the mod described in the file. This should be the full name of the mod as referred to in
|
Starts an item group. Groups are used simply to organize items on the mod detail page, and don't need
|
||||||
its own documentation; only use abbreviations if they are as commonly used as the full name itself
|
to correspond to anything in-game. Any items declared before the first group declaration are not part
|
||||||
(e.g., "IC2").
|
of any group.
|
||||||
|
|
||||||
* `version: <mod version>` _(required)_
|
|
||||||
|
|
||||||
The version of the mod being described by the file. This should use whatever version scheme is used
|
|
||||||
by the mod itself, and should match whatever is shown in the in-game "Mods" screen.
|
|
||||||
|
|
||||||
* `item: <item name>`
|
* `item: <item name>`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user