diff --git a/src/app/(stats)/player/[ign]/_stats/pit/pit.tsx b/src/app/(stats)/player/[ign]/_stats/pit/pit.tsx
index 1a0fa17..8e8d9c2 100644
--- a/src/app/(stats)/player/[ign]/_stats/pit/pit.tsx
+++ b/src/app/(stats)/player/[ign]/_stats/pit/pit.tsx
@@ -7,6 +7,7 @@ import { getLevelColor, getPrestige, getPrestigeColor } from "@/lib/hypixel/pit/
import { getPitLevel } from "@/lib/hypixel/pit/level"
import { NonNullStats } from "@/lib/schema/player"
import CollapsedStats from "../../_components/CollapsedStats"
+import PitGeneralStats from "./stats"
export default function PitStats({ stats }: { stats: NonNullStats["Pit"] }) {
if (!stats) return null
@@ -51,6 +52,7 @@ export default function PitStats({ stats }: { stats: NonNullStats["Pit"] }) {
+
diff --git a/src/app/(stats)/player/[ign]/_stats/pit/stats.tsx b/src/app/(stats)/player/[ign]/_stats/pit/stats.tsx
new file mode 100644
index 0000000..2161481
--- /dev/null
+++ b/src/app/(stats)/player/[ign]/_stats/pit/stats.tsx
@@ -0,0 +1,33 @@
+import { formatNumber } from "@/lib/formatters"
+import { romanize } from "@/lib/hypixel/general"
+import { getLevelColor, getPrestige, getPrestigeColor } from "@/lib/hypixel/pit/general"
+import { getPitLevel } from "@/lib/hypixel/pit/level"
+import { NonNullStats } from "@/lib/schema/player"
+import { BasicStat } from "../../_components/Stats"
+
+export default function PitGeneralStats({ stats }: { stats: NonNullable }) {
+ const prestige = getPrestige(stats)
+ const level = getPitLevel(stats.profile.xp, prestige)
+ const pretigeColor = getPrestigeColor(prestige)
+ const levelColor = getLevelColor(level)
+
+ return (
+
+ )
+}
diff --git a/src/lib/schema/stats.ts b/src/lib/schema/stats.ts
index a930b88..53603be 100644
--- a/src/lib/schema/stats.ts
+++ b/src/lib/schema/stats.ts
@@ -449,7 +449,8 @@ export const uhcSchema = z.looseObject({
export const pitStats = z.looseObject({
pit_stats_ptl: z.looseObject({
kills: z.number().default(0),
- deaths: z.number().default(0)
+ deaths: z.number().default(0),
+ cash_earned: z.number().default(0)
}),
profile: z.looseObject({
prestiges: z.array(z.looseObject({
@@ -457,7 +458,9 @@ export const pitStats = z.looseObject({
xp_on_prestige: z.number(),
timestamp: z.number()
})),
- xp: z.number().default(0)
+ xp: z.number().default(0),
+ cash: z.number().default(0),
+ renown: z.number().default(0)
})
}).transform(({ profile, pit_stats_ptl, ...rest }) => ({
profile,