Content added Content deleted
No edit summary |
No edit summary |
||
Line 10:
{{#if:{{{healthPoints|}}}
|
{{!}}-▼
{{!}} class="infobox-texttitle" style="padding-right: 10px" {{!}} HP:
{{!}} colspan="2" class="infobox-text" {{!}} {{{healthPoints|}}}
▲{{!}}-
}}
{{#if:{{{type|}}}
|
{{!}}-▼
{{!}} 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" {{!}} {{{location|}}}
▲{{!}}-
}}
{{#if:{{{aggressive|}}}
|
{{!}}-▼
{{!}} class="infobox-texttitle" style="padding-right: 10px" {{!}} Hostile:
{{!}} colspan="2" class="infobox-text" {{!}} {{ucfirst: {{lc: {{{aggressive|}}} }} }}
▲{{!}}-
}}
{{#if:{{{damage|}}}
|
{{!}}-▼
{{!}} class="infobox-texttitle" style="padding-right: 10px" {{!}} Damage:
{{!}} colspan="2" class="infobox-text" {{!}} {{{damage|}}}
▲{{!}}-
}}
|-
Line 43:
{{#if:{{{vox|}}}
|
{{!}}-▼
{{!}} class="infobox-texttitle" {{!}} Voxel Model
{{!}} colspan="2" class="infobox-text" {{!}} [{{{vox|}}} Vox Model]
▲{{!}}-
}}
{{#if:{{{config|}}}
|
{{!}}-▼
{{!}} class="infobox-texttitle" {{!}} Entity Config
{{!}} colspan="2" class="infobox-text" {{!}} [{{{config|}}} Config]
▲{{!}}-
}}
|}
|
Revision as of 19:05, 10 February 2023
Template:Infobox npc | ||
---|---|---|
Statistics | ||
Technical Information |
Displays a floating infobox to the right-side with information about an NPC entity.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Type | type | The type of entity the NPC is.
| String | suggested |
Location | location | The biome where the NPC is located.
| String | suggested |
Hostility | aggressive | Whether the NPC attacks the player on sight.
| Boolean | suggested |
Health Points | healthPoints | The amount of HP an NPC has. | Number | optional |
Damage | damage | The amount of damage the NPC's attacks deal.
| Number | optional |
Vox model | vox | A link to directory in the game's source repository which contains the NPC's entity vox files. | URL | optional |
NPC configuration | config | A link to the file in the game's source repository which configures the NPC entity's vox files. | URL | optional |