Module:Iteminfo/doc

This module is used to obtain some base statistics of each item.

The code is synchronized with version of Terraria.

Usage
item id. 1 to 3929, and please note there are also some deprecated IDs in the range(2772 to 2775, 2777 to 2780, 2782 to 2785, 2881, 3273, 3340 to 3346, 3462 to3465, 3750, 3847 to 3851, 3861, 3862).
 * id

The prefix for the output variable. Default is. For example, the default variable name for value is. If you used, the variable name will be
 * (optional) prefix

When you use this module, it sets a number of DPL variables, you can retrieve them by using, for instance.

If you are not sure if the ID you specified is valid, please check, it will be the ID when it's valid, and blank when the ID is invalid.

All return fields are listed below, please note not all of them are used, see note info of each row. And please also refer to this page and this page.

Note: you can get item name from item ID by using ItemNameFromId.