using System; using System.Collections.Generic; namespace IdleSpectator; /// Thin flavor identities for creatures whose voice should be unmistakable. public static class ActivityVoiceProfiles { private static readonly Dictionary Profiles = new Dictionary(StringComparer.OrdinalIgnoreCase) { ["dragon"] = "dragon", ["fairy"] = "fairy", ["cat"] = "cat", ["dog"] = "dog", ["buffalo"] = "buffalo", ["lemon_snail"] = "lemon_snail", ["human"] = "human", ["elf"] = "elf", ["dwarf"] = "dwarf", ["orc"] = "orc", ["crabzilla"] = "crabzilla", ["god_finger"] = "god_finger", ["greg"] = "greg", ["angle"] = "angle", ["cold_one"] = "cold", ["snowman"] = "cold", ["crystal_sword"] = "crystal" }; public static string Resolve(string baseSpeciesId) { if (string.IsNullOrEmpty(baseSpeciesId)) { return ""; } return Profiles.TryGetValue(baseSpeciesId, out string profile) ? profile : ""; } }