Content added Content deleted
No edit summary |
No edit summary |
||
Line 55: | Line 55: | ||
|} |
|} |
||
</onlyinclude> |
</onlyinclude> |
||
<includeonly> |
|||
⚫ | |||
</includeonly> |
|||
<noinclude> |
<noinclude> |
||
<templatedata> |
<templatedata> |
||
Line 109: | Line 112: | ||
"vox": { |
"vox": { |
||
"label": "Vox model", |
"label": "Vox model", |
||
"description": "A link to directory in the game's source repository |
"description": "A link to the directory in the game's source repository with the NPC's entity vox files.", |
||
"type": "url" |
"type": "url" |
||
}, |
}, |
||
"config": { |
"config": { |
||
"label": "NPC configuration", |
"label": "NPC configuration", |
||
"description": "A link to |
"description": "A link to this NPC entity's configuration file in the game's source repository.", |
||
"type": "url" |
"type": "url" |
||
}, |
}, |
||
Line 134: | Line 137: | ||
} |
} |
||
</templatedata> |
</templatedata> |
||
⚫ | |||
[[Category:Formatting Templates]] |
[[Category:Formatting Templates]] |
||
[[Category:Infoboxes]] |
[[Category:Infoboxes]] |
Revision as of 19:14, 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 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 |