Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion public/resources/scss/stats.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1683,7 +1683,7 @@ a.additional-player-stat:hover {
inventory-view {
display: grid;
place-content: center center;
--inventory-width: clamp(300px, calc(100vw - 40px), 700px);
--inventory-width: clamp(300px, calc(100vw - 40px), 760px);
gap: calc(var(--inventory-width) * 0.01);
padding: calc(var(--inventory-width) * 0.01);
grid-template-columns: repeat(9, calc(var(--inventory-width) * 0.1));
Expand Down
5 changes: 4 additions & 1 deletion public/resources/ts/elements/rich-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
mousemoveLoreListener,
showBackpack,
} from "../stats-defer";
import { formatNumber } from "../../../../common/formatting";

@customElement("rich-item")
export class InventoryView extends LitElement {
Expand Down Expand Up @@ -55,7 +56,9 @@ export class InventoryView extends LitElement {
}
return html`
<div style="${ifDefined(style)}" class="${classMap(classes)}"></div>
${this.item.Count != 1 ? html`<div class="item-count">${this.item.Count}</div>` : undefined}
${this.item.Count != 1
? html`<div class="item-count">${formatNumber(this.item.Count, false, 0)}</div>`
: undefined}
`;
}

Expand Down
1 change: 1 addition & 0 deletions public/resources/ts/stats-defer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ export const ALL_ITEMS = new Map(
items.wardrobe_inventory,
items.storage,
items.hotm,
items.sacks,
items.bingo_card,
]
.flat()
Expand Down
1 change: 1 addition & 0 deletions src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ export * from "./constants/skins-animations.js";
export * from "./constants/tags.js";
export * from "./constants/trophy-fish.js";
export * from "./constants/accessories.js";
export * from "./constants/sacks.js";
Loading