From 9b6b36c9fefe2e96b780ee285fbf99988820625f Mon Sep 17 00:00:00 2001 From: ReuschelCGN <82573872+ReuschelCGN@users.noreply.github.com> Date: Tue, 30 Jan 2024 12:44:49 +0100 Subject: [PATCH 1/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 71e0e1bb51..2c7265c73d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# RealDeviceMap +# RealDeviceMap The contents of this repo is a proof of concept and is for educational use only! From 97ea98abb58beb2d22ad9c25e1e1e89e495eba9f Mon Sep 17 00:00:00 2001 From: dripdropper Date: Thu, 11 Apr 2024 00:37:18 -0400 Subject: [PATCH 2/3] Add raid levels 11, 13, and 15 for shadow raids --- Sources/RealDeviceMapLib/API/ApiRequestHandler.swift | 2 +- resources/webroot/index.js.mustache | 2 +- resources/webroot/static/data/en.json | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Sources/RealDeviceMapLib/API/ApiRequestHandler.swift b/Sources/RealDeviceMapLib/API/ApiRequestHandler.swift index 67bc678e97..84ab315891 100644 --- a/Sources/RealDeviceMapLib/API/ApiRequestHandler.swift +++ b/Sources/RealDeviceMapLib/API/ApiRequestHandler.swift @@ -717,7 +717,7 @@ public class ApiRequestHandler { ]) // Level - for i in [1, 3, 4, 5, 6, 7, 8, 9, 10] { + for i in [1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15] { let raidLevel = Localizer.global.get(value: "filter_raid_level_\(i)") diff --git a/resources/webroot/index.js.mustache b/resources/webroot/index.js.mustache index ae1d36c463..db86819f75 100644 --- a/resources/webroot/index.js.mustache +++ b/resources/webroot/index.js.mustache @@ -51,7 +51,7 @@ let spawnpointFilterNew = {} const hiddenPokemonIds = [] const availableEggs = [ - 1,3,4,5,6,7,8,9,10 + 1,3,4,5,6,7,8,9,10,11,13,15 ] const availableGrunts = [ 1,2,3,4,5,6,7,10,11,12,13,14,15,16,17,18, diff --git a/resources/webroot/static/data/en.json b/resources/webroot/static/data/en.json index 0cf8a20161..e45b119cf3 100644 --- a/resources/webroot/static/data/en.json +++ b/resources/webroot/static/data/en.json @@ -258,6 +258,9 @@ "filter_raid_level_8": "Ultra Beasts", "filter_raid_level_9": "Elite", "filter_raid_level_10": "Primal", + "filter_raid_level_11": "Shadow Tier 1", + "filter_raid_level_13": "Shadow Tier 3", + "filter_raid_level_15": "Shadow Legendary", "filter_raid_levels": "Raid Levels", "filter_raid_ex": "Only EX Raids", "filter_gym_team": "Team", From 3e999a677e471f4c6df700112224886e16973b86 Mon Sep 17 00:00:00 2001 From: dripdropper Date: Mon, 29 Apr 2024 01:39:53 -0400 Subject: [PATCH 3/3] Update gym pop-up text for levels of shadow eggs and bosses --- resources/webroot/index.js.mustache | 12 ++++++++++++ resources/webroot/static/data/en.json | 11 +++++++---- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/resources/webroot/index.js.mustache b/resources/webroot/index.js.mustache index db86819f75..566f7b6faa 100644 --- a/resources/webroot/index.js.mustache +++ b/resources/webroot/index.js.mustache @@ -2761,6 +2761,12 @@ function getGymPopupContent (gym) { pokemonName = i18n('egg_9') } else if (gym.raid_level === 10) { pokemonName = i18n('egg_10') + } else if (gym.raid_level === 11) { + pokemonName = i18n('egg_11') + } else if (gym.raid_level === 13) { + pokemonName = i18n('egg_13') + } else if (gym.raid_level === 15) { + pokemonName = i18n('egg_15') } else { pokemonName = i18n('map_egg_level', { egglevel: gym.raid_level }) } @@ -2821,6 +2827,12 @@ function getGymPopupContent (gym) { content += ''+i18n('map_gym_level')+': '+i18n('map_gym_type_elite')+'
' } else if (gym.raid_level === 10) { content += ''+i18n('map_gym_level')+': '+i18n('map_gym_type_primal')+'
' + } else if (gym.raid_level === 11) { + content += ''+i18n('map_gym_level')+': '+i18n('map_gym_type_shadow_1')+'
' + } else if (gym.raid_level === 13) { + content += ''+i18n('map_gym_level')+': '+i18n('map_gym_type_shadow_3')+'
' + } else if (gym.raid_level === 15) { + content += ''+i18n('map_gym_level')+': '+i18n('map_gym_type_shadow_legendary')+'
' } else { content += ''+i18n('map_gym_level')+': ' + gym.raid_level + '
' } diff --git a/resources/webroot/static/data/en.json b/resources/webroot/static/data/en.json index e45b119cf3..ebddf5d1c8 100644 --- a/resources/webroot/static/data/en.json +++ b/resources/webroot/static/data/en.json @@ -43,6 +43,9 @@ "map_gym_type_ultra_beast": "Ultra Beast", "map_gym_type_elite": "Elite", "map_gym_type_primal": "Primal", + "map_gym_type_shadow_1": "Shadow Tier 1", + "map_gym_type_shadow_3": "Shadow Tier 3", + "map_gym_type_shadow_legendary": "Shadow Legendary", "map_power_up_level": "Power Up Level", "map_power_up_end": "Power Up End", "map_first_seen": "First Seen", @@ -248,10 +251,10 @@ "unauthorized_discord": "Link your Discord account here!", "unauthorized_verifymail": "Verify your email address here!", "filter_raid_timers": "Raid Timers", - "filter_raid_level_1": "Level 1", - "filter_raid_level_2": "Level 2", - "filter_raid_level_3": "Level 3", - "filter_raid_level_4": "Level 4", + "filter_raid_level_1": "Tier 1", + "filter_raid_level_2": "Tier 2", + "filter_raid_level_3": "Tier 3", + "filter_raid_level_4": "Tier 4", "filter_raid_level_5": "Legendary", "filter_raid_level_6": "Mega", "filter_raid_level_7": "Mega Legendary",