From 2b04a1b50c8da86394a122baf3e7cfef7b3d4be8 Mon Sep 17 00:00:00 2001 From: CuriousMagpie Date: Thu, 29 Aug 2024 11:04:15 -0400 Subject: [PATCH] modified world event dates, added gem promos and g1g1 --- .../common/script/content/constants/events.js | 47 ++++++++++++------- 1 file changed, 31 insertions(+), 16 deletions(-) diff --git a/website/common/script/content/constants/events.js b/website/common/script/content/constants/events.js index e94ebcce79..8d7afb58bf 100644 --- a/website/common/script/content/constants/events.js +++ b/website/common/script/content/constants/events.js @@ -11,8 +11,8 @@ const gemsPromo = { export const REPEATING_EVENTS = { nye: { - start: new Date('1970-12-28T08:00-05:00'), - end: new Date('1970-01-04T23:59-05:00'), + start: new Date('1970-12-28T04:00-05:00'), + end: new Date('1970-01-04T03:59-05:00'), season: 'nye', npcImageSuffix: '_nye', content: [ @@ -25,15 +25,15 @@ export const REPEATING_EVENTS = { ], }, birthday: { - start: new Date('1970-01-30T08:00-05:00'), - end: new Date('1970-02-08T23:59-05:00'), + start: new Date('1970-01-30T04:00-05:00'), + end: new Date('1970-02-08T03:59-05:00'), season: 'birthday', npcImageSuffix: '_birthday', foodSeason: 'Cake', }, valentines: { - start: new Date('1970-02-13T08:00-05:00'), - end: new Date('1970-02-17T23:59-05:00'), + start: new Date('1970-02-13T04:00-05:00'), + end: new Date('1970-02-17T03:59-05:00'), season: 'valentines', npcImageSuffix: '_valentines', content: [ @@ -46,13 +46,13 @@ export const REPEATING_EVENTS = { ], }, piDay: { - start: new Date('1970-03-13T08:00-05:00'), - end: new Date('1970-03-15T23:59-05:00'), + start: new Date('1970-03-13T04:00-05:00'), + end: new Date('1970-03-15T03:59-05:00'), foodSeason: 'Pie', }, aprilFoolsResale: { - start: new Date('1970-04-07T08:00-05:00'), - end: new Date('1970-04-30T23:59-05:00'), + start: new Date('1970-04-07T04:00-05:00'), + end: new Date('1970-04-30T03:59-05:00'), content: [ { type: 'hatchingPotionQuests', @@ -72,13 +72,23 @@ export const REPEATING_EVENTS = { ], }, namingDay: { - start: new Date('1970-07-30T08:00-05:00'), - end: new Date('1970-08-01T23:59-05:00'), + start: new Date('1970-07-30T04:00-05:00'), + end: new Date('1970-08-01T03:59-05:00'), foodSeason: 'Cake', }, + fallGemFest: { + start: new Date('1970-09-23T04:00-04:00'), + end: new Date('1970-09-27T03:59-04:00'), + gemsPromo, + }, + spookyGemFest: { + start: new Date('1970-10-28T04:00-04:00'), + end: new Date('1970-10-27T03:59-04:00'), + gemsPromo, + }, habitoween: { - start: new Date('1970-10-30T08:00-05:00'), - end: new Date('1970-11-01T23:59-05:00'), + start: new Date('1970-10-30T04:00-05:00'), + end: new Date('1970-11-01T23:059-05:00'), foodSeason: 'Candy', season: 'habitoween', npcImageSuffix: '_halloween', @@ -96,12 +106,17 @@ export const REPEATING_EVENTS = { gemsPromo, }, harvestFeast: { - start: new Date('1970-11-22T08:00-05:00'), - end: new Date('1970-11-27T20:00-05:00'), + start: new Date('1970-11-22T04:00-05:00'), + end: new Date('1970-11-27T03:59-05:00'), season: 'thanksgiving', npcImageSuffix: '_thanksgiving', foodSeason: 'Pie', }, + giveOneGetOne: { + start: new Date('1970-12-19T04:00-05:00'), + end: new Date('1970-01-06T03:59-05:00'), + promo: 'g1g1', + }, }; export function getRepeatingEvents (date) {