Content added Content deleted
mNo edit summary |
mNo edit summary |
||
(15 intermediate revisions by the same user not shown) | |||
Line 1:
<onlyinclude>{
{| class="infobox floatright .skin-citizen-dark" style="width:200px"
| colspan="2" class="infobox-image" | [[Image:Veloren_{{PAGENAME}}.png|class=infobox-image|
|-
| colspan="2" class="infobox-title" style="font-size: 150%" | {{PAGENAME}}
Line 10 ⟶ 11:
| colspan="2" style="height: 10px;" |
|-
| class="infobox-texttitle" style="padding-right:10px"| Type
| class="infobox-text" | [[Ingredients_Lists#{{{type|}}}|{{{type|}}}]]
|-
| class="infobox-texttitle" style="padding-right:10px"| [[Quality]]
| class="infobox-text" | {{{quality|}}}
|-
| class="infobox-texttitle" style="padding-right:10px"| Craftable
| class="infobox-text" | {{#ifexpr: {{{craftable|}}} | Yes | No}}
|-
| colspan="2" style="height: 10px;" |
Line 23 ⟶ 24:
| colspan="2" class="infobox-title" | Technical Information
|-
| class="infobox-texttitle" style="padding-right:10px"| .vox File
| class="infobox-text" | [{{{vox|}}}]
|-
| class="infobox-texttitle" style="padding-right:10px"| .ron File
| class="infobox-text" | [{{{ron|}}}]
|-
{{#ifexpr: {{{craftable|}}}
| class="infobox-texttitle" | Sprite Manifest▼
|
{{!}} class="infobox-texttitle" style="padding-right:10px"{{!}} Recipe:
{{!}} class="infobox-text" {{!}} {{#if: {{{recipe|}}}|[https://gitlab.com/veloren/veloren/-/blob/master/assets/common/recipe_book.ron#L{{{recipe|}}} L{{{recipe|}}}]|}}
{{!}}-
}}
▲| class="infobox-texttitle" style="padding-right:10px"| Sprite Manifest
| class="infobox-text" | {{{manifest|}}}
|}
[[Category:Ingredients]]
</onlyinclude>
<noinclude>
Line 50 ⟶ 55:
"type": {
"label": "The type of ingredient (sub from Ingredients Lists): ",
"description": "Choose one of its subcategory :
"example": "
"type": "string",
"autovalue": "",
"required": true,
"suggestedvalues": [
"Animal Materials",
"Feathers, Fibers, Vines",
"Logs",
"Plants",
"Flowers",
"Ores",
"Gems",
"Ingots",
"Leathers",
"Hides",
"Textiles"
]
},
"quality": {
"description": "The quality colour of the
"example": "{{Common}}",
"type": "
"autovalue": "{{unknown}}",
"required": true,
"suggestedvalues": [
"{{Low}}",
"{{Common}}",
"{{Moderate}}",
"{{High}}",
"{{Epic}}",
"{{Legendary}}"
]
},
"vox": {
"label": ".vox File",
"description": "The file link as linked on gitlab.com/veloren/veloren
"example": "
"type": "
"autovalue": "
"suggested": true
},
"ron": {
"label": ".ron File",
"description": "The gitlab link to the .ron file
"example": "
"type": "url",
"autovalue": "
"suggested": true
},
"craftable": {
"label": "Craftable",
"description": "Is this item craftable
▲ "example": "Yes",
"type": "boolean",
"autovalue": "0",
"required": true
},
Line 97 ⟶ 122:
"description": "The link to the line of code in the sprite manifest",
"example": "[https://gitlab.com/veloren/veloren/-/blob/master/assets/voxygen/voxel/sprite_manifest.ron#L2217 sprite_mani2217 beehive #2217]",
"suggested": true
},
"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### 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",
"type": "number",
"suggested": true
}
Line 108 ⟶ 140:
"vox",
"ron",
"recipe",
"manifest",
"spawnrules"
],
"format": "block"
}
</templatedata>
</noinclude>▼
[[Category:Infoboxes]][[Category:Templates]][[Category:Formatting Templates]]
▲</noinclude>
|
Latest revision as of 16:33, 29 July 2023
Infobox ingredient | |
Statistics | |
Type | [[Ingredients_Lists#|]] |
Quality | |
Craftable | No |
Technical Information | |
.vox File | [] |
.ron File | [] |
Sprite Manifest |
An infobox template used for all types of ingredients. Not to be confused with consumables, this is for items that do not heal but are used on crafting recipes.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Description | description | The description of the ingredient as given on the tooltip when you hover over it. Place it in " ".
| String | required |
The type of ingredient (sub from Ingredients Lists): | type | Choose one of its subcategory :
| String | required |
Quality | quality | The quality colour of the ingredient :
| String | required |
Craftable | craftable | Is this item craftable ?
| Boolean | required |
.vox File | vox | The file link as linked on gitlab.com/veloren/veloren.
| String | suggested |
.ron File | ron | The gitlab link to the .ron file.
| 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 |
Spawn Rules | spawnrules | The link to the line in world/src/layer/scatter.rs | Unknown | suggested |