XMODhub Home
Switch language
English
Custom Cask Mod Mod Menu

Custom Cask Mod

Creator: Digus
Updated:19/05/2024 07:41:41
32KB
Verified by McAfee SECURE
Authentification
Trusted by 200,000,000+ Users

Pre-required Mods

will be automatically installed when you use Custom Cask Mod

About this Mod

Adds a way to customize casks. Comes with Pickles and Maple Syrup configurable, but can be changed to add any 'Object' and adjust the processing time for products that already work in casks. Also allows casks to function outdoors.
Current version: 1.6.3
  • Update mod for Stardew Valley 1.6 compatibility
  • Changing the implementation to add Machine data, instead of patching the time method.
  • New property QualifiedItemId to identify custom agers. (Name property still works)
  • Ageable and caskable list now supports Qualified Item IDs.
  • Support for fairy dust in custom agers.
  • Turkish translation by Lexith
  • Changing loading order to avoid warning
  • Changing to Generic Mod Config Menu new API.
  • Fixed a null reference exception when an object with a null name is loaded in the game.
  • New config property to enable aging for any custom ager anywhere.
  • Fix error where a qualified item ID, if not loaded by the game, would be registered as a category.


Objective:
This mod was suggested in a post on the Custom Crystalarium Mod A user thought it would be cool to improve juice quality, similar to how you can with wine.
So I looked up common aged products that weren’t already in the game and added them as a default option. (Juice isn’t one of them.)
But of course players can set any "Object" to be aged in the cask.

Compatibility:
This mod may conflict with other mods that alter cask behavior. No issues have been reported so far.
Now compatible with the Automate mod.

Installation:
How does it work:
  • If you have MFM installed, 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 that with "external help," you can adjust the cask to improve the quality of most items or make it work anywhere.
  • The letter is just for flavor though; once you install the mod, it should Already working. You can even disable the letter in the config file.
  • If you enable “Cask Anywhere” but don’t have the cask recipe, the letter will include the recipe. (Requires MFM)
  • 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 of how to add more items in the file. This adds the Juice: 56 days to age from No Quality to Iridium. All milk items: 14 days to age.
    {
      "342": 2.66
      "724": 2.0
      "350": 1.0
      "-6": 4.0
      "Oil": 1.66
    }
  • The format of the file is a serialization of a C# Dictionary.
  • "You need to place an object ID, category, or name inside 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 gives the number of days needed to age an item from no quality to iridium quality. For example, a rate of 1 takes 56 days (2 seasons), a rate of 2 takes 28 days, and a rate of 56 takes only 1 day.
  • You can find the item IDs and categories on this page: https://stardewvalleywiki.com/Modding:Object_data
  • It will patch Automate mod using Harmony framework. It only changes its dictionary so that configured items and aging rates are considered when placing items in the cask. So it will only work for items configured with IDs, since categories are not supported by Automate.
Modder Content Pack:
  • Content pack format matches CaskData.json in the mods folder. The mod simply merges both files.
  • There is a template in the mods folder for the CaskData.json file.
  • You can also set Custom Agers on the Ager's Data.json, that will make different objects behave as casks.
  • A template for the AgersData.json file is located in the mods folder.
  • In the files, there are many "comments" with examples and explanations.
  • There is also a manifest file template in the same folder.
**Config options:**
Run the game at least once with the mod installed to generate the config.json file. You can edit this file to adjust the configuration.
  • "Disable Letter:(falseEnable or disable the letter explaining the changes.
  • "EnableCasksAnywhere: (falseEnable or disable casks accepting items from anywhere.
  • "EnableCustomAgesAnywhere:(false|true) Enable or disable custom agers accepting items from anywhere.
  • "Disable Auto-Compatibility:(Sad Face)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.
  • "Enable More Than One Quality Increment Per Day": (false|true) Enable or disable casks from raising more than one quality level per day. Default is set to true for legacy purposes. Due to a new item that can be used on casks to speed up production, the code has been updated to allow only one quality increase per maturity check.
  • "EnableCaskAgeEveryObject:(false|true) Enable or disable cask acceptance every object.
  • "Default Aging Rate": (1|any_numberAging rate applied to unspecified object when EnableCaskAgeEveryObject is true.
Internationalization:
This mod supports SMAPI i18n file integration. While it has an official Portuguese (Brazil) translation, you can translate it into your own language by following the instructions below: https://stardewvalleywiki.com/Modding:SMAPI_APIs#Translation

**Uninstall:**
  • Delete the mod from the installation folder.
  • Custom Agers will still finish aging products and function as normal casks until removed from the floor.

Special Thanks:

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

My Other Mods:

Unlock the full potential of Stardew Valley with XMODhub—explore these top mods today!

Verified by McAfee SECURE
Authentification
Trusted by 200,000,000+ Users

Need help with download or installation? Join our Discord community for support.

XMODhub Home
Language
Switch language to Chinese Traditional
Switch language to English
Switch language to German
Switch language to Korean
Switch language to Thai
Switch language to Indonesian
Switch language to Vietnamese
Switch language to Turkish
Switch language to Portuguese
Switch language to Japanese
Switch language to Polish
Switch language to French
Switch language to Spanish
Switch language to Italian

Gaming solutions

Resources

Partners

Follow us on

Visit XMODhub DiscordVisit XMODhub FacebookVisit XMODhub on XVisit XMODhub YouTubeVisit XMODhub TikTokVisit XMODhub Reddit
Contact Support:
support@xmodhub.com
Xmod_Lily
Business Inquiries:
dc@xmodhub.com or lynn@business.xmodhub.com
catherine_79237

Larvas Limited

Room 1201, 12/F Tai Sang Bank Building 130-132 Des Voeux Road Central HK