From 629a7201badc3f7f35e491ea42794bffc3da6aec Mon Sep 17 00:00:00 2001 From: Blitz54 Date: Thu, 4 Sep 2025 01:34:40 -0500 Subject: [PATCH] Undying Hate Flavour Text --- src/Data/FlavourText.lua | 8 ++++++++ src/Export/Scripts/flavourText.lua | 21 +++------------------ 2 files changed, 11 insertions(+), 18 deletions(-) diff --git a/src/Data/FlavourText.lua b/src/Data/FlavourText.lua index 4f3dd380f2..f4a227bb3d 100644 --- a/src/Data/FlavourText.lua +++ b/src/Data/FlavourText.lua @@ -3112,6 +3112,14 @@ return { }, }, [389] = { + id = "FourUniqueJewel11", + name = "Undying Hate", + text = { + "They believed themselves driven by necessity,", + "but that desperation made them monstrous.", + }, + }, + [390] = { id = "FourUniqueJewel12", name = "Heart of the Well", text = { diff --git a/src/Export/Scripts/flavourText.lua b/src/Export/Scripts/flavourText.lua index c2d8e8dea0..1102c00536 100644 --- a/src/Export/Scripts/flavourText.lua +++ b/src/Export/Scripts/flavourText.lua @@ -3,8 +3,9 @@ -- local function normalizeId(id) id = tostring(id) - -- remove trailing underscores only. We can't match Hash sadly. - return id:gsub("_+$", "") + -- Remove underscore and everything after it. We can't match hash sadly. + -- Grip of Kulemak is FourUniqueRing33_a in stash layout and FourUniqueRing33 in flavour text. + return id:match("^[^_]+") end local function cleanAndSplit(str) @@ -31,22 +32,6 @@ local forcedNameMap = { ["FourUniqueSceptre6a"] = "Guiding Palm of the Heart", ["FourUniqueSceptre6b"] = "Guiding Palm of the Eye", ["FourUniqueSceptre6c"] = "Guiding Palm of the Mind", - ["FourUniqueBootsStrDex4"] = "Shankgonne", -- 0.3.0 Uniques are missing from Unique Stash Layout. - ["FourUniqueBodyDexInt13"] = "Cospri's Will", - ["FourUniqueBelt23"] = "Darkness Enthroned", - ["FourUniqueCrossbow5"] = "Double Vision", - ["FourUniqueBow9"] = "Fairgraves' Curse", - ["FourUniqueBodyStrDex8"] = "Lightning Coil", - ["FourUniqueTwoHandMace10"] = "Marohi Erqi", - ["FourUniqueGlovesDexInt6"] = "Thunderfist", - ["FourUniqueBelt4"] = "Umbilicus Immortalis", - ["FourUniqueShieldDex5"] = "Kaltenhalt", - ["FourUniqueAmulet21"] = "Hinekora's Sight", - ["FourUniqueRing33"] = "Grip of Kulemak", - ["FourUniqueJewel12"] = "Heart of the Well", - ["FourUniqueLifeFlask1"] = "Blood of the Warrior", - ["FourUniqueStaff13"] = "The Unborn Lich", - --["FourUnique"] = "Undying Hate", Unsure, flavour text per conqueror. } for row in dat("UniqueStashLayout"):Rows() do