Template:Grid/Crafting/doc
From Vintage Story Wiki
< Template:Grid/Crafting
Revision as of 17:37, 16 May 2023 by VeryGoodDog (talk | contribs)
This template allows editors to visually represent crafting grid recipes. Currently due to the way it's hardcoded it requires highly specific image filenames to work - this is under review and may change in the future.
Usage
{{Grid/Crafting |A1=c1r1 |A1N=num |A1_name |A2=c1r2 |A2N=num |A2_name |A3=c1r3 |A3N=num |A3_name |B1=c2r1 |B1N=num |B1_name |B2=c2r2 |B2N=num |B2_name |B3=c2r3 |B3N=num |B3_name |C1=c3r1 |C1N=num |C1_name |C2=c4r2 |C2N=num |C2_name |C3=c3r3 |C3N=num |C3_name |Output=out |OA=num |Output_name |NoBreak=y }}
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 y or n ). Creates a line break after the block if set to "yes".
|
float | Optional | Sets the float style for the crafting grid. |
- Cell positions: