mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
feat(content): prebuild Fall Festival (#14869)
* feat(content): prebuild Fall Festival * fix(typos): because 2023 is not the same as 2024 * feat(css): having stylesheets is important * feat(content): ready for review & testing * fix(tests): account for Sept 09 bundle * fix(gala): use multi event list more fix a couple of strings too * feat(content): Warrior and Rogue text also fix timing of quest bundle feature * fix(strings): correct stat boosts * fix(content): missing mage also adds missing margin to purchase gems button in buy modal --------- Co-authored-by: SabreCat <sabe@habitica.com>
This commit is contained in:
@@ -153,13 +153,13 @@ const premium = {
|
||||
value: 2,
|
||||
text: t('hatchingPotionSpooky'),
|
||||
limited: true,
|
||||
event: EVENTS.fall2021,
|
||||
event: EVENTS.fall2023,
|
||||
_addlNotes: t('eventAvailabilityReturning', {
|
||||
availableDate: t('dateEndOctober'),
|
||||
previousDate: t('septemberYYYY', { year: 2019 }),
|
||||
previousDate: t('octoberYYYY', { year: 2021 }),
|
||||
}),
|
||||
canBuy () {
|
||||
return moment().isBefore(EVENTS.fall2021.end);
|
||||
return moment().isBetween(EVENTS.fall2023.start, EVENTS.fall2023.end);
|
||||
},
|
||||
},
|
||||
Ghost: {
|
||||
@@ -244,13 +244,13 @@ const premium = {
|
||||
value: 2,
|
||||
text: t('hatchingPotionGlow'),
|
||||
limited: true,
|
||||
event: EVENTS.birthday10,
|
||||
event: EVENTS.fall2023,
|
||||
_addlNotes: t('eventAvailabilityReturning', {
|
||||
availableDate: t('dateStartFebruary'),
|
||||
previousDate: t('octoberYYYY', { year: 2021 }),
|
||||
availableDate: t('dateEndOctober'),
|
||||
previousDate: t('januaryYYYY', { year: 2023 }),
|
||||
}),
|
||||
canBuy () {
|
||||
return moment().isBetween(EVENTS.birthday10.start, EVENTS.birthday10.end);
|
||||
return moment().isBetween(EVENTS.fall2023.start, EVENTS.fall2023.end);
|
||||
},
|
||||
},
|
||||
Frost: {
|
||||
@@ -436,13 +436,13 @@ const premium = {
|
||||
value: 2,
|
||||
text: t('hatchingPotionVampire'),
|
||||
limited: true,
|
||||
event: EVENTS.birthday10,
|
||||
event: EVENTS.fall2023,
|
||||
_addlNotes: t('eventAvailabilityReturning', {
|
||||
availableDate: t('dateStartFebruary'),
|
||||
previousDate: t('octoberYYYY', { year: 2022 }),
|
||||
availableDate: t('dateEndOctober'),
|
||||
previousDate: t('januaryYYYY', { year: 2023 }),
|
||||
}),
|
||||
canBuy () {
|
||||
return moment().isBetween(EVENTS.birthday10.start, EVENTS.birthday10.end);
|
||||
return moment().isBetween(EVENTS.fall2023.start, EVENTS.fall2023.end);
|
||||
},
|
||||
},
|
||||
AutumnLeaf: {
|
||||
|
||||
Reference in New Issue
Block a user