Content added Content deleted
Horblegorble (talk | contribs) No edit summary |
Horblegorble (talk | contribs) (Changed 'healthPoints' to 'hp') |
||
Line 19: | Line 19: | ||
| {{InfoboxYesNo | [[Taming#Mount|Mount]] | {{{mount|}}} | Yes <b>Speed</b>: {{formatnum: {{{mountspeed|}}} }} }} |
| {{InfoboxYesNo | [[Taming#Mount|Mount]] | {{{mount|}}} | Yes <b>Speed</b>: {{formatnum: {{{mountspeed|}}} }} }} |
||
|- |
|- |
||
| {{InfoboxText | HP | {{{ |
| {{InfoboxText | HP | {{{hp|}}} | {{formatnum: {{{hp|}}} }} }} |
||
|- |
|- |
||
| {{InfoboxText | Damage | {{{damage|}}} | {{formatnum: {{{damage|}}} }} }} |
| {{InfoboxText | Damage | {{{damage|}}} | {{formatnum: {{{damage|}}} }} }} |
||
Line 98: | Line 98: | ||
"type": "url" |
"type": "url" |
||
}, |
}, |
||
" |
"hp": { |
||
"label": "Health Points", |
"label": "Health Points", |
||
"description": "The amount of HP the NPC has.", |
"description": "The amount of HP the NPC has.", |
||
Line 139: | Line 139: | ||
"mount", |
"mount", |
||
"mountspeed", |
"mountspeed", |
||
" |
"hp", |
||
"damage", |
"damage", |
||
"vox", |
"vox", |
Revision as of 00:08, 13 September 2023
Infobox npc | ||
---|---|---|
Statistics | ||
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 | hp | 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 |