Template:Grid/Crafting/doc: Difference between revisions

From Vintage Story Wiki
Added explanatory table.
No edit summary
(Added explanatory table.)
Line 16: Line 16:
|NoBreak=y
|NoBreak=y
}}</pre>
}}</pre>
{| class="wikitable"
|-
! Variable !! Optional? !! Description
|-
| Cell positions (e.g. A1) || Required || The columns are labelled A, B and C; the rows are 1, 2 and 3. Therefore, cell "A1" is the top left corner, "B2" is the middle cell, and so on. '''At least one cell''' must be filled. It takes only ''image filenames'' in a specific format.
|-
| Cell number (e.g. A1N) || Optional || The number of items that need to be placed in this cell.
|-
| Cell name (e.g. A1_name) || Optional || The name of the item in the cell, if it differs from the filename.
|-
| Output || Required || The item that is created by this recipe.
|-
| OA || Optional || The number of items created by the recipe.
|-
| Output_name || Optional || The name of the item created by the recipe.
|-
| NoBreak || Optional || Boolean (takes only <code>y</code> or <code>n</code>). Creates a line break after the block if set to "yes".
|-
| float || Optional || Sets the float style for the crafting grid.
|-
|}
* '''Cell positions''':


== Example ==
== Example ==
Confirmedusers, editor
2,831

edits