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
No edit summary
Line 10: Line 10:
|-
|-
{{InfoboxText | [[NPCs|Type]] | {{ucfirst: {{lc: {{{type|}}} }} }} }}
{{InfoboxText | [[NPCs|Type]] | {{ucfirst: {{lc: {{{type|}}} }} }} }}
{{#if: {{{location|}}}
{{InfoboxText | Location(s) | {{ucfirst: {{lc: {{{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:50, 12 August 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 PointshealthPoints

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.