Skip to content

Commit 77c4044

Browse files
Add h3 workaround to show suits without orderIndex
(looking at you, blindfold suit)
1 parent 6445cf8 commit 77c4044

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

components/inventory.ts

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -377,11 +377,17 @@ export class InventoryService {
377377
return false
378378
}
379379

380-
if (
381-
unlockContainer.Unlockable.Type === "disguise" &&
382-
!unlockContainer.Unlockable.Properties.OrderIndex
383-
) {
384-
return false
380+
// filter out level-specific disguises
381+
if (gameVersion === "h3") {
382+
if (unlockContainer.Unlockable.SubType === "disguise")
383+
return false
384+
} else {
385+
if (
386+
unlockContainer.Unlockable.Type === "disguise" &&
387+
!unlockContainer.Unlockable.Properties.OrderIndex
388+
) {
389+
return false
390+
}
385391
}
386392

387393
if (gameVersion === "h1") {

0 commit comments

Comments
 (0)