Skip to content

Commit ab12e86

Browse files
committed
initial update
1 parent 00e6761 commit ab12e86

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

components/flags.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ export const defaultFlags: Flags = {
5555
desc: "When set to false, mastery progression will be disabled and all unlockables will be awarded at the beginning",
5656
default: true,
5757
},
58+
enableIsolatedUnlockables: {
59+
category: "Gameplay",
60+
title: "enableIsolatedUnlockables",
61+
desc: "Decides if items are unlocked when there are no associated unlocking approaches. Requires enableMasteryProgression to be enabled.",
62+
default: false,
63+
},
5864
elusivesAreShown: {
5965
category: "Gameplay",
6066
title: "elusivesAreShown",

components/inventory.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ const DELUXE_DATA = [
7373
...PENICILLIN_UNLOCKABLES,
7474
...TOMORROWLAND_UNLOCKABLES,
7575
...LAMBIC_UNLOCKABLES,
76+
...FRENCHMARTINI_UNLOCKABLES,
7677
]
7778

7879
/**
@@ -196,9 +197,9 @@ function filterUnlockedContent(
196197

197198
if (isEvergreen || isDeluxe) {
198199
acc[0].push(unlockable)
199-
} else {
200+
} else if (getFlag("enableIsolatedUnlockables")) {
200201
/**
201-
* List of untracked items (to award to user until they are tracked to corresponding challenges)
202+
* List of untracked items when they are enabled (to award to user until they are tracked to corresponding challenges)
202203
*/
203204
acc[1].push(unlockable)
204205
}

0 commit comments

Comments
 (0)