Jump to content

Modding:Tailoring: Difference between revisions

From Stardew Valley Wiki
imported>SiTheGreat
No edit summary
imported>SiTheGreat
No edit summary
Line 19: Line 19:
! effect
! effect
|-
|-
| <samp>CraftedItemId</samp>
| <samp>FirstItemTags</samp>
| The [[Modding:Migrate to Stardew Valley 1.6#Custom items|qualified item ID]] of the crafted item.
| A list of [[Modding:Context tags|context tags]] for items that can be accepted by the cloth box on the left-hand side of the tailoring menu for this recipe. Typically includes the <samp>item_cloth</samp> context tag.
|-
|-
| <samp>Season</samp>
| <samp>SecondItemTags</samp>
| The [[season]] when the festival becomes active.
| A list of [[Modding:Context tags|context tags]] for items that can be accepted by the thread box on the right-hand side of the tailoring menu for this recipe.
|-
|-
| <samp>StartDay</samp><br /><samp>EndDay</samp>
| <samp>SpendRightItem</samp>
| The days of month when the festival becomes active.
| Whether to consume the item in the thread box on the right-hand side of the tailoring menu when crafting the item.
|-
|-
| <samp>StartTime</samp>
| <samp>CraftedItemId</samp>
| The time of day when the festival opens each day.
| The [[Modding:Migrate to Stardew Valley 1.6#Custom items|qualified item ID]] of the crafted item.
|}
|}



Revision as of 01:52, 15 November 2025

← Index

This page explains how the game stores and uses tailoring recipe data. This is an advanced guide for mod developers.

Overview

Tailoring recipes are recipes that can be made in the tailoring menu, which can be opened by interacting with the Sewing Machine either at Emily's house or once the player obtains it.

Tailoring recipe data is stored in the Data/TailoringRecipes asset.

Data format

The Data/TailoringRecipes asset consists of a string → model lookup, where...

  • The key is a unique string ID for the tailoring recipe.
  • The value is a model with the fields listed below.
field effect
FirstItemTags A list of context tags for items that can be accepted by the cloth box on the left-hand side of the tailoring menu for this recipe. Typically includes the item_cloth context tag.
SecondItemTags A list of context tags for items that can be accepted by the thread box on the right-hand side of the tailoring menu for this recipe.
SpendRightItem Whether to consume the item in the thread box on the right-hand side of the tailoring menu when crafting the item.
CraftedItemId The qualified item ID of the crafted item.

See also

Modding:Recipe data for data about cooking and crafting recipes.

Modding:Hats for data about hat items.

Modding:Shirts for data about shirt items.

Modding:Pants for data about pant items.

Modding:Boots for data about boot items .