Modifying Items

From Towns Wiki
Jump to: navigation, search

Main / Modding / Modifying Items

What is an Item[edit | edit source]

Items include everything from containers to raw materials to food.


Example item (for a container)[edit | edit source]

<rmbarrel>
  <name esES="Barril para materiales">Barrel for mats</name>
  <type>rawmaterials</type>
  <container>true</container>
  <containerSize>10</containerSize>
</rmbarrel>

Known types of items[edit | edit source]

Syntax Table[edit | edit source]

Name Description Parent Type Required Options Object Types Example
item_identifier The identifier for the item (must be unique) <items> String - Unique Yes ALL <item_short_name>
name The name of the item item_identifier String Yes esES="Spanish Translation" ALL <name esES="Barril para materiales">Barrel for mats</name>

Notes[edit | edit source]