mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
feat(gala): Add 2023 Summer Splash Gala Items (#14712)
* feat(content): add June subscriber items * feat(gala): add images * feat(gala): add code * feat(gala): text strings * feat(gala): testing and final updates * feat(gala): fixed a couple of typos * fix(event): proofread strings and dates Also replace empty descriptions for Rogue and Healer * fix(event): NO EGG --------- Co-authored-by: SabreCat <sabe@habitica.com>
This commit is contained in:
@@ -233,11 +233,11 @@ const premium = {
|
||||
limited: true,
|
||||
_addlNotes: t('eventAvailabilityReturning', {
|
||||
availableDate: t('dateEndJuly'),
|
||||
previousDate: t('juneYYYY', { year: 2019 }),
|
||||
previousDate: t('juneYYYY', { year: 2021 }),
|
||||
}),
|
||||
event: EVENTS.summer2021,
|
||||
event: EVENTS.summer2023,
|
||||
canBuy () {
|
||||
return moment().isBetween(EVENTS.summer2021.start, EVENTS.summer2021.end);
|
||||
return moment().isBetween(EVENTS.summer2023.start, EVENTS.summer2023.end);
|
||||
},
|
||||
},
|
||||
Glow: {
|
||||
@@ -409,13 +409,13 @@ const premium = {
|
||||
value: 2,
|
||||
text: t('hatchingPotionSandSculpture'),
|
||||
limited: true,
|
||||
event: EVENTS.birthday10,
|
||||
event: EVENTS.summer2023,
|
||||
_addlNotes: t('eventAvailabilityReturning', {
|
||||
availableDate: t('dateStartFebruary'),
|
||||
previousDate: t('julyYYYY', { year: 2021 }),
|
||||
availableDate: t('dateEndJuly'),
|
||||
previousDate: t('januaryYYYY', { year: 2023 }),
|
||||
}),
|
||||
canBuy () {
|
||||
return moment().isBetween(EVENTS.birthday10.start, EVENTS.birthday10.end);
|
||||
return moment().isBetween(EVENTS.summer2023.start, EVENTS.summer2023.end);
|
||||
},
|
||||
},
|
||||
Windup: {
|
||||
@@ -502,13 +502,13 @@ const premium = {
|
||||
value: 2,
|
||||
text: t('hatchingPotionSunset'),
|
||||
limited: true,
|
||||
event: EVENTS.summer2022,
|
||||
event: EVENTS.summer2023,
|
||||
_addlNotes: t('premiumPotionAddlNotes', {
|
||||
date: t('dateEndJuly'),
|
||||
previousDate: t('julyYYYY', { year: 2021 }),
|
||||
previousDate: t('julyYYYY', { year: 2022 }),
|
||||
}),
|
||||
canBuy () {
|
||||
return moment().isBetween(EVENTS.summer2022.start, EVENTS.summer2022.end);
|
||||
return moment().isBetween(EVENTS.summer2023.start, EVENTS.summer2023.end);
|
||||
},
|
||||
},
|
||||
Moonglow: {
|
||||
|
||||
Reference in New Issue
Block a user