Item stowing helps, but especially in the mid- and late-game, there are simply so many items most players will never, ever want to eat, but end up doing so accidentally. Would also love to stop gifting worms to villagers :)
Anyone know of a mod that reproduces this functionality?
Please, we beg you! Fix the categories or update the readme to tell us how to use them! My game has so many flowers and no matter what wording I use they all remain edible. The only thing that hasn't resulted in the config reverting itself is adding the categories like "Flower" under the default "DontEat" heading, but that still doesn't get me anything.
The mod overwrites the config.json file every time you run the game, that's why it's not working. Not sure what to do now, because it renders the whole thing pretty much useless.
Edit: as a workaround, add these to DontEat "Blue Jazz", "Crocus", "Fairy Rose", "Poppy", "Summer Spangle", "Sunflower", "Sweet Pea", "Tulip",
Any edits to the config.json file are overwritten as soon as the game is closed and opened again. Can this be fixed? I really love the concept of this mod.
it doesn't work for me, i played at Android v1.4 i didn't edit the config, Is it really won't work at android? the tractor mod i use is working with smapi i tried using the "right mouse button" on virtual keyboard but it won't work for me. also the console didn't show any error message, i really hate it everytime i want to put roe in the jar the eat prompt always come out, can anyone help with my problem? or probably alternative?
it doesn't work for me, i played at Android v1.4 i didn't edit the config, Is it really won't work at android? the tractor mod i use is working with smapi i tried using the "right mouse button" on virtual keyboard but it won't work for me. also the console didn't show any error message, i really hate it everytime i want to put roe in the jar the eat prompt always come out, can anyone help with my problem? or probably alternative?
The mod worked until I tried to add categories using the stuff in the manifest. maybe i'm doing this wrong? i feel like it must be obvious, but i'd love to have this really work because i hate being asked to eat the thing i'm trying to stick in kegs and such.
i got this error:
[DontEatThat] Mod crashed on entry and might not work correctly. Technical details: Newtonsoft.Json.JsonReaderException: Can't parse JSON file at C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods\DontEatThat\config.json. This doesn't seem to be valid JSON. Technical details: After parsing a value an unexpected character was encountered: ". Path 'Eat', line 24, position 2. at StardewModdingAPI.Toolkit.Serialization.JsonHelper.ReadJsonFileIfExists[TModel](String fullPath, TModel& result) in C:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Serialization\JsonHelper.cs:line 74 at StardewModdingAPI.Framework.ModHelpers.DataHelper.ReadJsonFile[TModel](String path) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\ModHelpers\DataHelper.cs:line 51 at StardewModdingAPI.Framework.ModHelpers.ModHelper.ReadConfig[TConfig]() in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\ModHelpers\ModHelper.cs:line 98 at DontEatThat.ModEntry.Entry(IModHelper helper) in C:\Users\MBurroughs\Documents\PersonalProjects\DontEatThat\DontEatThat\ModEntry.cs:line 25 at StardewModdingAPI.Framework.SCore.LoadMods(IModMetadata[] mods, JsonHelper jsonHelper, ContentCoordinator contentCore, ModDatabase modDatabase) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\SCore.cs:line 812
The mod didn't work when I tried to add categories into the manifest, so instead I just listed the things I didn't want to consume manually, item by item. It was a little more cumbersome to do it that way, but now the mod works great! No more accidentally-eaten items!
I have tried to arrange it so that I can use it at all, but it doesn't do anything regardless of what info I put in\take out\rearrange. I'm pretty sure I am doing the mod right, so what gives?
In the readme it give examples of how to uninclude categories of items rather than specifying each one, but if I add that to the config the whole thing is just overwritten with the default config after smapi launches. Just curious if that was something that was removed and/or broke at some point? Or maybe I'm doing something wrong lol
This is def one of my fave mods, thank you for creating it!
I have the same problem. When I start the game, it just resets back to the default config. I've tried to make the config read-only, but that just crashes the mod on startup.
29 comments
Item stowing helps, but especially in the mid- and late-game, there are simply so many items most players will never, ever want to eat, but end up doing so accidentally. Would also love to stop gifting worms to villagers :)
Anyone know of a mod that reproduces this functionality?
{
"DontEat": [
"Ancient Fruit",
"Apple",
"Apricot",
"Banana",
"Blackberry",
"Blueberry",
"Cactus Fruit",
"Cherry",
"Coconut",
"Cranberries",
"Crystal Fruit",
"Grape",
"Hot Pepper",
"Mango",
"Melon",
"Orange",
"Peach",
"Pineapple",
"Pomegranate",
"Rhubarb",
"Salmonberry",
"Spice Berry",
"Starfruit",
"Strawberry",
"Wild Plum",
"Blue Jazz",
"Crocus",
"Fairy Rose",
"Poppy",
"Summer Spangle",
"Sunflower",
"Sweet Pea",
"Tulip",
"Sap",
"Red Mushroom",
"Holly",
"Crocus",
"Sweet Pea",
"Daffodil",
"Egg",
"Large Egg",
"Brown Egg",
"Large Brown Egg",
"Duck Egg",
"Void Egg",
"Dinosaur Egg",
"Milk",
"Large Milk",
"Goat Milk",
"Large Goat Milk",
"Truffle",
"Hops",
"Strawberry"
],
"Eat": [
"Life Elixir"
]
}
Edit: as a workaround, add these to DontEat
"Blue Jazz",
"Crocus",
"Fairy Rose",
"Poppy",
"Summer Spangle",
"Sunflower",
"Sweet Pea",
"Tulip",
also the console didn't show any error message, i really hate it everytime i want to put roe in the jar the eat prompt always come out, can anyone help with my problem? or probably alternative?
also the console didn't show any error message, i really hate it everytime i want to put roe in the jar the eat prompt always come out, can anyone help with my problem? or probably alternative?
i got this error:
[DontEatThat] Mod crashed on entry and might not work correctly. Technical details:
Newtonsoft.Json.JsonReaderException: Can't parse JSON file at C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods\DontEatThat\config.json. This doesn't seem to be valid JSON.
Technical details: After parsing a value an unexpected character was encountered: ". Path 'Eat', line 24, position 2.
at StardewModdingAPI.Toolkit.Serialization.JsonHelper.ReadJsonFileIfExists[TModel](String fullPath, TModel& result) in C:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Serialization\JsonHelper.cs:line 74
at StardewModdingAPI.Framework.ModHelpers.DataHelper.ReadJsonFile[TModel](String path) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\ModHelpers\DataHelper.cs:line 51
at StardewModdingAPI.Framework.ModHelpers.ModHelper.ReadConfig[TConfig]() in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\ModHelpers\ModHelper.cs:line 98
at DontEatThat.ModEntry.Entry(IModHelper helper) in C:\Users\MBurroughs\Documents\PersonalProjects\DontEatThat\DontEatThat\ModEntry.cs:line 25
at StardewModdingAPI.Framework.SCore.LoadMods(IModMetadata[] mods, JsonHelper jsonHelper, ContentCoordinator contentCore, ModDatabase modDatabase) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\SCore.cs:line 812
after trying to run this :
{
"DontEat": [
"Sap",
"Red Mushroom",
"Holly",
"Crocus",
"Sweet Pea",
"Daffodil",
"Egg",
"Large Egg",
"Brown Egg",
"Large Brown Egg",
"Duck Egg",
"Void Egg",
"Dinosaur Egg",
"Milk",
"Large Milk",
"Goat Milk",
"Large Goat Milk",
"Truffle",
"Hops"
],
"Eat": []
"DontEatItemCategories": [
"Animal Product",
"Crop",
"Crafting",
"Fish",
"Flower",
"Harmful",
"Artisan Good"
],
}
This is def one of my fave mods, thank you for creating it!
When I start the game, it just resets back to the default config.
I've tried to make the config read-only, but that just crashes the mod on startup.