From 0cf8aca88949bcdcfb2920aad7d6fd2d53e6d6ff Mon Sep 17 00:00:00 2001 From: Freek Date: Wed, 20 Mar 2024 13:10:22 +0100 Subject: [PATCH] fix(hiscores): add support for varlamore p1 --- package-lock.json | 8 ++++---- package.json | 2 +- src/app/common/directives/icon/icon.config.ts | 3 +++ .../icons/bosses/game_icon_colosseumglory.png | Bin 0 -> 671 bytes src/assets/icons/bosses/game_icon_lunarchests.png | Bin 0 -> 700 bytes src/assets/icons/bosses/game_icon_solheredit.png | Bin 0 -> 806 bytes 6 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 src/assets/icons/bosses/game_icon_colosseumglory.png create mode 100644 src/assets/icons/bosses/game_icon_lunarchests.png create mode 100644 src/assets/icons/bosses/game_icon_solheredit.png diff --git a/package-lock.json b/package-lock.json index e8c9993..2b6cf86 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "@angular/platform-browser-dynamic": "^17.2.2", "@angular/router": "^17.2.2", "@angular/service-worker": "^17.2.2", - "@osrs-tracker/hiscores": "^0.2.0", + "@osrs-tracker/hiscores": "^0.3.0", "chart.js": "^4.4.1", "chartjs-adapter-date-fns": "^3.0.0", "chartjs-plugin-annotation": "^3.0.1", @@ -5447,9 +5447,9 @@ } }, "node_modules/@osrs-tracker/hiscores": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@osrs-tracker/hiscores/-/hiscores-0.2.0.tgz", - "integrity": "sha512-8uc0ndjJ+Aca4oqYKWu0/T6AHd7DwQhUe3T2axPzrmyzDW+GLlUgMIc+lmGtDya+RH/ON5po3v/9Gq2ReoiMiA==", + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@osrs-tracker/hiscores/-/hiscores-0.3.0.tgz", + "integrity": "sha512-+Nk7LVgwCc27AGgaCo7Egj7kgfN1h2ghMDE10Gkpn38prOpgy9z264+BqShTcbJ80TgeRvCedM022UaZhytrHw==", "dependencies": { "date-fns": "^2.30.0" }, diff --git a/package.json b/package.json index f68d89f..e9afecb 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "@angular/platform-browser-dynamic": "^17.2.2", "@angular/router": "^17.2.2", "@angular/service-worker": "^17.2.2", - "@osrs-tracker/hiscores": "^0.2.0", + "@osrs-tracker/hiscores": "^0.3.0", "chart.js": "^4.4.1", "chartjs-adapter-date-fns": "^3.0.0", "chartjs-plugin-annotation": "^3.0.1", diff --git a/src/app/common/directives/icon/icon.config.ts b/src/app/common/directives/icon/icon.config.ts index 8d3bc4d..214dc12 100644 --- a/src/app/common/directives/icon/icon.config.ts +++ b/src/app/common/directives/icon/icon.config.ts @@ -57,6 +57,7 @@ export const iconMap: { [key: string]: string } = { [MiniGameEnum.SoulWarsZeal]: '/minigames/game_icon_soulwarszeal.png', [MiniGameEnum.RiftsClosed]: '/minigames/game_icon_riftsclosed.png', + [MiniGameEnum.ColosseumGlory]: '/minigames/game_icon_colosseumglory.png', [ClueScrollsEnum.ClueScrollsAll]: '/cluescrolls/game_icon_cluescrollsall.png', [ClueScrollsEnum.ClueScrollsBeginner]: '/cluescrolls/game_icon_cluescrollsbeginner.png', @@ -102,6 +103,7 @@ export const iconMap: { [key: string]: string } = { [BossEnum.Kraken]: '/bosses/game_icon_kraken.png', [BossEnum.KreeArra]: '/bosses/game_icon_kreearra.png', [BossEnum.KrilTsutsaroth]: '/bosses/game_icon_kriltsutsaroth.png', + [BossEnum.LunarChests]: '/bosses/game_icon_lunarchests.png', [BossEnum.Mimic]: '/bosses/game_icon_mimic.png', [BossEnum.Nex]: '/bosses/game_icon_nex.png', [BossEnum.Nightmare]: '/bosses/game_icon_nightmare.png', @@ -112,6 +114,7 @@ export const iconMap: { [key: string]: string } = { [BossEnum.Scorpia]: '/bosses/game_icon_scorpia.png', [BossEnum.Scurrius]: '/bosses/game_icon_scurrius.png', [BossEnum.Skotizo]: '/bosses/game_icon_skotizo.png', + [BossEnum.SolHeredit]: '/bosses/game_icon_solheredit.png', [BossEnum.Spindel]: '/bosses/game_icon_spindel.png', [BossEnum.Tempoross]: '/bosses/game_icon_tempoross.png', [BossEnum.TheLeviathan]: '/bosses/game_icon_theleviathan.png', diff --git a/src/assets/icons/bosses/game_icon_colosseumglory.png b/src/assets/icons/bosses/game_icon_colosseumglory.png new file mode 100644 index 0000000000000000000000000000000000000000..0043be7155c022601fe553bd596345ef2ac39f25 GIT binary patch literal 671 zcmV;Q0$}}#P)M_Y7@i>zSP=^z0s>-X zIb=xyQ~&^VYyemV4FCWD7XSiS8wySg2qpvo0000000000Jpcdz?7M5ap|S*LXs zV^$H*qYi*P2ik)M^u&1NuWIkZY4EvQ+nHMQ!BVb!J&s^Ay_GWTvM=ktF5|H-g;Xtu ze<_h@DWOm))~6`NnkCeOC8Jj%wtyVls2bvv8qyXT+d>(t7Z{yw7l{`Z%AXXPJ`;}s z6KY%%fmso17!hm|5p)s|oL&!FP7YH@4jU>BxmFCDND4|n3SBA+BLE3@00(w81yKM6 zk6;7<6auhX0pW`PvS!aE07*&!q&WZpH2|3~0G=HHcozUS%ccDQ0019!QchC< z{{1N){r&y?{QUg;`uX|i*V4|$z`v}cnU{H8Mlw{?gUbK_0RTxvK~xyiRf|=w!T=Nn zZ;QLbLvOJbcXxMp_x-Qol@CHWA19ef20pV`;Agx)-eABUNAZVhl}bJ2bClgw6^pAT z``1{Tb!8%Ee#f}f0EfJS9d>msw0#Ze6(>UKC zZsth0v6zCL8{G{o^$>d{Y_PC{i3dGn>@E-&T^zG8`3EIdENkSig7*Lb002ovPDHLk FV1mU<1mgez literal 0 HcmV?d00001 diff --git a/src/assets/icons/bosses/game_icon_lunarchests.png b/src/assets/icons/bosses/game_icon_lunarchests.png new file mode 100644 index 0000000000000000000000000000000000000000..9a6e14dedab212c3cd90f40bfd248c9c158628bb GIT binary patch literal 700 zcmeAS@N?(olHy`uVBq!ia0vp^LLkh+3?vf;>QWgP7?lHjLR^7d4G|y#0@L#xt8`5` zxuqdoI5|Hvv^ZEdL`NyZP{BiAT9AR$QAFHMPT=Caw2BC07fq>&40cM~qMfM@KrK;v zBD0mv4cOR$Y-L{721zqxaV-aFgCqkHePI=#psT*5l^{Qm0R+aZ5E?`(@j=c+ z=qI~tY-;wKSK>Z7$0=OZVN$N$q)e+i4U0y7^Y$duG;dv?>I<<|3)NzdOpI=m3Yuf> zv82K+Q_F3Fi9?5xbwjvivXXhfka;VEdB2HCm%O%>xOP2*c6yLjyozR-l!lS0Mvjkq zw~Kn5i;^zCe4eCSm%FStqinRkw3)g{vY>E*HNUFmknGpF^oW~6ybis$J}oDK|Y zaZeY=5Q)pG=Upcq4&Y%4=#?#-F>~hrnTOAuDfl1k^QdI1Sk=|pYz_7sW;k}={8VXj zFn7(;Fr8~UYk2=hHVeHF=ogS*#JXzX)lQqG&L>{GdbmI3ywG&gu60Rf(8rTA*x1S= z)UJvj-V+kUx0_dfrp~f5$LsDZ)(gM6eDnyzZbu!<#R97}bQYzZyph1ZTx7~Rxn-O0 zmrI=A%Cb^8r1O)R!L$3{f6ta@-)PVOtQIyvVf`+|iZUwoJEwg16hy-(-6f8gD}ps4qB^>bP0 Hl+XkK4k!G^ literal 0 HcmV?d00001 diff --git a/src/assets/icons/bosses/game_icon_solheredit.png b/src/assets/icons/bosses/game_icon_solheredit.png new file mode 100644 index 0000000000000000000000000000000000000000..41ca60fc95961f0aea9f17fe98d5e3c67f05beb8 GIT binary patch literal 806 zcmeAS@N?(olHy`uVBq!ia0vp^LLkh+3?vf;>QWgP7@GrpLR^8|ix(~cNg$BqWCxN8 z3`~-&41fRrljH&NnEGeWIZ`g)WGnpf^1)tDVMSi1|9`)P`nV+N3pP9Px0rBoGcy9! z_4!EyNd|T~AW`SQlwk_AhzZE<2nUI$8F6p}DKN0Kw14~Y+ur@h&Rn~F{pQW1$Ii@O zv2yjQ70q@GxrPi83=D+~44pP0r2$~|USKj_gdvQ9K~z$u$QRoj1_-}d(ShA)Q}wN9NqYu5DI`u2qKy0cTOt7bT!f-r?VQmxx&}$A14BJF&Lx4_qDGBlmX80Q- zCC2*i-*+v|fB*jd{rmSf5d8Y}^ZWBhcQ5T)xnyBaOG$(RKS=7&j~|a7KDc$|%B4$N zwk%oP)|8lNZ?CE