mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
update(content): add 2024 Spring Fling (#15168)
* update(content): add spring fling images, items, and placeholder text * update(dates) : set canonical dates * update(dates/quests): set canonical dates for both, add egg quest availability * update(date): update quest availability start date * update(content): add magic hatching potions * fix(dates): canonical dates * fix(event): add correct event name to potions * fix(dates): canonical dates * fix(dates): fix UTC offset, remove package.json and package-lock.json * fix(dates): canonical * fix: re-added package.json and package-lock.json * update(content): add gear strings * update(content): add Rogue off-hand string, canonical dates
This commit is contained in:
@@ -74,12 +74,12 @@ const premium = {
|
||||
value: 2,
|
||||
text: t('hatchingPotionShimmer'),
|
||||
limited: true,
|
||||
event: EVENTS.birthday10,
|
||||
event: EVENTS.spring2024,
|
||||
_addlNotes: t('eventAvailability', {
|
||||
date: t('dateEndJanuary'),
|
||||
date: t('dateEndApril'),
|
||||
}),
|
||||
canBuy () {
|
||||
return moment().isBetween(EVENTS.birthday10.start, EVENTS.birthday10.end);
|
||||
return moment().isBetween(EVENTS.spring2024.start, EVENTS.spring2024.end);
|
||||
},
|
||||
},
|
||||
Fairy: {
|
||||
@@ -209,9 +209,9 @@ const premium = {
|
||||
_addlNotes: t('eventAvailability', {
|
||||
date: t('dateEndApril'),
|
||||
}),
|
||||
event: EVENTS.spring2023,
|
||||
event: EVENTS.spring2024,
|
||||
canBuy () {
|
||||
return moment().isBefore(EVENTS.spring2023.end);
|
||||
return moment().isBetween(EVENTS.spring2024.start, EVENTS.spring2024.end);
|
||||
},
|
||||
},
|
||||
Glass: {
|
||||
@@ -278,12 +278,12 @@ const premium = {
|
||||
value: 2,
|
||||
text: t('hatchingPotionCelestial'),
|
||||
limited: true,
|
||||
event: EVENTS.birthday10,
|
||||
event: EVENTS.spring2024,
|
||||
_addlNotes: t('eventAvailability', {
|
||||
date: t('dateStartFebruary'),
|
||||
date: t('dateEndApril'),
|
||||
}),
|
||||
canBuy () {
|
||||
return moment().isBetween(EVENTS.birthday10.start, EVENTS.birthday10.end);
|
||||
return moment().isBetween(EVENTS.spring2024.start, EVENTS.spring2024.end);
|
||||
},
|
||||
},
|
||||
Sunshine: {
|
||||
|
||||
Reference in New Issue
Block a user