模板: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