Add inventory management in character sheet.

This commit is contained in:
Clément Pons
2025-10-22 17:57:19 +02:00
parent 73b0fdf3f5
commit b9970ccdf8
8 changed files with 195 additions and 11035 deletions

View File

@@ -52,11 +52,13 @@ export type CharacterVariables = {
poisons: Array<{ id: string, state: number | true }>;
spells: string[]; //Spell ID
items: ItemState[];
money: number;
};
type ItemState = {
id: string;
amount: number;
enchantments?: [];
enchantments?: string[];
charges?: number;
equipped?: boolean;
state?: any;