Checkbox and item panel improvements

This commit is contained in:
Clément Pons
2025-10-14 17:57:34 +02:00
parent 48e767944a
commit a577e3ccfc
7 changed files with 54 additions and 37 deletions

View File

@@ -87,11 +87,13 @@ type CommonItemConfig = {
rarity: 'common' | 'uncommon' | 'rare' | 'legendary';
weight?: number; //Optionnal but highly recommended
price?: number; //Optionnal but highly recommended
power?: number; //Optionnal as most mundane items should not receive enchantments (potions, herbal heals, etc...)
capacity?: number; //Optionnal as most mundane items should not receive enchantments (potions, herbal heals, etc...)
powercost?: number; //Optionnal
charge?: number //Max amount of charges
enchantments?: string[]; //Enchantment ID
effects?: Array<FeatureValue | FeatureEquipment | FeatureList>;
equippable: boolean;
consummable: boolean;
}
type ArmorConfig = {
category: 'armor';