From 0d2a41c6ece61874702efdafaaf598b62a24ea88 Mon Sep 17 00:00:00 2001 From: wraythex <59678213+wraythex@users.noreply.github.com> Date: Fri, 15 Dec 2023 10:41:23 -0600 Subject: [PATCH] Process/handle XL candy reward (async) (#1366) * Process candy xl reward type * Process xl candy reward type * Process xl candy reward type * Process xl candy reward type * Add XL candy image --- mapadroid/db/DbPogoProtoSubmit.py | 3 +++ mapadroid/utils/questGen.py | 7 +++++++ static/madmin/static/js/madmin.js | 9 +++++++++ static/madmin/static/quest/reward_xl_candy.png | Bin 0 -> 21697 bytes static/madmin/templates/quests.html | 3 +++ 5 files changed, 22 insertions(+) create mode 100644 static/madmin/static/quest/reward_xl_candy.png diff --git a/mapadroid/db/DbPogoProtoSubmit.py b/mapadroid/db/DbPogoProtoSubmit.py index 4af57cc1d..f5de08384 100644 --- a/mapadroid/db/DbPogoProtoSubmit.py +++ b/mapadroid/db/DbPogoProtoSubmit.py @@ -700,6 +700,9 @@ async def quest(self, session: AsyncSession, quest_proto: dict, quest_gen: Quest if reward_type == 4: item_amount = reward.get('candy', {}).get('amount', 0) pokemon_id = reward.get('candy', {}).get('pokemon_id', 0) + if reward_type == 9: + item_amount = reward.get('xl_candy', {}).get('amount', 0) + pokemon_id = reward.get('xl_candy', {}).get('pokemon_id', 0) elif reward_type == 12: item_amount = reward.get('mega_resource', {}).get('amount', 0) pokemon_id = reward.get('mega_resource', {}).get('pokemon_id', 0) diff --git a/mapadroid/utils/questGen.py b/mapadroid/utils/questGen.py index b552c6a76..2fd87c0f3 100644 --- a/mapadroid/utils/questGen.py +++ b/mapadroid/utils/questGen.py @@ -35,6 +35,7 @@ def __init__(self): 4: _("Candy"), 3: _("Stardust"), 7: _("Pokemon"), + 9: _("XL Candy"), 12: _("Energy") } @@ -123,6 +124,12 @@ async def generate_quest(self, stop: Pokestop, quest: TrsQuest): elif quest_reward_type == _('Experience'): item_type = quest_reward_type item_amount = quest.quest_item_amount + elif quest_reward_type == _('XL Candy'): + item_amount = quest.quest_item_amount + item_type = quest_reward_type + pokemon_id = quest.quest_pokemon_id + pokemon_name = await i8ln(await self.pokemonname(str(pokemon_id))) + if not quest.quest_task: quest_task = await self.questtask( diff --git a/static/madmin/static/js/madmin.js b/static/madmin/static/js/madmin.js index ac33dce88..7f1290e87 100644 --- a/static/madmin/static/js/madmin.js +++ b/static/madmin/static/js/madmin.js @@ -1277,6 +1277,11 @@ new Vue({ var size = [30, 30] var anchor = [30, 30] break; + case 9: + var image = `static/quest/reward_xl_candy.png`; + var size = [30, 30] + var anchor = [30, 30] + break; case 12: var image = 'https://raw.githubusercontent.com/whitewillem/PogoAssets/resized/icons_large/rewards/reward_mega_energy.png' var size = [30, 30] @@ -1325,6 +1330,10 @@ new Vue({ var rewardtext = quest_pokemon_name; var size = "150%"; break; + case 9: + var image = `static/quest/reward_xl_candy.png`; + var rewardtext = `${quest_item_amount} ${quest_pokemon_name} XL Candy`; + break; case 12: var image = 'https://raw.githubusercontent.com/whitewillem/PogoAssets/resized/icons_large/rewards/reward_mega_energy.png' var rewardtext = `${quest_item_amount} ${quest_item_type} ${quest_pokemon_name}`; diff --git a/static/madmin/static/quest/reward_xl_candy.png b/static/madmin/static/quest/reward_xl_candy.png new file mode 100644 index 0000000000000000000000000000000000000000..cc663e55a1839e22427ec002dd29dc83734d1bb5 GIT binary patch literal 21697 zcmbq*1ydYt6YcCS?(VWU!2<~rY;g;)FTtIl!QI`0L-62`U_pbsTOhc*dvN#5cdPC% zxK&dlRZ~;_$Z0vhUA8B8=XGyniFj11>_{fRNWW; zwR(9|+~}P=Ws!by*3w#WvHs&gq4PWagVHZX!^zOkcuB^EU(v+h)CRz)_aHrSU#~Au zS(J4Lx4+O#d7z9*cxY2_Y)>Qxed4#t%@uaVXHwjFm*iMHIj8hlN{K=+p7KO{;()uF zr+qi}`+Vlz(Z7-Mnr7`c7gvY7<123FzN@1r4^NM6#9<7{nxDh}KTl~oiMIqjcnZI* zNhm(r%vA=+=@A3pKO*^G6C2bhi9Fw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edz{3l-r zo`L!n^@sr=mRKqWgAKq2ev%ys`q{xd-1|HLXo&&<|9uG~!Q`3AXLya12u^lA+jVGa zYU&l>m8Eb(VgQKc%?JXXY+w~@5p3X{^aK68i|gzp{%a>jNz-Is?i@}4i%QnkwGR~@R5!!3p@5m{moU%)uN2(O5a>@SRhamvqrN}x( z&M7h<1jQux)Jdkf`; break; + case 9: + var image = ''; + break; case 12: var url = 'https://raw.githubusercontent.com/whitewillem/PogoAssets/resized/icons_large/rewards/reward_mega_energy.png' var image = ``;