> For the complete documentation index, see [llms.txt](https://fehdead.gitbook.io/npc-kit/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fehdead.gitbook.io/npc-kit/references.md).

# References

**What you look up while writing an NPC: the calls, the models, the text and the items.**

### Script calls

Every `npc.<name>` is a call of the game's script VM. These list them all, with their arguments:

{% content-ref url="<https://fehdead.gitbook.io/ffxii-modding-guide/modding/resources/vm-call-targets>" %}
<https://fehdead.gitbook.io/ffxii-modding-guide/modding/resources/vm-call-targets>
{% endcontent-ref %}

{% content-ref url="<https://fehdead.gitbook.io/ffxii-modding-guide/modding/resources/the-insurgents-handbook>" %}
<https://fehdead.gitbook.io/ffxii-modding-guide/modding/resources/the-insurgents-handbook>
{% endcontent-ref %}

The Insurgent's Handbook also covers the VM calls and the text tags as the game's own scripts use them.

***

### Models

The model keys for `bindp2_d4`, and what each model is:

{% content-ref url="<https://fehdead.gitbook.io/ffxii-modding-guide/modding/resources/model-reference>" %}
<https://fehdead.gitbook.io/ffxii-modding-guide/modding/resources/model-reference>
{% endcontent-ref %}

***

### Text

The tags a dialog's text can hold: colors, icons, names, waits:

{% content-ref url="<https://fehdead.gitbook.io/ffxii-modding-guide/modding/resources/text-tags>" %}
<https://fehdead.gitbook.io/ffxii-modding-guide/modding/resources/text-tags>
{% endcontent-ref %}

***

### Items

The ids of items, equipment, loot and gil, for an NPC that gives or takes them:

{% content-ref url="<https://fehdead.gitbook.io/ffxii-modding-guide/modding/resources/inventory-contents>" %}
<https://fehdead.gitbook.io/ffxii-modding-guide/modding/resources/inventory-contents>
{% endcontent-ref %}

***

### Dialogs

NPC Kit opens no window of its own. The dialogs come from the Lua Loader's dialog capability:

{% content-ref url="<https://gitlab.com/ff12-module-loader/modules/ff12-lua-loader-docs>" %}
<https://gitlab.com/ff12-module-loader/modules/ff12-lua-loader-docs>
{% endcontent-ref %}
