Item

Signature

{item:[contentId],[countId]}

Description

Displays the name of an item while taking its singular and plural form into account.

The displayed text differs based on the argXType header option of a dialog entry.

{dialog 0, arg0type=7, arg1type=9}
You obtain {count:1,0}{item:0,1}!
{/dialog}

This dialog could translate to You obtain 2 Potions! where as the displayed content is determined by the function that retrieves this text while the arg types define that the argument is a countable content.

For a full list of arg types, you can view the following page: Arg Type.

Arguments

Content Identifier

The argument type identifier of the content (0 -> 15).

Count Identifier

The argument type identifier of the count (0 -> 15).

Notes

This tag must be combined with either the Amount or Count tag as otherwise no text is displayed.

This tag cannot be combined with the Article tag.

This tag is only usable in a text file with the format st2e8 (e.g. battle messages).

Last updated