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:{{{healthPoints|}}} |
|||
| |
|||
{{!}}- |
|||
{{!}} class="infobox-texttitle" style="padding-right: 10px" {{!}} [[NPCs|Type]]: |
|||
{{!}} colspan="2" class="infobox-text" {{!}} {{{healthPoints|}}} |
|||
}} |
|||
{{#if:{{{type|}}} |
{{#if:{{{type|}}} |
||
| |
| |
||
Line 53: | Line 59: | ||
{ |
{ |
||
"format": "block", |
"format": "block", |
||
"description": " |
"description": "Displays a floating infobox to the right-side with information about an NPC entity.", |
||
"params": { |
"params": { |
||
"type": { |
"type": { |
||
"label": "Type |
"label": "Type", |
||
"description": " |
"description": "The type of entity the NPC is.", |
||
" |
"type": "string", |
||
"example": "wildlife", |
|||
"suggestedvalues": [ |
|||
"boss", |
|||
"mini boss", |
|||
"minion", |
|||
"outlaw", |
|||
"tribe", |
|||
"wildlife" |
|||
] |
|||
}, |
}, |
||
"location": { |
"location": { |
||
"label": "Location |
"label": "Location", |
||
"description": " |
"description": "The biome where the NPC is located.", |
||
"type": "string", |
|||
"example": "Jungle", |
"example": "Jungle", |
||
" |
"suggestedvalues": [ |
||
"forest", |
|||
"jungle", |
|||
"taiga", |
|||
"tundra", |
|||
"artic", |
|||
"desert", |
|||
"savannah", |
|||
"world" |
|||
] |
|||
}, |
}, |
||
"aggressive": { |
"aggressive": { |
||
"label": " |
"label": "Hostility", |
||
" |
"description": "Whether the NPC attacks the player on sight.", |
||
"type": "boolean", |
|||
"example": "true" |
|||
}, |
}, |
||
"damage": { |
"damage": { |
||
"label": "Damage", |
"label": "Damage", |
||
" |
"description": "The amount of damage the NPC's attacks deal.", |
||
"type": "number" |
"type": "number", |
||
"example": "10" |
|||
}, |
}, |
||
"vox": { |
"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" |
"type": "url" |
||
}, |
}, |
||
"config": { |
"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" |
"type": "url" |
||
}, |
|||
"healthPoints": { |
|||
"label": "Health Points", |
|||
"description": "The amount of HP an NPC has.", |
|||
"type": "number" |
|||
} |
} |
||
}, |
}, |
||
Line 86: | Line 123: | ||
"location", |
"location", |
||
"aggressive", |
"aggressive", |
||
"healthPoints", |
|||
"damage", |
"damage", |
||
"vox", |
"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 |