diff --git a/migrations/users/mystery-items.js b/migrations/users/mystery-items.js index f5d11f0244..f633f3b80a 100644 --- a/migrations/users/mystery-items.js +++ b/migrations/users/mystery-items.js @@ -1,11 +1,11 @@ -const migrationName = 'mystery-items-201802.js'; // Update per month +const migrationName = 'mystery-items-201805.js'; // Update per month const authorName = 'Sabe'; // in case script author needs to know when their ... const authorUuid = '7f14ed62-5408-4e1b-be83-ada62d504931'; // ... own data is done /* * Award this month's mystery items to subscribers */ -const MYSTERY_ITEMS = ['back_mystery_201804', 'headAccessory_mystery_201804']; +const MYSTERY_ITEMS = ['back_mystery_201805', 'head_mystery_201805']; const connectionString = 'mongodb://localhost:27017/habitrpg?auto_reconnect=true'; // FOR TEST DATABASE let monk = require('monk'); diff --git a/website/common/locales/en/gear.json b/website/common/locales/en/gear.json index 5923f3c78a..ab43f3208b 100644 --- a/website/common/locales/en/gear.json +++ b/website/common/locales/en/gear.json @@ -1105,6 +1105,8 @@ "headMystery201802Notes": "The antennae on this helm act as cute dowsing rods, detecting feelings of love and support nearby. Confers no benefit. February 2018 Subscriber Item.", "headMystery201803Text": "Daring Dragonfly Circlet", "headMystery201803Notes": "Although its appearance is quite decorative, you can engage the wings on this circlet for extra lift! Confers no benefit. March 2018 Subscriber Item.", + "headMystery201805Text": "Phenomenal Peacock Helm", + "headMystery201805Notes": "This helm will make you the proudest and prettiest (possibly also the loudest) bird in town. Confers no benefit. May 2018 Subscriber Item.", "headMystery301404Text": "Fancy Top Hat", "headMystery301404Notes": "A fancy top hat for the finest of gentlefolk! January 3015 Subscriber Item. Confers no benefit.", "headMystery301405Text": "Basic Top Hat", @@ -1473,6 +1475,8 @@ "backMystery201803Notes": "These bright and shiny wings will carry you through soft spring breezes and across lily ponds with ease. Confers no benefit. March 2018 Subscriber Item.", "backMystery201804Text": "Squirrel Tail", "backMystery201804Notes": "Sure, it helps you balance while you jump on branches, but the most important thing is MAXIMUM FLUFF. Confers no benefit. April 2018 Subscriber Item.", + "backMystery201805Text": "Phenomenal Peacock Tail", + "backMystery201805Notes": "This gorgeous feathery tail is perfect for a strut down a lovely garden path! Confers no benefit. May 2018 Subscriber Item.", "backSpecialWonderconRedText": "Mighty Cape", "backSpecialWonderconRedNotes": "Swishes with strength and beauty. Confers no benefit. Special Edition Convention Item.", diff --git a/website/common/locales/en/subscriber.json b/website/common/locales/en/subscriber.json index aa7f063043..5e4af1cf24 100644 --- a/website/common/locales/en/subscriber.json +++ b/website/common/locales/en/subscriber.json @@ -144,6 +144,7 @@ "mysterySet201802": "Love Bug Set", "mysterySet201803": "Daring Dragonfly Set", "mysterySet201804": "Spiffy Squirrel Set", + "mysterySet201805": "Phenomenal Peacock Set", "mysterySet301404": "Steampunk Standard Set", "mysterySet301405": "Steampunk Accessories Set", "mysterySet301703": "Peacock Steampunk Set", diff --git a/website/common/script/content/gear/sets/mystery.js b/website/common/script/content/gear/sets/mystery.js index c61d06d73b..35527d643f 100644 --- a/website/common/script/content/gear/sets/mystery.js +++ b/website/common/script/content/gear/sets/mystery.js @@ -304,6 +304,12 @@ let back = { mystery: '201804', value: 0, }, + 201805: { + text: t('backMystery201805Text'), + notes: t('backMystery201805Notes'), + mystery: '201805', + value: 0, + }, }; let body = { @@ -571,6 +577,12 @@ let head = { mystery: '201803', value: 0, }, + 201805: { + text: t('headMystery201805Text'), + notes: t('headMystery201805Notes'), + mystery: '201805', + value: 0, + }, 301404: { text: t('headMystery301404Text'), notes: t('headMystery301404Notes'), diff --git a/website/common/script/content/mystery-sets.js b/website/common/script/content/mystery-sets.js index 3d41d42e41..dacb2c59b8 100644 --- a/website/common/script/content/mystery-sets.js +++ b/website/common/script/content/mystery-sets.js @@ -206,6 +206,10 @@ let mysterySets = { start: '2018-04-24', end: '2018-05-02', }, + 201805: { + start: '2018-05-24', + end: '2018-06-02', + }, 301404: { start: '3014-03-24', end: '3014-04-02', diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201805/back_mystery_201805.png b/website/raw_sprites/spritesmith/gear/events/mystery_201805/back_mystery_201805.png new file mode 100644 index 0000000000..92043f99f1 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201805/back_mystery_201805.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201805/head_mystery_201805.png b/website/raw_sprites/spritesmith/gear/events/mystery_201805/head_mystery_201805.png new file mode 100644 index 0000000000..b9a9c26adc Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201805/head_mystery_201805.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201805/shop_back_mystery_201805.png b/website/raw_sprites/spritesmith/gear/events/mystery_201805/shop_back_mystery_201805.png new file mode 100644 index 0000000000..e2b090c3c5 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201805/shop_back_mystery_201805.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201805/shop_head_mystery_201805.png b/website/raw_sprites/spritesmith/gear/events/mystery_201805/shop_head_mystery_201805.png new file mode 100644 index 0000000000..6215bb40d5 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201805/shop_head_mystery_201805.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201805/shop_set_mystery_201805.png b/website/raw_sprites/spritesmith/gear/events/mystery_201805/shop_set_mystery_201805.png new file mode 100644 index 0000000000..f85d6b08d5 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201805/shop_set_mystery_201805.png differ diff --git a/website/raw_sprites/spritesmith_large/promo_mystery_201804.png b/website/raw_sprites/spritesmith_large/promo_mystery_201804.png deleted file mode 100644 index 1190a854e6..0000000000 Binary files a/website/raw_sprites/spritesmith_large/promo_mystery_201804.png and /dev/null differ diff --git a/website/raw_sprites/spritesmith_large/promo_mystery_201805.png b/website/raw_sprites/spritesmith_large/promo_mystery_201805.png new file mode 100644 index 0000000000..6173cf4459 Binary files /dev/null and b/website/raw_sprites/spritesmith_large/promo_mystery_201805.png differ diff --git a/website/server/controllers/api-v3/news.js b/website/server/controllers/api-v3/news.js index dfe71e4aa7..7c429b7487 100644 --- a/website/server/controllers/api-v3/news.js +++ b/website/server/controllers/api-v3/news.js @@ -3,7 +3,7 @@ import { authWithHeaders } from '../../middlewares/auth'; let api = {}; // @TODO export this const, cannot export it from here because only routes are exported from controllers -const LAST_ANNOUNCEMENT_TITLE = 'FAIRY HATCHING POTIONS RETURN!'; +const LAST_ANNOUNCEMENT_TITLE = 'MAY SUBSCRIBER ITEMS AND USER SPOTLIGHT!'; const worldDmg = { // @TODO bailey: false, }; @@ -32,12 +32,25 @@ api.getNews = {
They're back! Between now and May 31, you can buy Fairy Hatching Potions from the Market and use them to hatch any standard pet egg. (Magic Hatching Potions do not work on Quest Pet eggs.) Fairy Potion Pets aren't picky, so they'll happily eat any kind of food that you feed them!
-After they're gone, it will be at least a year before the Fairy Hatching Potions are available again, so be sure to get them now!
-The May Subscriber Item Set has been revealed: the Phenomenal Peacock Item Set! You only have until May 31 to receive the item set when you subscribe. If you're already an active subscriber, reload the site and then head to Inventory > Items to claim your gear!
+Subscribers also receive the ability to buy Gems for Gold -- the longer you subscribe, the more Gems you can buy per month! There are other perks as well, such as longer access to uncompressed data and a cute Jackalope pet. Best of all, subscriptions let us keep Habitica running. Thank you very much for your support -- it means a lot to us.
+There's a new User Spotlight on the blog! We've interviewed Dr.B of Take This about his Habitica setup, gaming, mental health + more! Check it out.
+