diff --git a/migrations/users/mystery-items.js b/migrations/users/mystery-items.js index cbf456b32b..c1220abfee 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_201906'; -const MYSTERY_ITEMS = ['headAccessory_mystery_201906', 'armor_mystery_201906']; +const MIGRATION_NAME = 'mystery_items_201907'; +const MYSTERY_ITEMS = ['head_mystery_201907', 'armor_mystery_201907', 'eyewear_mystery_201907']; 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 81125868fb..17c92a5d1f 100644 --- a/website/common/locales/en/gear.json +++ b/website/common/locales/en/gear.json @@ -827,6 +827,8 @@ "armorMystery201904Notes": "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.", "armorMystery201906Text": "Kindly Koi Tail", "armorMystery201906Notes": "We will spare you a pun about “playing koi.” Oh wait, oops. Confers no benefit. June 2019 Subscriber Item.", + "armorMystery201907Text": "Flowery Shirt", + "armorMystery201907Notes": "Stay cool and look cool on even the hottest summer day. Confers no benefit. July 2019 Subscriber Item.", "armorMystery301404Text": "Steampunk Suit", "armorMystery301404Notes": "Dapper and dashing, wot! Confers no benefit. February 3015 Subscriber Item.", "armorMystery301703Text": "Steampunk Peacock Gown", @@ -1344,6 +1346,8 @@ "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.", + "headMystery201907Text": "Backwards Cap", + "headMystery201907Notes": "Nothing says “I'm relaxing here!” like a backwards cap. Confers no benefit. July 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", @@ -2026,6 +2030,8 @@ "eyewearMystery201701Notes": "These sunglasses will protect your eyes from harmful rays and will look stylish no matter where you find yourself in time! Confers no benefit. January 2017 Subscriber Item.", "eyewearMystery201902Text": "Cryptic Crush Mask", "eyewearMystery201902Notes": "This mysterious mask hides your identity but not your winning smile. Confers no benefit. February 2019 Subscriber Item.", + "eyewearMystery201907Text": "Sweet Sunglasses", + "eyewearMystery201907Notes": "Look awesome while protecting your eyes from harmful UV rays! Confers no benefit. July 2019 Subscriber Item.", "eyewearMystery301404Text": "Eyewear Goggles", "eyewearMystery301404Notes": "No eyewear could be fancier than a pair of goggles - except, perhaps, for a monocle. Confers no benefit. April 3015 Subscriber Item.", "eyewearMystery301405Text": "Monocle", diff --git a/website/common/locales/en/subscriber.json b/website/common/locales/en/subscriber.json index 9aa32a6211..80deb9a38f 100644 --- a/website/common/locales/en/subscriber.json +++ b/website/common/locales/en/subscriber.json @@ -160,6 +160,7 @@ "mysterySet201904": "Opulent Opal Set", "mysterySet201905": "Dazzling Dragon Set", "mysterySet201906": "Kindly Koi Set", + "mysterySet201907": "Beach Buddy 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 dd4785b1c6..97749eb429 100644 --- a/website/common/script/content/gear/sets/mystery.js +++ b/website/common/script/content/gear/sets/mystery.js @@ -241,6 +241,12 @@ let armor = { mystery: '201906', value: 0, }, + 201907: { + text: t('armorMystery201907Text'), + notes: t('armorMystery201907Notes'), + mystery: '201907', + value: 0, + }, 301404: { text: t('armorMystery301404Text'), notes: t('armorMystery301404Notes'), @@ -430,6 +436,12 @@ let eyewear = { mystery: '201902', value: 0, }, + 201907: { + text: t('eyewearMystery201907Text'), + notes: t('eyewearMystery201907Notes'), + mystery: '201907', + value: 0, + }, 301404: { text: t('eyewearMystery301404Text'), notes: t('eyewearMystery301404Notes'), @@ -709,6 +721,12 @@ let head = { mystery: '201904', value: 0, }, + 201907: { + text: t('headMystery201907Text'), + notes: t('headMystery201907Notes'), + mystery: '201907', + 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 2583a7aaa6..e3783e7e2a 100644 --- a/website/common/script/content/mystery-sets.js +++ b/website/common/script/content/mystery-sets.js @@ -262,6 +262,10 @@ let mysterySets = { start: '2019-06-25', end: '2019-07-03', }, + 201907: { + start: '2019-07-25', + end: '2019-08-02', + }, 301404: { start: '3014-03-24', end: '3014-04-02', diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201907/broad_armor_mystery_201907.png b/website/raw_sprites/spritesmith/gear/events/mystery_201907/broad_armor_mystery_201907.png new file mode 100644 index 0000000000..dc7844f604 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201907/broad_armor_mystery_201907.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201907/eyewear_mystery_201907.png b/website/raw_sprites/spritesmith/gear/events/mystery_201907/eyewear_mystery_201907.png new file mode 100644 index 0000000000..12ab2aecb7 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201907/eyewear_mystery_201907.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201907/head_mystery_201907.png b/website/raw_sprites/spritesmith/gear/events/mystery_201907/head_mystery_201907.png new file mode 100644 index 0000000000..bddfea81ac Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201907/head_mystery_201907.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201907/shop_armor_mystery_201907.png b/website/raw_sprites/spritesmith/gear/events/mystery_201907/shop_armor_mystery_201907.png new file mode 100644 index 0000000000..51d098def0 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201907/shop_armor_mystery_201907.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201907/shop_eyewear_mystery_201907.png b/website/raw_sprites/spritesmith/gear/events/mystery_201907/shop_eyewear_mystery_201907.png new file mode 100644 index 0000000000..eeb9b8b723 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201907/shop_eyewear_mystery_201907.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201907/shop_head_mystery_201907.png b/website/raw_sprites/spritesmith/gear/events/mystery_201907/shop_head_mystery_201907.png new file mode 100644 index 0000000000..8d9aa47a99 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201907/shop_head_mystery_201907.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201907/shop_set_mystery_201907.png b/website/raw_sprites/spritesmith/gear/events/mystery_201907/shop_set_mystery_201907.png new file mode 100644 index 0000000000..5ad0ea3cc9 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201907/shop_set_mystery_201907.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201907/slim_armor_mystery_201907.png b/website/raw_sprites/spritesmith/gear/events/mystery_201907/slim_armor_mystery_201907.png new file mode 100644 index 0000000000..75e0756cbd Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201907/slim_armor_mystery_201907.png differ diff --git a/website/raw_sprites/spritesmith_large/promo_mystery_201906.png b/website/raw_sprites/spritesmith_large/promo_mystery_201906.png deleted file mode 100644 index ed99fcecec..0000000000 Binary files a/website/raw_sprites/spritesmith_large/promo_mystery_201906.png and /dev/null differ diff --git a/website/raw_sprites/spritesmith_large/promo_mystery_201907.png b/website/raw_sprites/spritesmith_large/promo_mystery_201907.png new file mode 100644 index 0000000000..6cda6f8c60 Binary files /dev/null and b/website/raw_sprites/spritesmith_large/promo_mystery_201907.png differ diff --git a/website/raw_sprites/spritesmith_large/scene_hat_guild.png b/website/raw_sprites/spritesmith_large/scene_hat_guild.png deleted file mode 100644 index 1c432698ea..0000000000 Binary files a/website/raw_sprites/spritesmith_large/scene_hat_guild.png and /dev/null differ diff --git a/website/raw_sprites/spritesmith_large/scene_tools.png b/website/raw_sprites/spritesmith_large/scene_tools.png new file mode 100644 index 0000000000..fc30edbb05 Binary files /dev/null and b/website/raw_sprites/spritesmith_large/scene_tools.png differ diff --git a/website/server/controllers/api-v3/news.js b/website/server/controllers/api-v3/news.js index 128df6062f..21b16e1702 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 = 'GUILD AND PARTIES ISSUE, FREE CAKE, AND SPLASHY PALS BUNDLE'; +const LAST_ANNOUNCEMENT_TITLE = 'JULY SUBSCRIBER ITEMS AND HABITICA BLOG POSTS'; const worldDmg = { // @TODO bailey: false, }; @@ -30,20 +30,25 @@ api.getNews = {
Hello Habiticans! Our apologies regarding the outage affecting access to the Tavern, Guilds, and Parties that occurred yesterday. For those who may have had issues with their current Quest, we've granted quest owners a new copy of their Quest scroll and four gems to purchase a Quest or item of your choice. If you have any concerns or if there are any lingering issues with your Guild, Party, or Quest, please contact us at admin@habitica.com and our small team will be happy to fix you up as soon as possible!
-Thanks for your understanding and support! We always feel lucky to have such a wonderful community. :) To thank you all for your patience, we've given everyone delicious cake for their pets!
-If you are looking to add some water-loving pets to your Habitica stable, you're in luck! From now until July 31, you can purchase the Splashy Pals Pet Quest Bundle and receive the Seahorse, Turtle, and Whale quests, all for only 7 Gems! That's a discount of 5 Gems from the price of purchasing them separately. Check it out in the Quest Shop today!
-The July Subscriber Items have been revealed: the extra-special 3-piece Beach Buddy Item Set! You only have until July 31 to receive the item set when you subscribe.
+If you're already an active subscriber, reload the site or app 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.
+This month's featured Wiki article and Use Case Spotlight are about the Healer Class! We hope that they will help you as you choose the best class for your Habitica play style. Be sure to check them out, and let us know what you think by reaching out on Twitter, Tumblr, and Facebook.
+Plus, we're collecting user submissions for the next spotlight! We want to hear your best tricks and strategies for playing the Rogue class to its full advantage. We’ll be featuring player-submitted examples in Use Case Spotlights on the Habitica Blog next month, so post your suggestions in the Use Case Spotlight Guild now. We look forward to learning more about how you use Habitica to improve your life and get things done!
+There's a new Guild Spotlight on the blog that highlights more of the upcoming Guilds in Habitica dedicated to a variety of topics! Check it out now to find some of Habitica's best new communities.
+