feat(content): mystery items

This commit is contained in:
SabreCat 2019-06-25 15:13:08 +00:00
parent 043696c225
commit 0e253fbb06
16 changed files with 36 additions and 18 deletions

View file

@ -1,6 +1,6 @@
/* eslint-disable no-console */
const MIGRATION_NAME = 'mystery_items_201905';
const MYSTERY_ITEMS = ['headAccessory_mystery_201905', 'back_mystery_201905'];
const MIGRATION_NAME = 'mystery_items_201906';
const MYSTERY_ITEMS = ['headAccessory_mystery_201906', 'armor_mystery_201906'];
import { model as User } from '../../website/server/models/user';
import { model as UserNotification } from '../../website/server/models/userNotification';

View file

@ -823,6 +823,8 @@
"armorMystery201903Notes": "People are dye-ing to know where you got this egg-cellent outfit! Confers no benefit. March 2019 Subscriber Item.",
"armorMystery201904Text": "Opalescent Outfit",
"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.",
"armorMystery301404Text": "Steampunk Suit",
"armorMystery301404Notes": "Dapper and dashing, wot! Confers no benefit. February 3015 Subscriber Item.",
"armorMystery301703Text": "Steampunk Peacock Gown",
@ -1950,6 +1952,8 @@
"headAccessoryMystery201812Notes": "You hear the subtle sound of snowflakes falling upon the landscape. Confers no benefit. December 2018 Subscriber Item.",
"headAccessoryMystery201905Text": "Dazzling Dragon Horns",
"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.",
"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.",

View file

@ -159,6 +159,7 @@
"mysterySet201903": "Egg-squisite Set",
"mysterySet201904": "Opulent Opal Set",
"mysterySet201905": "Dazzling Dragon Set",
"mysterySet201906": "Kindly Koi Set",
"mysterySet301404": "Steampunk Standard Set",
"mysterySet301405": "Steampunk Accessories Set",
"mysterySet301703": "Peacock Steampunk Set",

View file

@ -235,6 +235,12 @@ let armor = {
mystery: '201904',
value: 0,
},
201906: {
text: t('armorMystery201906Text'),
notes: t('armorMystery201906Notes'),
mystery: '201906',
value: 0,
},
301404: {
text: t('armorMystery301404Text'),
notes: t('armorMystery301404Notes'),
@ -784,6 +790,12 @@ let headAccessory = {
mystery: '201905',
value: 0,
},
201906: {
text: t('headAccessoryMystery201906Text'),
notes: t('headAccessoryMystery201906Notes'),
mystery: '201906',
value: 0,
},
301405: {
text: t('headAccessoryMystery301405Text'),
notes: t('headAccessoryMystery301405Notes'),

View file

@ -258,6 +258,10 @@ let mysterySets = {
start: '2019-05-28',
end: '2019-06-02',
},
201906: {
start: '2019-06-25',
end: '2019-07-02',
},
301404: {
start: '3014-03-24',
end: '3014-04-02',

View file

@ -19,6 +19,7 @@ module.exports = {
},
availableSpells: [
'seafoam',
],
availableQuests: [

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 543 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 455 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View file

@ -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 = 'NEW AND RETURNING HATCHING POTIONS, USE CASE SPOTLIGHT, AND GUILD SPOTLIGHT';
const LAST_ANNOUNCEMENT_TITLE = 'SEAFOAM AND NEW SUBSCRIBER ITEMS';
const worldDmg = { // @TODO
bailey: false,
};
@ -30,24 +30,20 @@ api.getNews = {
<div class="mr-3 ${baileyClass}"></div>
<div class="media-body">
<h1 class="align-self-center">${res.t('newStuff')}</h1>
<h2>6/20/2019 - ${LAST_ANNOUNCEMENT_TITLE}</h2>
<h2>6/25/2019 - ${LAST_ANNOUNCEMENT_TITLE}</h2>
</div>
</div>
<hr/>
<div class="promo_glass_watery_potions center-block"></div>
<h3>Watery and Glass Hatching Potions</h3>
<p>There's a new pet breed in town! Check out the brand-new Watery Potions and the return of Glass Potions. You can get them in <a href='/shops/market'>the Market</a> and use them to hatch any standard pet egg. (Magic Hatching Potions do not work on Quest Pet eggs.) Magic Hatching Potion Pets aren't picky, so they'll happily eat any kind of food that you feed them!</p>
<p>These potions will be available until the Summer Splash Gala ends on July 31. After they're gone, it will be at least a year before the Watery or Glass Hatching Potions are available again, so be sure to get them now!</p>
<div class="small mb-3">by Mako, Willow the Witty, Persephone, and SabreCat</div>
<div class="scene_casting_spells center-block"></div>
<h3>Use Case Spotlight: The Warrior</h3>
<p>This month's <a href='https://habitica.wordpress.com/2019/06/20/use-case-spotlight-making-the-most-of-the-warrior-class/' target='_blank'>Use Case Spotlight</a> is about the Warrior class! It features a number of great suggestions submitted by Habiticans in the <a href='/groups/guild/1d3a10bf-60aa-4806-a38b-82d1084a59e6'>Use Case Spotlights Guild</a>. We hope it helps any of you who might be deciding which class is best for your play style.</p>
<p>Plus, we're collecting user submissions for the next spotlight! We want to hear your best tricks and strategies for playing the Healer class to its full advantage. Well 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!</p>
<div class="small mb-3">by shanaqui</div>
<div class="scene_positivity center-block"></div>
<h3>Guild Spotlight: More New and Notable Guilds</h3>
<p>There's a new <a href='https://habitica.wordpress.com/2019/06/20/new-and-notable-guild-spotlight-6/' target='_blank'>Guild Spotlight</a> on the blog that highlights a brand new group of new and upcoming Guilds! Check it out now to find up and coming communities where you can discuss your goals and interests.</p>
<div class="small mb-3">by shanaqui</div>
<div class="promo_seafoam center-block"></div>
<h3>Seafoam</h3>
<p>Throw some Seafoam at your friends and they will turn into a cheerful sea star until their next cron! You can buy the Seafoam in the <a href='/shops/seasonal'>Seasonal Shop</a> for 15 Gold until the Gala ends on July 31. Plus, if you get splashed by Seafoam, you'll receive the Aquatic Friends badge!</p>
<p>Don't want to be a sea star? Just buy some Sand from your Rewards column to reverse it.</p>
<div class="small mb-3">by Lemoness</div>
<div class="promo_mystery_201906 center-block"></div>
<h3>New Subscriber Item Set Revealed</h3>
<p>The June Subscriber Item Set has been revealed: the Kindly Koi Item Set! You only have until July 31 to receive the item set <a href='/user/settings/subscription'>when you subscribe</a>. If you're already an active subscriber, reload the site and then head to Inventory > Items to claim your gear!</p>
<p>Subscribers also receive the ability to buy Gems with 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.</p>
<div class="small mb-3">by Beffymaroo</div>
</div>
`,
});