File information

Last updated

Original upload

Created by

NCarigon

Uploaded by

ncarigon

Virus scan

Safe to use

Tags for this mod

16 comments

  1. Rademerald11
    Rademerald11
    • member
    • 0 kudos
    pls need update 1.6
    1. ncarigon
      ncarigon
      • member
      • 65 kudos
      I will, but it takes time to get through each of them.
    2. BeetBoot
      BeetBoot
      • member
      • 0 kudos
      how's the update going? thought I'd take a look at contribution but I am not seeing this mod in the source repo linked.
  2. dkim0001
    dkim0001
    • member
    • 2 kudos
    Wow! Thank you for making this mod! I really appreciate this very much!
    1. dkim0001
      dkim0001
      • member
      • 2 kudos
      So I have been trying to make a maple tree drop hazelnuts all year long and I am not getting it. Could someone make a simple content mod for me that makes them drop all year round please? I'm not a content maker, just someone that loves this game.

      Thank you for your consideration.
    2. ncarigon
      ncarigon
      • member
      • 65 kudos
      Use the files from the "example" folder, update the content.json to this:
      [{
      "TreeType": 2,
      "ShakeOff": 408
      }]
       
      Then update the manifest.json to this:
      {
      "Name": "[TSM] All Year Hazelnuts",
      "Author": "NCarigon",
          "Version": "1.0.0",
      "Description": "Makes Hazelnuts shake off maple trees all year.",
      "UniqueID": "NCarigon.AllYearHazelnutsTSM",
      "MinimumApiVersion": "2.11.2",
      "ContentPackFor": {
      "UniqueID": "NCarigon.TreeShakeMod"
      }
      }

      Put those two files in a new folder in your Mods folder, such as "Mods\[TSM]AllYearHazelnuts".
    3. LiLaTLuv
      LiLaTLuv
      • supporter
      • 7 kudos
      Thank you so much for this! I'm going to try it now, because this is another really cool mechanic. 
    4. LiLaTLuv
      LiLaTLuv
      • supporter
      • 7 kudos
      So...I tried what you suggested and this is what SMAPI says:

      [SMAPI]    Skipped mods
      [SMAPI]    --------------------------------------------------
      [SMAPI]       These mods could not be added to your game.
      [SMAPI]       - [TSM]AllYearHazelnuts because parsing its manifest failed:
      Newtonsoft.Json.JsonReaderException: Can't parse JSON file at C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods\[TSM]AllYearHazelnuts\manifest.json. This doesn't seem to be valid JSON.
      Technical details: Unexpected character encountered while parsing value: ?. Path '', line 0, position 0.
         at StardewModdingAPI.Toolkit.Serialization.JsonHelper.ReadJsonFileIfExists[TModel](String fullPath, TModel& result) in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Serialization\JsonHelper.cs:line 86
         at StardewModdingAPI.Toolkit.Framework.ModScanning.ModScanner.ReadFolder(DirectoryInfo root, DirectoryInfo searchFolder, Boolean useCaseInsensitiveFilePaths) in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Framework\ModScanning\ModScanner.cs:line 161

      I don't have any experience with this so I was wondering if you know what I could be doing wrong?

      My manifest looks like this:

      {
      "Name": "[TSM] All Year Hazelnuts",
      "Author": "NCarigon",
          "Version": "1.0.0",
      "Description": "Makes Hazelnuts shake off maple trees all year.",
      "UniqueID": "NCarigon.AllYearHazelnutsTSM",
      "MinimumApiVersion": "2.11.2",
      "ContentPackFor": {
      "UniqueID": "NCarigon.TreeShakeMod"
      }
      }

      and your example manifest looks like this: 

      {
      "Name": "[TSM] Example",
      "Author": "NCarigon",
          "Version": "1.0.0",
      "Description": "Example usage for Tree Shake Mod.",
      "UniqueID": "NCarigon.ExampleTSM",
      "MinimumApiVersion": "2.11.2",
      "ContentPackFor": {
      "UniqueID": "NCarigon.TreeShakeMod"
      }
      }

      Is it because I'm using Notepad? I've used it for all my other edits of JSON files, and I checked, and it was saved as a JSON file. I don't know what I'm doing wrong, and I was curious if you did. 
    5. dkim0001
      dkim0001
      • member
      • 2 kudos
      I'm having the same problem as LiLaTLuv. Still no all year hazelnuts.
    6. ncarigon
      ncarigon
      • member
      • 65 kudos
      Without getting too technical, it looks like the example files I provided are mistakenly encoded as "UTF8 with BOM" (instead of "UTF8") which is a format that the JSON parser within Stardew mods doesn't like. You should be able to correct that by just making new text files in notepad, naming them the same as the other files, and copying the same content into them. If you have a more advanced text editor, such as Notepad++, it can convert between formats which would also correct the issue.
    7. dkim0001
      dkim0001
      • member
      • 2 kudos
      I'm not sure what that means, I use notepad++, the save as type is JSON file. What is UT8 option? It's not listed. Do you mean saving it as .txt file then changing the extension as .json in the file explorer?
    8. ncarigon
      ncarigon
      • member
      • 65 kudos
      Open each file in Notepad++, choose Encoding at the menu bar, change from UTF-8 BOM to UTF-8, save each file.
    9. dkim0001
      dkim0001
      • member
      • 2 kudos
      Thanks for the info, and taking the time to answer queries. It is very much appreciated!
  3. EnbyFelix
    EnbyFelix
    • premium
    • 69 kudos
    Sorry to bother you, but I just wanted to let you know you have spelled the UniqueID of the mod "NCarigon.TreeShakMod". I fixed it on my end, so I'm good. The only reason I discovered this is because I made a lil content pack for this mod for myself.
    1. ncarigon
      ncarigon
      • member
      • 65 kudos
      Thank you for pointing that out. I've corrected it in version 1.0.1.
  4. this is SUCH an under-utilized aspect of vanilla imo, this framework is a godsend!