mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
commit28193f86fbAuthor: Phillip Thelen <phillip@habitica.com> Date: Fri Jun 21 11:12:18 2024 +0200 Fix serving memoized content commit877fe48225Author: Phillip Thelen <phillip@habitica.com> Date: Thu Jun 20 12:23:24 2024 +0200 correctly memoize conent api commite0f6f79c5bAuthor: Phillip Thelen <phillip@habitica.com> Date: Thu Jun 20 10:11:27 2024 +0200 don’t build multiple times on heroku commitf62254d68eAuthor: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 19:40:20 2024 +0200 fix client command commitd054e6fc16Author: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 19:36:57 2024 +0200 correct build call commit7231f699c1Author: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 19:32:32 2024 +0200 try setting up with heroku buildpack commit1dae0793fdAuthor: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 18:50:32 2024 +0200 call gulp build:prod commitf18fbe86b6Author: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 18:40:53 2024 +0200 build client commit61a61724caAuthor: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 18:33:18 2024 +0200 testing commit93cf30eb18Author: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 18:20:25 2024 +0200 integration fix commitcff08adcd0Author: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 18:13:20 2024 +0200 specify dev docker file commit4da2ed4a1fAuthor: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 18:10:07 2024 +0200 initialize stub commit11c5b26c59Author: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 18:08:45 2024 +0200 test heroku file commitac85bb2e2dAuthor: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 18:03:15 2024 +0200 fix stub reference commit74dfb2710fAuthor: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 18:01:27 2024 +0200 test fixes commit8dbd3c3db1Author: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 17:37:04 2024 +0200 fix canOwn test commit74b3b348ffAuthor: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 17:32:31 2024 +0200 fix buy test commit3386d61fdeAuthor: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 17:30:37 2024 +0200 fix debug tests commit19da14531cAuthor: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 17:05:25 2024 +0200 add chameleon to featured quests commit254dd80f24Author: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 17:05:14 2024 +0200 fix import commit0bc3f16b4bAuthor: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 16:33:22 2024 +0200 add new content to new release file commit5184973bd5Author: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 16:33:11 2024 +0200 fix release date tests commitb6accca5caAuthor: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 16:33:06 2024 +0200 fix armoire tests commitfec68e6211Author: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 16:02:03 2024 +0200 fix tests commitfc63c906ddAuthor: Phillip Thelen <phillip@habitica.com> Date: Mon Jun 10 14:44:21 2024 +0200 Improve test coverage commit3333f8f0f5Author: Phillip Thelen <phillip@habitica.com> Date: Mon Jun 10 14:24:59 2024 +0200 allow hatching potions to have a release date commit89a3ac3ddeAuthor: Phillip Thelen <phillip@habitica.com> Date: Mon Jun 10 14:11:38 2024 +0200 allow eggs to have a release date # Conflicts: # test/content/armoire.test.js commit16551ec83fMerge:f5f4974a732645bf6023Author: CuriousMagpie <eilatan@gmail.com> Date: Tue Jun 18 15:03:12 2024 -0400 Merge branch '2024-07-content-prebuild' into subs-private commit2645bf6023Author: CuriousMagpie <eilatan@gmail.com> Date: Tue Jun 18 15:02:47 2024 -0400 update habitica images commitf5f4974a73Author: CuriousMagpie <eilatan@gmail.com> Date: Tue Jun 18 14:58:13 2024 -0400 update habitica-images commit162e337d14Merge:f2506c323121a7d36b7bAuthor: CuriousMagpie <eilatan@gmail.com> Date: Tue Jun 18 13:46:03 2024 -0400 Merge branch '2024-07-content-prebuild' into subs-private commit21a7d36b7bAuthor: CuriousMagpie <eilatan@gmail.com> Date: Tue Jun 18 13:45:09 2024 -0400 update sprites commitf2506c3231Author: CuriousMagpie <eilatan@gmail.com> Date: Tue Jun 18 13:24:21 2024 -0400 updated sprites css commitd47641e25aAuthor: CuriousMagpie <eilatan@gmail.com> Date: Tue Jun 18 12:46:59 2024 -0400 typo fix commitfb8479ad1eAuthor: CuriousMagpie <eilatan@gmail.com> Date: Mon Jun 17 13:44:36 2024 -0400 finish July prebuild commit3810cf3ef3Author: CuriousMagpie <eilatan@gmail.com> Date: Fri Jun 14 10:42:47 2024 -0400 add chameleon quest commitd05da3722cAuthor: CuriousMagpie <eilatan@gmail.com> Date: Thu Jun 13 17:12:43 2024 -0400 add June background notes commitb8a3440ef2Author: CuriousMagpie <eilatan@gmail.com> Date: Thu Jun 13 16:40:04 2024 -0400 fix mystery item and background description commit44d63032d8Author: CuriousMagpie <eilatan@gmail.com> Date: Thu Jun 13 15:38:23 2024 -0400 add subscriber gear, enchanted armoire, and background commit9d7da91ec6Author: CuriousMagpie <eilatan@gmail.com> Date: Thu Jun 13 14:44:59 2024 -0400 add sprites
439 lines
13 KiB
JavaScript
439 lines
13 KiB
JavaScript
import defaults from 'lodash/defaults';
|
|
import each from 'lodash/each';
|
|
import assign from 'lodash/assign';
|
|
import t from './translation';
|
|
import { filterReleased } from './is_released';
|
|
import { EGGS_RELEASE_DATES } from './constants/releaseDates';
|
|
import datedMemoize from '../fns/datedMemoize';
|
|
|
|
function applyEggDefaults (set, config) {
|
|
each(set, (egg, key) => {
|
|
defaults(egg, {
|
|
canBuy: config.canBuy,
|
|
value: 3,
|
|
key,
|
|
notes: t('eggNotes', {
|
|
eggText: egg.text,
|
|
eggAdjective: egg.adjective,
|
|
}),
|
|
mountText: egg.text,
|
|
});
|
|
});
|
|
}
|
|
|
|
function hasQuestAchievementFunction (key) {
|
|
return user => user.achievements.quests
|
|
&& user.achievements.quests[key] > 0;
|
|
}
|
|
|
|
const drops = {
|
|
Wolf: {
|
|
text: t('dropEggWolfText'),
|
|
mountText: t('dropEggWolfMountText'),
|
|
adjective: t('dropEggWolfAdjective'),
|
|
},
|
|
TigerCub: {
|
|
text: t('dropEggTigerCubText'),
|
|
mountText: t('dropEggTigerCubMountText'),
|
|
adjective: t('dropEggTigerCubAdjective'),
|
|
},
|
|
PandaCub: {
|
|
text: t('dropEggPandaCubText'),
|
|
mountText: t('dropEggPandaCubMountText'),
|
|
adjective: t('dropEggPandaCubAdjective'),
|
|
},
|
|
LionCub: {
|
|
text: t('dropEggLionCubText'),
|
|
mountText: t('dropEggLionCubMountText'),
|
|
adjective: t('dropEggLionCubAdjective'),
|
|
},
|
|
Fox: {
|
|
text: t('dropEggFoxText'),
|
|
mountText: t('dropEggFoxMountText'),
|
|
adjective: t('dropEggFoxAdjective'),
|
|
},
|
|
FlyingPig: {
|
|
text: t('dropEggFlyingPigText'),
|
|
mountText: t('dropEggFlyingPigMountText'),
|
|
adjective: t('dropEggFlyingPigAdjective'),
|
|
},
|
|
Dragon: {
|
|
text: t('dropEggDragonText'),
|
|
mountText: t('dropEggDragonMountText'),
|
|
adjective: t('dropEggDragonAdjective'),
|
|
},
|
|
Cactus: {
|
|
text: t('dropEggCactusText'),
|
|
mountText: t('dropEggCactusMountText'),
|
|
adjective: t('dropEggCactusAdjective'),
|
|
},
|
|
BearCub: {
|
|
text: t('dropEggBearCubText'),
|
|
mountText: t('dropEggBearCubMountText'),
|
|
adjective: t('dropEggBearCubAdjective'),
|
|
},
|
|
};
|
|
|
|
const quests = {
|
|
Gryphon: {
|
|
text: t('questEggGryphonText'),
|
|
mountText: t('questEggGryphonMountText'),
|
|
adjective: t('questEggGryphonAdjective'),
|
|
canBuy: hasQuestAchievementFunction('gryphon'),
|
|
},
|
|
Hedgehog: {
|
|
text: t('questEggHedgehogText'),
|
|
mountText: t('questEggHedgehogMountText'),
|
|
adjective: t('questEggHedgehogAdjective'),
|
|
canBuy: hasQuestAchievementFunction('hedgehog'),
|
|
},
|
|
Deer: {
|
|
text: t('questEggDeerText'),
|
|
mountText: t('questEggDeerMountText'),
|
|
adjective: t('questEggDeerAdjective'),
|
|
canBuy: hasQuestAchievementFunction('ghost_stag'),
|
|
},
|
|
Egg: {
|
|
text: t('questEggEggText'),
|
|
mountText: t('questEggEggMountText'),
|
|
adjective: t('questEggEggAdjective'),
|
|
},
|
|
Rat: {
|
|
text: t('questEggRatText'),
|
|
mountText: t('questEggRatMountText'),
|
|
adjective: t('questEggRatAdjective'),
|
|
canBuy: hasQuestAchievementFunction('rat'),
|
|
},
|
|
Octopus: {
|
|
text: t('questEggOctopusText'),
|
|
mountText: t('questEggOctopusMountText'),
|
|
adjective: t('questEggOctopusAdjective'),
|
|
canBuy: hasQuestAchievementFunction('octopus'),
|
|
},
|
|
Seahorse: {
|
|
text: t('questEggSeahorseText'),
|
|
mountText: t('questEggSeahorseMountText'),
|
|
adjective: t('questEggSeahorseAdjective'),
|
|
canBuy: hasQuestAchievementFunction('dilatory_derby'),
|
|
},
|
|
Parrot: {
|
|
text: t('questEggParrotText'),
|
|
mountText: t('questEggParrotMountText'),
|
|
adjective: t('questEggParrotAdjective'),
|
|
canBuy: hasQuestAchievementFunction('harpy'),
|
|
},
|
|
Rooster: {
|
|
text: t('questEggRoosterText'),
|
|
mountText: t('questEggRoosterMountText'),
|
|
adjective: t('questEggRoosterAdjective'),
|
|
canBuy: hasQuestAchievementFunction('rooster'),
|
|
},
|
|
Spider: {
|
|
text: t('questEggSpiderText'),
|
|
mountText: t('questEggSpiderMountText'),
|
|
adjective: t('questEggSpiderAdjective'),
|
|
canBuy: hasQuestAchievementFunction('spider'),
|
|
},
|
|
Owl: {
|
|
text: t('questEggOwlText'),
|
|
mountText: t('questEggOwlMountText'),
|
|
adjective: t('questEggOwlAdjective'),
|
|
canBuy: hasQuestAchievementFunction('owl'),
|
|
},
|
|
Penguin: {
|
|
text: t('questEggPenguinText'),
|
|
mountText: t('questEggPenguinMountText'),
|
|
adjective: t('questEggPenguinAdjective'),
|
|
canBuy: hasQuestAchievementFunction('penguin'),
|
|
},
|
|
TRex: {
|
|
text: t('questEggTRexText'),
|
|
mountText: t('questEggTRexMountText'),
|
|
adjective: t('questEggTRexAdjective'),
|
|
canBuy (user) {
|
|
const questAchievements = user.achievements.quests;
|
|
|
|
return questAchievements && (
|
|
questAchievements.trex > 0
|
|
|| questAchievements.trex_undead > 0
|
|
);
|
|
},
|
|
},
|
|
Rock: {
|
|
text: t('questEggRockText'),
|
|
mountText: t('questEggRockMountText'),
|
|
adjective: t('questEggRockAdjective'),
|
|
canBuy: hasQuestAchievementFunction('rock'),
|
|
},
|
|
Bunny: {
|
|
text: t('questEggBunnyText'),
|
|
mountText: t('questEggBunnyMountText'),
|
|
adjective: t('questEggBunnyAdjective'),
|
|
canBuy: hasQuestAchievementFunction('bunny'),
|
|
},
|
|
Slime: {
|
|
text: t('questEggSlimeText'),
|
|
mountText: t('questEggSlimeMountText'),
|
|
adjective: t('questEggSlimeAdjective'),
|
|
canBuy: hasQuestAchievementFunction('slime'),
|
|
},
|
|
Sheep: {
|
|
text: t('questEggSheepText'),
|
|
mountText: t('questEggSheepMountText'),
|
|
adjective: t('questEggSheepAdjective'),
|
|
canBuy: hasQuestAchievementFunction('sheep'),
|
|
},
|
|
Cuttlefish: {
|
|
text: t('questEggCuttlefishText'),
|
|
mountText: t('questEggCuttlefishMountText'),
|
|
adjective: t('questEggCuttlefishAdjective'),
|
|
canBuy: hasQuestAchievementFunction('kraken'),
|
|
},
|
|
Whale: {
|
|
text: t('questEggWhaleText'),
|
|
mountText: t('questEggWhaleMountText'),
|
|
adjective: t('questEggWhaleAdjective'),
|
|
canBuy: hasQuestAchievementFunction('whale'),
|
|
},
|
|
Cheetah: {
|
|
text: t('questEggCheetahText'),
|
|
mountText: t('questEggCheetahMountText'),
|
|
adjective: t('questEggCheetahAdjective'),
|
|
canBuy: hasQuestAchievementFunction('cheetah'),
|
|
},
|
|
Horse: {
|
|
text: t('questEggHorseText'),
|
|
mountText: t('questEggHorseMountText'),
|
|
adjective: t('questEggHorseAdjective'),
|
|
canBuy: hasQuestAchievementFunction('horse'),
|
|
},
|
|
Frog: {
|
|
text: t('questEggFrogText'),
|
|
mountText: t('questEggFrogMountText'),
|
|
adjective: t('questEggFrogAdjective'),
|
|
canBuy: hasQuestAchievementFunction('frog'),
|
|
},
|
|
Snake: {
|
|
text: t('questEggSnakeText'),
|
|
mountText: t('questEggSnakeMountText'),
|
|
adjective: t('questEggSnakeAdjective'),
|
|
canBuy: hasQuestAchievementFunction('snake'),
|
|
},
|
|
Unicorn: {
|
|
text: t('questEggUnicornText'),
|
|
mountText: t('questEggUnicornMountText'),
|
|
adjective: t('questEggUnicornAdjective'),
|
|
canBuy: hasQuestAchievementFunction('unicorn'),
|
|
},
|
|
Sabretooth: {
|
|
text: t('questEggSabretoothText'),
|
|
mountText: t('questEggSabretoothMountText'),
|
|
adjective: t('questEggSabretoothAdjective'),
|
|
canBuy: hasQuestAchievementFunction('sabretooth'),
|
|
},
|
|
Monkey: {
|
|
text: t('questEggMonkeyText'),
|
|
mountText: t('questEggMonkeyMountText'),
|
|
adjective: t('questEggMonkeyAdjective'),
|
|
canBuy: hasQuestAchievementFunction('monkey'),
|
|
},
|
|
Snail: {
|
|
text: t('questEggSnailText'),
|
|
mountText: t('questEggSnailMountText'),
|
|
adjective: t('questEggSnailAdjective'),
|
|
canBuy: hasQuestAchievementFunction('snail'),
|
|
},
|
|
Falcon: {
|
|
text: t('questEggFalconText'),
|
|
mountText: t('questEggFalconMountText'),
|
|
adjective: t('questEggFalconAdjective'),
|
|
canBuy: hasQuestAchievementFunction('falcon'),
|
|
},
|
|
Treeling: {
|
|
text: t('questEggTreelingText'),
|
|
mountText: t('questEggTreelingMountText'),
|
|
adjective: t('questEggTreelingAdjective'),
|
|
canBuy: hasQuestAchievementFunction('treeling'),
|
|
},
|
|
Axolotl: {
|
|
text: t('questEggAxolotlText'),
|
|
mountText: t('questEggAxolotlMountText'),
|
|
adjective: t('questEggAxolotlAdjective'),
|
|
canBuy: hasQuestAchievementFunction('axolotl'),
|
|
},
|
|
Turtle: {
|
|
text: t('questEggTurtleText'),
|
|
mountText: t('questEggTurtleMountText'),
|
|
adjective: t('questEggTurtleAdjective'),
|
|
canBuy: hasQuestAchievementFunction('turtle'),
|
|
},
|
|
Armadillo: {
|
|
text: t('questEggArmadilloText'),
|
|
mountText: t('questEggArmadilloMountText'),
|
|
adjective: t('questEggArmadilloAdjective'),
|
|
canBuy: hasQuestAchievementFunction('armadillo'),
|
|
},
|
|
Cow: {
|
|
text: t('questEggCowText'),
|
|
mountText: t('questEggCowMountText'),
|
|
adjective: t('questEggCowAdjective'),
|
|
canBuy: hasQuestAchievementFunction('cow'),
|
|
},
|
|
Beetle: {
|
|
text: t('questEggBeetleText'),
|
|
mountText: t('questEggBeetleMountText'),
|
|
adjective: t('questEggBeetleAdjective'),
|
|
canBuy: hasQuestAchievementFunction('beetle'),
|
|
},
|
|
Ferret: {
|
|
text: t('questEggFerretText'),
|
|
mountText: t('questEggFerretMountText'),
|
|
adjective: t('questEggFerretAdjective'),
|
|
canBuy: hasQuestAchievementFunction('ferret'),
|
|
},
|
|
Sloth: {
|
|
text: t('questEggSlothText'),
|
|
mountText: t('questEggSlothMountText'),
|
|
adjective: t('questEggSlothAdjective'),
|
|
canBuy: hasQuestAchievementFunction('sloth'),
|
|
},
|
|
Triceratops: {
|
|
text: t('questEggTriceratopsText'),
|
|
mountText: t('questEggTriceratopsMountText'),
|
|
adjective: t('questEggTriceratopsAdjective'),
|
|
canBuy: hasQuestAchievementFunction('triceratops'),
|
|
},
|
|
GuineaPig: {
|
|
text: t('questEggGuineaPigText'),
|
|
mountText: t('questEggGuineaPigMountText'),
|
|
adjective: t('questEggGuineaPigAdjective'),
|
|
canBuy: hasQuestAchievementFunction('guineapig'),
|
|
},
|
|
Peacock: {
|
|
text: t('questEggPeacockText'),
|
|
mountText: t('questEggPeacockMountText'),
|
|
adjective: t('questEggPeacockAdjective'),
|
|
canBuy: hasQuestAchievementFunction('peacock'),
|
|
},
|
|
Butterfly: {
|
|
text: t('questEggButterflyText'),
|
|
mountText: t('questEggButterflyMountText'),
|
|
adjective: t('questEggButterflyAdjective'),
|
|
canBuy: hasQuestAchievementFunction('butterfly'),
|
|
},
|
|
Nudibranch: {
|
|
text: t('questEggNudibranchText'),
|
|
mountText: t('questEggNudibranchMountText'),
|
|
adjective: t('questEggNudibranchAdjective'),
|
|
canBuy: hasQuestAchievementFunction('nudibranch'),
|
|
},
|
|
Hippo: {
|
|
text: t('questEggHippoText'),
|
|
mountText: t('questEggHippoMountText'),
|
|
adjective: t('questEggHippoAdjective'),
|
|
canBuy: hasQuestAchievementFunction('hippo'),
|
|
},
|
|
Yarn: {
|
|
text: t('questEggYarnText'),
|
|
mountText: t('questEggYarnMountText'),
|
|
adjective: t('questEggYarnAdjective'),
|
|
canBuy: hasQuestAchievementFunction('yarn'),
|
|
},
|
|
Pterodactyl: {
|
|
text: t('questEggPterodactylText'),
|
|
mountText: t('questEggPterodactylMountText'),
|
|
adjective: t('questEggPterodactylAdjective'),
|
|
canBuy: hasQuestAchievementFunction('pterodactyl'),
|
|
},
|
|
Badger: {
|
|
text: t('questEggBadgerText'),
|
|
mountText: t('questEggBadgerMountText'),
|
|
adjective: t('questEggBadgerAdjective'),
|
|
canBuy: hasQuestAchievementFunction('badger'),
|
|
},
|
|
Squirrel: {
|
|
text: t('questEggSquirrelText'),
|
|
mountText: t('questEggSquirrelMountText'),
|
|
adjective: t('questEggSquirrelAdjective'),
|
|
canBuy: hasQuestAchievementFunction('squirrel'),
|
|
},
|
|
SeaSerpent: {
|
|
text: t('questEggSeaSerpentText'),
|
|
mountText: t('questEggSeaSerpentMountText'),
|
|
adjective: t('questEggSeaSerpentAdjective'),
|
|
canBuy: hasQuestAchievementFunction('seaserpent'),
|
|
},
|
|
Kangaroo: {
|
|
text: t('questEggKangarooText'),
|
|
mountText: t('questEggKangarooMountText'),
|
|
adjective: t('questEggKangarooAdjective'),
|
|
canBuy: hasQuestAchievementFunction('kangaroo'),
|
|
},
|
|
Alligator: {
|
|
text: t('questEggAlligatorText'),
|
|
mountText: t('questEggAlligatorMountText'),
|
|
adjective: t('questEggAlligatorAdjective'),
|
|
canBuy: hasQuestAchievementFunction('alligator'),
|
|
},
|
|
Velociraptor: {
|
|
text: t('questEggVelociraptorText'),
|
|
mountText: t('questEggVelociraptorMountText'),
|
|
adjective: t('questEggVelociraptorAdjective'),
|
|
canBuy: hasQuestAchievementFunction('velociraptor'),
|
|
},
|
|
Dolphin: {
|
|
text: t('questEggDolphinText'),
|
|
mountText: t('questEggDolphinMountText'),
|
|
adjective: t('questEggDolphinAdjective'),
|
|
canBuy: hasQuestAchievementFunction('dolphin'),
|
|
},
|
|
Robot: {
|
|
text: t('questEggRobotText'),
|
|
mountText: t('questEggRobotMountText'),
|
|
adjective: t('questEggRobotAdjective'),
|
|
canBuy: hasQuestAchievementFunction('robot'),
|
|
},
|
|
Giraffe: {
|
|
text: t('questEggGiraffeText'),
|
|
mountText: t('questEggGiraffeMountText'),
|
|
adjective: t('questEggGiraffeAdjective'),
|
|
canBuy: hasQuestAchievementFunction('giraffe'),
|
|
},
|
|
Chameleon: {
|
|
text: t('questEggChameleonText'),
|
|
mountText: t('questEggChameleonMountText'),
|
|
adjective: t('questEggChameleonAdjective'),
|
|
canBuy: hasQuestAchievementFunction('chameleon'),
|
|
},
|
|
};
|
|
|
|
applyEggDefaults(drops, {
|
|
canBuy () {
|
|
return true;
|
|
},
|
|
});
|
|
|
|
applyEggDefaults(quests, {
|
|
canBuy () {
|
|
return false;
|
|
},
|
|
});
|
|
|
|
function filterEggs (eggs) {
|
|
return filterReleased(eggs, 'key', EGGS_RELEASE_DATES);
|
|
}
|
|
|
|
const memoizedFilter = datedMemoize(filterEggs);
|
|
|
|
export default {
|
|
get drops () {
|
|
return memoizedFilter({ memoizeConfig: true, identifier: 'drops' }, drops);
|
|
},
|
|
get quests () {
|
|
return memoizedFilter({ memoizeConfig: true, identifier: 'quests' }, quests);
|
|
},
|
|
get all () {
|
|
return assign({}, this.drops, this.quests);
|
|
},
|
|
};
|