Template:NpcIdFromInternalName

来自Terraria Wiki
跳到导航 跳到搜索
Template-info.svg 文档 以下文档来自Template:NpcIdFromInternalName/doc。(编辑 | 历史

This template returns the ID of an NPC based on its internal name.

Usage

{{ npcIdFromInternalName | <internal NPC name> }}

First unnamed parameter

Internal name of the NPC. If it is empty or invalid, the template will return an empty string. Count is a special internal name which returns the greatest possible NPC ID plus 1.

Examples

Code Result
{{npcIdFromInternalName|BlueSlime}} 1
{{npcIdFromInternalName|Count}} 688

See also