From de412b8191e93980b55d5367a38626ae5e9bd09a Mon Sep 17 00:00:00 2001 From: Drew Hoener Date: Sun, 27 Apr 2025 19:29:31 -0400 Subject: [PATCH] Add localized name custom fields for tree detection --- .../code/Trees/WildTrees.json | 8 ++++++-- .../[CP] Stardew Valley Expanded/i18n/default.json | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Stardew Valley Expanded/[CP] Stardew Valley Expanded/code/Trees/WildTrees.json b/Stardew Valley Expanded/[CP] Stardew Valley Expanded/code/Trees/WildTrees.json index d8cc616a..e55c8654 100644 --- a/Stardew Valley Expanded/[CP] Stardew Valley Expanded/code/Trees/WildTrees.json +++ b/Stardew Valley Expanded/[CP] Stardew Valley Expanded/code/Trees/WildTrees.json @@ -114,7 +114,9 @@ } ], "ShakeItems": null, - "CustomFields": null, + "CustomFields": { + "UIInfoSuite.ExtendedData/DisplayName": "{{i18n:displayname.birch-tree}}" + }, "GrowsMoss": false }, @@ -218,7 +220,9 @@ } ], "ShakeItems": null, - "CustomFields": null, + "CustomFields": { + "UIInfoSuite.ExtendedData/DisplayName": "{{i18n:displayname.fir-tree}}" + }, "GrowsMoss": false }, } diff --git a/Stardew Valley Expanded/[CP] Stardew Valley Expanded/i18n/default.json b/Stardew Valley Expanded/[CP] Stardew Valley Expanded/i18n/default.json index 69be1d82..fb8a822b 100644 --- a/Stardew Valley Expanded/[CP] Stardew Valley Expanded/i18n/default.json +++ b/Stardew Valley Expanded/[CP] Stardew Valley Expanded/i18n/default.json @@ -182,12 +182,14 @@ "object.birch-seed.description": "This can be planted to grow a birch tree.", "object.birch-water.name": "Birch Water", "object.birch-water.description": "It has a slightly sugary taste.", + "displayname.birch-tree": "Birch", "object.birch-syrup.name": "Birch Syrup", "object.birch-syrup.description": "A rare robust syrup with a caramel-like flavor.", "object.fir-cone.name": "Fir Cone", "object.fir-cone.description": "This can be planted to grow a fir tree.", "object.fir-wax.name": "Fir Wax", "object.fir-wax.description": "A glossy, oily substance extracted from fir tree sap.", + "displayname.fir-tree": "Fir", "object.seed-cookie.name": "Seed Cookie", "object.seed-cookie.description": "A nutritious, crispy treat that gives a burst of energy.", "object.candy.name": "Candy",