mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
feat(content): Cupid Hatching Potions
This commit is contained in:
@@ -90,6 +90,12 @@ let premium = {
|
||||
limited: true,
|
||||
_season: 'winter',
|
||||
},
|
||||
Cupid: {
|
||||
value: 2,
|
||||
text: t('hatchingPotionCupid'),
|
||||
limited: true,
|
||||
_season: 'valentines',
|
||||
},
|
||||
};
|
||||
|
||||
each(drops, (pot, key) => {
|
||||
@@ -118,7 +124,7 @@ each(premium, (pot, key) => {
|
||||
premium: true,
|
||||
limited: false,
|
||||
canBuy () {
|
||||
return false;
|
||||
return pot._season === 'valentines';
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user