feat(content): Mystery Items Oct 2018

This commit is contained in:
Sabe Jones 2018-10-25 16:31:00 -05:00
parent 6fade19f27
commit 59436a8bf7
13 changed files with 28 additions and 18 deletions

View file

@ -8,7 +8,7 @@ const authorUuid = '7f14ed62-5408-4e1b-be83-ada62d504931'; // ... own data is do
/*
* Award this month's mystery items to subscribers
*/
const MYSTERY_ITEMS = ['armor_mystery_201809', 'head_mystery_201809'];
const MYSTERY_ITEMS = ['armor_mystery_201810', 'head_mystery_201810'];
const CONNECTION_STRING = nconf.get('MIGRATION_CONNECT_STRING');
let dbUsers = monk(CONNECTION_STRING).get('users', { castIds: false });

View file

@ -743,6 +743,8 @@
"armorMystery201808Notes": "This armor is made from the shed scales of the elusive (and extremely warm) Lava Dragon. Confers no benefit. August 2018 Subscriber Item.",
"armorMystery201809Text": "Armor of Autumn Leaves",
"armorMystery201809Notes": "You are not only a small and fearsome leaf puff, you are sporting the most beautiful colors of the season! Confers no benefit. September 2018 Subscriber Item.",
"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.",
"armorMystery301404Text": "Steampunk Suit",
"armorMystery301404Notes": "Dapper and dashing, wot! Confers no benefit. February 3015 Subscriber Item.",
"armorMystery301703Text": "Steampunk Peacock Gown",
@ -1199,6 +1201,8 @@
"headMystery201808Notes": "The glowing horns on this cowl will light your way through underground caverns. Confers no benefit. August 2018 Subscriber Item.",
"headMystery201809Text": "Crown of Autumn Flowers",
"headMystery201809Notes": "The last flowers of autumn's warm days are a reminder of the beauty of the season. Confers no benefit. September 2018 Subscriber Item.",
"headMystery201810Text": "Dark Forest Helm",
"headMystery201810Notes": "If you find yourself traveling through a spooky place, the glowing red eyes of this helm will surely scare away any enemies in your path. Confers no benefit. October 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",

View file

@ -149,6 +149,7 @@
"mysterySet201807": "Sea Serpent Set",
"mysterySet201808": "Lava Dragon Set",
"mysterySet201809": "Autumnal Armor Set",
"mysterySet201810": "Dark Forest Set",
"mysterySet301404": "Steampunk Standard Set",
"mysterySet301405": "Steampunk Accessories Set",
"mysterySet301703": "Peacock Steampunk Set",

View file

@ -217,6 +217,12 @@ let armor = {
mystery: '201809',
value: 0,
},
201810: {
text: t('armorMystery201810Text'),
notes: t('armorMystery201810Notes'),
mystery: '201810',
value: 0,
},
301404: {
text: t('armorMystery301404Text'),
notes: t('armorMystery301404Notes'),
@ -631,6 +637,12 @@ let head = {
mystery: '201809',
value: 0,
},
201810: {
text: t('headMystery201810Text'),
notes: t('headMystery201810Notes'),
mystery: '201810',
value: 0,
},
301404: {
text: t('headMystery301404Text'),
notes: t('headMystery301404Notes'),

View file

@ -226,6 +226,10 @@ let mysterySets = {
start: '2018-09-25',
end: '2018-10-02',
},
201810: {
start: '2018-10-25',
end: '2018-11-02',
},
301404: {
start: '3014-03-24',
end: '3014-04-02',

Binary file not shown.

After

Width:  |  Height:  |  Size: 601 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 712 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 542 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 663 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 609 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 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 = 'VETERAN PETS AND NEW STAFF MEMBERS';
const LAST_ANNOUNCEMENT_TITLE = 'OCTOBER SUBSCRIBER ITEMS REVEALED';
const worldDmg = { // @TODO
bailey: false,
};
@ -30,25 +30,14 @@ api.getNews = {
<div class="mr-3 ${baileyClass}"></div>
<div class="media-body">
<h1 class="align-self-center">${res.t('newStuff')}</h1>
<h2>10/23/2018 - ${LAST_ANNOUNCEMENT_TITLE}</h2>
<h2>10/25/2018 - ${LAST_ANNOUNCEMENT_TITLE}</h2>
</div>
</div>
<hr/>
<div class="promo_veteran_pets center-block"></div>
<h3>New Veteran Pet!</h3>
<p>Hello Habiticans! Everyone is doing really well with the transition to our new <a href='https://habitica.wordpress.com/2018/10/11/coming-soon-unique-usernames/' target='_blank'>unique username system</a>!</p>
<p>As a reward for confirming your username, you've been granted a veteran pet! If you haven't confimed yet, your new pet will appear in your Stable as soon as you do. Which pet? That depends on how many major changes to Habitica you've been around for.</p>
<p>Enjoy, and thank you for being part of our community- it means a lot to us! <3</p>
<div class="small mb-3">by Beffymaroo, SabreCat, Apollo, Piyo, viirus, Paglias, and TheHollidayInn</div>
<div class="media align-items-center">
<div class="npc_apollo ml-3"></div>
<div class="media-body">
<h3>New Staff Members: Apollo and Piyo</h3>
<p>We're thrilled to announce that our long-time designers Apollo and Piyo will be coming onboard as staff members! They've done a lot of beautiful work on the site and the mobile apps and we couldn't be happier to welcome them aboard. Go congratulate them in <a href='/groups/tavern'>the Tavern</a>!</p>
<div class="small mb-3">by the Habitica Team</div>
</div>
<div class="npc_piyo mr-3"></div>
</div>
<div class="promo_mystery_201810 center-block"></div>
<p>October's Subscriber Items have been revealed: the <a href='/user/settings/subscription' target='_blank'>Dark Forest Item Set</a>! You only have seven days 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!</p>
<p>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.</p>
<div class="small mb-3">by Beffymaroo</div>
</div>
`,
});