feat(content): new Mystery Items

and reenable Floral Potions
This commit is contained in:
SabreCat
2017-05-23 22:03:31 +00:00
parent 023fd6e6b0
commit 3cf533f261
14 changed files with 69 additions and 14 deletions

View File

@@ -2,7 +2,7 @@ var _id = '';
var update = { var update = {
$addToSet: { $addToSet: {
'purchased.plan.mysteryItems':{ 'purchased.plan.mysteryItems':{
$each:['back_mystery_201704','armor_mystery_201704'] $each:['body_mystery_201705','head_mystery_201705']
} }
} }
}; };

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -906,6 +906,8 @@
"headMystery201702Notes": "Though this hood conceals your face, it only magnifies your powers of attraction! Confers no benefit. February 2017 Subscriber Item.", "headMystery201702Notes": "Though this hood conceals your face, it only magnifies your powers of attraction! Confers no benefit. February 2017 Subscriber Item.",
"headMystery201703Text": "Shimmer Helm", "headMystery201703Text": "Shimmer Helm",
"headMystery201703Notes": "The soft light reflected from this horned helm will soothe even the most enraged foe. Confers no benefit. March 2017 Subscriber Item.", "headMystery201703Notes": "The soft light reflected from this horned helm will soothe even the most enraged foe. Confers no benefit. March 2017 Subscriber Item.",
"headMystery201705Text": "Feathered Fighter Helm",
"headMystery201705Notes": "Habitica is known for its fierce and productive Gryphon Warriors! Join their prestigious ranks when you don this feathery helm. Confers no benefit. May 2017 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",
@@ -1226,6 +1228,9 @@
"bodySpecialSummer2015HealerText": "Sailor's Neckerchief", "bodySpecialSummer2015HealerText": "Sailor's Neckerchief",
"bodySpecialSummer2015HealerNotes": "Yo ho ho? No, no, no! Confers no benefit. Limited Edition 2015 Summer Gear.", "bodySpecialSummer2015HealerNotes": "Yo ho ho? No, no, no! Confers no benefit. Limited Edition 2015 Summer Gear.",
"bodyMystery201705Text": "Folded Feathered Fighter Wings",
"bodyMystery201705Notes": "These folded wings don't just look snazzy: they will give you the speed and agility of a gryphon! Confers no benefit. May 2017 Subscriber Item.",
"headAccessory": "head accessory", "headAccessory": "head accessory",
"headAccessoryCapitalized": "Head Accessory", "headAccessoryCapitalized": "Head Accessory",
"accessories": "Accessories", "accessories": "Accessories",

View File

@@ -107,5 +107,6 @@
"eventAvailability": "Available for purchase until <%= date(locale) %>.", "eventAvailability": "Available for purchase until <%= date(locale) %>.",
"dateEndApril": "April 19", "dateEndApril": "April 19",
"dateEndMay": "May 17", "dateEndMay": "May 17",
"dateEndJune": "June 14",
"discountBundle": "bundle" "discountBundle": "bundle"
} }

View File

@@ -127,6 +127,7 @@
"mysterySet201702": "Heartstealer Set", "mysterySet201702": "Heartstealer Set",
"mysterySet201703": "Shimmer Set", "mysterySet201703": "Shimmer Set",
"mysterySet201704": "Fairytale Set", "mysterySet201704": "Fairytale Set",
"mysterySet201705": "Feathered Fighter 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",

View File

@@ -1,9 +1,11 @@
import {body as baseBody} from './sets/base'; import {body as baseBody} from './sets/base';
import {body as mysteryBody} from './sets/mystery';
import {body as specialBody} from './sets/special'; import {body as specialBody} from './sets/special';
let body = { let body = {
base: baseBody, base: baseBody,
mystery: mysteryBody,
special: specialBody, special: specialBody,
}; };

View File

@@ -246,6 +246,15 @@ let back = {
}, },
}; };
let body = {
201705: {
text: t('bodyMystery201705Text'),
notes: t('bodyMystery201705Notes'),
mystery: '201705',
value: 0,
},
};
let eyewear = { let eyewear = {
201503: { 201503: {
text: t('eyewearMystery201503Text'), text: t('eyewearMystery201503Text'),
@@ -454,6 +463,12 @@ let head = {
mystery: '201703', mystery: '201703',
value: 0, value: 0,
}, },
201705: {
text: t('headMystery201705Text'),
notes: t('headMystery201705Notes'),
mystery: '201705',
value: 0,
},
301404: { 301404: {
text: t('headMystery301404Text'), text: t('headMystery301404Text'),
notes: t('headMystery301404Notes'), notes: t('headMystery301404Notes'),
@@ -582,6 +597,7 @@ let weapon = {
let mysterySet = { let mysterySet = {
armor, armor,
back, back,
body,
eyewear, eyewear,
head, head,
headAccessory, headAccessory,

View File

@@ -3,7 +3,7 @@ import defaults from 'lodash/defaults';
import each from 'lodash/each'; import each from 'lodash/each';
import t from './translation'; import t from './translation';
const CURRENT_SEASON = 'none'; const CURRENT_SEASON = 'June';
let drops = { let drops = {
Base: { Base: {
@@ -76,7 +76,7 @@ let premium = {
value: 2, value: 2,
text: t('hatchingPotionFloral'), text: t('hatchingPotionFloral'),
limited: true, limited: true,
_season: 'spring', _season: 'June',
}, },
Thunderstorm: { Thunderstorm: {
value: 2, value: 2,

View File

@@ -158,6 +158,10 @@ let mysterySets = {
start: '2017-04-25', start: '2017-04-25',
end: '2017-05-02', end: '2017-05-02',
}, },
201705: {
start: '2017-05-23',
end: '2017-06-02',
},
301404: { 301404: {
start: '3014-03-24', start: '3014-03-24',
end: '3014-04-02', end: '3014-04-02',

View File

@@ -1,25 +1,51 @@
h2 5/18/2017 - DISCOUNTED QUEST BUNDLE AND LAST CHANCE FOR FAIRY POTIONS h2 5/23/2017 - MAY SUBSCRIBER ITEMS, DEVELOPER BLOG POST, GUILD ACHIEVEMENT, AND PARTY SURVEY
.promo_bundle_feathered.pull-right
hr hr
tr tr
td td
h3 New Discounted Pet Quest Bundle: Feathered Friends .promo_mystery_201705.center-block
p If you're a fan of bird pets and mounts, you're in luck! From now until May 31, you can purchase the Feathered Friends Pet Quest Bundle and receive the Parrot, Owl, and Falcon quests, all for only 7 Gems! That's a discount of 5 Gems from the price of purchasing them separately. Check it out in the <a href='/#/options/inventory/quests'>Quest Shop</a> today! h3 May Subscriber Item Set Revealed!
p.small.muted by Lemoness and SabreCat p The May Subscriber Item has been revealed: <a href='/#/options/settings/subscription'>the Feathered Fighter 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 > Equipment to claim your gear!
p.small.muted Art by Casey, Teto Forever, Eevachu, UncommonCriminal, JonArinbjorn, Trogdorina, Onheiron, Squish br
p.small.muted Writing by Lemoness, Token, and Bartelmy 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. Best of all, subscriptions let us keep Habitica running. Thank you very much for your support -- it means a lot to us.
p.small.muted by Lemoness
tr tr
td td
.Pet-LionCub-Fairy.pull-left.slight-right-margin h3 Developers' Blog: Important Upcoming API Changes
h3 Last Chance for Fairy Hatching Potions p If you're a third-party developer, there are some important upcoming technical changes to Habitica's API that you should know about. Read more about these exciting updates and how to prepare for your app for them on the Habitica developers' blog, <a href='http://devs.habitica.com/api-notice-change-to-daily-cron-damage/' target='_blank'>The Forge</a>!
p Reminder: this is the final day to buy <a href='/#/options/inventory/drops'>Fairy Hatching Potions!</a> If they come back, it won't be until next year at the earliest, so don't delay! p.small.muted by TheHollidayInn
p.small.muted by Edge tr
td
.achievement-guild2x.pull-right
h3 New Badge and Achievement: Joined a Guild
p There's a brand new badge you can earn by joining a Guild! Guilds are a great way to meet fellow Habiticans who share your interests and/or goals! Earn the new achievement by joining one or more <a href='/#/options/groups/guilds/public'>Guilds</a>. If you're already in a Guild, you've received the achievement automatically! Have fun.
p.small.muted by SabreCat and Vampitch
tr
td
.achievement-tree2x.pull-left.slight-right-margin
h3 Help Habitica Grow! Party Usage Survey
p Are you in a Party? We'd love to know more about how your Party uses the text features on your Party page! <a href='https://docs.google.com/forms/d/e/1FAIpQLSd_0mm_cJxvWaGVJVqnjWfwaP_6p1WjPW0fiqL8deCO6lNO-w/viewform?usp=sf_link' target='_blank'>Click here to take a brief survey</a>. If you provide your <a href='/#/options/settings/api'>User ID</a> at the end, you'll earn the Helped Habitica Grow achievement!
p.small.muted by Sara Olson
if menuItem !== 'oldNews' if menuItem !== 'oldNews'
hr hr
a(href='/static/old-news', target='_blank') Read older news a(href='/static/old-news', target='_blank') Read older news
mixin oldNews mixin oldNews
h2 5/18/2017 - DISCOUNTED QUEST BUNDLE AND LAST CHANCE FOR FAIRY POTIONS
.promo_bundle_feathered.pull-right
tr
td
h3 New Discounted Pet Quest Bundle: Feathered Friends
p If you're a fan of bird pets and mounts, you're in luck! From now until May 31, you can purchase the Feathered Friends Pet Quest Bundle and receive the Parrot, Owl, and Falcon quests, all for only 7 Gems! That's a discount of 5 Gems from the price of purchasing them separately. Check it out in the <a href='/#/options/inventory/quests'>Quest Shop</a> today!
p.small.muted by Lemoness and SabreCat
p.small.muted Art by Casey, Teto Forever, Eevachu, UncommonCriminal, JonArinbjorn, Trogdorina, Onheiron, Squish
p.small.muted Writing by Lemoness, Token, and Bartelmy
tr
td
.Pet-LionCub-Fairy.pull-left.slight-right-margin
h3 Last Chance for Fairy Hatching Potions
p Reminder: this is the final day to buy <a href='/#/options/inventory/drops'>Fairy Hatching Potions!</a> If they come back, it won't be until next year at the earliest, so don't delay!
p.small.muted by Edge
h2 5/11/2017 - BLOG BONANZA: USE CASES, WIKI, AND BEHIND THE SCENES h2 5/11/2017 - BLOG BONANZA: USE CASES, WIKI, AND BEHIND THE SCENES
tr tr
td td