No edit summary |
en>Scott No edit summary |
||
Line 28: | Line 28: | ||
| class="infobox-texttitle" | .ron File |
| class="infobox-texttitle" | .ron File |
||
| class="infobox-text" | {{{ron|}}} |
| class="infobox-text" | {{{ron|}}} |
||
|- |
|||
| class="infobox-texttitle" | Sprite Manifest |
|||
| class="infobox-text" | {{{manifest|}}} |
|||
|- |
|- |
||
| class="infobox-texttitle" | Spawn Rules |
| class="infobox-texttitle" | Spawn Rules |
||
Line 102: | Line 105: | ||
"label": "Spawn Rules", |
"label": "Spawn Rules", |
||
"description": "The link to the line in world/src/layer/scatter.rs", |
"description": "The link to the line in world/src/layer/scatter.rs", |
||
"suggested": true |
|||
}, |
|||
"manifest": { |
|||
"label": "Sprite Manifest", |
|||
"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 |
"suggested": true |
||
} |
} |
||
Line 115: | Line 124: | ||
"vox", |
"vox", |
||
"ron", |
"ron", |
||
"manifest", |
|||
"spawnrules" |
"spawnrules" |
||
] |
] |
Revision as of 11:24, 9 June 2021
[[Image:|class=infobox-image|50px|link=]] | |
Statistics | |
Type | |
Quality | |
Craftable | |
Technical Information | |
.vox File | |
.ron File | |
Sprite Manifest | |
Spawn Rules |
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 | |
---|---|---|---|---|
Image | image | The image of the consumable. Image is resized to 50px.
| File | required |
Title | title | The name of the consumable in English.
| String | required |
Description | description | The description of the ingredient as given on the tooltip when you hover over it. Place it in " ".
| String | required |
Type | type | The type of consumable.
| String | required |
Quality | quality | The quality colour of the consumable.
| Template | required |
Craftable | craftable | Is this item craftable. Yes or No.
| 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 |
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 |