mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
fix(quests): hide offseason quests, again
Also tidy up some Reptacular Rumble issues
This commit is contained in:
Submodule habitica-images updated: d7d7eeb46e...22d251cecb
@@ -305,8 +305,8 @@
|
|||||||
}
|
}
|
||||||
.achievement-reptacularRumble2x {
|
.achievement-reptacularRumble2x {
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/achievement-reptacularRumble2x.png');
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/achievement-reptacularRumble2x.png');
|
||||||
width: 68px;
|
width: 60px;
|
||||||
height: 68px;
|
height: 64px;
|
||||||
}
|
}
|
||||||
.achievement-rosyOutlook2x {
|
.achievement-rosyOutlook2x {
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/achievement-rosyOutlook2x.png');
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/achievement-rosyOutlook2x.png');
|
||||||
|
|||||||
@@ -128,10 +128,9 @@
|
|||||||
"achievementZodiacZookeeperText": "Has hatched all standard colors of zodiac pets: Rat, Cow, Bunny, Snake, Horse, Sheep, Monkey, Rooster, Wolf, Tiger, Flying Pig, and Dragon!",
|
"achievementZodiacZookeeperText": "Has hatched all standard colors of zodiac pets: Rat, Cow, Bunny, Snake, Horse, Sheep, Monkey, Rooster, Wolf, Tiger, Flying Pig, and Dragon!",
|
||||||
"achievementZodiacZookeeperModalText": "You collected all the zodiac pets!",
|
"achievementZodiacZookeeperModalText": "You collected all the zodiac pets!",
|
||||||
"achievementBirdsOfAFeather": "Birds of a Feather",
|
"achievementBirdsOfAFeather": "Birds of a Feather",
|
||||||
"achievementBirdsOfAFeatherText": "Has hatched all standard colors of flying pets: Flying Pig, Owl, Parrot, Pterodactyl, Gryphon, Falcon, Peacock, and Rooster.",
|
"achievementBirdsOfAFeatherText": "Has hatched all standard colors of flying pets: Flying Pig, Owl, Parrot, Pterodactyl, Gryphon, Falcon, Peacock, and Rooster!",
|
||||||
"achievementBirdsOfAFeatherModalText": "You collected all the flying pets!",
|
"achievementBirdsOfAFeatherModalText": "You collected all the flying pets!",
|
||||||
"achievementReptacularRumble": "Reptacular Rumble",
|
"achievementReptacularRumble": "Reptacular Rumble",
|
||||||
"achievementReptacularRumbleText": "Has hatched all the standard colors of reptile pets: Alligator, Pterodactyl, Snake, Triceratops, Turtle, Tyrannosaurus Rex, and Velociraptor.",
|
"achievementReptacularRumbleText": "Has hatched all the standard colors of reptile pets: Alligator, Pterodactyl, Snake, Triceratops, Turtle, Tyrannosaurus Rex, and Velociraptor!",
|
||||||
"achievementReptacularRumbleModalText": "You collected all the reptile pets!"
|
"achievementReptacularRumbleModalText": "You collected all the reptile pets!"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -186,7 +186,7 @@ const animalSetAchievs = {
|
|||||||
reptacularRumble: {
|
reptacularRumble: {
|
||||||
icon: 'achievement-reptacularRumble',
|
icon: 'achievement-reptacularRumble',
|
||||||
titleKey: 'achievementReptacularRumble',
|
titleKey: 'achievementReptacularRumble',
|
||||||
textKey: 'achievementReptacularRumble',
|
textKey: 'achievementReptacularRumbleText',
|
||||||
},
|
},
|
||||||
zodiacZookeeper: {
|
zodiacZookeeper: {
|
||||||
icon: 'achievement-zodiac',
|
icon: 'achievement-zodiac',
|
||||||
|
|||||||
@@ -11,6 +11,9 @@ const QUEST_SEASONAL = {
|
|||||||
// winter
|
// winter
|
||||||
evilsanta: {
|
evilsanta: {
|
||||||
event: CURRENT_EVENT && CURRENT_EVENT.season === 'winter' ? CURRENT_EVENT : null,
|
event: CURRENT_EVENT && CURRENT_EVENT.season === 'winter' ? CURRENT_EVENT : null,
|
||||||
|
canBuy () {
|
||||||
|
return this.event && moment().isBetween(this.event.start, this.event.end);
|
||||||
|
},
|
||||||
text: t('questEvilSantaText'),
|
text: t('questEvilSantaText'),
|
||||||
notes: t('questEvilSantaNotes'),
|
notes: t('questEvilSantaNotes'),
|
||||||
addlNotes: t('evilSantaAddlNotes'),
|
addlNotes: t('evilSantaAddlNotes'),
|
||||||
@@ -36,6 +39,9 @@ const QUEST_SEASONAL = {
|
|||||||
},
|
},
|
||||||
evilsanta2: {
|
evilsanta2: {
|
||||||
event: CURRENT_EVENT && CURRENT_EVENT.season === 'winter' ? CURRENT_EVENT : null,
|
event: CURRENT_EVENT && CURRENT_EVENT.season === 'winter' ? CURRENT_EVENT : null,
|
||||||
|
canBuy () {
|
||||||
|
return this.event && moment().isBetween(this.event.start, this.event.end);
|
||||||
|
},
|
||||||
text: t('questEvilSanta2Text'),
|
text: t('questEvilSanta2Text'),
|
||||||
notes: t('questEvilSanta2Notes'),
|
notes: t('questEvilSanta2Notes'),
|
||||||
addlNotes: t('evilSantaAddlNotes'),
|
addlNotes: t('evilSantaAddlNotes'),
|
||||||
@@ -66,12 +72,15 @@ const QUEST_SEASONAL = {
|
|||||||
},
|
},
|
||||||
// spring
|
// spring
|
||||||
egg: {
|
egg: {
|
||||||
|
event: CURRENT_EVENT && CURRENT_EVENT.season === 'spring' ? CURRENT_EVENT : null,
|
||||||
|
canBuy () {
|
||||||
|
return this.event && moment().isBetween(this.event.start, this.event.end);
|
||||||
|
},
|
||||||
text: t('questEggHuntText'),
|
text: t('questEggHuntText'),
|
||||||
notes: t('questEggHuntNotes'),
|
notes: t('questEggHuntNotes'),
|
||||||
completion: t('questEggHuntCompletion'),
|
completion: t('questEggHuntCompletion'),
|
||||||
value: 1,
|
value: 1,
|
||||||
category: 'pet',
|
category: 'pet',
|
||||||
event: CURRENT_EVENT && CURRENT_EVENT.season === 'spring' ? CURRENT_EVENT : null,
|
|
||||||
collect: {
|
collect: {
|
||||||
plainEgg: {
|
plainEgg: {
|
||||||
text: t('questEggHuntCollectPlainEgg'),
|
text: t('questEggHuntCollectPlainEgg'),
|
||||||
@@ -127,12 +136,15 @@ const QUEST_SEASONAL = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
waffle: {
|
waffle: {
|
||||||
|
event: CURRENT_EVENT && CURRENT_EVENT.season === 'spring' ? CURRENT_EVENT : null,
|
||||||
|
canBuy () {
|
||||||
|
return this.event && moment().isBetween(this.event.start, this.event.end);
|
||||||
|
},
|
||||||
text: t('questWaffleText'),
|
text: t('questWaffleText'),
|
||||||
notes: t('questWaffleNotes'),
|
notes: t('questWaffleNotes'),
|
||||||
completion: t('questWaffleCompletion'),
|
completion: t('questWaffleCompletion'),
|
||||||
value: 4,
|
value: 4,
|
||||||
category: 'hatchingPotion',
|
category: 'hatchingPotion',
|
||||||
event: CURRENT_EVENT && CURRENT_EVENT.season === 'spring' ? CURRENT_EVENT : null,
|
|
||||||
boss: {
|
boss: {
|
||||||
name: t('questWaffleBoss'),
|
name: t('questWaffleBoss'),
|
||||||
hp: 500,
|
hp: 500,
|
||||||
@@ -167,15 +179,15 @@ const QUEST_SEASONAL = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
virtualpet: {
|
virtualpet: {
|
||||||
|
event: CURRENT_EVENT && CURRENT_EVENT.season === 'spring' ? CURRENT_EVENT : null,
|
||||||
|
canBuy () {
|
||||||
|
return this.event && moment().isBetween(this.event.start, this.event.end);
|
||||||
|
},
|
||||||
text: t('questVirtualPetText'),
|
text: t('questVirtualPetText'),
|
||||||
notes: t('questVirtualPetNotes'),
|
notes: t('questVirtualPetNotes'),
|
||||||
completion: t('questVirtualPetCompletion'),
|
completion: t('questVirtualPetCompletion'),
|
||||||
value: 4,
|
value: 4,
|
||||||
category: 'hatchingPotion',
|
category: 'hatchingPotion',
|
||||||
canBuy () {
|
|
||||||
return CURRENT_EVENT && CURRENT_EVENT.season === 'spring';
|
|
||||||
},
|
|
||||||
event: CURRENT_EVENT && CURRENT_EVENT.season === 'spring' ? CURRENT_EVENT : null,
|
|
||||||
boss: {
|
boss: {
|
||||||
name: t('questVirtualPetBoss'),
|
name: t('questVirtualPetBoss'),
|
||||||
hp: 500,
|
hp: 500,
|
||||||
|
|||||||
Reference in New Issue
Block a user