Modding:Tailoring
Appearance
← 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. |
| CraftedItemIds | (Optional) A list of qualified item IDs of possible crafted item outputs. |
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 .