diff --git a/migrations/users/mystery-items.js b/migrations/users/mystery-items.js index c1220abfee..5204eac9c4 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_201907'; -const MYSTERY_ITEMS = ['head_mystery_201907', 'armor_mystery_201907', 'eyewear_mystery_201907']; +const MIGRATION_NAME = 'mystery_items_201908'; +const MYSTERY_ITEMS = ['armor_mystery_201908', 'headAccessory_mystery_201908']; import { model as User } from '../../website/server/models/user'; import { model as UserNotification } from '../../website/server/models/userNotification'; diff --git a/website/client/components/inventory/equipment/equipGearModal.vue b/website/client/components/inventory/equipment/equipGearModal.vue index 3cf2138d0e..415aa93167 100644 --- a/website/client/components/inventory/equipment/equipGearModal.vue +++ b/website/client/components/inventory/equipment/equipGearModal.vue @@ -4,7 +4,6 @@ v-if="item != null", :hide-header="true", @change="onChange($event)" - @hide="fixDocBody()" ) div.close span.svg-icon.inline.icon-10(aria-hidden="true", v-html="icons.close", @click="hideDialog()") diff --git a/website/common/locales/en/gear.json b/website/common/locales/en/gear.json index 210b1a8c70..c45c592dbe 100644 --- a/website/common/locales/en/gear.json +++ b/website/common/locales/en/gear.json @@ -831,6 +831,8 @@ "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.", + "armorMystery201908Text": "Footloose Faun Costume", + "armorMystery201908Notes": "These legs were made for dancing! And that's just what they'll do. Confers no benefit. August 2019 Subscriber Item.", "armorMystery301404Text": "Steampunk Suit", "armorMystery301404Notes": "Dapper and dashing, wot! Confers no benefit. February 3015 Subscriber Item.", "armorMystery301703Text": "Steampunk Peacock Gown", @@ -1972,6 +1974,8 @@ "headAccessoryMystery201905Notes": "These horns are as sharp as they are shimmery. Confers no benefit. May 2019 Subscriber Item.", "headAccessoryMystery201906Text": "Kindly Koi Ears", "headAccessoryMystery201906Notes": "Legend has it these finny ears help merfolk hear the calls and songs of all the denizens of the deep! Confers no benefit. June 2019 Subscriber Item.", + "headAccessoryMystery201908Text": "Footloose Faun Horns", + "headAccessoryMystery201908Notes": "If wearing horns floats your goat, you're in luck! Confers no benefit. August 2019 Subscriber Item.", "headAccessoryMystery301405Text": "Headwear Goggles", "headAccessoryMystery301405Notes": "\"Goggles are for your eyes,\" they said. \"Nobody wants goggles that you can only wear on your head,\" they said. Hah! You sure showed them! Confers no benefit. August 3015 Subscriber Item.", diff --git a/website/common/locales/en/subscriber.json b/website/common/locales/en/subscriber.json index 80deb9a38f..da7935343c 100644 --- a/website/common/locales/en/subscriber.json +++ b/website/common/locales/en/subscriber.json @@ -161,6 +161,7 @@ "mysterySet201905": "Dazzling Dragon Set", "mysterySet201906": "Kindly Koi Set", "mysterySet201907": "Beach Buddy Set", + "mysterySet201908": "Footloose Faun 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 97749eb429..aa8d69b6a7 100644 --- a/website/common/script/content/gear/sets/mystery.js +++ b/website/common/script/content/gear/sets/mystery.js @@ -247,6 +247,12 @@ let armor = { mystery: '201907', value: 0, }, + 201908: { + text: t('armorMystery201908Text'), + notes: t('armorMystery201908Notes'), + mystery: '201908', + value: 0, + }, 301404: { text: t('armorMystery301404Text'), notes: t('armorMystery301404Notes'), @@ -814,6 +820,12 @@ let headAccessory = { mystery: '201906', value: 0, }, + 201908: { + text: t('headAccessoryMystery201908Text'), + notes: t('headAccessoryMystery201908Notes'), + mystery: '201908', + value: 0, + }, 301405: { text: t('headAccessoryMystery301405Text'), notes: t('headAccessoryMystery301405Notes'), diff --git a/website/common/script/content/mystery-sets.js b/website/common/script/content/mystery-sets.js index e3783e7e2a..ba58bdc48a 100644 --- a/website/common/script/content/mystery-sets.js +++ b/website/common/script/content/mystery-sets.js @@ -266,6 +266,10 @@ let mysterySets = { start: '2019-07-25', end: '2019-08-02', }, + 201908: { + start: '2019-08-27', + end: '2019-09-02', + }, 301404: { start: '3014-03-24', end: '3014-04-02', diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201908/broad_armor_mystery_201908.png b/website/raw_sprites/spritesmith/gear/events/mystery_201908/broad_armor_mystery_201908.png new file mode 100644 index 0000000000..d4f2d7d496 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201908/broad_armor_mystery_201908.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201908/headAccessory_mystery_201908.png b/website/raw_sprites/spritesmith/gear/events/mystery_201908/headAccessory_mystery_201908.png new file mode 100644 index 0000000000..bae6d99b0a Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201908/headAccessory_mystery_201908.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201908/shop_armor_mystery_201908.png b/website/raw_sprites/spritesmith/gear/events/mystery_201908/shop_armor_mystery_201908.png new file mode 100644 index 0000000000..0638481bc6 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201908/shop_armor_mystery_201908.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201908/shop_headAccessory_mystery_201908.png b/website/raw_sprites/spritesmith/gear/events/mystery_201908/shop_headAccessory_mystery_201908.png new file mode 100644 index 0000000000..e97b1ddb07 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201908/shop_headAccessory_mystery_201908.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201908/shop_set_mystery_201908.png b/website/raw_sprites/spritesmith/gear/events/mystery_201908/shop_set_mystery_201908.png new file mode 100644 index 0000000000..ef529f48d7 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201908/shop_set_mystery_201908.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201908/slim_armor_mystery_201908.png b/website/raw_sprites/spritesmith/gear/events/mystery_201908/slim_armor_mystery_201908.png new file mode 100644 index 0000000000..5e3561a880 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201908/slim_armor_mystery_201908.png differ diff --git a/website/raw_sprites/spritesmith_large/promo_mystery_201908.png b/website/raw_sprites/spritesmith_large/promo_mystery_201908.png new file mode 100644 index 0000000000..0e8b972c35 Binary files /dev/null and b/website/raw_sprites/spritesmith_large/promo_mystery_201908.png differ diff --git a/website/server/controllers/api-v3/news.js b/website/server/controllers/api-v3/news.js index 8a6ae70916..1c188d45df 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 = 'HABITICA KICKSTARTER UPDATE!'; +const LAST_ANNOUNCEMENT_TITLE = 'AUGUST SUBSCRIBER ITEMS REVEALED!'; const worldDmg = { // @TODO bailey: false, }; @@ -30,15 +30,14 @@ api.getNews = {

${res.t('newStuff')}

-

8/23/2019 - ${LAST_ANNOUNCEMENT_TITLE}

+

8/27/2019 - ${LAST_ANNOUNCEMENT_TITLE}


- -

Habitica Class Pins Kickstarter Update

-

Hello Habiticans! We're so excited to say that our Kickstarter campaign for class pins has been fully funded and all of our stretch goals have been met, much more quickly than we expected. We're blown away by all the support you've given us!

-

All nine pins as well as the animated pet and mount are now unlocked! If you've been waiting to see if we'd reach all our goals, now's the time to pledge. Thank you all so much for backing us, it means a lot to the team!

-
by The Habitica Team
+
+

The August Subscriber Item Set has been revealed, and it could be the GOAT: the Footloose Faun Item Set! You only have until August 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.

+
by beffymaroo
`, });