feat: show equipped items on character sheet and public profile

This commit is contained in:
2026-03-07 14:57:53 -08:00
committed by Naomi Carrigan
parent b886928e49
commit bbdacf272c
6 changed files with 208 additions and 2 deletions
+3
View File
@@ -1,3 +1,4 @@
import type { EquipmentBonus, EquipmentRarity, EquipmentType } from "./Equipment.js";
import type { GameState } from "./GameState.js";
import type { Player } from "./Player.js";
import type { ProfileSettings } from "./ProfileSettings.js";
@@ -122,6 +123,8 @@ export interface PublicProfileResponse {
unlockedTitles: Array<{ id: string; name: string }>;
/** The player's active title display name (empty string if none set) */
activeTitle: string;
/** Items the player currently has equipped */
equippedItems: Array<{ name: string; type: EquipmentType; rarity: EquipmentRarity; bonus: EquipmentBonus }>;
}
export interface UpdateProfileRequest {