Thunderstorm Hatching Potions (#7885)

* feat(premium): Thunderstorm Potions

* chore(news): Thunderstorm Bailey

* fix(test): allow addlNotes key
This commit is contained in:
Sabe Jones
2016-08-09 17:37:39 -05:00
committed by GitHub
parent 689a321a9b
commit 051763bc49
46 changed files with 81 additions and 26 deletions

View File

@@ -518,24 +518,27 @@ api.premiumHatchingPotions = {
value: 2,
text: t('hatchingPotionSpooky'),
limited: true,
canBuy: (function() {
return false;
})
season: 'fall',
},
Peppermint: {
value: 2,
text: t('hatchingPotionPeppermint'),
limited: true,
canBuy: (function() {
return false;
})
season: 'winter',
},
Floral: {
value: 2,
text: t('hatchingPotionFloral'),
limited: true,
season: 'spring',
},
Thunderstorm: {
value: 2,
text: t('hatchingPotionThunderstorm'),
limited: true,
season: 'summer',
canBuy: (function() {
return false;
return true;
}),
},
};
@@ -562,11 +565,11 @@ _.each(api.premiumHatchingPotions, function(pot, key) {
notes: t('hatchingPotionNotes', {
potText: pot.text
}),
addlNotes: t('premiumPotionAddlNotes'),
addlNotes: t(`${pot.season}EventAvailability`),
premium: true,
limited: false,
canBuy: (function() {
return true;
return false;
})
});
});