mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 06:07:21 +01:00
modified world event dates, added gem promos and g1g1
This commit is contained in:
committed by
Phillip Thelen
parent
98c5a68a8c
commit
2b04a1b50c
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user