Stardew Valley
Help us shape the future of the Vortex mod manager by taking our survey

File information

Last updated

Original upload

Created by

Digus

Uploaded by

Digus

Virus scan

Safe to use

About this mod

Adds a way to customize the casks. It comes configurable with Pickles and Maple Syrup but can be changed to add any 'Object' and change the time of the products that already work on casks. You can also enable casks to work outside the cellar.

Requirements
Permissions and credits
Changelogs
Current version: 1.2.1
  • You can now use the name of the object to configure the mod. That make it compatible with Json Asset objects.
  • Modders can now create content packs for this mod, to configure their objects to age in casks.
  • Adds support to Stardew Valley 1.4

Recent version:
1.1.0

  • Adds compatibility with Automate mod.
  • Adds support to SMAPI 3

Objective:
This mod was suggested in a post on the Custom Crystalarium Mod page. An user thought it would be cool to increase juice quality like you could with wine.
So I researched for common aged products not already present in the game and added them as a default option. (juice is not one of them)
But of course people can set any "Object" to be aged by the cask.

Compatibility:
This mod can conflict with other mods changing the behavior of the cask. No problem reported so far.
It's now currently compatible with the Automate mod, but only the ID configuration, configurations with category will not work with Automate. It was implemented and tested with version 1.13.2.

Installation:
How does it work:
  • Once you get the cellar or enable casks anywhere, you will receive a letter from the farmers association encouraging the aging of artisan goods, and "reminding" that pickles and maple syrup can also be aged. They also say with "external help" you can adjust the cask to increase the quality of most objects or for it to work anywhere.
  • The letter is just for flavor though, once you install the mod it should already be working, you can even disable the letter in the config file.
  • If you enable the cask anywhere but do not have the recipe for the cask, the letter will come with the recipe.
  • Once you start the game for the first time, the file 'CaskData.json' will be created in the 'data' folder of the mod.
  • Here is an example on how to add more items in the file. This adds the juice with 56 days to age from no quality to iridium, and all milk items will age in 14 days:
  • {
      "342": 2.66,
      "724": 2.0,
      "350": 1.0,
      "-6": 4.0,
      "Oil": 1.66
    }
  • The format of the file is an serialization of a C# Dictionary.
  • You need to place an object Id, Category or Name between double quotation marks, followed by colon and the rate to age an item. If you want another object, you need to place a comma and repeat. Everything needs to be between braces.
  • Dividing 56 by the rate, you get the number of days to age an item from no quality to iridium quality. So a rate of 1 will take 56 days(2 seasons), a rate of 2 will give you 28 day, a rate of 56 will only take one day.
  • You can find the item ids and categories in this page: https://stardewvalleywiki.com/Modding:Object_data
  • It will patch Automate mod using Harmony framework. It only change it's dictionary so that the configured items and aging rates are considered when it's placing the items in the cask. So it will only work for items configured with Ids, since categories is not supported by Automate.
Content pack for modders:
  • Content pack format is the same as the CaskData.json on the mods folder. The mod just merge both files.
  • There is a template in the mods folder for the manifest and the CaskData.json file.
  • In the file there is a lot of "comments" with examples and explanations.
Config options:
Run the game at least one with the mod installed to create the config.json file. You can edit this file to change the configuration.
  • "DisableLetter": (false|true) Enable or disable the letter explaining the changes.
  • "EnableCasksAnywhere": (false|true) Enable or disable the casks accepting items anywhere.
  • "DisableAutomateCompatibility": (false|true) Enable or disable compatibility with Automate mod. No need to disable it if you don't have the Automate mod installed, it will detect it automatically.

Internationalization:

This mod is compatible with SMAPI support to i18n files. It has an official translation for pt-BR, but you can translating for your language following this instructions: https://stardewvalleywiki.com/Modding:SMAPI_APIs#Translation

Uninstall:
  • Delete the mod from the installation folder.

Special Thanks:

For more info:
https://community.playstarbound.com/threads/custom-cask-mod.148111/

My Other Mods: