Content added Content deleted
No edit summary |
No edit summary |
||
Line 8:
! colspan="3" class="infobox-title" style="font-size: 90%" | Statistics
|-
{{#if:{{{healthPoints|}}}
|
{{!}}-
{{!}} class="infobox-texttitle" style="padding-right: 10px" {{!}} [[NPCs|Type]]:
{{!}} colspan="2" class="infobox-text" {{!}} {{{healthPoints|}}}
}}
{{#if:{{{type|}}}
|
Line 53 ⟶ 59:
{
"format": "block",
"description": "
"params": {
"type": {
"label": "Type
"description": "
"
"example": "wildlife",
"suggestedvalues": [
"boss",
"mini boss",
"minion",
"outlaw",
"tribe",
"wildlife"
]
},
"location": {
"label": "Location
"description": "
"type": "string",
"example": "Jungle",
"
"forest",
"jungle",
"taiga",
"tundra",
"artic",
"desert",
"savannah",
"world"
]
},
"aggressive": {
"label": "
"
"type": "boolean",
"example": "true"
},
"damage": {
"label": "Damage",
"
"type": "number",
"example": "10"
},
"vox": {
"label": "Vox model",
"description": "A link to directory in the game's source repository which contains the NPC's entity vox files.",
"type": "url"
},
"config": {
"label": "NPC configuration",
"description": "A link to the file in the game's source repository which configures the NPC entity's vox files.",
"type": "url"
},
"healthPoints": {
"label": "Health Points",
"description": "The amount of HP an NPC has.",
"type": "number"
}
},
Line 86 ⟶ 123:
"location",
"aggressive",
"healthPoints",
"damage",
"vox",
|
Revision as of 18:43, 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 | optional |
Location | location | The biome where the NPC is located.
| String | optional |
Hostility | aggressive | Whether the NPC attacks the player on sight.
| Boolean | optional |
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 |