You can now create/edit [[Tailoring#Pants|pants]] by editing the new <samp>Data/Pants</samp> asset, which replaces <samp>Data/clothingInformation</samp>. This consists of a string → model lookup, where...
+
===Data format===
−
* The key is the unqualified [[#Custom items|item ID]].
+
+
You can create/edit [[Tailoring#Pants|pants]] by editing the <samp>Data/Pants</samp> asset. This consists of a string → model lookup, where...
+
* The key is the unqualified [[Modding:Common_data_field_types#Item_ID|item ID]].
* The value is a model with the fields listed below.
* The value is a model with the fields listed below.
−
−
===Data format===
====Basic pants data====
====Basic pants data====
Line 1,165:
Line 1,165:
|-
|-
| <samp>DefaultColor</samp>
| <samp>DefaultColor</samp>
−
| ''(Optional)'' The dye color to apply to the sprite when the player hasn't [[dyeing|dyed]] it yet, if any. See [[#Color fields|color format]]. Default <samp>255 235 203</samp> (which matches the color of the cloth item).
+
| ''(Optional)'' The dye color to apply to the sprite when the player hasn't [[dyeing|dyed]] it yet, if any. See [[Modding:Common_data_field_types#Color|color format]]. Default <samp>255 235 203</samp> (which matches the color of the cloth item).
|-
|-
| <samp>CanBeDyed</samp>
| <samp>CanBeDyed</samp>
Line 1,184:
Line 1,184:
|-
|-
| <samp>CustomFields</samp>
| <samp>CustomFields</samp>
−
| The [[#Custom data fields|custom fields]] for this entry.
+
| The [[Modding:Common_data_field_types#Custom_fields|custom fields]] for this entry.