diff --git a/migrations/users/mystery-items.js b/migrations/users/mystery-items.js index a6ec60d1bb..6bd2c1bd24 100644 --- a/migrations/users/mystery-items.js +++ b/migrations/users/mystery-items.js @@ -1,6 +1,6 @@ /* eslint-disable no-console */ -const MIGRATION_NAME = 'mystery_items_201903'; -const MYSTERY_ITEMS = ['armor_mystery_201903', 'head_mystery_201903']; +const MIGRATION_NAME = 'mystery_items_201904'; +const MYSTERY_ITEMS = ['armor_mystery_201904', 'head_mystery_201904']; import { model as User } from '../../website/server/models/user'; import { model as UserNotification } from '../../website/server/models/userNotification'; diff --git a/website/common/locales/en/gear.json b/website/common/locales/en/gear.json index e7317cfbdc..5869557e2d 100644 --- a/website/common/locales/en/gear.json +++ b/website/common/locales/en/gear.json @@ -798,7 +798,9 @@ "armorMystery201810Text": "Dark Forest Robes", "armorMystery201810Notes": "These robes are extra warm to protect you from the ghastly cold of haunted realms. Confers no benefit. October 2018 Subscriber Item.", "armorMystery201903Text": "Shell-ebration Armor", - "armorMystery201903Notes": "People are dye-ing to know where you got this egg-cellent outfit! Confers no benefit. March 2019 Subscriber Item.", + "armorMystery201903Notes": "This shining garment has opals sewn into the front panel to grant you arcane powers and a fabulous look. Confers no benefit. April 2019 Subscriber Item.", + "armorMystery201904Text": "Opalescent Outfit", + "armorMystery201904Notes": "People are dye-ing to know where you got this egg-cellent outfit! Confers no benefit. March 2019 Subscriber Item.", "armorMystery301404Text": "Steampunk Suit", "armorMystery301404Notes": "Dapper and dashing, wot! Confers no benefit. February 3015 Subscriber Item.", "armorMystery301703Text": "Steampunk Peacock Gown", @@ -1299,6 +1301,8 @@ "headMystery201901Notes": "The glowing gems on this helm contain light magically captured from winter auroras. Confers no benefit. January 2019 Subscriber Item.", "headMystery201903Text": "Sunny Side Up Helm", "headMystery201903Notes": "Some may call you an egghead, but that's OK because you know how to take a yolk. Confers no benefit. March 2019 Subscriber Item.", + "headMystery201904Text": "Opulent Opal Circlet", + "headMystery201904Notes": "The opals in this circlet shine in every color of the rainbow, giving it a variety of magical properties. Confers no benefit. April 2019 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", diff --git a/website/common/locales/en/subscriber.json b/website/common/locales/en/subscriber.json index 303284dfb3..2c4be082b1 100644 --- a/website/common/locales/en/subscriber.json +++ b/website/common/locales/en/subscriber.json @@ -156,6 +156,7 @@ "mysterySet201901": "Polaris Set", "mysterySet201902": "Cryptic Crush Set", "mysterySet201903": "Egg-squisite Set", + "mysterySet201904": "Opulent Opal 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 d7f46bc95e..eef3748cb3 100644 --- a/website/common/script/content/gear/sets/mystery.js +++ b/website/common/script/content/gear/sets/mystery.js @@ -229,6 +229,12 @@ let armor = { mystery: '201903', value: 0, }, + 201904: { + text: t('armorMystery201904Text'), + notes: t('armorMystery201904Notes'), + mystery: '201904', + value: 0, + }, 301404: { text: t('armorMystery301404Text'), notes: t('armorMystery301404Notes'), @@ -685,6 +691,12 @@ let head = { mystery: '201903', value: 0, }, + 201904: { + text: t('headMystery201904Text'), + notes: t('headMystery201904Notes'), + mystery: '201904', + 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 980e880e16..895cbfe3e9 100644 --- a/website/common/script/content/mystery-sets.js +++ b/website/common/script/content/mystery-sets.js @@ -250,6 +250,10 @@ let mysterySets = { start: '2019-03-26', end: '2019-04-02', }, + 201904: { + start: '2019-04-25', + end: '2019-05-02', + }, 301404: { start: '3014-03-24', end: '3014-04-02', diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201904/broad_armor_mystery_201904.png b/website/raw_sprites/spritesmith/gear/events/mystery_201904/broad_armor_mystery_201904.png new file mode 100644 index 0000000000..8bddd23991 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201904/broad_armor_mystery_201904.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201904/head_mystery_201904.png b/website/raw_sprites/spritesmith/gear/events/mystery_201904/head_mystery_201904.png new file mode 100644 index 0000000000..284de0d3b2 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201904/head_mystery_201904.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201904/shop_armor_mystery_201904.png b/website/raw_sprites/spritesmith/gear/events/mystery_201904/shop_armor_mystery_201904.png new file mode 100644 index 0000000000..3230ef4b26 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201904/shop_armor_mystery_201904.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201904/shop_head_mystery_201904.png b/website/raw_sprites/spritesmith/gear/events/mystery_201904/shop_head_mystery_201904.png new file mode 100644 index 0000000000..4a2865bf59 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201904/shop_head_mystery_201904.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201904/shop_set_mystery_201904.png b/website/raw_sprites/spritesmith/gear/events/mystery_201904/shop_set_mystery_201904.png new file mode 100644 index 0000000000..d6d1aa8d4f Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201904/shop_set_mystery_201904.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201904/slim_armor_mystery_201904.png b/website/raw_sprites/spritesmith/gear/events/mystery_201904/slim_armor_mystery_201904.png new file mode 100644 index 0000000000..6e146f16af Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201904/slim_armor_mystery_201904.png differ diff --git a/website/raw_sprites/spritesmith_large/promo_mystery_201903.png b/website/raw_sprites/spritesmith_large/promo_mystery_201903.png deleted file mode 100644 index f74175480e..0000000000 Binary files a/website/raw_sprites/spritesmith_large/promo_mystery_201903.png and /dev/null differ diff --git a/website/raw_sprites/spritesmith_large/promo_mystery_201904.png b/website/raw_sprites/spritesmith_large/promo_mystery_201904.png new file mode 100644 index 0000000000..4f9ad0da93 Binary files /dev/null and b/website/raw_sprites/spritesmith_large/promo_mystery_201904.png differ diff --git a/website/server/controllers/api-v3/news.js b/website/server/controllers/api-v3/news.js index 766ecd73a4..ac80f2be43 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 = 'BEHIND THE SCENES: A BUTTERFLY GARDENING ADVENTURE WITH BEFFYMAROO!'; +const LAST_ANNOUNCEMENT_TITLE = 'APRIL SUBSCRIBER ITEMS!'; const worldDmg = { // @TODO bailey: false, }; @@ -30,13 +30,13 @@ api.getNews = {
There's a new Behind the Scenes post on the Habitica Blog! Beffymaroo shares some information about starting your own butterfly garden and enjoying watching these fascinating--and beneficial--creatures in your home and yard.
+The April Subscriber Item Set has been revealed: the Opulent Opal Item Set! You only have until April 30 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.