modified world event dates, added gem promos and g1g1

This commit is contained in:
CuriousMagpie
2024-08-29 11:04:15 -04:00
committed by Phillip Thelen
parent 98c5a68a8c
commit 2b04a1b50c

View File

@@ -11,8 +11,8 @@ const gemsPromo = {
export const REPEATING_EVENTS = { export const REPEATING_EVENTS = {
nye: { nye: {
start: new Date('1970-12-28T08:00-05:00'), start: new Date('1970-12-28T04:00-05:00'),
end: new Date('1970-01-04T23:59-05:00'), end: new Date('1970-01-04T03:59-05:00'),
season: 'nye', season: 'nye',
npcImageSuffix: '_nye', npcImageSuffix: '_nye',
content: [ content: [
@@ -25,15 +25,15 @@ export const REPEATING_EVENTS = {
], ],
}, },
birthday: { birthday: {
start: new Date('1970-01-30T08:00-05:00'), start: new Date('1970-01-30T04:00-05:00'),
end: new Date('1970-02-08T23:59-05:00'), end: new Date('1970-02-08T03:59-05:00'),
season: 'birthday', season: 'birthday',
npcImageSuffix: '_birthday', npcImageSuffix: '_birthday',
foodSeason: 'Cake', foodSeason: 'Cake',
}, },
valentines: { valentines: {
start: new Date('1970-02-13T08:00-05:00'), start: new Date('1970-02-13T04:00-05:00'),
end: new Date('1970-02-17T23:59-05:00'), end: new Date('1970-02-17T03:59-05:00'),
season: 'valentines', season: 'valentines',
npcImageSuffix: '_valentines', npcImageSuffix: '_valentines',
content: [ content: [
@@ -46,13 +46,13 @@ export const REPEATING_EVENTS = {
], ],
}, },
piDay: { piDay: {
start: new Date('1970-03-13T08:00-05:00'), start: new Date('1970-03-13T04:00-05:00'),
end: new Date('1970-03-15T23:59-05:00'), end: new Date('1970-03-15T03:59-05:00'),
foodSeason: 'Pie', foodSeason: 'Pie',
}, },
aprilFoolsResale: { aprilFoolsResale: {
start: new Date('1970-04-07T08:00-05:00'), start: new Date('1970-04-07T04:00-05:00'),
end: new Date('1970-04-30T23:59-05:00'), end: new Date('1970-04-30T03:59-05:00'),
content: [ content: [
{ {
type: 'hatchingPotionQuests', type: 'hatchingPotionQuests',
@@ -72,13 +72,23 @@ export const REPEATING_EVENTS = {
], ],
}, },
namingDay: { namingDay: {
start: new Date('1970-07-30T08:00-05:00'), start: new Date('1970-07-30T04:00-05:00'),
end: new Date('1970-08-01T23:59-05:00'), end: new Date('1970-08-01T03:59-05:00'),
foodSeason: 'Cake', 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: { habitoween: {
start: new Date('1970-10-30T08:00-05:00'), start: new Date('1970-10-30T04:00-05:00'),
end: new Date('1970-11-01T23:59-05:00'), end: new Date('1970-11-01T23:059-05:00'),
foodSeason: 'Candy', foodSeason: 'Candy',
season: 'habitoween', season: 'habitoween',
npcImageSuffix: '_halloween', npcImageSuffix: '_halloween',
@@ -96,12 +106,17 @@ export const REPEATING_EVENTS = {
gemsPromo, gemsPromo,
}, },
harvestFeast: { harvestFeast: {
start: new Date('1970-11-22T08:00-05:00'), start: new Date('1970-11-22T04:00-05:00'),
end: new Date('1970-11-27T20:00-05:00'), end: new Date('1970-11-27T03:59-05:00'),
season: 'thanksgiving', season: 'thanksgiving',
npcImageSuffix: '_thanksgiving', npcImageSuffix: '_thanksgiving',
foodSeason: 'Pie', 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) { export function getRepeatingEvents (date) {