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:
Natalie
2024-04-26 16:14:45 -04:00
committed by GitHub
parent ee93c8bec5
commit de62207504
18 changed files with 322 additions and 41 deletions

View File

@@ -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: {