Skip to content

Commit

Permalink
Ignore cosmetic items
Browse files Browse the repository at this point in the history
  • Loading branch information
p3lim committed Sep 10, 2024
1 parent d6d2801 commit 4355e26
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/nondisenchantable.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@
continue

if row.InventoryType == 0 or row.InventoryType == 4:
# not equippable or a shirt
continue
# not equippable or a shirt
continue

if (getattr(row, 'Flags[3]') & 0x10000) != 0:
# cosmetic item
continue

items[row.ID] = {
'itemID': row.ID,
Expand Down

0 comments on commit 4355e26

Please sign in to comment.