![]() | ||
Infobox consumable | ||
Statistics | ||
Type | ||
Quality | ||
Sated | Regen | |
Heals/sec | ❤️/s | ❤️/s |
Duration | second | second |
HP restored | ❤️ | |
In fight | ||
Craftable | ||
Technical Information | ||
.vox File | ||
.ron File | ||
Recipe | L | |
Sprite Manifest |
An infobox template used for all types of consumables in Veloren.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Description | description | The description of the consumable 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 |
Heals/s (only number) | hp rate Heals/sec heals | the healing rate of the item in number only (without /s) | String | suggested |
Heal duration in second, (number only) | hp duration | How long do it heals ?
| Number | suggested |
The regen rate (in number) | regen rate | From the buff regeneration as indicated in its ron file
| String | suggested |
Regen duration | regen duration | the duration of regen as indicated in the ron file | Number | suggested |
Total health restored (only number) | hp restored | hp/s x duration = ???
| Number | suggested |
Can we use it during a battle ? Yes or No | infight | no description
| Boolean | suggested |
Is Craftable | craftable | Is this item craftable. Yes/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 |
The line of code to the recipe (number only) | recipe | The code where we can find the recipe in number
| Number | suggested |
Sprite Manifest | manifest | The link to the line in the sprite manifest.
| Unknown | suggested |