mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
May 2024 Content Prebuild (#15185)
* 2024-05 css update * add May subscriber items, enchanted armoire (text placeholders), potions, and quest bundles * typo correction * add May achievement * content fixes after local testing * canonical date fix * fix potion descriptions, add periods to background descriptions * fix canonical date * updated armoire items * fix stat display on item * Fixing merge conflicts * resolve merge conflicts * add leading zero to mp drain for mushroom quest * fix timezones * proofreading pass * fix linting errors * date fixes & linter fixes * correct armoire expression at end of file * fix(autolint): roll back Prettier change --------- Co-authored-by: Sabe Jones <sabe@habitica.com>
This commit is contained in:
@@ -98,12 +98,12 @@ const premium = {
|
||||
value: 2,
|
||||
text: t('hatchingPotionFloral'),
|
||||
limited: true,
|
||||
event: EVENTS.potions202305,
|
||||
event: EVENTS.potions202405,
|
||||
_addlNotes: t('eventAvailability', {
|
||||
date: t('dateEndMay'),
|
||||
}),
|
||||
canBuy () {
|
||||
return moment().isBefore(EVENTS.potions202305.end);
|
||||
return moment().isBetween(EVENTS.potions202405.start, EVENTS.potions202405.end);
|
||||
},
|
||||
},
|
||||
Aquatic: {
|
||||
@@ -290,12 +290,12 @@ const premium = {
|
||||
value: 2,
|
||||
text: t('hatchingPotionSunshine'),
|
||||
limited: true,
|
||||
event: EVENTS.potions202205,
|
||||
event: EVENTS.potions202405,
|
||||
_addlNotes: t('eventAvailability', {
|
||||
date: t('dateEndMay'),
|
||||
}),
|
||||
canBuy () {
|
||||
return moment().isBefore(EVENTS.potions202205.end);
|
||||
return moment().isBetween(EVENTS.potions202405.start, EVENTS.potions202405.end);
|
||||
},
|
||||
},
|
||||
Bronze: {
|
||||
|
||||
Reference in New Issue
Block a user