chore(event): set up Harvest Feast 2022

This commit is contained in:
SabreCat
2022-11-21 18:54:57 -06:00
parent 497073a714
commit a8e9c9bc70
2 changed files with 12 additions and 19 deletions

View File

@@ -10,20 +10,24 @@ const gemsPromo = {
export const EVENTS = { export const EVENTS = {
noEvent: { noEvent: {
start: '2022-11-30T20:00-05:00', start: '2022-11-27T20:00-05:00',
end: '2022-12-20T08:00-05:00', end: '2022-12-20T08:00-05:00',
season: 'normal', season: 'normal',
npcImageSuffix: '', npcImageSuffix: '',
}, },
harvestFeast2022: {
start: '2022-11-22T08:00-05:00',
end: '2022-11-27T20:00-05:00',
season: 'thanksgiving',
npcImageSuffix: '_thanksgiving',
},
bundle202211: { bundle202211: {
start: '2022-11-15T08:00-05:00', start: '2022-11-15T08:00-05:00',
end: '2022-11-30T20:00-05:00', end: '2022-11-30T20:00-05:00',
season: 'normal',
npcImageSuffix: '',
}, },
afterGala: { afterGala: {
start: '2022-10-31T20:00-04:00', start: '2022-10-31T20:00-04:00',
end: '2022-11-15T08:00-05:00', end: '2022-11-22T08:00-05:00',
season: 'normal', season: 'normal',
npcImageSuffix: '', npcImageSuffix: '',
}, },

View File

@@ -150,21 +150,10 @@ function _setUpNewUser (user) {
user.items.quests.dustbunnies = 1; user.items.quests.dustbunnies = 1;
user.purchased.background.violet = true; user.purchased.background.violet = true;
user.preferences.background = 'violet'; user.preferences.background = 'violet';
if (moment().isBefore('2022-03-15T20:00-04:00')) { if (moment().isBetween('2022-11-22T08:00-05:00', '2022-11-27T20:00-05:00')) {
user.items.gear.owned.head_special_piDay = true; user.migration = '20221122_harvest_feast';
user.items.gear.equipped.head = 'head_special_piDay'; user.items.pets['Turkey-Base'] = 5;
user.items.gear.owned.shield_special_piDay = true; user.items.currentPet = 'Turkey-Base';
user.items.gear.equipped.shield = 'shield_special_piDay';
user.items.food.Pie_Skeleton = 1;
user.items.food.Pie_Base = 1;
user.items.food.Pie_CottonCandyBlue = 1;
user.items.food.Pie_CottonCandyPink = 1;
user.items.food.Pie_Shade = 1;
user.items.food.Pie_White = 1;
user.items.food.Pie_Golden = 1;
user.items.food.Pie_Zombie = 1;
user.items.food.Pie_Desert = 1;
user.items.food.Pie_Red = 1;
} }
user.markModified('items achievements'); user.markModified('items achievements');