diff --git a/public/stakes/black_stake.png b/public/stakes/black_stake.png new file mode 100644 index 0000000..8aa35b7 Binary files /dev/null and b/public/stakes/black_stake.png differ diff --git a/public/stakes/blue_stake.png b/public/stakes/blue_stake.png new file mode 100644 index 0000000..25d86e1 Binary files /dev/null and b/public/stakes/blue_stake.png differ diff --git a/public/stakes/gold_stake.png b/public/stakes/gold_stake.png new file mode 100644 index 0000000..fdc88e8 Binary files /dev/null and b/public/stakes/gold_stake.png differ diff --git a/public/stakes/green_stake.png b/public/stakes/green_stake.png new file mode 100644 index 0000000..b87e959 Binary files /dev/null and b/public/stakes/green_stake.png differ diff --git a/public/stakes/orange_stake.png b/public/stakes/orange_stake.png new file mode 100644 index 0000000..e905679 Binary files /dev/null and b/public/stakes/orange_stake.png differ diff --git a/public/stakes/purple_stake.png b/public/stakes/purple_stake.png new file mode 100644 index 0000000..54f1861 Binary files /dev/null and b/public/stakes/purple_stake.png differ diff --git a/public/stakes/red_stake.png b/public/stakes/red_stake.png new file mode 100644 index 0000000..63308c0 Binary files /dev/null and b/public/stakes/red_stake.png differ diff --git a/public/stakes/white_stake.png b/public/stakes/white_stake.png new file mode 100644 index 0000000..8392aa5 Binary files /dev/null and b/public/stakes/white_stake.png differ diff --git a/src/app/(home)/log-parser/page.tsx b/src/app/(home)/log-parser/page.tsx index a442412..4ae369c 100644 --- a/src/app/(home)/log-parser/page.tsx +++ b/src/app/(home)/log-parser/page.tsx @@ -45,7 +45,26 @@ type LogEvent = { type: 'event' | 'status' | 'system' | 'shop' | 'action' | 'error' | 'info' img?: string } - +const STAKE = { + 1: 'White Stake', + 2: 'Red Stake', + 3: 'Green Stake', + 4: 'Black Stake', + 5: 'Blue Stake', + 6: 'Purple Stake', + 7: 'Orange Stake', + 8: 'Gold Stake', +} +const STAKE_IMG = { + 1: '/stakes/white_stake.png', + 2: '/stakes/red_stake.png', + 3: '/stakes/green_stake.png', + 4: '/stakes/black_stake.png', + 5: '/stakes/blue_stake.png', + 6: '/stakes/purple_stake.png', + 7: '/stakes/orange_stake.png', + 8: '/stakes/gold_stake.png', +} // PVP blind types (PvpBlind and HandScore) are now imported from the PvpBlindsCard component // Define the structure for game options parsed from lobbyOptions @@ -880,10 +899,26 @@ export default function LogParser() { Ruleset:{' '} {game.options?.ruleset || 'Default'}

-

+

Stake:{' '} - {game.options?.stake ?? 'Unknown'} -

+ {game.options?.stake && ( +
+ {/*@ts-ignore*/} + {STAKE_IMG[game.options.stake] && ( + {'Stake'} + )} + {/*@ts-ignore*/} + {STAKE[game.options?.stake] ?? 'Unknown'} +
+ )} +

Different Decks:{' '} {boolStrToText(game.options?.different_decks)}