Skip to content

Commit 427b65f

Browse files
committed
better pearl names
1 parent eedbb32 commit 427b65f

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

RainWorldSaveEditor/Editor Classes/Translation.cs

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -134,38 +134,38 @@ public static class Translation
134134

135135
public static Dictionary<string, string> PearlNames { get; private set; } = new()
136136
{
137-
{ "Misc" , "Generic White Pearl" },
138-
{ "Misc2" , "Generic Pink Pearl" },
139-
{ "SL_moon" , "Shoreline Looks To The Moon Pearl Icon" },
140-
{ "SL_bridge" , "Shoreline Bride Pearl Icon" },
141-
{ "SL_chimney" , "Shoreline Chimney Pearl Icon" },
142-
{ "SI_west" , "Sky Islands West Pearl Icon" },
143-
{ "SI_top" , "Sky Islands Top Pearl Icon" },
144-
{ "SI_chat3" , "Sky Islands \"Chat 3\" Pearl Icon" },
145-
{ "SI_chat4" , "Sky Islands \"Chat 4\" Pearl Icon" },
146-
{ "SI_chat5" , "Sky Islands \"Chat 5\" Pearl Icon" },
147-
{ "SB_ravine" , "Subterranean Ravine Pearl Icon" },
148-
{ "SU" , "Outskirts Pearl Icon" },
149-
{ "HI" , "Industrial Complex Pearl Icon" },
150-
{ "GW" , "Garbage Wastes Pearl Icon" },
151-
{ "MS" , "Submerged Superstructure Pearl Icon" },
152-
{ "DS" , "Drainage System Pearl Icon" },
153-
{ "SH" , "Shaded Citadel Pearl Icon" },
154-
{ "CC" , "Chimney Canopy Pearl Icon" },
155-
{ "VS" , "Pipeyard Pearl Icon" },
156-
{ "UW" , "The Exterior Pearl Icon" },
157-
{ "LF_west" , "Farm Arrays West Pearl Icon" },
158-
{ "LF_bottom" , "Farm Arrays Botton Pearl Icon" },
159-
{ "SB_filtration" , "Subterranean-Filtration System Pearl Icon" },
160-
{ "SU_filt" , "Outskirts-Filtration System Pearl Icon" },
161-
{ "OE" , "Outer Expanse Pearl Icon" },
162-
{ "LC" , "Metropolis Pearl Icon" },
163-
{ "LC_second" , "Metropolis Second Pearl Icon" },
164-
{ "RM" , "The Rot Pearl Icon" },
165-
{ "Red_stomach" , "Hunter's Stomach Pearl Icon" },
166-
{ "DM" , "Looks To The Moon (Region) Pearl Icon" },
167-
{ "Spearmasterpearl" , "Spearmaster's Pearl Icon" },
168-
{ "Rivulet_stomach" , "Rivulet's Stomach Pearl Icon" }
137+
{ "Misc" , "Generic White Pearl" },
138+
{ "Misc2" , "Generic Pink Pearl" },
139+
{ "SL_moon" , "Shoreline Looks To The Moon Pearl" },
140+
{ "SL_bridge" , "Shoreline Bride Pearl" },
141+
{ "SL_chimney" , "Shoreline Chimney Pearl" },
142+
{ "SI_west" , "Sky Islands West Pearl" },
143+
{ "SI_top" , "Sky Islands Top Pearl" },
144+
{ "SI_chat3" , "Sky Islands \"Chat 3\" Pearl" },
145+
{ "SI_chat4" , "Sky Islands \"Chat 4\" Pearl" },
146+
{ "SI_chat5" , "Sky Islands \"Chat 5\" Pearl" },
147+
{ "SB_ravine" , "Subterranean Ravine Pearl" },
148+
{ "SU" , "Outskirts Pearl" },
149+
{ "HI" , "Industrial Complex Pearl" },
150+
{ "GW" , "Garbage Wastes Pearl" },
151+
{ "MS" , "Submerged Superstructure Pearl" },
152+
{ "DS" , "Drainage System Pearl" },
153+
{ "SH" , "Shaded Citadel Pearl" },
154+
{ "CC" , "Chimney Canopy Pearl" },
155+
{ "VS" , "Pipeyard Pearl" },
156+
{ "UW" , "The Exterior Pearl" },
157+
{ "LF_west" , "Farm Arrays West Pearl" },
158+
{ "LF_bottom" , "Farm Arrays Botton Pearl" },
159+
{ "SB_filtration" , "Subterranean-Filtration System Pearl" },
160+
{ "SU_filt" , "Outskirts-Filtration System Pearl" },
161+
{ "OE" , "Outer Expanse Pearl" },
162+
{ "LC" , "Metropolis Pearl" },
163+
{ "LC_second" , "Metropolis Second Pearl" },
164+
{ "RM" , "The Rot Pearl" },
165+
{ "Red_stomach" , "Hunter's Stomach Pearl" },
166+
{ "DM" , "Looks To The Moon (Region)" },
167+
{ "Spearmasterpearl" , "Spearmaster's Pearl" },
168+
{ "Rivulet_stomach" , "Rivulet's Stomach Pearl" }
169169
};
170170

171171
public static string GetRegionName(string internalName)
@@ -187,7 +187,7 @@ public static string GetRegionName(string internalName)
187187
public static string GetPearlName(string internalName)
188188
{
189189
string value = string.Empty;
190-
if (PearlNames.TryGetValue(internalName, out value))
190+
if (PearlNames.TryGetValue(internalName, out value!))
191191
return value;
192192

193193
return $"Unknown Pearl \"{internalName}\"";

0 commit comments

Comments
 (0)