来自Terraria Wiki
跳转至: 导航搜索
This template is i18n-ready, means it is easy to localize for different languages. Please see I18n & l10n for Templates to learn more.
Template-info.svg 文档 以下文档内容来自模板:Inventory/doc。 (edit | history)

For use with NPC vendors.


|<item name>|<value>|<availability>
|<item name>|<value>|<availability>
Optional column width parameters may be sent as first 3 parameters, followed by a widths flag

Unnamed Parameters: 1, 2, 3, Named Parameter: widths=y
Column widths are in pixels, 'px' is not necessary.

Unnamed Parameter 1, 4, 7, etc

The name of the sold item.

Unnamed Parameter 2, 5, 8, etc

The value at which said item is sold at. {{cc}}, {{sc}}, {{gc}} and {{pc}} are used.

Unnamed Parameter 3, 6, 9, etc

The circumstances under which the item is sold. Leave empty for "Always available."


|Sake|{{sc|5}}|3% chance
|Presserator|{{gc|10}}|({{pc icon}})
|Code 1|{{gc|5}}|1.5% chance {{small|after defeating <br>the [[Eye of Cthulhu]] ({{pc icon}})}}