QuestsCalendar.js
var QuestCalendarDict = {
1: { "Gold rush": { 'name': 'Gold rush', 'level': 10, 'questgiver': 'Maya Roalstad', 'time_start': '23/01 at 09:00', 'time_end': '29/01 at 22:59', 'time_start_raw': 1674464400, 'time_end_raw': 1675033140 }, "Gold rush (repeatable)": { 'name': 'Gold rush (repeatable)', 'level': 10, 'questgiver': 'Maya Roalstad', 'time_start': '23/01 at 09:00', 'time_end': '29/01 at 22:59', 'time_start_raw': 1674464400, 'time_end_raw': 1675033140 }, "The provincial doctor": { 'name': 'The provincial doctor', 'level': 10, 'questgiver': 'Maya Roalstad', 'time_start': '31/01 at 09:00', 'time_end': '05/03 at 22:59', 'time_start_raw': 1675155600, 'time_end_raw': 1678057140 }, "The provincial doctor (repeatable)": { 'name': 'The provincial doctor (repeatable)', 'level': 10, 'questgiver': 'Maya Roalstad', 'time_start': '31/01 at 09:00', 'time_end': '05/03 at 22:59', 'time_start_raw': 1675155600, 'time_end_raw': 1678057140 } }, 2: { "The provincial doctor": { 'name': 'The provincial doctor', 'level': 10, 'questgiver': 'Maya Roalstad', 'time_start': '31/01 at 09:00', 'time_end': '05/03 at 22:59', 'time_start_raw': 1675155600, 'time_end_raw': 1678057140 }, "The provincial doctor (repeatable)": { 'name': 'The provincial doctor (repeatable)', 'level': 10, 'questgiver': 'Maya Roalstad', 'time_start': '31/01 at 09:00', 'time_end': '05/03 at 22:59', 'time_start_raw': 1675155600, 'time_end_raw': 1678057140 }, "First winter": { 'name': 'First winter', 'level': 40, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '01/02 at 11:00', 'time_end': '15/02 at 11:00', 'time_start_raw': 1675249200, 'time_end_raw': 1676458800 }, "The snowstorm": { 'name': 'The snowstorm', 'level': 25, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '01/02 at 11:00', 'time_end': '15/02 at 11:00', 'time_start_raw': 1675249200, 'time_end_raw': 1676458800 }, "Unusual winter sport": { 'name': 'Unusual winter sport', 'level': 25, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '01/02 at 11:00', 'time_end': '15/02 at 11:00', 'time_start_raw': 1675249200, 'time_end_raw': 1676458800 }, "Winter Competitions": { 'name': 'Winter Competitions', 'level': 40, 'questgiver': 'Sheriff John Fitzburn', 'time_start': '01/02 at 11:00', 'time_end': '15/02 at 11:00', 'time_start_raw': 1675249200, 'time_end_raw': 1676458800 }, "Together 'til the end!": { 'name': "Together 'til the end!", 'level': 45, 'questgiver': 'Maya Roalstad', 'time_start': '13/02 at 09:00', 'time_end': '04/03 at 22:59', 'time_start_raw': 1676278800, 'time_end_raw': 1677970740 }, "Valentine's Day": { 'name': "Valentine's Day", 'level': 10, 'questgiver': 'Sheriff John Fitzburn', 'time_start': '13/02 at 23:00', 'time_end': '17/02 at 22:59', 'time_start_raw': 1676329200, 'time_end_raw': 1676674740 }, "Valentine's Day (repeatable)": { 'name': "Valentine's Day (repeatable)", 'level': 10, 'questgiver': 'Sheriff John Fitzburn', 'time_start': '13/02 at 23:00', 'time_end': '17/02 at 22:59', 'time_start_raw': 1676329200, 'time_end_raw': 1676674740 }, "One foolish Romeo (repeatable)": { 'name': 'One foolish Romeo (repeatable)', 'level': 10, 'questgiver': 'Waupee', 'time_start': '14/02 at 09:00', 'time_end': '02/03 at 22:59', 'time_start_raw': 1676365200, 'time_end_raw': 1677797940 }, "One foolish Romeo": { 'name': 'One foolish Romeo', 'level': 10, 'questgiver': 'Waupee', 'time_start': '14/02 at 09:00', 'time_end': '03/03 at 22:59', 'time_start_raw': 1676365200, 'time_end_raw': 1677884340 }, "Angus' love": { 'name': "Angus' love", 'level': 40, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '15/02 at 11:00', 'time_end': '06/03 at 11:00', 'time_start_raw': 1676458800, 'time_end_raw': 1678100400 }, "Gone with the Valentine's Day": { 'name': "Gone with the Valentine's Day", 'level': 10, 'questgiver': 'Maya Roalstad', 'time_start': '15/02 at 11:00', 'time_end': '06/03 at 11:00', 'time_start_raw': 1676458800, 'time_end_raw': 1678100400 }, "Gone with the Valentine's Day (repeatable)": { 'name': "Gone with the Valentine's Day (repeatable)", 'level': 10, 'questgiver': 'Maya Roalstad', 'time_start': '15/02 at 11:00', 'time_end': '06/03 at 11:00', 'time_start_raw': 1676458800, 'time_end_raw': 1678100400 }, "Love is in the air": { 'name': 'Love is in the air', 'level': 10, 'questgiver': 'Sheriff John Fitzburn', 'time_start': '15/02 at 11:00', 'time_end': '06/03 at 11:00', 'time_start_raw': 1676458800, 'time_end_raw': 1678100400 }, "Love is in the air (repeatable)": { 'name': 'Love is in the air (repeatable)', 'level': 10, 'questgiver': 'Sheriff John Fitzburn', 'time_start': '15/02 at 11:00', 'time_end': '06/03 at 11:00', 'time_start_raw': 1676458800, 'time_end_raw': 1678100400 }, "Maya's fiancé": { 'name': "Maya's fiancé", 'level': 30, 'questgiver': 'Maya Roalstad', 'time_start': '15/02 at 11:00', 'time_end': '06/03 at 11:00', 'time_start_raw': 1676458800, 'time_end_raw': 1678100400 }, "Secret Love": { 'name': 'Secret Love', 'level': 8, 'questgiver': 'Maya Roalstad', 'time_start': '15/02 at 11:00', 'time_end': '06/03 at 11:00', 'time_start_raw': 1676458800, 'time_end_raw': 1678100400 }, "The ties that bind": { 'name': 'The ties that bind', 'level': 119, 'questgiver': 'Waupee', 'time_start': '15/02 at 11:00', 'time_end': '06/03 at 11:00', 'time_start_raw': 1676458800, 'time_end_raw': 1678100400 }, "Tombstone love story": { 'name': 'Tombstone love story', 'level': 80, 'questgiver': 'Maya Roalstad', 'time_start': '17/02 at 11:00', 'time_end': '08/03 at 11:00', 'time_start_raw': 1676631600, 'time_end_raw': 1678273200 } }, 3: { "The provincial doctor": { 'name': 'The provincial doctor', 'level': 10, 'questgiver': 'Maya Roalstad', 'time_start': '31/01 at 09:00', 'time_end': '05/03 at 22:59', 'time_start_raw': 1675155600, 'time_end_raw': 1678057140 }, "The provincial doctor (repeatable)": { 'name': 'The provincial doctor (repeatable)', 'level': 10, 'questgiver': 'Maya Roalstad', 'time_start': '31/01 at 09:00', 'time_end': '05/03 at 22:59', 'time_start_raw': 1675155600, 'time_end_raw': 1678057140 }, "Together 'til the end!": { 'name': "Together 'til the end!", 'level': 45, 'questgiver': 'Maya Roalstad', 'time_start': '13/02 at 09:00', 'time_end': '04/03 at 22:59', 'time_start_raw': 1676278800, 'time_end_raw': 1677970740 }, "One foolish Romeo (repeatable)": { 'name': 'One foolish Romeo (repeatable)', 'level': 10, 'questgiver': 'Waupee', 'time_start': '14/02 at 09:00', 'time_end': '02/03 at 22:59', 'time_start_raw': 1676365200, 'time_end_raw': 1677797940 }, "One foolish Romeo": { 'name': 'One foolish Romeo', 'level': 10, 'questgiver': 'Waupee', 'time_start': '14/02 at 09:00', 'time_end': '03/03 at 22:59', 'time_start_raw': 1676365200, 'time_end_raw': 1677884340 }, "Angus' love": { 'name': "Angus' love", 'level': 40, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '15/02 at 11:00', 'time_end': '06/03 at 11:00', 'time_start_raw': 1676458800, 'time_end_raw': 1678100400 }, "Gone with the Valentine's Day": { 'name': "Gone with the Valentine's Day", 'level': 10, 'questgiver': 'Maya Roalstad', 'time_start': '15/02 at 11:00', 'time_end': '06/03 at 11:00', 'time_start_raw': 1676458800, 'time_end_raw': 1678100400 }, "Gone with the Valentine's Day (repeatable)": { 'name': "Gone with the Valentine's Day (repeatable)", 'level': 10, 'questgiver': 'Maya Roalstad', 'time_start': '15/02 at 11:00', 'time_end': '06/03 at 11:00', 'time_start_raw': 1676458800, 'time_end_raw': 1678100400 }, "Love is in the air": { 'name': 'Love is in the air', 'level': 10, 'questgiver': 'Sheriff John Fitzburn', 'time_start': '15/02 at 11:00', 'time_end': '06/03 at 11:00', 'time_start_raw': 1676458800, 'time_end_raw': 1678100400 }, "Love is in the air (repeatable)": { 'name': 'Love is in the air (repeatable)', 'level': 10, 'questgiver': 'Sheriff John Fitzburn', 'time_start': '15/02 at 11:00', 'time_end': '06/03 at 11:00', 'time_start_raw': 1676458800, 'time_end_raw': 1678100400 }, "Maya's fiancé": { 'name': "Maya's fiancé", 'level': 30, 'questgiver': 'Maya Roalstad', 'time_start': '15/02 at 11:00', 'time_end': '06/03 at 11:00', 'time_start_raw': 1676458800, 'time_end_raw': 1678100400 }, "Secret Love": { 'name': 'Secret Love', 'level': 8, 'questgiver': 'Maya Roalstad', 'time_start': '15/02 at 11:00', 'time_end': '06/03 at 11:00', 'time_start_raw': 1676458800, 'time_end_raw': 1678100400 }, "The ties that bind": { 'name': 'The ties that bind', 'level': 119, 'questgiver': 'Waupee', 'time_start': '15/02 at 11:00', 'time_end': '06/03 at 11:00', 'time_start_raw': 1676458800, 'time_end_raw': 1678100400 }, "Tombstone love story": { 'name': 'Tombstone love story', 'level': 80, 'questgiver': 'Maya Roalstad', 'time_start': '17/02 at 11:00', 'time_end': '08/03 at 11:00', 'time_start_raw': 1676631600, 'time_end_raw': 1678273200 }, "Carnival in the Wild West": { 'name': 'Carnival in the Wild West', 'level': 8, 'questgiver': 'Sheriff John Fitzburn', 'time_start': '06/03 at 10:00', 'time_end': '20/03 at 22:59', 'time_start_raw': 1678096800, 'time_end_raw': 1679353140 }, "Burning spirits of the past!": { 'name': 'Burning spirits of the past!', 'level': 66, 'questgiver': 'Waupee', 'time_start': '11/03 at 23:00', 'time_end': '10/04 at 21:59', 'time_start_raw': 1678575600, 'time_end_raw': 1681163940 }, "Gold coins": { 'name': 'Gold coins', 'level': 15, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '11/03 at 23:01', 'time_end': '02/04 at 21:59', 'time_start_raw': 1678575660, 'time_end_raw': 1680472740 }, "New Éire items": { 'name': 'New Éire items', 'level': 15, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '15/03 at 11:00', 'time_end': '29/03 at 10:00', 'time_start_raw': 1678878000, 'time_end_raw': 1680084000 }, "St. Patrick 2021": { 'name': 'St. Patrick 2021', 'level': 35, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '15/03 at 11:00', 'time_end': '29/03 at 10:00', 'time_start_raw': 1678878000, 'time_end_raw': 1680084000 }, "Brewing Bad": { 'name': 'Brewing Bad', 'level': 35, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '17/03 at 09:00', 'time_end': '23/03 at 22:59', 'time_start_raw': 1679043600, 'time_end_raw': 1679612340 }, "Brewing Bad (repeatable)": { 'name': 'Brewing Bad (repeatable)', 'level': 35, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '17/03 at 09:00', 'time_end': '09/04 at 21:59', 'time_start_raw': 1679043600, 'time_end_raw': 1681077540 }, "A new egg-hunting tradition": { 'name': 'A new egg-hunting tradition', 'level': 30, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '29/03 at 10:00', 'time_end': '20/04 at 10:00', 'time_start_raw': 1680084000, 'time_end_raw': 1681984800 }, "Easter basket": { 'name': 'Easter basket', 'level': 8, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '29/03 at 10:00', 'time_end': '20/04 at 10:00', 'time_start_raw': 1680084000, 'time_end_raw': 1681984800 }, "Easter basket (repeatable)": { 'name': 'Easter basket (repeatable)', 'level': 1, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '29/03 at 10:00', 'time_end': '20/04 at 10:00', 'time_start_raw': 1680084000, 'time_end_raw': 1681984800 }, "Easter breakfast": { 'name': 'Easter breakfast', 'level': 33, 'questgiver': 'Sheriff John Fitzburn', 'time_start': '29/03 at 10:00', 'time_end': '20/04 at 10:00', 'time_start_raw': 1680084000, 'time_end_raw': 1681984800 }, "Easter Egg Hunt": { 'name': 'Easter Egg Hunt', 'level': 8, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '29/03 at 10:00', 'time_end': '20/04 at 10:00', 'time_start_raw': 1680084000, 'time_end_raw': 1681984800 }, "Ringo is in the Town": { 'name': 'Ringo is in the Town', 'level': 110, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '29/03 at 10:00', 'time_end': '20/04 at 10:00', 'time_start_raw': 1680084000, 'time_end_raw': 1681984800 }, "The new train station": { 'name': 'The new train station', 'level': 75, 'questgiver': 'Sheriff John Fitzburn', 'time_start': '29/03 at 10:00', 'time_end': '20/04 at 10:00', 'time_start_raw': 1680084000, 'time_end_raw': 1681984800 } }, 4: { "Burning spirits of the past!": { 'name': 'Burning spirits of the past!', 'level': 66, 'questgiver': 'Waupee', 'time_start': '11/03 at 23:00', 'time_end': '10/04 at 21:59', 'time_start_raw': 1678575600, 'time_end_raw': 1681163940 }, "Gold coins": { 'name': 'Gold coins', 'level': 15, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '11/03 at 23:01', 'time_end': '02/04 at 21:59', 'time_start_raw': 1678575660, 'time_end_raw': 1680472740 }, "Brewing Bad (repeatable)": { 'name': 'Brewing Bad (repeatable)', 'level': 35, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '17/03 at 09:00', 'time_end': '09/04 at 21:59', 'time_start_raw': 1679043600, 'time_end_raw': 1681077540 }, "A new egg-hunting tradition": { 'name': 'A new egg-hunting tradition', 'level': 30, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '29/03 at 10:00', 'time_end': '20/04 at 10:00', 'time_start_raw': 1680084000, 'time_end_raw': 1681984800 }, "Easter basket": { 'name': 'Easter basket', 'level': 8, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '29/03 at 10:00', 'time_end': '20/04 at 10:00', 'time_start_raw': 1680084000, 'time_end_raw': 1681984800 }, "Easter basket (repeatable)": { 'name': 'Easter basket (repeatable)', 'level': 1, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '29/03 at 10:00', 'time_end': '20/04 at 10:00', 'time_start_raw': 1680084000, 'time_end_raw': 1681984800 }, "Easter breakfast": { 'name': 'Easter breakfast', 'level': 33, 'questgiver': 'Sheriff John Fitzburn', 'time_start': '29/03 at 10:00', 'time_end': '20/04 at 10:00', 'time_start_raw': 1680084000, 'time_end_raw': 1681984800 }, "Easter Egg Hunt": { 'name': 'Easter Egg Hunt', 'level': 8, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '29/03 at 10:00', 'time_end': '20/04 at 10:00', 'time_start_raw': 1680084000, 'time_end_raw': 1681984800 }, "Ringo is in the Town": { 'name': 'Ringo is in the Town', 'level': 110, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '29/03 at 10:00', 'time_end': '20/04 at 10:00', 'time_start_raw': 1680084000, 'time_end_raw': 1681984800 }, "The new train station": { 'name': 'The new train station', 'level': 75, 'questgiver': 'Sheriff John Fitzburn', 'time_start': '29/03 at 10:00', 'time_end': '20/04 at 10:00', 'time_start_raw': 1680084000, 'time_end_raw': 1681984800 }, "A strange animal": { 'name': 'A strange animal', 'level': 8, 'questgiver': 'Sheriff John Fitzburn', 'time_start': '31/03 at 22:00', 'time_end': '04/04 at 21:59', 'time_start_raw': 1680300000, 'time_end_raw': 1680645540 }, "TS crafting quests": { 'name': 'TS crafting quests', 'level': 8, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '01/04 at 10:00', 'time_end': '30/06 at 10:00', 'time_start_raw': 1680343200, 'time_end_raw': 1688119200 }, "The easter egg": { 'name': 'The easter egg', 'level': 8, 'questgiver': 'Waupee', 'time_start': '05/04 at 22:00', 'time_end': '23/04 at 21:59', 'time_start_raw': 1680732000, 'time_end_raw': 1682287140 }, "Easter": { 'name': 'Easter', 'level': 15, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '05/04 at 22:00', 'time_end': '26/04 at 21:59', 'time_start_raw': 1680732000, 'time_end_raw': 1682546340 }, "Easter (repeatable)": { 'name': 'Easter (repeatable)', 'level': 15, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '05/04 at 22:00', 'time_end': '26/04 at 21:59', 'time_start_raw': 1680732000, 'time_end_raw': 1682546340 }, "Finding Mr. Easter Bunny": { 'name': 'Finding Mr. Easter Bunny', 'level': 10, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '08/04 at 22:00', 'time_end': '22/04 at 21:59', 'time_start_raw': 1680991200, 'time_end_raw': 1682200740 }, "Crafting mini-event": { 'name': 'Crafting mini-event', 'level': 20, 'questgiver': 'Maya Roalstad', 'time_start': '29/04 at 10:00', 'time_end': '20/05 at 10:00', 'time_start_raw': 1682762400, 'time_end_raw': 1684576800 }, "The cake baking event": { 'name': 'The cake baking event', 'level': 20, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '29/04 at 10:00', 'time_end': '20/05 at 10:00', 'time_start_raw': 1682762400, 'time_end_raw': 1684576800 }, "The history of The West": { 'name': 'The history of The West', 'level': 10, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '29/04 at 22:00', 'time_end': '20/05 at 21:59', 'time_start_raw': 1682805600, 'time_end_raw': 1684619940 }, "The West 12 anniversary": { 'name': 'The West 12 anniversary', 'level': 10, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '29/04 at 22:00', 'time_end': '23/05 at 21:59', 'time_start_raw': 1682805600, 'time_end_raw': 1684879140 }, "The West has a birthday!": { 'name': 'The West has a birthday!', 'level': 10, 'questgiver': 'Sheriff John Fitzburn', 'time_start': '30/04 at 08:00', 'time_end': '10/05 at 21:59', 'time_start_raw': 1682841600, 'time_end_raw': 1683755940 }, "The West has a birthday! (repeatable)": { 'name': 'The West has a birthday! (repeatable)', 'level': 10, 'questgiver': 'Sheriff John Fitzburn', 'time_start': '30/04 at 08:00', 'time_end': '10/05 at 21:59', 'time_start_raw': 1682841600, 'time_end_raw': 1683755940 } }, 5: { "TS crafting quests": { 'name': 'TS crafting quests', 'level': 8, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '01/04 at 10:00', 'time_end': '30/06 at 10:00', 'time_start_raw': 1680343200, 'time_end_raw': 1688119200 }, "Crafting mini-event": { 'name': 'Crafting mini-event', 'level': 20, 'questgiver': 'Maya Roalstad', 'time_start': '29/04 at 10:00', 'time_end': '20/05 at 10:00', 'time_start_raw': 1682762400, 'time_end_raw': 1684576800 }, "The cake baking event": { 'name': 'The cake baking event', 'level': 20, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '29/04 at 10:00', 'time_end': '20/05 at 10:00', 'time_start_raw': 1682762400, 'time_end_raw': 1684576800 }, "The history of The West": { 'name': 'The history of The West', 'level': 10, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '29/04 at 22:00', 'time_end': '20/05 at 21:59', 'time_start_raw': 1682805600, 'time_end_raw': 1684619940 }, "The West 12 anniversary": { 'name': 'The West 12 anniversary', 'level': 10, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '29/04 at 22:00', 'time_end': '23/05 at 21:59', 'time_start_raw': 1682805600, 'time_end_raw': 1684879140 }, "The West has a birthday!": { 'name': 'The West has a birthday!', 'level': 10, 'questgiver': 'Sheriff John Fitzburn', 'time_start': '30/04 at 08:00', 'time_end': '10/05 at 21:59', 'time_start_raw': 1682841600, 'time_end_raw': 1683755940 }, "The West has a birthday! (repeatable)": { 'name': 'The West has a birthday! (repeatable)', 'level': 10, 'questgiver': 'Sheriff John Fitzburn', 'time_start': '30/04 at 08:00', 'time_end': '10/05 at 21:59', 'time_start_raw': 1682841600, 'time_end_raw': 1683755940 }, "Anti diet week": { 'name': 'Anti diet week', 'level': 10, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '06/05 at 08:00', 'time_end': '11/05 at 21:59', 'time_start_raw': 1683360000, 'time_end_raw': 1683842340 }, "Anti diet week (repeatable)": { 'name': 'Anti diet week (repeatable)', 'level': 10, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '06/05 at 08:00', 'time_end': '11/05 at 21:59', 'time_start_raw': 1683360000, 'time_end_raw': 1683842340 }, "Birthday cake": { 'name': 'Birthday cake', 'level': 30, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '10/05 at 10:00', 'time_end': '26/05 at 10:00', 'time_start_raw': 1683712800, 'time_end_raw': 1685095200 }, "Special drink": { 'name': 'Special drink', 'level': 8, 'questgiver': 'Maya Roalstad', 'time_start': '10/05 at 10:00', 'time_end': '26/05 at 10:00', 'time_start_raw': 1683712800, 'time_end_raw': 1685095200 }, "The best memory": { 'name': 'The best memory', 'level': 35, 'questgiver': 'Sheriff John Fitzburn', 'time_start': '10/05 at 10:00', 'time_end': '26/05 at 10:00', 'time_start_raw': 1683712800, 'time_end_raw': 1685095200 }, "Contest for an innovative dessert": { 'name': 'Contest for an innovative dessert', 'level': 20, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '20/05 at 10:00', 'time_end': '08/06 at 10:00', 'time_start_raw': 1684576800, 'time_end_raw': 1686218400 }, "Cooperation pays off": { 'name': 'Cooperation pays off', 'level': 40, 'questgiver': 'Waupee', 'time_start': '20/05 at 10:00', 'time_end': '08/06 at 10:00', 'time_start_raw': 1684576800, 'time_end_raw': 1686218400 }, "Attack of the Wogons": { 'name': 'Attack of the Wogons', 'level': 10, 'questgiver': 'Waupee', 'time_start': '25/05 at 08:00', 'time_end': '31/05 at 21:59', 'time_start_raw': 1685001600, 'time_end_raw': 1685570340 } }, 6: { "TS crafting quests": { 'name': 'TS crafting quests', 'level': 8, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '01/04 at 10:00', 'time_end': '30/06 at 10:00', 'time_start_raw': 1680343200, 'time_end_raw': 1688119200 }, "Contest for an innovative dessert": { 'name': 'Contest for an innovative dessert', 'level': 20, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '20/05 at 10:00', 'time_end': '08/06 at 10:00', 'time_start_raw': 1684576800, 'time_end_raw': 1686218400 }, "Cooperation pays off": { 'name': 'Cooperation pays off', 'level': 40, 'questgiver': 'Waupee', 'time_start': '20/05 at 10:00', 'time_end': '08/06 at 10:00', 'time_start_raw': 1684576800, 'time_end_raw': 1686218400 }, "Fort's story": { 'name': "Fort's story", 'level': 40, 'questgiver': 'Sheriff John Fitzburn', 'time_start': '07/06 at 10:00', 'time_end': '21/06 at 10:00', 'time_start_raw': 1686132000, 'time_end_raw': 1687341600 }, "Became a referee": { 'name': 'Became a referee', 'level': 20, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '15/06 at 22:00', 'time_end': '26/06 at 21:59', 'time_start_raw': 1686866400, 'time_end_raw': 1687816740 }, "Christopher's parade": { 'name': "Christopher's parade", 'level': 10, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '22/06 at 08:00', 'time_end': '28/06 at 21:59', 'time_start_raw': 1687420800, 'time_end_raw': 1687989540 }, "Christopher's parade (repeatable)": { 'name': "Christopher's parade (repeatable)", 'level': 10, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '22/06 at 08:00', 'time_end': '28/06 at 21:59', 'time_start_raw': 1687420800, 'time_end_raw': 1687989540 } }, 7: { "Independence Day": { 'name': 'Independence Day', 'level': 15, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '30/06 at 22:00', 'time_end': '14/07 at 21:59', 'time_start_raw': 1688162400, 'time_end_raw': 1689371940 }, "Independence Day (repeatable)": { 'name': 'Independence Day (repeatable)', 'level': 15, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '30/06 at 22:00', 'time_end': '14/07 at 21:59', 'time_start_raw': 1688162400, 'time_end_raw': 1689371940 }, "West Point": { 'name': 'West Point', 'level': 8, 'questgiver': 'Sheriff John Fitzburn', 'time_start': '30/06 at 22:00', 'time_end': '14/07 at 21:59', 'time_start_raw': 1688162400, 'time_end_raw': 1689371940 }, "A dream about the war": { 'name': 'A dream about the war', 'level': 8, 'questgiver': 'Tasks', 'time_start': '05/07 at 10:00', 'time_end': '25/07 at 10:00', 'time_start_raw': 1688551200, 'time_end_raw': 1690279200 }, "Everyone is ill": { 'name': 'Everyone is ill', 'level': 20, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '05/07 at 10:00', 'time_end': '25/07 at 10:00', 'time_start_raw': 1688551200, 'time_end_raw': 1690279200 }, "Independence Day preparations": { 'name': 'Independence Day preparations', 'level': 20, 'questgiver': 'Maya Roalstad', 'time_start': '05/07 at 10:00', 'time_end': '25/07 at 10:00', 'time_start_raw': 1688551200, 'time_end_raw': 1690279200 }, "Indian celebrations": { 'name': 'Indian celebrations', 'level': 35, 'questgiver': 'Waupee', 'time_start': '05/07 at 10:00', 'time_end': '25/07 at 10:00', 'time_start_raw': 1688551200, 'time_end_raw': 1690279200 }, "The Independence Day parade": { 'name': 'The Independence Day parade', 'level': 10, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '05/07 at 10:00', 'time_end': '25/07 at 10:00', 'time_start_raw': 1688551200, 'time_end_raw': 1690279200 }, "Time for tea": { 'name': 'Time for tea', 'level': 25, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '05/07 at 10:00', 'time_end': '25/07 at 10:00', 'time_start_raw': 1688551200, 'time_end_raw': 1690279200 }, "Paul The Great Paladin": { 'name': 'Paul The Great Paladin', 'level': 35, 'questgiver': 'Sheriff John Fitzburn', 'time_start': '17/07 at 06:00', 'time_end': '30/07 at 21:59', 'time_start_raw': 1689573600, 'time_end_raw': 1690754340 }, "Friendship week": { 'name': 'Friendship week', 'level': 10, 'questgiver': 'Maya Roalstad', 'time_start': '29/07 at 08:00', 'time_end': '09/08 at 21:59', 'time_start_raw': 1690617600, 'time_end_raw': 1691618340 }, "Friendship week (repeatable)": { 'name': 'Friendship week (repeatable)', 'level': 10, 'questgiver': 'Maya Roalstad', 'time_start': '29/07 at 08:00', 'time_end': '09/08 at 21:59', 'time_start_raw': 1690617600, 'time_end_raw': 1691618340 } }, 8: { "Friendship week": { 'name': 'Friendship week', 'level': 10, 'questgiver': 'Maya Roalstad', 'time_start': '29/07 at 08:00', 'time_end': '09/08 at 21:59', 'time_start_raw': 1690617600, 'time_end_raw': 1691618340 }, "Friendship week (repeatable)": { 'name': 'Friendship week (repeatable)', 'level': 10, 'questgiver': 'Maya Roalstad', 'time_start': '29/07 at 08:00', 'time_end': '09/08 at 21:59', 'time_start_raw': 1690617600, 'time_end_raw': 1691618340 }, "A pawful of kittens": { 'name': 'A pawful of kittens', 'level': 10, 'questgiver': 'Maya Roalstad', 'time_start': '08/08 at 08:00', 'time_end': '14/08 at 21:59', 'time_start_raw': 1691481600, 'time_end_raw': 1692050340 }, "A pawful of kittens (repeatable)": { 'name': 'A pawful of kittens (repeatable)', 'level': 10, 'questgiver': 'Maya Roalstad', 'time_start': '08/08 at 08:00', 'time_end': '14/08 at 21:59', 'time_start_raw': 1691481600, 'time_end_raw': 1692050340 }, "The Colcord story": { 'name': 'The Colcord story', 'level': 8, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '11/08 at 09:00', 'time_end': '30/09 at 21:59', 'time_start_raw': 1691744400, 'time_end_raw': 1696111140 }, "Henry on vacation": { 'name': 'Henry on vacation', 'level': 51, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '15/08 at 08:00', 'time_end': '31/08 at 21:59', 'time_start_raw': 1692086400, 'time_end_raw': 1693519140 }, "Labor Day": { 'name': 'Labor Day', 'level': 10, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '27/08 at 08:00', 'time_end': '02/09 at 21:59', 'time_start_raw': 1693123200, 'time_end_raw': 1693691940 }, "Labor Day (repeatable)": { 'name': 'Labor Day (repeatable)', 'level': 10, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '27/08 at 08:00', 'time_end': '02/09 at 21:59', 'time_start_raw': 1693123200, 'time_end_raw': 1693691940 }, "Boring harvest time": { 'name': 'Boring harvest time', 'level': 35, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '16/08 at 12:00', 'time_end': '31/08 at 12:00', 'time_start_raw': 1692180000, 'time_end_raw': 1693476000 } }, 9: { "The Colcord story": { 'name': 'The Colcord story', 'level': 8, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '11/08 at 09:00', 'time_end': '30/09 at 21:59', 'time_start_raw': 1691744400, 'time_end_raw': 1696111140 }, "Labor Day": { 'name': 'Labor Day', 'level': 10, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '27/08 at 08:00', 'time_end': '02/09 at 21:59', 'time_start_raw': 1693123200, 'time_end_raw': 1693691940 }, "Labor Day (repeatable)": { 'name': 'Labor Day (repeatable)', 'level': 10, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '27/08 at 08:00', 'time_end': '02/09 at 21:59', 'time_start_raw': 1693123200, 'time_end_raw': 1693691940 }, "The Mountain Farmer and the Shepherdess": { 'name': 'The Mountain Farmer and the Shepherdess', 'level': 48, 'questgiver': 'Sheriff John Fitzburn', 'time_start': '12/09 at 09:00', 'time_end': '06/10 at 21:59', 'time_start_raw': 1694509200, 'time_end_raw': 1696629540 }, "Oktoberfest 2021": { 'name': 'Oktoberfest 2021', 'level': 50, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '16/09 at 10:00', 'time_end': '13/10 at 10:00', 'time_start_raw': 1694858400, 'time_end_raw': 1697191200 }, "Oktoberfest is coming": { 'name': 'Oktoberfest is coming', 'level': 8, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '16/09 at 10:00', 'time_end': '13/10 at 10:00', 'time_start_raw': 1694858400, 'time_end_raw': 1697191200 }, "Oktoberfest is coming (repeatable)": { 'name': 'Oktoberfest is coming (repeatable)', 'level': 8, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '16/09 at 10:00', 'time_end': '13/10 at 10:00', 'time_start_raw': 1694858400, 'time_end_raw': 1697191200 }, "A Shipment from Germany": { 'name': 'A Shipment from Germany', 'level': 45, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '17/09 at 10:00', 'time_end': '14/10 at 10:00', 'time_start_raw': 1694944800, 'time_end_raw': 1697277600 }, "Save Oktoberfest": { 'name': 'Save Oktoberfest', 'level': 69, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '18/09 at 10:00', 'time_end': '14/10 at 21:59', 'time_start_raw': 1695031200, 'time_end_raw': 1697320740 } }, 10: { "The Mountain Farmer and the Shepherdess": { 'name': 'The Mountain Farmer and the Shepherdess', 'level': 48, 'questgiver': 'Sheriff John Fitzburn', 'time_start': '12/09 at 09:00', 'time_end': '06/10 at 21:59', 'time_start_raw': 1694509200, 'time_end_raw': 1696629540 }, "Oktoberfest 2021": { 'name': 'Oktoberfest 2021', 'level': 50, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '16/09 at 10:00', 'time_end': '13/10 at 10:00', 'time_start_raw': 1694858400, 'time_end_raw': 1697191200 }, "Oktoberfest is coming": { 'name': 'Oktoberfest is coming', 'level': 8, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '16/09 at 10:00', 'time_end': '13/10 at 10:00', 'time_start_raw': 1694858400, 'time_end_raw': 1697191200 }, "Oktoberfest is coming (repeatable)": { 'name': 'Oktoberfest is coming (repeatable)', 'level': 8, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '16/09 at 10:00', 'time_end': '13/10 at 10:00', 'time_start_raw': 1694858400, 'time_end_raw': 1697191200 }, "A Shipment from Germany": { 'name': 'A Shipment from Germany', 'level': 45, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '17/09 at 10:00', 'time_end': '14/10 at 10:00', 'time_start_raw': 1694944800, 'time_end_raw': 1697277600 }, "Save Oktoberfest": { 'name': 'Save Oktoberfest', 'level': 69, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '18/09 at 10:00', 'time_end': '14/10 at 21:59', 'time_start_raw': 1695031200, 'time_end_raw': 1697320740 }, "The Wright brothers": { 'name': 'The Wright brothers', 'level': 8, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '12/10 at 09:00', 'time_end': '30/11 at 22:59', 'time_start_raw': 1697101200, 'time_end_raw': 1701385140 }, "Giant of the land": { 'name': 'Giant of the land', 'level': 58, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '13/10 at 22:00', 'time_end': '14/11 at 22:59', 'time_start_raw': 1697234400, 'time_end_raw': 1700002740 }, "Giant of the ocean": { 'name': 'Giant of the ocean', 'level': 105, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '13/10 at 22:00', 'time_end': '14/11 at 22:59', 'time_start_raw': 1697234400, 'time_end_raw': 1700002740 }, "The first cowgirl": { 'name': 'The first cowgirl', 'level': 32, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '15/10 at 22:00', 'time_end': '18/11 at 22:59', 'time_start_raw': 1697407200, 'time_end_raw': 1700348340 }, "The Headless Horseman": { 'name': 'The Headless Horseman', 'level': 8, 'questgiver': 'Sheriff John Fitzburn', 'time_start': '25/10 at 08:00', 'time_end': '29/11 at 22:59', 'time_start_raw': 1698220800, 'time_end_raw': 1701298740 }, "A Western Nightmare (repeatable)": { 'name': 'A Western Nightmare (repeatable)', 'level': 10, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '28/10 at 08:00', 'time_end': '20/11 at 22:59', 'time_start_raw': 1698480000, 'time_end_raw': 1700521140 }, "A Western Nightmare": { 'name': 'A Western Nightmare', 'level': 10, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '28/10 at 08:00', 'time_end': '21/11 at 22:59', 'time_start_raw': 1698480000, 'time_end_raw': 1700607540 }, "Ron's visit": { 'name': "Ron's visit", 'level': 40, 'questgiver': 'Waupee', 'time_start': '28/10 at 10:00', 'time_end': '16/11 at 11:00', 'time_start_raw': 1698487200, 'time_end_raw': 1700132400 }, "Halloween": { 'name': 'Halloween', 'level': 12, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '29/10 at 23:00', 'time_end': '04/11 at 22:59', 'time_start_raw': 1698620400, 'time_end_raw': 1699138740 }, "Halloween (repeatable)": { 'name': 'Halloween (repeatable)', 'level': 12, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '29/10 at 23:00', 'time_end': '07/11 at 22:59', 'time_start_raw': 1698620400, 'time_end_raw': 1699397940 } }, 11: { "The Wright brothers": { 'name': 'The Wright brothers', 'level': 8, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '12/10 at 09:00', 'time_end': '30/11 at 22:59', 'time_start_raw': 1697101200, 'time_end_raw': 1701385140 }, "Giant of the land": { 'name': 'Giant of the land', 'level': 58, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '13/10 at 22:00', 'time_end': '14/11 at 22:59', 'time_start_raw': 1697234400, 'time_end_raw': 1700002740 }, "Giant of the ocean": { 'name': 'Giant of the ocean', 'level': 105, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '13/10 at 22:00', 'time_end': '14/11 at 22:59', 'time_start_raw': 1697234400, 'time_end_raw': 1700002740 }, "The first cowgirl": { 'name': 'The first cowgirl', 'level': 32, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '15/10 at 22:00', 'time_end': '18/11 at 22:59', 'time_start_raw': 1697407200, 'time_end_raw': 1700348340 }, "The Headless Horseman": { 'name': 'The Headless Horseman', 'level': 8, 'questgiver': 'Sheriff John Fitzburn', 'time_start': '25/10 at 08:00', 'time_end': '29/11 at 22:59', 'time_start_raw': 1698220800, 'time_end_raw': 1701298740 }, "A Western Nightmare (repeatable)": { 'name': 'A Western Nightmare (repeatable)', 'level': 10, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '28/10 at 08:00', 'time_end': '20/11 at 22:59', 'time_start_raw': 1698480000, 'time_end_raw': 1700521140 }, "A Western Nightmare": { 'name': 'A Western Nightmare', 'level': 10, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '28/10 at 08:00', 'time_end': '21/11 at 22:59', 'time_start_raw': 1698480000, 'time_end_raw': 1700607540 }, "Ron's visit": { 'name': "Ron's visit", 'level': 40, 'questgiver': 'Waupee', 'time_start': '28/10 at 10:00', 'time_end': '16/11 at 11:00', 'time_start_raw': 1698487200, 'time_end_raw': 1700132400 }, "Halloween": { 'name': 'Halloween', 'level': 12, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '29/10 at 23:00', 'time_end': '04/11 at 22:59', 'time_start_raw': 1698620400, 'time_end_raw': 1699138740 }, "Halloween (repeatable)": { 'name': 'Halloween (repeatable)', 'level': 12, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '29/10 at 23:00', 'time_end': '07/11 at 22:59', 'time_start_raw': 1698620400, 'time_end_raw': 1699397940 }, "Celebrating life": { 'name': 'Celebrating life', 'level': 22, 'questgiver': 'Maya Roalstad', 'time_start': '05/11 at 11:00', 'time_end': '23/11 at 11:00', 'time_start_raw': 1699182000, 'time_end_raw': 1700737200 }, "Something strange is happening": { 'name': 'Something strange is happening', 'level': 27, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '05/11 at 11:00', 'time_end': '23/11 at 11:00', 'time_start_raw': 1699182000, 'time_end_raw': 1700737200 }, "The perfect heist": { 'name': 'The perfect heist', 'level': 50, 'questgiver': 'Maya Roalstad', 'time_start': '11/11 at 09:00', 'time_end': '02/12 at 22:59', 'time_start_raw': 1699693200, 'time_end_raw': 1701557940 }, "The perfect heist (repeatable)": { 'name': 'The perfect heist (repeatable)', 'level': 50, 'questgiver': 'Maya Roalstad', 'time_start': '11/11 at 09:00', 'time_end': '02/12 at 22:59', 'time_start_raw': 1699693200, 'time_end_raw': 1701557940 }, "Thanksgiving": { 'name': 'Thanksgiving', 'level': 15, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '22/11 at 23:00', 'time_end': '30/11 at 22:59', 'time_start_raw': 1700694000, 'time_end_raw': 1701385140 }, "Thanksgiving (repeatable)": { 'name': 'Thanksgiving (repeatable)', 'level': 15, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '22/11 at 23:00', 'time_end': '30/11 at 22:59', 'time_start_raw': 1700694000, 'time_end_raw': 1701385140 }, "Western Friday": { 'name': 'Western Friday', 'level': 8, 'questgiver': 'Maya Roalstad', 'time_start': '23/11 at 23:00', 'time_end': '05/12 at 22:59', 'time_start_raw': 1700780400, 'time_end_raw': 1701817140 } }, 12: { "The perfect heist": { 'name': 'The perfect heist', 'level': 50, 'questgiver': 'Maya Roalstad', 'time_start': '11/11 at 09:00', 'time_end': '02/12 at 22:59', 'time_start_raw': 1699693200, 'time_end_raw': 1701557940 }, "The perfect heist (repeatable)": { 'name': 'The perfect heist (repeatable)', 'level': 50, 'questgiver': 'Maya Roalstad', 'time_start': '11/11 at 09:00', 'time_end': '02/12 at 22:59', 'time_start_raw': 1699693200, 'time_end_raw': 1701557940 }, "Western Friday": { 'name': 'Western Friday', 'level': 8, 'questgiver': 'Maya Roalstad', 'time_start': '23/11 at 23:00', 'time_end': '05/12 at 22:59', 'time_start_raw': 1700780400, 'time_end_raw': 1701817140 }, "Magic World": { 'name': 'Magic World', 'level': 38, 'questgiver': 'Waupee', 'time_start': '30/11 at 23:01', 'time_end': '31/12 at 22:59', 'time_start_raw': 1701385260, 'time_end_raw': 1704063540 }, "Christmas": { 'name': 'Christmas', 'level': 15, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '05/12 at 23:00', 'time_end': '26/12 at 22:59', 'time_start_raw': 1701817200, 'time_end_raw': 1703631540 }, "Christmas (repeatable)": { 'name': 'Christmas (repeatable)', 'level': 15, 'questgiver': 'Barkeeper Henry Walker', 'time_start': '05/12 at 23:00', 'time_end': '26/12 at 22:59', 'time_start_raw': 1701817200, 'time_end_raw': 1703631540 }, "Santa's companions": { 'name': "Santa's companions", 'level': 70, 'questgiver': 'Tasks', 'time_start': '18/12 at 10:00', 'time_end': '31/12 at 22:59', 'time_start_raw': 1702893600, 'time_end_raw': 1704063540 } }
};
(function($) {
$(document).ready(function() { var now = new Date(); var currentMonth = now.getMonth() + 1; var currentYear = now.getFullYear();
var currentMonthDiv = document.getElementById("current-month"); var nextMonthDiv = document.getElementById("next-month");
if (currentMonthDiv && nextMonthDiv) { currentMonthDiv.innerHTML = getMonthName(currentMonth);
var nextMonth = currentMonth + 1; var nextMonthYear = currentYear; if (nextMonth > 12) { nextMonth = 1; nextMonthYear++; } nextMonthDiv.innerHTML = getMonthName(nextMonth); }
function getMonthName(month) { var monthNames = [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ]; return monthNames[month - 1]; }
// Get the quests for the current month and next month from the questCalendarDict var currentMonthQuests = QuestCalendarDict[currentMonth]; var nextMonthQuests = QuestCalendarDict[currentMonth + 1];
if (currentMonthQuests) { loadQuests(currentMonthQuests, "#current-month-quests"); } if (nextMonthQuests) { loadQuests(nextMonthQuests, "#next-month-quests"); }
function loadQuests(quests, container) { var html = ; $.each(quests, function(questName, quest) {
var questGiver = quest.questgiver; switch (questGiver) { case "Barkeeper Henry Walker": questGiver = "https://wiki.the-west.net/images/2/2d/Barkeeper.png"; break; case "Maya Roalstad": questGiver = "https://wiki.the-west.net/images/c/c6/Lady.png"; break; case "Sheriff John Fitzburn": questGiver = "https://wiki.the-west.net/images/d/d2/Sheriffnpc.png"; break; case "Waupee": questGiver = "https://wiki.the-west.net/images/1/19/Indian.png"; break; case "Tasks": questGiver = "https://wiki.the-west.net/images/1/19/Indian.png"; break; default: questGiver = "https://wiki.the-west.net/images/2/2d/Barkeeper.png"; }
var questStartTime = new Date(quest.time_start_raw * 1000); var questEndTime = new Date(quest.time_end_raw * 1000); var now = new Date(); var isActive = now >= questStartTime && now <= questEndTime; var popupClass = isActive ? "popup_txtgreen" : "popup_txtred";
html += '
html += '<a href="/wiki/' + questName + '" title="' + questName + '" bis_skin_checked="1">' + questName + '</a>';
html += 'html += '<img alt="' + quest.questgiver + '" src="' + questGiver +'" decoding="async" width="200" height="200">';
html += ''; html += 'From: ' + quest.time_start + '
Until: ' + quest.time_end + '
';
}); $(container).html(html); } });
})(jQuery);