Known Wraith keys - Nov 10 2024

This commit is contained in:
Ahmed Al-Taiar
2024-11-10 17:06:22 -05:00
parent 8cb1d3a18f
commit 4adf90203f
2 changed files with 19 additions and 0 deletions

View File

@@ -727,3 +727,17 @@ pub const OFFICIAL_LEVEL_NAMES: Map<&'static str, &'static str> = phf_map! {
"5003" => "the_cellar",
"5004" => "the_secret_hollow"
};
pub const WRAITH_KEYS: Map<&'static str, &'static str> = phf_map! {
"o_secret_6" => "backondash",
"o_secret_11" => "robtopisnice",
"o_secret_12" => "skibidi",
"o_secret_13" => "checksteam",
"o_secret_14" => "fireinthehole",
"o_secret_15" => "wellmet",
"o_secret_16" => "wateronthehill",
"o_secret_17" => "bussin",
"o_secret_18" => "thickofit",
"o_secret_19" => "touchgrass",
"o_secret_21" => "key",
};

View File

@@ -133,6 +133,11 @@ fn parse_dict(
{
Some(SPECIAL_SHOP_PURCHASES[key].to_string())
}
key if parent_key.unwrap_or_default() == "wraith_rewards"
&& WRAITH_KEYS.contains_key(key) =>
{
Some(WRAITH_KEYS[key].to_string())
}
key if current_kcek.is_some() => match *current_kcek.as_ref().unwrap() {
"level" => Some(LEVEL_KEYS[key].to_string()),
"song" => Some(SONG_KEYS[key].to_string()),