(Added item type) |
m (Changed quality as a droplist. set craftable as bolean.) |
||
Line 19: | Line 19: | ||
|- |
|- |
||
| class="infobox-texttitle" | Craftable |
| class="infobox-texttitle" | Craftable |
||
| class="infobox-text" | {{{craftable|}}} |
| class="infobox-text" | {{#ifexpr: {{{craftable|}}} | Yes | No}} |
||
|- |
|- |
||
| colspan="2" style="height: 10px;" | |
| colspan="2" style="height: 10px;" | |
||
Line 50: | Line 50: | ||
"required": true |
"required": true |
||
}, |
}, |
||
"type": { |
|||
"label": "Type of the item, as declared in the .ron file (kind:<Type>)", |
"label": "Type of the item, as declared in the .ron file (kind:<Type>)", |
||
"description": "The type of the utility item. Link to the wiki page if one exists.", |
"description": "The type of the utility item. Link to the wiki page if one exists.", |
||
Line 59: | Line 59: | ||
}, |
}, |
||
"quality": { |
"quality": { |
||
⚫ | |||
"label": "Quality. Choose and type one of them between the {{ }} : Low, Common, Moderate, High, Epic, Legendary", |
|||
"description": "The quality |
"description": "The quality color of the item.", |
||
"example": "{{Common}}", |
"example": "{{Common}}", |
||
"type": " |
"type": "string", |
||
"autovalue": " |
"autovalue": "", |
||
"required": true |
"required": true, |
||
"suggestedvalues": [ |
|||
"{{Low}}", |
|||
"{{Common}}", |
|||
"{{Moderate}}", |
|||
"{{Epic}}", |
|||
"{{Legendary}}" |
|||
] |
|||
}, |
}, |
||
"vox": { |
"vox": { |
||
Line 84: | Line 91: | ||
"craftable": { |
"craftable": { |
||
"label": "Craftable", |
"label": "Craftable", |
||
"description": "Is this item craftable |
"description": "Is this item craftable ?", |
||
⚫ | |||
"type": "boolean", |
"type": "boolean", |
||
"autovalue": "", |
"autovalue": "", |
||
Line 98: | Line 104: | ||
"recipe": { |
"recipe": { |
||
"label": "Number of the line of code to the recipe", |
"label": "Number of the line of code to the recipe", |
||
"description": "The link to the line of code in the recipe book : https://gitlab.com/veloren/veloren/-/blob/master/assets/common/recipe_book.ron#L |
"description": "The link to the line of code in the recipe book : https://gitlab.com/veloren/veloren/-/blob/master/assets/common/recipe_book.ron#L*** where *** is a number", |
||
"example": "https://gitlab.com/veloren/veloren/-/blob/master/assets/common/recipe_book.ron#L350; for Plain salad's recipe type 350", |
"example": "https://gitlab.com/veloren/veloren/-/blob/master/assets/common/recipe_book.ron#L350; for Plain salad's recipe type 350", |
||
"type": "number", |
"type": "number", |
||
Line 107: | Line 113: | ||
"paramOrder": [ |
"paramOrder": [ |
||
"description", |
"description", |
||
"type", |
|||
"quality", |
"quality", |
||
"craftable", |
"craftable", |
Revision as of 13:27, 23 July 2023
File:Veloren Infobox utility.png | |
Infobox utility | |
Statistics | |
Type | |
Quality | |
Craftable | No |
Technical Information | |
.vox File | |
.ron File | |
Recipe |
An infobox template used for all types of utility items. Not to be confused with consumables or ingredients, this is for items that do not heal and are not used in crafting recipes.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Description | description | The description of the item as given on the tooltip when you hover over it.
| String | required |
Type of the item, as declared in the .ron file (kind:<Type>) | type | The type of the utility item. Link to the wiki page if one exists.
| String | required |
Quality | quality | The quality color of the item.
| String | required |
Craftable | craftable | Is this item craftable ?
| Boolean | required |
.vox File | vox | The file link as linked on gitlab.com/veloren/veloren. Place the link in the [ ] and add a space after the url with the text you want to display in the infobox.
| URL | suggested |
.ron File | ron | The gitlab link to the .ron file. Place the url in the [ ] with a space after the text. Then add what you want to show in the infobox.
| URL | suggested |
Number of the line of code to the recipe | recipe | The link to the line of code in the recipe book : https://gitlab.com/veloren/veloren/-/blob/master/assets/common/recipe_book.ron#L*** where *** is a number
| Number | suggested |
Sprite Manifest | manifest | The link to the line of code in the sprite manifest
| Unknown | suggested |