diff --git a/migrations/users/mystery-items.js b/migrations/users/mystery-items.js index d03cd8ceec..54e5d67d7f 100644 --- a/migrations/users/mystery-items.js +++ b/migrations/users/mystery-items.js @@ -1,14 +1,14 @@ import monk from 'monk'; import nconf from 'nconf'; -const migrationName = 'mystery-items-201807.js'; // Update per month +const migrationName = 'mystery-items-201808.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 = ['armor_mystery_201807', 'head_mystery_201807']; +const MYSTERY_ITEMS = ['armor_mystery_201808', 'head_mystery_201808']; const CONNECTION_STRING = nconf.get('MIGRATION_CONNECT_STRING'); let dbUsers = monk(CONNECTION_STRING).get('users', { castIds: false }); diff --git a/website/common/locales/en/gear.json b/website/common/locales/en/gear.json index 3331ecd2da..9554c8f1e1 100644 --- a/website/common/locales/en/gear.json +++ b/website/common/locales/en/gear.json @@ -717,6 +717,8 @@ "armorMystery201806Notes": "This sinuous tail features glowing spots to light your way through the deep. Confers no benefit. June 2018 Subscriber Item.", "armorMystery201807Text": "Sea Serpent Tail", "armorMystery201807Notes": "This powerful tail will propel you through the sea at incredible speeds! Confers no benefit. July 2018 Subscriber Item.", + "armorMystery201808Text": "Lava Dragon Armor", + "armorMystery201808Notes": "This armor is made from the shed scales of the elusive (and extremely warm) Lava Dragon. Confers no benefit. August 2018 Subscriber Item.", "armorMystery301404Text": "Steampunk Suit", "armorMystery301404Notes": "Dapper and dashing, wot! Confers no benefit. February 3015 Subscriber Item.", "armorMystery301703Text": "Steampunk Peacock Gown", @@ -1156,6 +1158,8 @@ "headMystery201806Notes": "The mesmerizing light atop this helm will call all the creatures of the sea to your side. We urge you to use your glowy powers of attraction for good! Confers no benefit. June 2018 Subscriber Item.", "headMystery201807Text": "Sea Serpent Helm", "headMystery201807Notes": "The strong scales on this helm will protect you from any manner of oceanic foe. Confers no benefit. July 2018 Subscriber Item.", + "headMystery201808Text": "Lava Dragon Cowl", + "headMystery201808Notes": "The glowing horns on this cowl will light your way through underground caverns. Confers no benefit. August 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", diff --git a/website/common/locales/en/subscriber.json b/website/common/locales/en/subscriber.json index bdf146efad..af2baccd0e 100644 --- a/website/common/locales/en/subscriber.json +++ b/website/common/locales/en/subscriber.json @@ -147,6 +147,7 @@ "mysterySet201805": "Phenomenal Peacock Set", "mysterySet201806": "Alluring Anglerfish Set", "mysterySet201807": "Sea Serpent Set", + "mysterySet201808": "Lava Dragon 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 f4fb51452e..bb35f495d7 100644 --- a/website/common/script/content/gear/sets/mystery.js +++ b/website/common/script/content/gear/sets/mystery.js @@ -205,6 +205,12 @@ let armor = { mystery: '201807', value: 0, }, + 201808: { + text: t('armorMystery201808Text'), + notes: t('armorMystery201808Notes'), + mystery: '201808', + value: 0, + }, 301404: { text: t('armorMystery301404Text'), notes: t('armorMystery301404Notes'), @@ -607,6 +613,12 @@ let head = { mystery: '201807', value: 0, }, + 201808: { + text: t('headMystery201808Text'), + notes: t('headMystery201808Notes'), + mystery: '201808', + 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 b5105b04be..81acc50a0b 100644 --- a/website/common/script/content/mystery-sets.js +++ b/website/common/script/content/mystery-sets.js @@ -218,6 +218,10 @@ let mysterySets = { start: '2018-07-24', end: '2018-08-02', }, + 201808: { + start: '2018-08-23', + end: '2018-09-02', + }, 301404: { start: '3014-03-24', end: '3014-04-02', diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201808/broad_armor_mystery_201808.png b/website/raw_sprites/spritesmith/gear/events/mystery_201808/broad_armor_mystery_201808.png new file mode 100644 index 0000000000..14f97fdf29 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201808/broad_armor_mystery_201808.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201808/head_mystery_201808.png b/website/raw_sprites/spritesmith/gear/events/mystery_201808/head_mystery_201808.png new file mode 100644 index 0000000000..63ef41686d Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201808/head_mystery_201808.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201808/shop_armor_mystery_201808.png b/website/raw_sprites/spritesmith/gear/events/mystery_201808/shop_armor_mystery_201808.png new file mode 100644 index 0000000000..bc635b5882 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201808/shop_armor_mystery_201808.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201808/shop_head_mystery_201808.png b/website/raw_sprites/spritesmith/gear/events/mystery_201808/shop_head_mystery_201808.png new file mode 100644 index 0000000000..3a3364acb8 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201808/shop_head_mystery_201808.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201808/shop_set_mystery_201808.png b/website/raw_sprites/spritesmith/gear/events/mystery_201808/shop_set_mystery_201808.png new file mode 100644 index 0000000000..110d325503 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201808/shop_set_mystery_201808.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_201808/slim_armor_mystery_201808.png b/website/raw_sprites/spritesmith/gear/events/mystery_201808/slim_armor_mystery_201808.png new file mode 100644 index 0000000000..285a0388b8 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_201808/slim_armor_mystery_201808.png differ diff --git a/website/raw_sprites/spritesmith_large/promo_mystery_201807.png b/website/raw_sprites/spritesmith_large/promo_mystery_201807.png deleted file mode 100644 index 8ce6b07fd3..0000000000 Binary files a/website/raw_sprites/spritesmith_large/promo_mystery_201807.png and /dev/null differ diff --git a/website/raw_sprites/spritesmith_large/promo_mystery_201808.png b/website/raw_sprites/spritesmith_large/promo_mystery_201808.png new file mode 100644 index 0000000000..d0075f24f1 Binary files /dev/null and b/website/raw_sprites/spritesmith_large/promo_mystery_201808.png differ diff --git a/website/raw_sprites/spritesmith_large/scene_casting_spells.png b/website/raw_sprites/spritesmith_large/scene_casting_spells.png new file mode 100644 index 0000000000..38a71b4ff7 Binary files /dev/null and b/website/raw_sprites/spritesmith_large/scene_casting_spells.png differ diff --git a/website/raw_sprites/spritesmith_large/scene_tavern.png b/website/raw_sprites/spritesmith_large/scene_tavern.png deleted file mode 100644 index 63078b9e28..0000000000 Binary files a/website/raw_sprites/spritesmith_large/scene_tavern.png and /dev/null differ diff --git a/website/server/controllers/api-v3/news.js b/website/server/controllers/api-v3/news.js index e60740b4d1..2bf134db24 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 = 'EMBER HATCHING POTIONS RETURN!'; +const LAST_ANNOUNCEMENT_TITLE = 'AUGUST SUBSCRIBER ITEMS AND WIKI SPOTLIGHT ON CUSTOMIZING THE HABITICA EXPERIENCE'; const worldDmg = { // @TODO bailey: false, }; @@ -27,20 +27,29 @@ api.getNews = { html: `
They're back! Between now and September 21, you can buy Ember Hatching Potions from the Market and use them to hatch any standard pet egg. (Magic Hatching Potions do not work on Quest Pet eggs.) Ember 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 Ember Hatching Potions are available again, so be sure to get them now!
-Subscriber Items for August have been revealed: the Lava Dragon 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.
+This month's featured Wiki article is about using Habitica's features to create a unique experience! We hope that it will help you as you customize Habitica to make the app even more motivating and fun. Be sure to check it out, and let us know what you think by reaching out on Twitter, Tumblr, and Facebook.
+