Custom Cask Mod already has an alpha version working with Stardew Valley 1.6. I plan to update the mod here on nexus as soon as Stardew Valley 1.6 releases. That version was mostly tested, but didn't test every possible feature. So be patient, with you found a bug in an content pack test it extensively to be sure its really a bug with CCM. If you are not sure, check first with the content pack creator to see if it's not a configuration problem. Give the most detail you can when reporting a bug, and always upload your log file after playing until you saw the problem.
It appears to load and run just fine. Menu comes up in game, I have all of the boxes checked and the aging number cranked up HIGH just to see if it works. Not sure if there is a maximum number that would break it or not. All of the functions work except for the aging. https://smapi.io/log/a0cfc54e0e824a73baafda13a3ccb076
I noticed that when I edit aging rate, it only affects casks outside the cellar. The ones in cellar keep vanilla rates. All the other settings work fine. I do use a cellar mod - this one.
im getting the same red message as well [Custom Cask Mod] This mod failed in the GameLoop.SaveLoaded event. Technical details: NullReferenceException: Object reference not set to an instance of an object. at CustomCaskMod.DataLoader.<>c__DisplayClass14_0.<GetId>b__0(KeyValuePair`2 o) in C:\Projetos\Stardew Valley\ModSolution\CustomCaskMod\DataLoader.cs:line 265 at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found) at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate) at CustomCaskMod.DataLoader.GetId(Object identifier) in C:\Projetos\Stardew Valley\ModSolution\CustomCaskMod\DataLoader.cs:line 265 at CustomCaskMod.DataLoader.<>c__DisplayClass13_0.<FillDataIds>b__0(KeyValuePair`2 c) in C:\Projetos\Stardew Valley\ModSolution\CustomCaskMod\DataLoader.cs:line 245 at System.Collections.Generic.List`1.ForEach(Action`1 action) at CustomCaskMod.DataLoader.FillDataIds(Dictionary`2 data, Dictionary`2 dataIds) in C:\Projetos\Stardew Valley\ModSolution\CustomCaskMod\DataLoader.cs:line 242 at CustomCaskMod.DataLoader.LoadContentPacksCommand(String command, String[] args) in C:\Projetos\Stardew Valley\ModSolution\CustomCaskMod\DataLoader.cs:line 236 at CustomCaskMod.CustomCaskModEntry.OnSaveLoaded(Object sender, SaveLoadedEventArgs e) in C:\Projetos\Stardew Valley\ModSolution\CustomCaskMod\CustomCaskModEntry.cs:line 84 at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in SMAPI\Framework\Events\ManagedEvent.cs:line 101 [Producer Framework Mod] Unexpected error for rule from 'ughitsmegan.goldenmayoForProducerFrameworkMod', producer 'Mayonnaise Machine' and input '928'. This rule will be ignored. [Producer Framework Mod] Unexpected error for rule from 'ughitsmegan.ostrichmayoForProducerFrameworkMod', producer 'Mayonnaise Machine' and input '289'. This rule will be ignored. [Producer Framework Mod] Unexpected error for rule from 'CaptainWolfe11.SweetGemBerryWineProduce', producer 'Keg' and input '417'. This rule will be ignored.
read the description several times to be sure my question wasn't answered there, but if i missed it anyway, so sorry! my question is, does modifying the age rate affect the vanilla cask too, or just the hardwood and radioactive ones in the mod? i have gwen's craftables and prefer the look of the vanilla one to the mod ones, so i'd like to be able to use those instead (aesthetics are Everything to me haha).
"default aging rate" referes to anything you have not definfed right? regular items like wine do not get their aging time changed in my case smapi is running perfectly btw
It only apply to objects that do not have specific rules and you have the property EnableCaskAgeEveryObject enabled. For items that are vanila you always have a rule, so you need to override them explicitly .
I want to ask, how do I trigger actually crafting the hardwood cask and radioactive one? I got the letter from Robin for the hardwood cask but I never see the option to craft it on my menu...
Does anyone know how to age Dried Mushrooms? I put 'Dried' in caskdata and it takes dried fruit but neither 'DriedFruit' nor 'DriedMushrooms' does anything, and 'Dried' seems to only work on fruit
I did finally get SMAPI to output a hopefully useful error. In caskdata I put
"(O)DriedMushroom": 2.0 And got this error: [game] Failed parsing condition 'ITEM_CATEGORY INPUT (O)DriedMushroom': required index 2 has value '(O)DriedMushroom', which can't be parsed as an integer. This error repeats over and over while a Dried Purple Mushrooms is in the chest automated to push into casks. Dried Apricots went in fine, but Dried Purple Mushrooms just won't go
Yeah, I tried many, many permutations of (O)DriedMushrooms with or without plural, with or without Dried or DriedFruit also in the list, with or without the category tag, the only version that elicits any response is (O)DriedMushroom which yields the error I posted before. With (O)DriedMushrooms there's nothing at all in the SMAPI logs, and I can't put the dried mushrooms in the cask either manually or through automate.
ETA: I tried with a purposefully misspelled name and got the error again, so the error is not mushroom specific :D
342 comments
Custom Cask Mod already has an alpha version working with Stardew Valley 1.6.
I plan to update the mod here on nexus as soon as Stardew Valley 1.6 releases.
That version was mostly tested, but didn't test every possible feature.
So be patient, with you found a bug in an content pack test it extensively to be sure its really a bug with CCM.
If you are not sure, check first with the content pack creator to see if it's not a configuration problem.
Give the most detail you can when reporting a bug, and always upload your log file after playing until you saw the problem.
Thanks and good game for you all.
https://smapi.io/log/a0cfc54e0e824a73baafda13a3ccb076
Try removing some mod to find out which one.
I noticed that when I edit aging rate, it only affects casks outside the cellar. The ones in cellar keep vanilla rates. All the other settings work fine. I do use a cellar mod - this one.
And here's a smapi log.
NullReferenceException: Object reference not set to an instance of an object.
at CustomCaskMod.DataLoader.<>c__DisplayClass14_0.<GetId>b__0(KeyValuePair`2 o) in C:\Projetos\Stardew Valley\ModSolution\CustomCaskMod\DataLoader.cs:line 265
at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at CustomCaskMod.DataLoader.GetId(Object identifier) in C:\Projetos\Stardew Valley\ModSolution\CustomCaskMod\DataLoader.cs:line 265
at CustomCaskMod.DataLoader.<>c__DisplayClass13_0.<FillDataIds>b__0(KeyValuePair`2 c) in C:\Projetos\Stardew Valley\ModSolution\CustomCaskMod\DataLoader.cs:line 245
at System.Collections.Generic.List`1.ForEach(Action`1 action)
at CustomCaskMod.DataLoader.FillDataIds(Dictionary`2 data, Dictionary`2 dataIds) in C:\Projetos\Stardew Valley\ModSolution\CustomCaskMod\DataLoader.cs:line 242
at CustomCaskMod.DataLoader.LoadContentPacksCommand(String command, String[] args) in C:\Projetos\Stardew Valley\ModSolution\CustomCaskMod\DataLoader.cs:line 236
at CustomCaskMod.CustomCaskModEntry.OnSaveLoaded(Object sender, SaveLoadedEventArgs e) in C:\Projetos\Stardew Valley\ModSolution\CustomCaskMod\CustomCaskModEntry.cs:line 84
at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in SMAPI\Framework\Events\ManagedEvent.cs:line 101
[Producer Framework Mod] Unexpected error for rule from 'ughitsmegan.goldenmayoForProducerFrameworkMod', producer 'Mayonnaise Machine' and input '928'. This rule will be ignored.
[Producer Framework Mod] Unexpected error for rule from 'ughitsmegan.ostrichmayoForProducerFrameworkMod', producer 'Mayonnaise Machine' and input '289'. This rule will be ignored.
[Producer Framework Mod] Unexpected error for rule from 'CaptainWolfe11.SweetGemBerryWineProduce', producer 'Keg' and input '417'. This rule will be ignored.
what exactly is not working for you?
regular items like wine do not get their aging time changed in my case
smapi is running perfectly btw
For items that are vanila you always have a rule, so you need to override them explicitly .
"(O)DriedMushroom": 2.0
And got this error:[game] Failed parsing condition 'ITEM_CATEGORY INPUT (O)DriedMushroom': required index 2 has value '(O)DriedMushroom', which can't be parsed as an integer.
This error repeats over and over while a Dried Purple Mushrooms is in the chest automated to push into casks. Dried Apricots went in fine, but Dried Purple Mushrooms just won't goETA: I tried with a purposefully misspelled name and got the error again, so the error is not mushroom specific :D