mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
December 2024 and Winter Wonderland 2025 build (#15358)
* feat(content): Winter 2025 build by @CuriousMagpie * fix(content): add more WW * fix(content): add more WW * chore(subproj): update habitica-images * fix(gala): December 2024 is Winter 2025 * fix(content): lint, background typo, 0 index month * fix(content): add missing mystery set name * fix(content): roll back erroneous month indexing * fix(tests): no 13th month, consider releases in schedule test * update gear strings * fix(seasonal): show quest modal * fix(seasonal): use category-item component * chore(subproj): update habitica-images --------- Co-authored-by: CuriousMagpie <eilatan@gmail.com>
This commit is contained in:
@@ -638,6 +638,9 @@ const backgrounds = {
|
||||
backgrounds112024: {
|
||||
castle_hall_with_hearth: { },
|
||||
},
|
||||
backgrounds122024: {
|
||||
first_snow_forest: { },
|
||||
},
|
||||
eventBackgrounds: {
|
||||
birthday_bash: {
|
||||
price: 0,
|
||||
|
||||
@@ -13,6 +13,7 @@ export const ARMOIRE_RELEASE_DATES = {
|
||||
funnyFoolSet: { year: 2024, month: 9 },
|
||||
frightNightSet: { year: 2024, month: 10 },
|
||||
stormKnightSet: { year: 2024, month: 11 },
|
||||
festiveHelperSet: { year: 2024, month: 12 },
|
||||
};
|
||||
|
||||
export const EGGS_RELEASE_DATES = {
|
||||
@@ -25,4 +26,5 @@ export const EGGS_RELEASE_DATES = {
|
||||
|
||||
export const HATCHING_POTIONS_RELEASE_DATES = {
|
||||
Koi: { year: 2024, month: 6, day: 1 },
|
||||
Gingerbread: { year: 2024, month: 12, day: 21 },
|
||||
};
|
||||
|
||||
@@ -648,6 +648,7 @@ export const MONTHLY_SCHEDULE = {
|
||||
items: [
|
||||
'Peppermint',
|
||||
'Holly',
|
||||
'Gingerbread',
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
@@ -57,6 +57,11 @@ const SEASONAL_SETS = {
|
||||
'winter2024PeppermintBarkWarriorSet',
|
||||
'winter2024NarwhalWizardMageSet',
|
||||
'winter2024FrozenHealerSet',
|
||||
|
||||
'winter2025MooseWarriorSet',
|
||||
'winter2025AuroraMageSet',
|
||||
'winter2025StringLightsHealerSet',
|
||||
'winter2025SnowRogueSet',
|
||||
],
|
||||
spring: [
|
||||
// spring 2014
|
||||
|
||||
@@ -502,6 +502,10 @@ const armor = {
|
||||
per: 11,
|
||||
set: 'stormKnightSet',
|
||||
},
|
||||
festiveHelperOveralls: {
|
||||
con: 12,
|
||||
set: 'festiveHelperSet',
|
||||
},
|
||||
};
|
||||
|
||||
const body = {
|
||||
@@ -1027,6 +1031,10 @@ const head = {
|
||||
con: 11,
|
||||
set: 'stormKnightSet',
|
||||
},
|
||||
festiveHelperHat: {
|
||||
int: 12,
|
||||
set: 'festiveHelperSet',
|
||||
},
|
||||
};
|
||||
|
||||
const shield = {
|
||||
|
||||
@@ -67,6 +67,7 @@ const armor = {
|
||||
202401: { },
|
||||
202406: { },
|
||||
202407: { },
|
||||
202412: { },
|
||||
301404: { },
|
||||
301703: { },
|
||||
301704: { },
|
||||
@@ -232,6 +233,7 @@ const head = {
|
||||
202407: { },
|
||||
202409: { },
|
||||
202411: { },
|
||||
202412: { },
|
||||
301404: { },
|
||||
301405: { },
|
||||
301703: { },
|
||||
|
||||
@@ -779,6 +779,18 @@ const armor = {
|
||||
fall2024Rogue: {
|
||||
set: 'fall2024BlackCatRogueSet',
|
||||
},
|
||||
winter2025Warrior: {
|
||||
set: 'winter2025MooseWarriorSet',
|
||||
},
|
||||
winter2025Mage: {
|
||||
set: 'winter2025AuroraMageSet',
|
||||
},
|
||||
winter2025Healer: {
|
||||
set: 'winter2025StringLightsHealerSet',
|
||||
},
|
||||
winter2025Rogue: {
|
||||
set: 'winter2025SnowRogueSet',
|
||||
},
|
||||
};
|
||||
|
||||
const armorStats = {
|
||||
@@ -1868,6 +1880,18 @@ const head = {
|
||||
fall2024Rogue: {
|
||||
set: 'fall2024BlackCatRogueSet',
|
||||
},
|
||||
winter2025Warrior: {
|
||||
set: 'winter2025MooseWarriorSet',
|
||||
},
|
||||
winter2025Mage: {
|
||||
set: 'winter2025AuroraMageSet',
|
||||
},
|
||||
winter2025Healer: {
|
||||
set: 'winter2025StringLightsHealerSet',
|
||||
},
|
||||
winter2025Rogue: {
|
||||
set: 'winter2025SnowRogueSet',
|
||||
},
|
||||
};
|
||||
|
||||
const headStats = {
|
||||
@@ -2558,6 +2582,15 @@ const shield = {
|
||||
fall2024Rogue: {
|
||||
set: 'fall2024BlackCatRogueSet',
|
||||
},
|
||||
winter2025Warrior: {
|
||||
set: 'winter2025MooseWarriorSet',
|
||||
},
|
||||
winter2025Healer: {
|
||||
set: 'winter2025StringLightsHealerSet',
|
||||
},
|
||||
winter2025Rogue: {
|
||||
set: 'winter2025SnowRogueSet',
|
||||
},
|
||||
};
|
||||
|
||||
const shieldStats = {
|
||||
@@ -3237,6 +3270,18 @@ const weapon = {
|
||||
fall2024Rogue: {
|
||||
set: 'fall2024BlackCatRogueSet',
|
||||
},
|
||||
winter2025Warrior: {
|
||||
set: 'winter2025MooseWarriorSet',
|
||||
},
|
||||
winter2025Mage: {
|
||||
set: 'winter2025AuroraMageSet',
|
||||
},
|
||||
winter2025Healer: {
|
||||
set: 'winter2025StringLightsHealerSet',
|
||||
},
|
||||
winter2025Rogue: {
|
||||
set: 'winter2025SnowRogueSet',
|
||||
},
|
||||
};
|
||||
|
||||
const weaponStats = {
|
||||
|
||||
@@ -127,6 +127,7 @@ const premium = {
|
||||
},
|
||||
RoseGold: {},
|
||||
Koi: {},
|
||||
Gingerbread: {},
|
||||
};
|
||||
|
||||
const wacky = {
|
||||
|
||||
@@ -23,7 +23,8 @@ function safeGetSet (currentEvent, year, className) {
|
||||
}
|
||||
|
||||
function getCurrentSeasonalSets (currentEvent) {
|
||||
const year = new Date().getFullYear();
|
||||
const now = new Date();
|
||||
const year = now.getMonth() === 11 ? now.getFullYear() + 1 : now.getFullYear();
|
||||
return {
|
||||
rogue: safeGetSet(currentEvent, year, 'Rogue'),
|
||||
warrior: safeGetSet(currentEvent, year, 'Warrior'),
|
||||
|
||||
Reference in New Issue
Block a user