Content added Content deleted
No edit summary |
No edit summary |
||
Line 95: | Line 95: | ||
"description": "Whether the NPC attacks the player on sight.", |
"description": "Whether the NPC attacks the player on sight.", |
||
"type": "boolean", |
"type": "boolean", |
||
"example": "true" |
"example": "true", |
||
"suggestedvalues": [ |
|||
"true", |
|||
"false" |
|||
] |
|||
}, |
}, |
||
"damage": { |
"damage": { |
Revision as of 18:48, 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 |