@@ -30,18 +30,6 @@ const RARECROW_DATA: Record<
3030 { } as Record < number , ( typeof big_craftables ) [ keyof typeof big_craftables ] > ,
3131) ;
3232
33- // TODO: move to CDN
34- const RARECROW_IMAGES : Record < number , string > = {
35- 110 : "https://stardewvalleywiki.com/mediawiki/images/6/62/Rarecrow_1.png" ,
36- 113 : "https://stardewvalleywiki.com/mediawiki/images/2/28/Rarecrow_2.png" ,
37- 126 : "https://stardewvalleywiki.com/mediawiki/images/e/ea/Rarecrow_3.png" ,
38- 136 : "https://stardewvalleywiki.com/mediawiki/images/e/ef/Rarecrow_4.png" ,
39- 137 : "https://stardewvalleywiki.com/mediawiki/images/9/9f/Rarecrow_5.png" ,
40- 138 : "https://stardewvalleywiki.com/mediawiki/images/2/29/Rarecrow_6.png" ,
41- 139 : "https://stardewvalleywiki.com/mediawiki/images/5/52/Rarecrow_7.png" ,
42- 140 : "https://stardewvalleywiki.com/mediawiki/images/b/bb/Rarecrow_8.png" ,
43- } as const ;
44-
4533const bubbleColors : Record < string , string > = {
4634 "0" : "border-neutral-200 bg-white dark:border-neutral-800 dark:bg-neutral-950" , // unfound
4735 "2" : "border-green-900 bg-green-500/20" , // found
@@ -224,7 +212,7 @@ export default function RarecrowsPage() {
224212 key = { id }
225213 title = { RARECROW_DATA [ id ] . name }
226214 description = { RARECROW_DATA [ id ] . description }
227- iconURL = { RARECROW_IMAGES [ id ] }
215+ iconURL = { `https://cdn.stardew.app/images/(BC) ${ id } .webp` }
228216 completed = { rarecrowsFound . has ( id . toString ( ) ) }
229217 _id = { id . toString ( ) }
230218 _type = "rarecrow"
0 commit comments