Content added Content deleted
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
| |
| |
||
{{!}} class="infobox-texttitle" style="padding-right: 10px" {{!}} Location(s): |
{{!}} class="infobox-texttitle" style="padding-right: 10px" {{!}} Location(s): |
||
{{!}} colspan="2" class="infobox-text" {{!}} {{{location|}}} |
{{!}} colspan="2" class="infobox-text" {{!}} {{ucfirst: {{lc: {{{location|}}} }} }} |
||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
Line 33: | Line 33: | ||
| |
| |
||
{{!}} class="infobox-texttitle" style="padding-right: 10px" {{!}} HP: |
{{!}} class="infobox-texttitle" style="padding-right: 10px" {{!}} HP: |
||
{{!}} colspan="2" class="infobox-text" {{!}} {{{healthPoints|}}} |
{{!}} colspan="2" class="infobox-text" {{!}} {{formatnum: {{{healthPoints|}}} }} |
||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
Line 39: | Line 39: | ||
| |
| |
||
{{!}} class="infobox-texttitle" style="padding-right: 10px" {{!}} Damage: |
{{!}} class="infobox-texttitle" style="padding-right: 10px" {{!}} Damage: |
||
{{!}} colspan="2" class="infobox-text" {{!}} {{{damage|}}} |
{{!}} colspan="2" class="infobox-text" {{!}} {{formatnum: {{{damage|}}} }} |
||
{{!}}- |
{{!}}- |
||
}} |
}} |
Revision as of 20:29, 10 February 2023
Template:Infobox npc | ||
---|---|---|
Statistics | ||
Technical Information |
Displays a floating infobox 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 | Does the NPC attack the player on sight?
| Boolean | suggested |
Health Points | healthPoints | The amount of HP the NPC has.
| Number | optional |
Damage | damage | The amount of damage the NPC's attacks deal.
| Number | optional |
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 |