REQUEST Sweet Berry Wine/Jelly?

Discussion in 'Mods' started by LordKhaos, Jan 5, 2017.

  1. LordKhaos

    LordKhaos Scruffy Nerf-Herder

    I've been looking through the forums for quite awhile and I've yet to come across a mod that allows you to make Sweet Gem Berries into wine or jelly. Is there a way for any of you kind mod makers to make something like this? Or if you know of a mod, could you let me know? Thanks!
     
    • TenkoKuugen

      TenkoKuugen Scruffy Nerf-Herder

      That would require adding new items (and worse, adding functionality to kegs and jars) and that is an enormous pain.
      Each jelly, wine, juice, etc is their own item ID.
       
      • Entoarox

        Entoarox Oxygen Tank

        This is wrong, any item that has the same icon has the same ID, it just has different internal properties.
         
        • LordKhaos

          LordKhaos Scruffy Nerf-Herder

          I see... If no one wants to do it, how would I go about doing it myself?
           
          • Entoarox

            Entoarox Oxygen Tank

            Step 1: Learn C#
            Step 2: Learn SMAPI modding
            Step 3: Learn the relevant parts of the SDV source
            Step 4: Make your mod
             
            • LordKhaos

              LordKhaos Scruffy Nerf-Herder

              Didn't think it would be that easy haha... Thank for the help guys :3
               
              • margotbean

                margotbean Existential Complex

                It's actually as simple as editing the Content\Data\ObjectInformation.xnb file.
                Change the edibility from -300 to something else (e.g., Strawberries are 20, Blueberries are 10) and change the category from Basic -17 to Basic -79.
                Here's a copy where I changed the edibility to 20 (like Strawberries):

                I haven't tested any side-effects extensively, but I have used them to make wine and jelly with this file.
                 

                  Attached Files:

                  CalaMassie and LordKhaos like this.
                • TenkoKuugen

                  TenkoKuugen Scruffy Nerf-Herder

                  And the Kegs and Jars just accept them? That's strange to me, but okay.
                   
                  • LordKhaos

                    LordKhaos Scruffy Nerf-Herder

                    margotbean I love you! Thank you so much for this <3
                     
                      margotbean likes this.
                    • Entoarox

                      Entoarox Oxygen Tank

                      That is how they are programmed, to accept any Veggie/Fruit.
                       
                      • margotbean

                        margotbean Existential Complex

                        <blush> You are quite welcome :)
                         

                        Share This Page