REQUEST Ginkgo Biloba Tree

Discussion in 'Mods' started by DamianKai, Jan 12, 2020.

  1. DamianKai

    DamianKai Poptop Tamer

    ~Edit~My computer submitted this 3 times , had to put a "delete please on other 2 since i only need 1 request.~
    I was wondering if i could get this as an add in to the game without editing exsisting files (not write over the oak, maple , pine tree files) if possible . Maby a CP (content patch) if that works, or anything that would work well with/is SMAPI (not familiar with storm,xnb,etc).
    ~Also is possible for the tree to drop a leaf instead of a seed?~
    Data i was thinking for this is below, feel free to change if needed
    Spring-True (has leaves, they are green)
    Summer-True (has leaves, they are green)
    Fall-True (has leaves, they are yellow)
    Winter-True (no leaves, tree is bare)
     
      Last edited: Jan 12, 2020
    • Wingyl

      Wingyl Scruffy Nerf-Herder

      I know that you can add new trees in content pack form with JsonAssets but they act like fruit trees.

      Haven't heard of anyone adding a new type of forage tree to the game before. Perhaps ask in the modding channel on the Stardew Valley discord?
       
      • DamianKai

        DamianKai Poptop Tamer

        @Wingyl , I have discord on my phone. How would i go about finding the stardew valley discord channel? As i haven't used DM in quite a while. I will try there and and see what i can find.
         
        • Moragaine

          Moragaine Existential Complex

        • DamianKai

          DamianKai Poptop Tamer

          So i finally got some answers and basically i would have to use a fruit tree for this to work, witch is fine. Is there a way to not overwrite exsisting data with the fruit trees or no?
          ~Also is possible for the tree to drop a leaf instead of a seed or even both?~
          Data i was thinking for this is below, feel free to change if needed
          Spring-True (has leaves, they are green)(Seed drop % ? , Leaf Drop % ?)
          Summer-True (has leaves, they are green)(Seed drop % ? , Leaf Drop % ?)
          Fall-True (has leaves, they are yellow)(Seed drop % ? , Leaf Drop % ?)
          Winter-True (no leaves, tree is bare)(Seed drop % 0 , Leaf Drop % 0)
           
          • Wingyl

            Wingyl Scruffy Nerf-Herder

            Use JsonAssets to add a new fruit tree without overwriting the existing ones! Although I do think you'd need to do some coding stuff with SMAPI to do multiple products from one fruit tree.
             
            • DamianKai

              DamianKai Poptop Tamer

              Is there a specific guide i can use to help me get started with JSON Assets? As for art part (pixel work) that i am unable to do with the current computer i have now.
               
              • Wingyl

                Wingyl Scruffy Nerf-Herder

              • DamianKai

                DamianKai Poptop Tamer

                Ok so i got all the coding done and i wanted to make sure a didn't make any mistakes since this is my first time, if anyone wanted to look over the files and see if missed anything that would be really helpful. Still trying to figure out how i am going to do the pixels for this :fishbowl:(Coding is in spoilers)

                {
                "Name": "Ginkgo Biloba Tree",
                "Author": "DamianKai",
                "Version": "1.0.0",
                "Description": "Allows you to grow ginkgo trees and get harvestable leaves from them.",
                "UniqueID": "DamianKai.GinkgoBilobaTree",
                "MinimumApiVersion": "3.0.0",
                "UpdateKeys": [],
                "ContentPackFor": {
                "UniqueID": "spacechase0.JsonAssets"
                }
                }
                }


                {
                "Name" : "Ginkgo Tree" ,
                "Product" : "Ginkgo Leaves" ,
                "SaplingName" : "Ginkgo Sapling" ,
                "SaplingDescription" : "Takes 28 days to produce a mature Ginkgo tree. Ready to harvest in the fall. Only grows if the 8 surrounding tiles are empty.",
                "Season" : "fall" ,
                "SaplingPurchasePrice": 3000,
                "SaplingPurchaseFrom": "Pierre"
                "SaplingPurchaseRequirements": [null] ,
                "SaplingNameLocalization":
                {
                "es" : "Retoño de ginkgo",
                "ko" : "은행 나무 묘목",
                "de" : "Ginkgo-Setzling (Sapling)",
                // "fr" : "" ,
                // "hu" : "" ,
                "it" : "Alberello del Ginkgo" ,
                "ja" : "イチョウの苗木" ,
                "pt" : "Rebento de Ginkgo" ,
                "ru" : "Саженец Гинкго",
                "tr" : "Ginkgo Fidanı",
                "zh" : "銀杏樹苗",
                },
                "SaplingDescriptionLocalization":
                {
                "es": "Tarda 28 días en producir un árbol Ginkgo maduro. Listo para cosechar en otoño. Solo crece si las 8 fichas circundantes están vacías.",
                "ko": "성숙한 은행 나무를 생산하는 데 28 일이 걸립니다. 가을에 수확 할 준비가되었습니다. 8 개의 주변 타일이 비어있는 경우에만 자랍니다.",
                "de": "Die Herstellung eines ausgewachsenen Ginkgobaums dauert 28 Tage. Erntereif im Herbst. Wächst nur, wenn die 8 umliegenden Kacheln leer sind.",
                // "fr" : "",
                // "hu" : "",
                "it": "Ci vogliono 28 giorni per produrre un albero di ginkgo maturo. Pronto per il raccolto in autunno. Cresce solo se le 8 tessere circostanti sono vuote.",
                "ja": "成熟したイチョウの木を作るのに28日かかります。秋に収穫する準備ができました。周囲の8つのタイルが空の場合にのみ成長します。",
                "pt": "Demora 28 dias para produzir uma árvore madura de Ginkgo. Pronto para colher no outono. Só cresce se as 8 peças ao redor estiverem vazias.",
                "ru": "Требуется 28 дней, чтобы произвести зрелое дерево гинкго. Готовы к уборке осенью. Растет только в том случае, если 8 окружающих плиток пусты.",
                "tr": "Olgun bir Ginkgo ağacı üretmek 28 gün sürer. Sonbaharda hasat etmeye hazır. Sadece çevreleyen 8 fayans boşsa büyür.",
                "zh": "需要28天才能生產出成熟的銀杏樹。準備在秋天收穫。僅在周圍的8個圖塊為空時才會增長。",
                }
                }


                }


                {
                "Name" : "Ginkgo Leaf",
                "Description" : "A small to medium green or yellow fan shaped leaf with medicinal properties.",
                "Category" : "Flower",
                "CategoryTextOverride": "Leaf",
                "CategoryColorOverride": "",
                "Edibility": -300,
                "Price": 150,
                "IsColored": false,
                "Recipe": null,
                "NameLocalization":
                {
                "es": "Hoja de ginkgo",
                "ko": "은행잎",
                "de": "Ginkgoblatt",
                // "fr" : "",
                // "hu" : "",
                "it": "Foglia Di Ginkgo",
                "ja": "イチョウ葉",
                "pt": "Folha de ginkgo",
                "ru": "Лист гинкго",
                "tr": "Ginkgo Yaprağı",
                "zh": "銀杏葉",
                },
                "DescriptionLocalization":
                {
                "es": "Una hoja en forma de abanico de verde a amarillo, pequeña o mediana, con propiedades medicinales",
                "ko": "의약 특성을 가진 작거나 중간 정도의 녹색 또는 노란색 부채꼴 잎.",
                "de": "Ein kleines bis mittelgrünes oder gelbes fächerförmiges Blatt mit medizinischen Eigenschaften.",
                // "fr" : "",
                // "hu" : "",
                "it": "Una foglia a ventaglio verde o gialla da piccola a media con proprietà medicinali.",
                "ja": "薬効のある小〜中程度の緑または黄色の扇形の葉。",
                "pt": "Folha pequena a média verde ou amarela em forma de leque com propriedades medicinais.",
                "ru": "Маленький или средний зеленый или желтый веерообразный лист с целебными свойствами.",
                "tr": "Tıbbi özelliklere sahip küçük ila orta yeşil veya sarı yelpaze şeklinde yaprak.",
                "zh": "小到中等的綠色或黃色扇形葉片,具有藥用特性。",
                },
                "ContextTags": [
                "season_fall",
                "color_",
                "fruit_tree_item",
                "leaf_item",
                ]
                }

                }

                 

                Share This Page