Horblegorble (talk | contribs) No edit summary |
Horblegorble (talk | contribs) No edit summary |
||
Line 9: | Line 9: | ||
! colspan="3" class="infobox-title" style="font-size: 90%" | Statistics |
! colspan="3" class="infobox-title" style="font-size: 90%" | Statistics |
||
|- |
|- |
||
{{ |
{{InfoboxText|Type|{{{type}}}}} |
||
{{InfoboxText|Location(s)|{{{location}}}}} |
|||
| |
|||
{{!}} class="infobox-texttitle" style="padding-right: 10px" {{!}} [[NPCs|Type]] |
|||
{{!}} colspan="2" class="infobox-text" {{!}} {{ucfirst: {{lc: {{{type|}}} }} }} |
|||
{{!}}- |
|||
}} |
|||
{{#if: {{{location|}}} |
|||
| |
|||
{{!}} class="infobox-texttitle" style="padding-right: 10px" {{!}} Location(s) |
|||
{{!}} colspan="2" class="infobox-text" {{!}} {{ucfirst: {{lc: {{{location|}}} }} }} |
|||
{{!}}- |
|||
}} |
|||
{{InfoboxYesNo | Hostile | aggressive }} |
{{InfoboxYesNo | Hostile | aggressive }} |
||
{{#switch: {{lc: {{{tamable|}}} }} |
{{#switch: {{lc: {{{tamable|}}} }} |
Revision as of 17:24, 12 August 2023
Infobox npc | |||||
---|---|---|---|---|---|
Statistics | |||||
{{{type}}}
class="infobox-texttitle" style="padding-right: 10px" | Location(s) |
{{{location}}}
class="infobox-texttitle" style="padding-right: 10px" | Hostile |
undefined
| |||
Technical Information |
Displays a floating infobox with information about an NPC entity.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Remove the Navbox ? | navbox | Check if you want to remove the navbox.
| Boolean | suggested |
Type | type | The type of entity the NPC is.
| String | suggested |
Location | location | The biome where the NPC is located.
| String | suggested |
Hostility | aggressive | Does the NPC attack the player on sight?
| Boolean | suggested |
Tamable | tamable | Is the creature tamable ?
| Boolean | suggested |
Mount | mount | Can you mount the creature ?
| Boolean | suggested |
The max_speed_approx value : | mountspeed | the max_speed_approx value from https://gitlab.com/veloren/veloren/-/blob/master/common/src/states/utils.rs | Number | optional |
Health Points | healthPoints | The amount of HP the NPC has.
| Number | optional |
Damage | damage | The amount of damage the NPC's attacks deal.
| Number | deprecated |
Vox model | vox | A link to the directory in the game's source repository with the NPC's entity vox files. | URL | optional |
NPC configuration | config | A link to this NPC entity's configuration file in the game's source repository. | URL | optional |