Toggle menu
1.3K
1.7K
694
23.9K
Veloren Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox npc: Difference between revisions

Template page
Content added Content deleted
No edit summary
(Changed 'healthPoints' to 'hp')
Line 19: Line 19:
| {{InfoboxYesNo | [[Taming#Mount|Mount]] | {{{mount|}}} | Yes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>Speed</b>: {{formatnum: {{{mountspeed|}}} }} }}
| {{InfoboxYesNo | [[Taming#Mount|Mount]] | {{{mount|}}} | Yes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>Speed</b>: {{formatnum: {{{mountspeed|}}} }} }}
|-
|-
| {{InfoboxText | HP | {{{healthPoints|}}} | {{formatnum: {{{healthPoints|}}} }} }}
| {{InfoboxText | HP | {{{hp|}}} | {{formatnum: {{{hp|}}} }} }}
|-
|-
| {{InfoboxText | Damage | {{{damage|}}} | {{formatnum: {{{damage|}}} }} }}
| {{InfoboxText | Damage | {{{damage|}}} | {{formatnum: {{{damage|}}} }} }}
Line 98: Line 98:
"type": "url"
"type": "url"
},
},
"healthPoints": {
"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",
"healthPoints",
"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.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Remove the Navbox ?navbox

Check if you want to remove the navbox.

Auto value
0
Booleansuggested
Typetype

The type of entity the NPC is.

Suggested values
boss mini-boss minion outlaw tribe wildlife
Example
wildlife
Stringsuggested
Locationlocation

The biome where the NPC is located.

Suggested values
[[Biomes#Forest|forest]] [[Biomes#Jungle|jungle]] [[Biomes#Taiga|taiga]] [[Biomes#Tundra|tundra]] [[Biomes#Artic|artic]] [[Biomes#Desert|desert]] [[Biomes#Desert|savannah]] [[Biomes#World|world]]
Example
Jungle
Stringsuggested
Hostilityaggressive

Does the NPC attack the player on sight?

Auto value
0
Booleansuggested
Tamabletamable

Is the creature tamable ?

Auto value
0
Booleansuggested
Mountmount

Can you mount the creature ?

Auto value
0
Booleansuggested
The max_speed_approx value :mountspeed

the max_speed_approx value from https://gitlab.com/veloren/veloren/-/blob/master/common/src/states/utils.rs

Numberoptional
Health Pointshp

The amount of HP the NPC has.

Example
1000
Numberoptional
Damagedamage

The amount of damage the NPC's attacks deal.

Example
10
Numberdeprecated
Vox modelvox

A link to the directory in the game's source repository with the NPC's entity vox files.

URLoptional
NPC configurationconfig

A link to this NPC entity's configuration file in the game's source repository.

URLoptional
Cookies help us deliver our services. By using our services, you agree to our use of cookies.