Content added Content deleted
m (Added duration, hp rate, hp restored and if we can use it during fight) |
mNo edit summary |
||
Line 74: | Line 74: | ||
"type": "wiki-template-name", |
"type": "wiki-template-name", |
||
"autovalue": "{{}}", |
"autovalue": "{{}}", |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
"description": "How much the consumable heals per second as given on the tooltip.", |
|||
"example": "Heals 10 [[Image:health.png]] over 10 seconds.", |
|||
"autovalue": "[[Image:health.png]]", |
|||
"required": true |
"required": true |
||
}, |
}, |
||
Line 111: | Line 104: | ||
"example": "[https://gitlab.com/veloren/veloren/-/blob/master/assets/voxygen/voxel/sprite_manifest.ron#L458 #L458]", |
"example": "[https://gitlab.com/veloren/veloren/-/blob/master/assets/voxygen/voxel/sprite_manifest.ron#L458 #L458]", |
||
"suggested": true |
"suggested": true |
||
} |
}, |
||
⚫ | |||
"aliases": [ |
|||
⚫ | |||
], |
|||
"type": "number", |
|||
⚫ | |||
⚫ | |||
"hp duration": { |
|||
"label": "Heal duration in second, (number only)", |
|||
"description": "How long do it heals ?", |
|||
"example": "10", |
|||
"type": "number", |
|||
"suggested": true |
|||
}, |
|||
"hp restored": { |
|||
"label": "Total health restored (only number)", |
|||
"description": "hp/s x duration = ???", |
|||
"example": "100", |
|||
"type": "number", |
|||
"suggested": true |
|||
}, |
|||
"infight": {} |
|||
}, |
}, |
||
"description": "An infobox template used for all types of consumables in Veloren.", |
"description": "An infobox template used for all types of consumables in Veloren.", |
||
Line 118: | Line 133: | ||
"type", |
"type", |
||
"quality", |
"quality", |
||
" |
"hp rate", |
||
"hp duration", |
|||
"hp restored", |
|||
"craftable", |
"craftable", |
||
"vox", |
"vox", |
||
"ron", |
"ron", |
||
"manifest" |
"manifest", |
||
"infight" |
|||
], |
], |
||
"format": "block" |
"format": "block" |
Revision as of 15:23, 4 October 2022
Infobox consumable | |
Statistics | |
Type | |
Quality | |
Heals/sec | |
Duration | |
HP restored | |
In fight | |
Craftable | |
Technical Information | |
.vox File | |
.ron File | |
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 |
hp rate | hp rate Heals/sec | no description | Number | suggested |
Heal duration in second, (number only) | hp duration | How long do it heals ?
| Number | suggested |
Total health restored (only number) | hp restored | hp/s x duration = ???
| Number | 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 |
Sprite Manifest | manifest | The link to the line in the sprite manifest.
| Unknown | suggested |
infight | infight | no description | Unknown | optional |