Task 10(2f): Add Activity Log to SpireModeUI
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 20m15s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 20m15s
- Added ActivityLogEntry type to game types - Added activityLog state to GameState interface - Added addActivityLogEntry helper function in store.ts - Added addActivityLog action to GameStore - Hooked into combat events: damage_dealt, enemy_defeated, floor_cleared, floor_transition - Hooked into special effects: dodge, armor_proc, special_effect (First Strike, Combo Master, etc.) - Hooked into golem attacks and puzzle solving - Updated SpireTab (tabs/SpireTab.tsx) to display activity log with colored entries - Latest entries first, scrollable list with event type-based styling
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
|
||||
import { create } from 'zustand';
|
||||
import { persist } from 'zustand/middleware';
|
||||
import type { GameState, GameAction, StudyTarget, SpellCost, SkillUpgradeChoice, EquipmentSlot, EquipmentInstance, EnchantmentDesign, DesignEffect, AttunementState, FloorState, EnemyState, RoomType, EquipmentSpellState, ActivityLogEntry } from './types';
|
||||
import type { GameState, GameAction, StudyTarget, SpellCost, SkillUpgradeChoice, EquipmentInstance, EnchantmentDesign, DesignEffect, AttunementState, FloorState, EnemyState, RoomType, EquipmentSpellState, ActivityLogEntry } from './types';
|
||||
import type { EquipmentSlot } from './data/equipment';
|
||||
import {
|
||||
ELEMENTS,
|
||||
GUARDIANS,
|
||||
|
||||
Reference in New Issue
Block a user