feat(content): May Subscriber Items
@@ -1,11 +1,11 @@
|
|||||||
const migrationName = 'mystery-items-201802.js'; // Update per month
|
const migrationName = 'mystery-items-201805.js'; // Update per month
|
||||||
const authorName = 'Sabe'; // in case script author needs to know when their ...
|
const authorName = 'Sabe'; // in case script author needs to know when their ...
|
||||||
const authorUuid = '7f14ed62-5408-4e1b-be83-ada62d504931'; // ... own data is done
|
const authorUuid = '7f14ed62-5408-4e1b-be83-ada62d504931'; // ... own data is done
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Award this month's mystery items to subscribers
|
* Award this month's mystery items to subscribers
|
||||||
*/
|
*/
|
||||||
const MYSTERY_ITEMS = ['back_mystery_201804', 'headAccessory_mystery_201804'];
|
const MYSTERY_ITEMS = ['back_mystery_201805', 'head_mystery_201805'];
|
||||||
const connectionString = 'mongodb://localhost:27017/habitrpg?auto_reconnect=true'; // FOR TEST DATABASE
|
const connectionString = 'mongodb://localhost:27017/habitrpg?auto_reconnect=true'; // FOR TEST DATABASE
|
||||||
|
|
||||||
let monk = require('monk');
|
let monk = require('monk');
|
||||||
|
|||||||
@@ -1105,6 +1105,8 @@
|
|||||||
"headMystery201802Notes": "The antennae on this helm act as cute dowsing rods, detecting feelings of love and support nearby. Confers no benefit. February 2018 Subscriber Item.",
|
"headMystery201802Notes": "The antennae on this helm act as cute dowsing rods, detecting feelings of love and support nearby. Confers no benefit. February 2018 Subscriber Item.",
|
||||||
"headMystery201803Text": "Daring Dragonfly Circlet",
|
"headMystery201803Text": "Daring Dragonfly Circlet",
|
||||||
"headMystery201803Notes": "Although its appearance is quite decorative, you can engage the wings on this circlet for extra lift! Confers no benefit. March 2018 Subscriber Item.",
|
"headMystery201803Notes": "Although its appearance is quite decorative, you can engage the wings on this circlet for extra lift! Confers no benefit. March 2018 Subscriber Item.",
|
||||||
|
"headMystery201805Text": "Phenomenal Peacock Helm",
|
||||||
|
"headMystery201805Notes": "This helm will make you the proudest and prettiest (possibly also the loudest) bird in town. Confers no benefit. May 2018 Subscriber Item.",
|
||||||
"headMystery301404Text": "Fancy Top Hat",
|
"headMystery301404Text": "Fancy Top Hat",
|
||||||
"headMystery301404Notes": "A fancy top hat for the finest of gentlefolk! January 3015 Subscriber Item. Confers no benefit.",
|
"headMystery301404Notes": "A fancy top hat for the finest of gentlefolk! January 3015 Subscriber Item. Confers no benefit.",
|
||||||
"headMystery301405Text": "Basic Top Hat",
|
"headMystery301405Text": "Basic Top Hat",
|
||||||
@@ -1473,6 +1475,8 @@
|
|||||||
"backMystery201803Notes": "These bright and shiny wings will carry you through soft spring breezes and across lily ponds with ease. Confers no benefit. March 2018 Subscriber Item.",
|
"backMystery201803Notes": "These bright and shiny wings will carry you through soft spring breezes and across lily ponds with ease. Confers no benefit. March 2018 Subscriber Item.",
|
||||||
"backMystery201804Text": "Squirrel Tail",
|
"backMystery201804Text": "Squirrel Tail",
|
||||||
"backMystery201804Notes": "Sure, it helps you balance while you jump on branches, but the most important thing is MAXIMUM FLUFF. Confers no benefit. April 2018 Subscriber Item.",
|
"backMystery201804Notes": "Sure, it helps you balance while you jump on branches, but the most important thing is MAXIMUM FLUFF. Confers no benefit. April 2018 Subscriber Item.",
|
||||||
|
"backMystery201805Text": "Phenomenal Peacock Tail",
|
||||||
|
"backMystery201805Notes": "This gorgeous feathery tail is perfect for a strut down a lovely garden path! Confers no benefit. May 2018 Subscriber Item.",
|
||||||
|
|
||||||
"backSpecialWonderconRedText": "Mighty Cape",
|
"backSpecialWonderconRedText": "Mighty Cape",
|
||||||
"backSpecialWonderconRedNotes": "Swishes with strength and beauty. Confers no benefit. Special Edition Convention Item.",
|
"backSpecialWonderconRedNotes": "Swishes with strength and beauty. Confers no benefit. Special Edition Convention Item.",
|
||||||
|
|||||||
@@ -144,6 +144,7 @@
|
|||||||
"mysterySet201802": "Love Bug Set",
|
"mysterySet201802": "Love Bug Set",
|
||||||
"mysterySet201803": "Daring Dragonfly Set",
|
"mysterySet201803": "Daring Dragonfly Set",
|
||||||
"mysterySet201804": "Spiffy Squirrel Set",
|
"mysterySet201804": "Spiffy Squirrel Set",
|
||||||
|
"mysterySet201805": "Phenomenal Peacock Set",
|
||||||
"mysterySet301404": "Steampunk Standard Set",
|
"mysterySet301404": "Steampunk Standard Set",
|
||||||
"mysterySet301405": "Steampunk Accessories Set",
|
"mysterySet301405": "Steampunk Accessories Set",
|
||||||
"mysterySet301703": "Peacock Steampunk Set",
|
"mysterySet301703": "Peacock Steampunk Set",
|
||||||
|
|||||||
@@ -304,6 +304,12 @@ let back = {
|
|||||||
mystery: '201804',
|
mystery: '201804',
|
||||||
value: 0,
|
value: 0,
|
||||||
},
|
},
|
||||||
|
201805: {
|
||||||
|
text: t('backMystery201805Text'),
|
||||||
|
notes: t('backMystery201805Notes'),
|
||||||
|
mystery: '201805',
|
||||||
|
value: 0,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
let body = {
|
let body = {
|
||||||
@@ -571,6 +577,12 @@ let head = {
|
|||||||
mystery: '201803',
|
mystery: '201803',
|
||||||
value: 0,
|
value: 0,
|
||||||
},
|
},
|
||||||
|
201805: {
|
||||||
|
text: t('headMystery201805Text'),
|
||||||
|
notes: t('headMystery201805Notes'),
|
||||||
|
mystery: '201805',
|
||||||
|
value: 0,
|
||||||
|
},
|
||||||
301404: {
|
301404: {
|
||||||
text: t('headMystery301404Text'),
|
text: t('headMystery301404Text'),
|
||||||
notes: t('headMystery301404Notes'),
|
notes: t('headMystery301404Notes'),
|
||||||
|
|||||||
@@ -206,6 +206,10 @@ let mysterySets = {
|
|||||||
start: '2018-04-24',
|
start: '2018-04-24',
|
||||||
end: '2018-05-02',
|
end: '2018-05-02',
|
||||||
},
|
},
|
||||||
|
201805: {
|
||||||
|
start: '2018-05-24',
|
||||||
|
end: '2018-06-02',
|
||||||
|
},
|
||||||
301404: {
|
301404: {
|
||||||
start: '3014-03-24',
|
start: '3014-03-24',
|
||||||
end: '3014-04-02',
|
end: '3014-04-02',
|
||||||
|
|||||||
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 758 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 700 B |
|
After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
BIN
website/raw_sprites/spritesmith_large/promo_mystery_201805.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
@@ -3,7 +3,7 @@ import { authWithHeaders } from '../../middlewares/auth';
|
|||||||
let api = {};
|
let api = {};
|
||||||
|
|
||||||
// @TODO export this const, cannot export it from here because only routes are exported from controllers
|
// @TODO export this const, cannot export it from here because only routes are exported from controllers
|
||||||
const LAST_ANNOUNCEMENT_TITLE = 'FAIRY HATCHING POTIONS RETURN!';
|
const LAST_ANNOUNCEMENT_TITLE = 'MAY SUBSCRIBER ITEMS AND USER SPOTLIGHT!';
|
||||||
const worldDmg = { // @TODO
|
const worldDmg = { // @TODO
|
||||||
bailey: false,
|
bailey: false,
|
||||||
};
|
};
|
||||||
@@ -32,12 +32,25 @@ api.getNews = {
|
|||||||
<h1 class="align-self-center">${res.t('newStuff')}</h1>
|
<h1 class="align-self-center">${res.t('newStuff')}</h1>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<h2>5/15/2018 - ${LAST_ANNOUNCEMENT_TITLE}</h2>
|
<h2>5/24/2018 - ${LAST_ANNOUNCEMENT_TITLE}</h2>
|
||||||
<hr/>
|
<hr/>
|
||||||
<p>They're back! Between now and May 31, you can buy Fairy Hatching Potions from <a href='/shops/market' target='_blank'>the Market</a> and use them to hatch any standard pet egg. (Magic Hatching Potions do not work on Quest Pet eggs.) Fairy Potion Pets aren't picky, so they'll happily eat any kind of food that you feed them!</p>
|
<div class="media">
|
||||||
<p>After they're gone, it will be at least a year before the Fairy Hatching Potions are available again, so be sure to get them now!</p>
|
<div class="media-body">
|
||||||
<div class="small mb-3">by Edge, Willow the Witty, and SabreCat</div>
|
<h3>May Subscriber Items Revealed!</h3>
|
||||||
<div class="promo_fairy_potions center-block"></div>
|
<p>The May Subscriber Item Set has been revealed: the Phenomenal Peacock Item Set! You only have until May 31 to receive the item set when you <a href="/user/settings/subscription" target="_blank">subscribe</a>. If you're already an active subscriber, reload the site and then head to Inventory > Items to claim your gear!</p>
|
||||||
|
</div>
|
||||||
|
<div class="promo_mystery_201805 ml-3"></div>
|
||||||
|
</div>
|
||||||
|
<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 class="media">
|
||||||
|
<div class="promo_take_this mr-3"></div>
|
||||||
|
<div class="media-body">
|
||||||
|
<h3>User Spotlight: Dr. B of Take This!</h3>
|
||||||
|
<p>There's a new User Spotlight on the blog! We've interviewed Dr.B of Take This about his Habitica setup, gaming, mental health + more! <a href="https://habitica.wordpress.com/2018/05/24/user-spotlight-dr-b-of-take-this/" target="_blank">Check it out</a>.</p>
|
||||||
|
<div class="small mb-3">by Dr. B and Beffymaroo</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
`,
|
`,
|
||||||
});
|
});
|
||||||
|
|||||||