Jump to content

Modding:Tailoring: Difference between revisions

From Stardew Valley Wiki
imported>SiTheGreat
Modding wiki page on tailoring recipes
 
imported>SiTheGreat
No edit summary
Line 8: Line 8:


Tailoring recipe data is stored in the <samp>Data/TailoringRecipes</samp> asset.
Tailoring recipe data is stored in the <samp>Data/TailoringRecipes</samp> asset.
==Data format==
The <samp>Data/TailoringRecipes</samp> asset consists of a string → model lookup, where...
* The key is a [[Modding:Common data field types#Unique string ID|unique string ID]] for the tailoring recipe.
* The value is a model with the fields listed below.
{| class="wikitable"
|-
! field
! effect
|-
| <samp>DisplayName</samp>
| A [[Modding:Tokenizable strings|tokenizable string]] for the display name shown on the [[calendar]].
|-
| <samp>Season</samp>
| The [[season]] when the festival becomes active.
|-
| <samp>StartDay</samp><br /><samp>EndDay</samp>
| The days of month when the festival becomes active.
|-
| <samp>StartTime</samp>
| The time of day when the festival opens each day.
|}
==See also==
[[Modding:Recipe data]] for data about cooking and crafting recipes.
[[Modding:Hats]] for data about hats.
[[Modding:Shirts]] for data about cooking and crafting recipes.
[[Modding:Pants]] for data about cooking and crafting recipes.
[[Modding:Boots]] for data about cooking and crafting recipes.
[[Category:Modding]]

Revision as of 01:19, 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
DisplayName A tokenizable string for the display name shown on the calendar.
Season The season when the festival becomes active.
StartDay
EndDay
The days of month when the festival becomes active.
StartTime The time of day when the festival opens each day.

See also

Modding:Recipe data for data about cooking and crafting recipes. Modding:Hats for data about hats. Modding:Shirts for data about cooking and crafting recipes. Modding:Pants for data about cooking and crafting recipes. Modding:Boots for data about cooking and crafting recipes.