Fix: Inconsistent Quest Unlock Behavior (#13734)

* remove quest refactoring, created new branch for that task

* remove quest refactoring, created new branch for that task

* More trying to figure out how buying a quest actually works

* rolling back changes

* updated shops/quests/index.vue to disable clicking on locked quests

* removed console.log(item)

* misc fixes per review comments

* changes as requested

* incorporated quest refactors updates

* removing a couple lines of code
This commit is contained in:
Natalie L
2022-05-05 17:51:47 -04:00
committed by GitHub
parent de4ebbac7b
commit 5e12b7b042
6 changed files with 101 additions and 85 deletions

View File

@@ -2,17 +2,15 @@ import defaults from 'lodash/defaults';
import each from 'lodash/each';
import sortBy from 'lodash/sortBy';
import t from './translation';
import {
USER_CAN_OWN_QUEST_CATEGORIES,
QUEST_GENERIC,
QUEST_MASTERCLASSER,
QUEST_PETS,
QUEST_POTIONS,
QUEST_SEASONAL,
QUEST_SERIES,
QUEST_TIME_TRAVEL,
QUEST_WORLD,
} from './constants';
import { USER_CAN_OWN_QUEST_CATEGORIES } from './constants';
import QUEST_GENERIC from './quests/generic';
import QUEST_MASTERCLASSER from './quests/masterclasser';
import QUEST_PETS from './quests/pets';
import QUEST_POTIONS from './quests/potions';
import QUEST_SEASONAL from './quests/seasonal';
import QUEST_SERIES from './quests/series';
import QUEST_TIME_TRAVEL from './quests/timeTravel';
import QUEST_WORLD from './quests/world';
const userCanOwnQuestCategories = USER_CAN_OWN_QUEST_CATEGORIES;
const questGeneric = QUEST_GENERIC;