March 2017 Content (#8594)

* feat(content): Mystery 032017, Shimmer Potions

* fix(date): end 4/19 not 30

* fix(dates): Floral after Shimmer
This commit is contained in:
Sabe Jones
2017-03-23 14:41:41 -05:00
committed by GitHub
parent 421bdce38b
commit 814b163e1a
52 changed files with 37 additions and 8 deletions

View File

@@ -2,7 +2,7 @@ var _id = '';
var update = { var update = {
$addToSet: { $addToSet: {
'purchased.plan.mysteryItems':{ 'purchased.plan.mysteryItems':{
$each:['head_mystery_201702','back_mystery_201702'] $each:['head_mystery_201703','armor_mystery_201703']
} }
} }
}; };

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 786 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 939 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -227,6 +227,7 @@
"hatchingPotionRoyalPurple": "Royal Purple", "hatchingPotionRoyalPurple": "Royal Purple",
"hatchingPotionHolly": "Holly", "hatchingPotionHolly": "Holly",
"hatchingPotionCupid": "Cupid", "hatchingPotionCupid": "Cupid",
"hatchingPotionShimmer": "Shimmer",
"hatchingPotionNotes": "Pour this on an egg, and it will hatch as a <%= potText(locale) %> pet.", "hatchingPotionNotes": "Pour this on an egg, and it will hatch as a <%= potText(locale) %> pet.",
"premiumPotionAddlNotes": "Not usable on quest pet eggs.", "premiumPotionAddlNotes": "Not usable on quest pet eggs.",

View File

@@ -538,6 +538,8 @@
"armorMystery201610Notes": "Mysterious armor that will cause you to float like a ghost! Confers no benefit. October 2016 Subscriber Item.", "armorMystery201610Notes": "Mysterious armor that will cause you to float like a ghost! Confers no benefit. October 2016 Subscriber Item.",
"armorMystery201612Text": "Nutcracker Armor", "armorMystery201612Text": "Nutcracker Armor",
"armorMystery201612Notes": "Crack nuts in style in this spectacular holiday ensemble. Be careful not to pinch your fingers! Confers no benefit. December 2016 Subscriber Item.", "armorMystery201612Notes": "Crack nuts in style in this spectacular holiday ensemble. Be careful not to pinch your fingers! Confers no benefit. December 2016 Subscriber Item.",
"armorMystery201703Text": "Shimmer Armor",
"armorMystery201703Notes": "Though its colors are reminiscent of spring petals, this armor is stronger than steel! Confers no benefit. March 2017 Subscriber Item.",
"armorMystery301404Text": "Steampunk Suit", "armorMystery301404Text": "Steampunk Suit",
"armorMystery301404Notes": "Dapper and dashing, wot! Confers no benefit. February 3015 Subscriber Item.", "armorMystery301404Notes": "Dapper and dashing, wot! Confers no benefit. February 3015 Subscriber Item.",
"armorMystery301703Text": "Steampunk Peacock Gown", "armorMystery301703Text": "Steampunk Peacock Gown",
@@ -858,6 +860,8 @@
"headMystery201612Notes": "This tall and splendid helm adds a magnificent element to your holiday apparel! Confers no benefit. December 2016 Subscriber Item.", "headMystery201612Notes": "This tall and splendid helm adds a magnificent element to your holiday apparel! Confers no benefit. December 2016 Subscriber Item.",
"headMystery201702Text": "Heartstealer Hood", "headMystery201702Text": "Heartstealer Hood",
"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",
"headMystery201703Notes": "The soft light reflected from this horned helm will soothe even the most enraged foe. Confers no benefit. March 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",

View File

@@ -88,9 +88,6 @@
"grandMalkinSet": "Grand Malkin (Mage)", "grandMalkinSet": "Grand Malkin (Mage)",
"cleverDogSet": "Clever Dog (Rogue)", "cleverDogSet": "Clever Dog (Rogue)",
"braveMouseSet": "Brave Mouse (Warrior)", "braveMouseSet": "Brave Mouse (Warrior)",
"fallEventAvailability": "Available for purchase until October 31.", "eventAvailability": "Available for purchase until <%= date(locale) %>.",
"winterEventAvailability": "Available for purchase until January 31.", "dateEndApril": "April 19"
"springEventAvailability": "Available for purchase until May 31.",
"summerEventAvailability": "Available for purchase until August 31.",
"valentinesEventAvailability": "Available for purchase until February 28."
} }

View File

@@ -123,6 +123,7 @@
"mysterySet201612": "Nutcracker Set", "mysterySet201612": "Nutcracker Set",
"mysterySet201701": "Time-Freezer Set", "mysterySet201701": "Time-Freezer Set",
"mysterySet201702": "Heartstealer Set", "mysterySet201702": "Heartstealer Set",
"mysterySet201703": "Shimmer 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

@@ -151,6 +151,12 @@ let armor = {
mystery: '201612', mystery: '201612',
value: 0, value: 0,
}, },
201703: {
text: t('armorMystery201703Text'),
notes: t('armorMystery201703Notes'),
mystery: '201703',
value: 0,
},
301404: { 301404: {
text: t('armorMystery301404Text'), text: t('armorMystery301404Text'),
notes: t('armorMystery301404Notes'), notes: t('armorMystery301404Notes'),
@@ -430,6 +436,12 @@ let head = {
mystery: '201702', mystery: '201702',
value: 0, value: 0,
}, },
201703: {
text: t('headMystery201703Text'),
notes: t('headMystery201703Notes'),
mystery: '201703',
value: 0,
},
301404: { 301404: {
text: t('headMystery301404Text'), text: t('headMystery301404Text'),
notes: t('headMystery301404Notes'), notes: t('headMystery301404Notes'),

View File

@@ -3,6 +3,8 @@ 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 = 'April';
let drops = { let drops = {
Base: { Base: {
value: 2, value: 2,
@@ -58,6 +60,12 @@ let premium = {
limited: true, limited: true,
_season: 'valentines', _season: 'valentines',
}, },
Shimmer: {
value: 2,
text: t('hatchingPotionShimmer'),
limited: true,
_season: 'April',
},
Floral: { Floral: {
value: 2, value: 2,
text: t('hatchingPotionFloral'), text: t('hatchingPotionFloral'),
@@ -118,11 +126,13 @@ each(premium, (pot, key) => {
notes: t('hatchingPotionNotes', { notes: t('hatchingPotionNotes', {
potText: pot.text, potText: pot.text,
}), }),
_addlNotes: t(`${pot._season}EventAvailability`), _addlNotes: t('eventAvailability', {
date: t(`dateEnd${pot._season}`),
}),
premium: true, premium: true,
limited: false, limited: false,
canBuy () { canBuy () {
return pot._season === 'regular'; return pot._season === CURRENT_SEASON;
}, },
}); });
}); });

View File

@@ -150,6 +150,10 @@ let mysterySets = {
start: '2017-02-21', start: '2017-02-21',
end: '2017-03-02', end: '2017-03-02',
}, },
201703: {
start: '2017-03-23',
end: '2017-04-02',
},
301404: { 301404: {
start: '3014-03-24', start: '3014-03-24',
end: '3014-04-02', end: '3014-04-02',