and more quest logic things to try

This commit is contained in:
CuriousMagpie
2022-01-07 17:36:47 -05:00
parent 73a29f94a6
commit 3eb9225b8b

View File

@@ -61,14 +61,11 @@ function lockQuest (quest, user) {
if (intersection(quest.prereqQuests, achievedQuestKeys) !== quest.prereqQuests) return true; if (intersection(quest.prereqQuests, achievedQuestKeys) !== quest.prereqQuests) return true;
} }
<<<<<<< HEAD
// OR THIS // OR THIS
// if (intersection(quest.prereqQuests, keys(user.quest.achievements)) !== quest.prereqQuests) { // if (intersection(quest.prereqQuests, keys(user.quest.achievements)) !== quest.prereqQuests) {
// return true; // return true;
// } // }
=======
>>>>>>> d0e9339d3b19d8c1f323b052d7146979193dddfd
// then if we've passed all the checks, at the end // then if we've passed all the checks, at the end
return false; return false;