Content added Content deleted
mNo edit summary |
m (Added parameter type) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
|- |
|- |
||
| colspan="2" class="infobox-title" style="font-size: 90%;" | Use |
| colspan="2" class="infobox-title" style="font-size: 90%;" | Use |
||
|- |
|||
| class="infobox-texttitle" style="padding-right:10px"| Type |
|||
| class="infobox-text" | {{{type|}}} |
|||
|- |
|- |
||
| class="infobox-texttitle" style="padding-right:10px"| In fight |
| class="infobox-texttitle" style="padding-right:10px"| In fight |
||
Line 17: | Line 20: | ||
{{#if: {{{buffduration|}}} |
{{#if: {{{buffduration|}}} |
||
| |
| |
||
{{!}} colspan="2" class="infobox-title" style="font-size: 90%;" {{!}} |
{{!}} colspan="2" class="infobox-title" style="font-size: 90%;" {{!}} Buff(s) : {{{buffduration|}}} minutes |
||
{{!}}- |
{{!}}- |
||
{{#if: {{{buffkind1|}}} |
{{#if: {{{buffkind1|}}} |
||
| |
| |
||
{{!}} colspan="2" class="infobox-text" style="padding-left:10px" {{! |
{{!}} colspan="2" class="infobox-text" style="padding-left:10px" {{!}} |
||
* {{{buffstrength1|}}}% {{{buffkind1|}}} |
|||
{{!}}- |
{{!}}- |
||
}} |
|||
{{#if: {{{buffkind2|}}} |
{{#if: {{{buffkind2|}}} |
||
| |
| |
||
{{!}} colspan="2" class="infobox-text" style="padding-left:10px" {{! |
{{!}} colspan="2" class="infobox-text" style="padding-left:10px" {{!}} |
||
* {{{buffstrength2|}}}% {{{buffkind2|}}} |
|||
{{!}}- |
{{!}}- |
||
}} |
|||
{{#if: {{{buffkind3|}}} |
{{#if: {{{buffkind3|}}} |
||
| |
| |
||
{{!}} colspan="2" class="infobox-text" style="padding-left:10px" {{! |
{{!}} colspan="2" class="infobox-text" style="padding-left:10px" {{!}} |
||
* {{{buffstrength3|}}}% {{{buffkind3|}}} |
|||
{{!}}- |
{{!}}- |
||
}} |
|||
| |
| |
||
{{!}} colspan="2" class="infobox-title" style="font-size: 90%;" {{!}} |
{{!}} colspan="2" class="infobox-title" style="font-size: 90%;" {{!}} Buff(s) |
||
{{!}}- |
{{!}}- |
||
{{!}} colspan="2" text-align:center;" {{!}} {{unknown}} |
{{!}} colspan="2" text-align:center;" {{!}} {{unknown}} |
||
Line 46: | Line 52: | ||
| |
| |
||
{{!}} class="infobox-texttitle" style="padding-right:10px" {{!}} .vox File |
{{!}} class="infobox-texttitle" style="padding-right:10px" {{!}} .vox File |
||
{{!}} class="infobox-text" {{!}} {{{vox|}}} |
{{!}} class="infobox-text" {{!}} [{{{vox|}}} {{{voxlabel|}}}] |
||
{{!}}- |
{{!}}- |
||
}} |
|||
{{#if: {{{ron|}}} |
{{#if: {{{ron|}}} |
||
| |
| |
||
{{!}} class="infobox-texttitle" style="padding-right:10px" {{!}} .ron File |
{{!}} class="infobox-texttitle" style="padding-right:10px" {{!}} .ron File |
||
{{!}} class="infobox-text" {{!}} {{{ron|}}} |
{{!}} class="infobox-text" {{!}} [{{{ron|}}} {{{ronlabel|}}}] |
||
{{!}}- |
{{!}}- |
||
| |
| |
||
Line 63: | Line 69: | ||
{{!}} class="infobox-text" {{!}} [https://gitlab.com/veloren/veloren/-/blob/master/assets/common/recipe_book.ron#L{{{recipe|}}} L{{{recipe|}}}] |
{{!}} class="infobox-text" {{!}} [https://gitlab.com/veloren/veloren/-/blob/master/assets/common/recipe_book.ron#L{{{recipe|}}} L{{{recipe|}}}] |
||
{{!}}- |
{{!}}- |
||
}} |
|||
{{#if: {{{manifest|}}} |
{{#if: {{{manifest|}}} |
||
| |
| |
||
Line 69: | Line 75: | ||
{{!}} class="infobox-text" {{!}} {{{manifest|}}} |
{{!}} class="infobox-text" {{!}} {{{manifest|}}} |
||
{{!}}- |
{{!}}- |
||
}} |
|||
|} |
|||
[[Category:Consumables]] |
[[Category:Consumables]] |
||
Line 125: | Line 131: | ||
"vox": { |
"vox": { |
||
"label": ".vox File", |
"label": ".vox File", |
||
"description": "The file link as linked on gitlab.com/veloren/veloren |
"description": "The file link as linked on gitlab.com/veloren/veloren.", |
||
"example": " |
"example": "www.veloren.net", |
||
"type": "url", |
"type": "url", |
||
"autovalue": " |
"autovalue": "", |
||
"suggested": true |
"suggested": true |
||
}, |
}, |
||
"ron": { |
"ron": { |
||
"label": ".ron File", |
"label": ".ron File", |
||
"description": "The gitlab link to the .ron file |
"description": "The gitlab link to the .ron file.", |
||
"example": " |
"example": "www.veloren.net", |
||
"type": " |
"type": "string", |
||
"autovalue": " |
"autovalue": "", |
||
"suggested": true |
"suggested": true |
||
}, |
}, |
||
Line 181: | Line 187: | ||
}, |
}, |
||
"buffstrength1": { |
"buffstrength1": { |
||
"suggested": true |
"suggested": true, |
||
"type": "number" |
|||
}, |
}, |
||
"buffkind2": { |
"buffkind2": { |
||
Line 226: | Line 233: | ||
"example": "12", |
"example": "12", |
||
"type": "number", |
"type": "number", |
||
"suggested": true |
|||
}, |
|||
"voxlabel": { |
|||
"label": "The label for the Gitlab link of the VOX file", |
|||
"type": "string", |
|||
"suggested": true |
|||
}, |
|||
"ronlabel": { |
|||
"label": "The label for the Gitlab link of the RON file", |
|||
"example": "dwarven_cheese.ron", |
|||
"type": "string", |
|||
"suggested": true |
"suggested": true |
||
} |
} |
||
Line 244: | Line 262: | ||
"buffstrength3", |
"buffstrength3", |
||
"ron", |
"ron", |
||
"ronlabel", |
|||
"recipe", |
"recipe", |
||
"vox", |
"vox", |
||
"voxlabel", |
|||
"manifest" |
"manifest" |
||
], |
], |
Latest revision as of 13:30, 9 August 2023
Infobox consumable | |
Use | |
Type | |
In fight | No |
Craftable | No |
Buff(s) | |
Unknown edit | |
Technical Information | |
Unknown edit |
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.
| String | required |
Can we use it during a battle ? | infight | no description
| Boolean | suggested |
Is Craftable | craftable | Is this item craftable ?
| Boolean | suggested |
Duration of the buffs (in minute and only number) | buffduration | How long those buff last ?
| Number | suggested |
Select the buff type : | buffkind1 | no description
| String | suggested |
buffstrength1 | buffstrength1 | no description | Number | suggested |
Select the buff type : | buffkind2 | no description
| String | suggested |
buffstrength2 | buffstrength2 | no description | Number | suggested |
Select the buff type : | buffkind3 | no description
| String | suggested |
buffstrength3 | buffstrength3 | no description | Number | suggested |
.ron File | ron | The gitlab link to the .ron file.
| String | suggested |
The label for the Gitlab link of the RON file | ronlabel | no description
| String | suggested |
The line of code to the recipe (number only) | recipe | The code where we can find the recipe in number
| Number | suggested |
.vox File | vox | The file link as linked on gitlab.com/veloren/veloren.
| URL | suggested |
The label for the Gitlab link of the VOX file | voxlabel | no description | String | suggested |
Sprite Manifest | manifest | The link to the line in the sprite manifest.
| Unknown | suggested |