chore(content): add winter wonderland items (#14407)

* chore(content): add winter wonderland items

* chore(typos): dates are hard

* fix(tz): how far back we have fallen

* fix(event): four extra hours for stragglers

* fix(typo): singular snowball spell

* fix(gear): remove stray incorrect event prop

* merge release

* Revert "merge release"

This reverts commit 83e29d0288.

* feat(content): add EN text

* fix(dates): 2022-2023 Winter

* chore(content): add featured quest bundle

* fix(event): delay Snowballs, add quests to Seasonal Shop

Co-authored-by: Sabe Jones <sabrecat@gmail.com>
Co-authored-by: SabreCat <sabe@habitica.com>
This commit is contained in:
Natalie L
2022-12-19 16:53:52 -05:00
committed by GitHub
parent 1f59d95465
commit fd9d738cc6
11 changed files with 363 additions and 38 deletions

View File

@@ -5,7 +5,7 @@ import { EVENTS } from './constants';
// path: 'premiumHatchingPotions.Rainbow',
const featuredItems = {
market () {
if (moment().isBetween(EVENTS.bundle202211.start, EVENTS.bundle202211.end)) {
if (moment().isBetween(EVENTS.winter2023.start, EVENTS.winter2023.end)) {
return [
{
type: 'armoire',
@@ -13,15 +13,15 @@ const featuredItems = {
},
{
type: 'premiumHatchingPotion',
path: 'premiumHatchingPotions.Frost',
path: 'premiumHatchingPotions.StarryNight',
},
{
type: 'premiumHatchingPotion',
path: 'premiumHatchingPotions.Ember',
path: 'premiumHatchingPotions.Holly',
},
{
type: 'premiumHatchingPotion',
path: 'premiumHatchingPotions.Thunderstorm',
path: 'premiumHatchingPotions.Aurora',
},
];
}
@@ -32,51 +32,51 @@ const featuredItems = {
},
{
type: 'food',
path: 'food.Milk',
path: 'food.RottenMeat',
},
{
type: 'hatchingPotions',
path: 'hatchingPotions.White',
path: 'hatchingPotions.CottonCandyBlue',
},
{
type: 'eggs',
path: 'eggs.Fox',
path: 'eggs.FlyingPig',
},
];
},
quests () {
if (moment().isBetween(EVENTS.bundle202211.start, EVENTS.bundle202211.end)) {
if (moment().isBetween(EVENTS.winter2023.start, EVENTS.winter2023.end)) {
return [
{
type: 'bundles',
path: 'bundles.rockingReptiles',
path: 'bundles.winterQuests',
},
{
type: 'quests',
path: 'quests.peacock',
path: 'quests.whale',
},
{
type: 'quests',
path: 'quests.harpy',
path: 'quests.turtle',
},
];
}
return [
{
type: 'quests',
path: 'quests.axolotl',
path: 'quests.slime',
},
{
type: 'quests',
path: 'quests.stone',
path: 'quests.seaserpent',
},
{
type: 'quests',
path: 'quests.whale',
path: 'quests.unicorn',
},
];
},
seasonal: 'spring2021Healer',
seasonal: 'winter2022Healer',
timeTravelers: [
// TODO
],