diff --git a/website/client/src/assets/css/sprites/spritesmith-largeSprites-0.css b/website/client/src/assets/css/sprites/spritesmith-largeSprites-0.css index 0df0d242e1..b427b18a75 100644 --- a/website/client/src/assets/css/sprites/spritesmith-largeSprites-0.css +++ b/website/client/src/assets/css/sprites/spritesmith-largeSprites-0.css @@ -4,9 +4,15 @@ width: 423px; height: 147px; } -.promo_mystery_202005 { +.promo_fairy_sunshine_potions { background-image: url('~@/assets/images/sprites/spritesmith-largeSprites-0.png'); background-position: 0px -223px; + width: 423px; + height: 147px; +} +.promo_mystery_202005 { + background-image: url('~@/assets/images/sprites/spritesmith-largeSprites-0.png'); + background-position: -424px -223px; width: 282px; height: 147px; } diff --git a/website/client/src/assets/images/sprites/spritesmith-largeSprites-0.png b/website/client/src/assets/images/sprites/spritesmith-largeSprites-0.png index 192d6fc093..46b59e4726 100644 Binary files a/website/client/src/assets/images/sprites/spritesmith-largeSprites-0.png and b/website/client/src/assets/images/sprites/spritesmith-largeSprites-0.png differ diff --git a/website/common/locales/en/limited.json b/website/common/locales/en/limited.json index 692fd1ff6d..b1aa9fe193 100644 --- a/website/common/locales/en/limited.json +++ b/website/common/locales/en/limited.json @@ -164,6 +164,7 @@ "augustYYYY": "August <%= year %>", "decemberYYYY": "December <%= year %>", "marchYYYY": "March <%= year %>", + "mayYYYY": "May <%= year %>", "dateEndJuly": "July 31", "dateEndAugust": "August 31", "dateEndSeptember": "September 21", diff --git a/website/common/script/content/hatching-potions.js b/website/common/script/content/hatching-potions.js index 204cd66f35..b61299a918 100644 --- a/website/common/script/content/hatching-potions.js +++ b/website/common/script/content/hatching-potions.js @@ -86,6 +86,13 @@ const premium = { value: 2, text: t('hatchingPotionFairy'), limited: true, + _addlNotes: t('eventAvailabilityReturning', { + availableDate: t('dateEndMay'), + previousDate: t('mayYYYY', { year: 2017 }), + }), + canBuy () { + return moment().isBefore('2020-06-02'); + }, }, Floral: { value: 2, @@ -222,6 +229,13 @@ const premium = { value: 2, text: t('hatchingPotionSunshine'), limited: true, + _addlNotes: t('eventAvailabilityReturning', { + availableDate: t('dateEndMay'), + previousDate: t('mayYYYY', { year: 2019 }), + }), + canBuy () { + return moment().isBefore('2020-06-02'); + }, }, Bronze: { value: 2, diff --git a/website/raw_sprites/spritesmith_large/promo_fairy_sunshine_potions.png b/website/raw_sprites/spritesmith_large/promo_fairy_sunshine_potions.png new file mode 100644 index 0000000000..507db3a7de Binary files /dev/null and b/website/raw_sprites/spritesmith_large/promo_fairy_sunshine_potions.png differ diff --git a/website/server/controllers/api-v3/news.js b/website/server/controllers/api-v3/news.js index cc804c3b5d..c0ea945c1f 100644 --- a/website/server/controllers/api-v3/news.js +++ b/website/server/controllers/api-v3/news.js @@ -4,7 +4,7 @@ const api = {}; // @TODO export this const, cannot export it from here because only routes are exported from // controllers -const LAST_ANNOUNCEMENT_TITLE = 'MAY BACKGROUNDS AND ARMOIRE ITEMS!'; +const LAST_ANNOUNCEMENT_TITLE = 'FAIRY AND SUNSHINE GLOW HATCHING POTIONS!'; const worldDmg = { // @TODO bailey: false, }; @@ -31,22 +31,23 @@ api.getNews = {
- We’ve added three new backgrounds to the Background Shop! Now your avatar can soar in a - Hot Air Balloon, pick fresh treats in a Strawberry Patch, and caper on Habit City - Rooftops. Check them out under User Icon > Backgrounds on web and Menu > Inventory > - Customize Avatar on mobile! + Some favorite pet breeds are back in town! Check out the return of Fairy and Sunshine + Glow Potions to brighten your May avatar look. Buy them from the + Market and use them to hatch any standard pet egg. (Magic Hatching Potions do not + work on Quest Pet eggs.) Magic Hatching Potion Pets aren't picky, so they'll happily eat + any kind of food that you feed them!
- Plus, there’s new gold-purchasable equipment in the Enchanted Armoire, including the - Fiddler Set. Better work hard on your real-life tasks to earn all the pieces! Enjoy :) + After they're gone, it will be at least a year before the Fairy or Sunshine Glow Hatching + Potions are available again, so be sure to get them now!
-