Custom Seasonings

Create alternatives to Qi Seasoning with custom buffs and/or star quality.
Overview
 
This mod acts as a framework to create custom seasonings, and allow choosing a seasoning (or none) when cooking any dish.
 
Dish names may be altered to indicate the presence of seasoning (e.g. Ginger Salad for a salad with ginger as a seasoning), and seasoning may apply a tint to the dish's colour.
 
Seasoning can change a dish's buff granularly or by setting a quality like Qi Seasoning, but dishes without existing buffs will not be affected by seasoning (for now).
 
Note that this mod will not work with cooking overhaul mods that replace the vanilla cooking menu, but they are welcome to implement a compatible system and use this mod's code if they want.
 
Mods that use this framework:
 
 
Creating Custom Seasoning
 
Using Content Patcher, target "aedenthorn.CustomSeasoning/dict", e.g.:
 
{
    "Format": "2.7.0",
    "Changes": [
        {
            "Action": "EditData",
            "Target": "aedenthorn.CustomSeasoning/dict",
            "Entries": {
                "{{ModId}}.RockSalt": {
                    "BuffData": {
                        "MiningLevel": 1
                    },
                    "ChangedName": "{{i18n:rocksalt.change}}",
                    "Tint": {
                        "R": 255,
                        "G": 192,
                        "B": 203
                    },
                   "TintAlpha": 0.1
               },
                "{{ModId}}.Qi": {
                    "ChangedName": "{{i18n:qi.name}}",
                    "Quality": 4
                },
                "829": {
                    "BuffData": {
                        "CriticalChanceMultiplier": 1
                    },
                   "DurationMultiplier": 2,
                    "ChangedName": "{{i18n:ginger.change}}"
                }
            }
        }
    ]
}
 
The dictionary keys are the unqualified item id of the seasoning, either a modded item or a vanilla item.
 
ChangedName should be something like "Ginger {0}" and the {0} will be replaced with the original dish name.
 
Quality affects the dish just as Qi Seasoning does (Qi Seasoning gives dishes a quality of 2).
 
BuffData uses the same structure as the vanilla Buffs->CustomAttributes field.
 
 
Technical
 
Requires SMAPI.
 
Translations should use config variable names as the keys, adding .Desc to the end of the key for hover descriptions.
 
 
A list of all my mods for Stardew Valley is available at https://www.nexusmods.com/stardewvalley/articles/895.

Custom Seasonings Team

profile avatar
Owner
High Crafter tier icon
  • 29
    Followers
  • 309
    Projects
  • 8.0M
    Downloads

More from ErintheView all