Modding:Shirts
Appearance
← Items
Shirts
Data format
You can create/edit shirts by editing the new Data/Shirts asset. This consists of a string → model lookup, where...
- The key is the unqualified item ID.
- The value is a model with the fields listed below.
Basic shirt data
| field | purpose |
|---|---|
| Name | (Optional) The internal name for the item. Default Shirt. |
| DisplayName Description |
(Optional) A tokenizable string for the item's in-game display name and description. Defaults to the generic shirt text (Shirt and A wearable shirt). |
| Price | (Optional) The default price when the item is sold to the player in a shop. Default 50. |
Appearance
| field | purpose |
|---|---|
| Texture | The asset name for the texture containing the shirt's sprite. Defaults to Characters/Farmer/shirts. |
| SpriteIndex | The shirt's sprite index within the Texture, where 0 is the top-left set. |
| DefaultColor | (Optional) The dye color to apply to the sprite when the player hasn't dyed it yet, if any. See color format. Default none. |
| CanBeDyed | (Optional) Whether the player can dye this shirt. Default false. |
| IsPrismatic | (Optional) Whether the shirt continuously shifts colors. This overrides DefaultColor and CanBeDyed if set. Default false. |
| HasSleeves | (Optional) Whether to draw shirt sleeves. Default true. |
Other
| field | purpose |
|---|---|
| CanChooseDuringCharacterCustomization | (Optional) Whether this shirt can be selected on the character customization screen (e.g. when creating a character). Default false. |
| CustomFields | The custom fields for this entry. |