Content added Content deleted
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
! colspan="3" class="infobox-title" style="font-size: 90%" | Statistics |
! colspan="3" class="infobox-title" style="font-size: 90%" | Statistics |
||
|- |
|- |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
{{#if:{{{type|}}} |
{{#if:{{{type|}}} |
||
| |
| |
||
Line 30: | Line 24: | ||
{{!}} class="infobox-texttitle" style="padding-right: 10px" {{!}} Hostile: |
{{!}} class="infobox-texttitle" style="padding-right: 10px" {{!}} Hostile: |
||
{{!}} colspan="2" class="infobox-text" {{!}} {{ucfirst: {{lc: {{{aggressive|}}} }} }} |
{{!}} colspan="2" class="infobox-text" {{!}} {{ucfirst: {{lc: {{{aggressive|}}} }} }} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
Line 55: | Line 55: | ||
|} |
|} |
||
</onlyinclude> |
</onlyinclude> |
||
<includeonly> |
|||
[[Category: NPCs]] |
|||
</includeonly> |
|||
<noinclude> |
<noinclude> |
||
<templatedata> |
<templatedata> |
||
{ |
{ |
||
"format": "block", |
"format": "block", |
||
"description": "Displays a floating infobox |
"description": "Displays a floating infobox with information about an NPC entity.", |
||
"params": { |
"params": { |
||
"type": { |
"type": { |
Revision as of 19:33, 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 | 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 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 |