mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Thunderstorm Hatching Potions (#7885)
* feat(premium): Thunderstorm Potions * chore(news): Thunderstorm Bailey * fix(test): allow addlNotes key
This commit is contained in:
@@ -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;
|
||||
})
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user