diff --git a/website/common/locales/en/content.json b/website/common/locales/en/content.json index 7a552f437b..4ed68706e5 100644 --- a/website/common/locales/en/content.json +++ b/website/common/locales/en/content.json @@ -304,6 +304,7 @@ "hatchingPotionSandSculpture": "Sand Sculpture", "hatchingPotionWindup": "Wind-Up", "hatchingPotionTurquoise": "Turquoise", + "hatchingPotionVampire": "Vampire", "hatchingPotionNotes": "Pour this on an egg, and it will hatch as a <%= potText(locale) %> pet.", "premiumPotionAddlNotes": "Not usable on quest pet eggs. Available for purchase until <%= date(locale) %>.", diff --git a/website/common/script/content/hatching-potions.js b/website/common/script/content/hatching-potions.js index 7ac81c7fc5..a191b86800 100644 --- a/website/common/script/content/hatching-potions.js +++ b/website/common/script/content/hatching-potions.js @@ -149,6 +149,13 @@ const premium = { value: 2, text: t('hatchingPotionGhost'), limited: true, + event: EVENTS.fall2020, + canBuy () { + return moment().isBefore('2020-11-02'); + }, + _addlNotes: t('premiumPotionAddlNotes', { + date: t('dateEndOctober'), + }), }, Holly: { value: 2, @@ -276,6 +283,13 @@ const premium = { value: 2, text: t('hatchingPotionShadow'), limited: true, + event: EVENTS.fall2020, + canBuy () { + return moment().isBefore('2020-11-02'); + }, + _addlNotes: t('premiumPotionAddlNotes', { + date: t('dateEndOctober'), + }), }, Amber: { value: 2, @@ -347,6 +361,18 @@ const premium = { canBuy: hasQuestAchievementFunction('turquoise'), _addlNotes: t('premiumPotionUnlimitedNotes'), }, + Vampire: { + value: 2, + text: t('hatchingPotionVampire'), + limited: true, + event: EVENTS.fall2020, + canBuy () { + return moment().isBefore('2020-11-02'); + }, + _addlNotes: t('premiumPotionAddlNotes', { + date: t('dateEndOctober'), + }), + }, }; const wacky = { diff --git a/website/common/script/content/shop-featuredItems.js b/website/common/script/content/shop-featuredItems.js index 8aefa99626..c004398268 100644 --- a/website/common/script/content/shop-featuredItems.js +++ b/website/common/script/content/shop-featuredItems.js @@ -1,8 +1,29 @@ +import moment from 'moment'; // Magic Hatching Potions are configured like this: // type: 'premiumHatchingPotion', // note no "s" at the end // path: 'premiumHatchingPotions.Rainbow', const featuredItems = { market () { + if (moment().isBefore('2020-11-02')) { + return [ + { + type: 'armoire', + path: 'armoire', + }, + { + type: 'premiumHatchingPotion', + path: 'premiumHatchingPotions.Vampire', + }, + { + type: 'premiumHatchingPotion', + path: 'premiumHatchingPotions.Ghost', + }, + { + type: 'premiumHatchingPotion', + path: 'premiumHatchingPotions.Shadow', + }, + ]; + } return [ { type: 'armoire', @@ -10,15 +31,15 @@ const featuredItems = { }, { type: 'hatchingPotions', - path: 'hatchingPotions.Shade', + path: 'hatchingPotions.Red', }, { type: 'eggs', - path: 'eggs.TigerCub', + path: 'eggs.Fox', }, { type: 'food', - path: 'food.Saddle', + path: 'food.potatoe', }, ]; }, diff --git a/website/raw_sprites/spritesmith/stable/mounts/body/Mount_Body_BearCub-Vampire.png b/website/raw_sprites/spritesmith/stable/mounts/body/Mount_Body_BearCub-Vampire.png new file mode 100644 index 0000000000..cbc5d71332 Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/mounts/body/Mount_Body_BearCub-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/mounts/body/Mount_Body_Cactus-Vampire.png b/website/raw_sprites/spritesmith/stable/mounts/body/Mount_Body_Cactus-Vampire.png new file mode 100644 index 0000000000..0512680cdc Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/mounts/body/Mount_Body_Cactus-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/mounts/body/Mount_Body_Dragon-Vampire.png b/website/raw_sprites/spritesmith/stable/mounts/body/Mount_Body_Dragon-Vampire.png new file mode 100644 index 0000000000..558b697237 Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/mounts/body/Mount_Body_Dragon-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/mounts/body/Mount_Body_FlyingPig-Vampire.png b/website/raw_sprites/spritesmith/stable/mounts/body/Mount_Body_FlyingPig-Vampire.png new file mode 100644 index 0000000000..8eff293b64 Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/mounts/body/Mount_Body_FlyingPig-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/mounts/body/Mount_Body_Fox-Vampire.png b/website/raw_sprites/spritesmith/stable/mounts/body/Mount_Body_Fox-Vampire.png new file mode 100644 index 0000000000..7d879c622a Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/mounts/body/Mount_Body_Fox-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/mounts/body/Mount_Body_LionCub-Vampire.png b/website/raw_sprites/spritesmith/stable/mounts/body/Mount_Body_LionCub-Vampire.png new file mode 100644 index 0000000000..7c97f7fa6f Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/mounts/body/Mount_Body_LionCub-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/mounts/body/Mount_Body_PandaCub-Vampire.png b/website/raw_sprites/spritesmith/stable/mounts/body/Mount_Body_PandaCub-Vampire.png new file mode 100644 index 0000000000..0420718fc3 Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/mounts/body/Mount_Body_PandaCub-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/mounts/body/Mount_Body_TigerCub-Vampire.png b/website/raw_sprites/spritesmith/stable/mounts/body/Mount_Body_TigerCub-Vampire.png new file mode 100644 index 0000000000..14e30fc330 Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/mounts/body/Mount_Body_TigerCub-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/mounts/body/Mount_Body_Wolf-Vampire.png b/website/raw_sprites/spritesmith/stable/mounts/body/Mount_Body_Wolf-Vampire.png new file mode 100644 index 0000000000..0f7a9ab4bc Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/mounts/body/Mount_Body_Wolf-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/mounts/head/Mount_Head_BearCub-Vampire.png b/website/raw_sprites/spritesmith/stable/mounts/head/Mount_Head_BearCub-Vampire.png new file mode 100644 index 0000000000..c6731add97 Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/mounts/head/Mount_Head_BearCub-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/mounts/head/Mount_Head_Cactus-Vampire.png b/website/raw_sprites/spritesmith/stable/mounts/head/Mount_Head_Cactus-Vampire.png new file mode 100644 index 0000000000..5a9d61bb5c Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/mounts/head/Mount_Head_Cactus-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/mounts/head/Mount_Head_Dragon-Vampire.png b/website/raw_sprites/spritesmith/stable/mounts/head/Mount_Head_Dragon-Vampire.png new file mode 100644 index 0000000000..7fda985bec Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/mounts/head/Mount_Head_Dragon-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/mounts/head/Mount_Head_FlyingPig-Vampire.png b/website/raw_sprites/spritesmith/stable/mounts/head/Mount_Head_FlyingPig-Vampire.png new file mode 100644 index 0000000000..f76697a96c Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/mounts/head/Mount_Head_FlyingPig-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/mounts/head/Mount_Head_Fox-Vampire.png b/website/raw_sprites/spritesmith/stable/mounts/head/Mount_Head_Fox-Vampire.png new file mode 100644 index 0000000000..d7ece3d1fd Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/mounts/head/Mount_Head_Fox-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/mounts/head/Mount_Head_LionCub-Vampire.png b/website/raw_sprites/spritesmith/stable/mounts/head/Mount_Head_LionCub-Vampire.png new file mode 100644 index 0000000000..52214ec5fb Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/mounts/head/Mount_Head_LionCub-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/mounts/head/Mount_Head_PandaCub-Vampire.png b/website/raw_sprites/spritesmith/stable/mounts/head/Mount_Head_PandaCub-Vampire.png new file mode 100644 index 0000000000..ca50feb00c Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/mounts/head/Mount_Head_PandaCub-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/mounts/head/Mount_Head_TigerCub-Vampire.png b/website/raw_sprites/spritesmith/stable/mounts/head/Mount_Head_TigerCub-Vampire.png new file mode 100644 index 0000000000..f9b2a15a6e Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/mounts/head/Mount_Head_TigerCub-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/mounts/head/Mount_Head_Wolf-Vampire.png b/website/raw_sprites/spritesmith/stable/mounts/head/Mount_Head_Wolf-Vampire.png new file mode 100644 index 0000000000..28d855fdef Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/mounts/head/Mount_Head_Wolf-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/mounts/icon/Mount_Icon_BearCub-Vampire.png b/website/raw_sprites/spritesmith/stable/mounts/icon/Mount_Icon_BearCub-Vampire.png new file mode 100644 index 0000000000..bb765638c3 Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/mounts/icon/Mount_Icon_BearCub-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/mounts/icon/Mount_Icon_Cactus-Vampire.png b/website/raw_sprites/spritesmith/stable/mounts/icon/Mount_Icon_Cactus-Vampire.png new file mode 100644 index 0000000000..25ae151492 Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/mounts/icon/Mount_Icon_Cactus-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/mounts/icon/Mount_Icon_Dragon-Vampire.png b/website/raw_sprites/spritesmith/stable/mounts/icon/Mount_Icon_Dragon-Vampire.png new file mode 100644 index 0000000000..034af68715 Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/mounts/icon/Mount_Icon_Dragon-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/mounts/icon/Mount_Icon_FlyingPig-Vampire.png b/website/raw_sprites/spritesmith/stable/mounts/icon/Mount_Icon_FlyingPig-Vampire.png new file mode 100644 index 0000000000..8b985fab01 Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/mounts/icon/Mount_Icon_FlyingPig-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/mounts/icon/Mount_Icon_Fox-Vampire.png b/website/raw_sprites/spritesmith/stable/mounts/icon/Mount_Icon_Fox-Vampire.png new file mode 100644 index 0000000000..a8502071d7 Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/mounts/icon/Mount_Icon_Fox-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/mounts/icon/Mount_Icon_LionCub-Vampire.png b/website/raw_sprites/spritesmith/stable/mounts/icon/Mount_Icon_LionCub-Vampire.png new file mode 100644 index 0000000000..046ebe432c Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/mounts/icon/Mount_Icon_LionCub-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/mounts/icon/Mount_Icon_PandaCub-Vampire.png b/website/raw_sprites/spritesmith/stable/mounts/icon/Mount_Icon_PandaCub-Vampire.png new file mode 100644 index 0000000000..16d9d14488 Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/mounts/icon/Mount_Icon_PandaCub-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/mounts/icon/Mount_Icon_TigerCub-Vampire.png b/website/raw_sprites/spritesmith/stable/mounts/icon/Mount_Icon_TigerCub-Vampire.png new file mode 100644 index 0000000000..4372f42ffa Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/mounts/icon/Mount_Icon_TigerCub-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/mounts/icon/Mount_Icon_Wolf-Vampire.png b/website/raw_sprites/spritesmith/stable/mounts/icon/Mount_Icon_Wolf-Vampire.png new file mode 100644 index 0000000000..8da65cac85 Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/mounts/icon/Mount_Icon_Wolf-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/pets/Pet-BearCub-Vampire.png b/website/raw_sprites/spritesmith/stable/pets/Pet-BearCub-Vampire.png new file mode 100644 index 0000000000..ffa6d7942b Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/pets/Pet-BearCub-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/pets/Pet-Cactus-Vampire.png b/website/raw_sprites/spritesmith/stable/pets/Pet-Cactus-Vampire.png new file mode 100644 index 0000000000..4d157408b0 Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/pets/Pet-Cactus-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/pets/Pet-Dragon-Vampire.png b/website/raw_sprites/spritesmith/stable/pets/Pet-Dragon-Vampire.png new file mode 100644 index 0000000000..b5715dc5ab Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/pets/Pet-Dragon-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/pets/Pet-FlyingPig-Vampire.png b/website/raw_sprites/spritesmith/stable/pets/Pet-FlyingPig-Vampire.png new file mode 100644 index 0000000000..3c773bba86 Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/pets/Pet-FlyingPig-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/pets/Pet-Fox-Vampire.png b/website/raw_sprites/spritesmith/stable/pets/Pet-Fox-Vampire.png new file mode 100644 index 0000000000..58f6dd8996 Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/pets/Pet-Fox-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/pets/Pet-LionCub-Vampire.png b/website/raw_sprites/spritesmith/stable/pets/Pet-LionCub-Vampire.png new file mode 100644 index 0000000000..663e93954d Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/pets/Pet-LionCub-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/pets/Pet-PandaCub-Vampire.png b/website/raw_sprites/spritesmith/stable/pets/Pet-PandaCub-Vampire.png new file mode 100644 index 0000000000..eb1d1fb0fc Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/pets/Pet-PandaCub-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/pets/Pet-TigerCub-Vampire.png b/website/raw_sprites/spritesmith/stable/pets/Pet-TigerCub-Vampire.png new file mode 100644 index 0000000000..4703c44a5d Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/pets/Pet-TigerCub-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/pets/Pet-Wolf-Vampire.png b/website/raw_sprites/spritesmith/stable/pets/Pet-Wolf-Vampire.png new file mode 100644 index 0000000000..3f6b19482a Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/pets/Pet-Wolf-Vampire.png differ diff --git a/website/raw_sprites/spritesmith/stable/potions/Pet_HatchingPotion_Vampire.png b/website/raw_sprites/spritesmith/stable/potions/Pet_HatchingPotion_Vampire.png new file mode 100644 index 0000000000..ed94e5b907 Binary files /dev/null and b/website/raw_sprites/spritesmith/stable/potions/Pet_HatchingPotion_Vampire.png differ diff --git a/website/raw_sprites/spritesmith_large/promo_vampire_potions.png b/website/raw_sprites/spritesmith_large/promo_vampire_potions.png new file mode 100644 index 0000000000..9f48975e62 Binary files /dev/null and b/website/raw_sprites/spritesmith_large/promo_vampire_potions.png differ diff --git a/website/server/controllers/api-v3/news.js b/website/server/controllers/api-v3/news.js index a432f33561..47cf4593c9 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 = 'FALL FESTIVAL BEGINS! NOW WITH A SALE ON GEMS!'; +const LAST_ANNOUNCEMENT_TITLE = 'NEW VAMPIRE MAGIC HATCHING POTIONS, PLUS THE RETURN OF GHOST AND SHADOW POTIONS!'; const worldDmg = { // @TODO bailey: false, }; @@ -31,53 +31,28 @@ api.getNews = {
- From now until October 31st, limited edition outfits are available in the Rewards column! - Depending on your class, you can be a Wraith Warrior, Death's Head Moth Healer, Third Eye - Mage, or Two-Headed Rogue. You'd better get productive to earn enough gold before your - time runs out... + There's a new pet breed in town! Between now and October 31st, you can buy Magic Hatching + Potions from the Market and use them to hatch any standard + pet egg. (Magic Hatching Potions do not work on Quest Pet eggs.) Magic Potion Pets aren't + picky, so they'll happily eat any kind of food that you feed them!
-- The Seasonal Shop has opened! It's stocking autumnal - Seasonal Edition goodies at the moment, including past fall outfits. Everything there - will be available to purchase during the Fall Festival event each year, but it's only - open until October 31st, so be sure to stock up now, or you'll have to wait a year to - buy these items again! + For this Gala, we've brought back Ghost and Shadow Potions, and added a brand-new potion: + Vampire! +
++ After they're gone, it will be at least a year before these Hatching Potions are + available again, so be sure to get them now!
- Everyone has hastened down to the Flourishing Fields to celebrate this spooky harvest - festival. Be sure to check out all the outfits that people are sporting! -
-- For the first time ever, Habitica is offering a Gem sale to kick off the fun of Fall - Festival! Receive bonus Gems with each Gem purchase on web or mobile - the more Gems you - buy, the bigger the bonus! Use them to grab past Fall Festival Gear from the Seasonal - Shop, Quests, Magic Hatching Potions, and more. Find more details via Menu > Gems on - mobile, or tapping the Gem on the top menu bar on web. -
-- Be sure to update your mobile app to see details, although the promo will still work even - if you can't see the promotional information. -
-- Thanks so much for your support. 💜 Gem purchases help keep us running ad-free! -
`, });