Files
Mana-Loop/src/lib/game/stores/index.ts
T
Refactoring Agent f0532c1673
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m22s
Add attunementStore exports to stores/index.ts
2026-05-05 13:56:20 +02:00

51 lines
1.6 KiB
TypeScript
Executable File

// ─── Store Index ──────────────────────────────────────────
// Exports all stores and re-exports commonly used utilities
// Stores
export { useUIStore } from './uiStore';
export type { UIState } from './uiStore';
export { usePrestigeStore } from './prestigeStore';
export type { PrestigeState } from './prestigeStore';
export { useManaStore, makeInitialElements } from './manaStore';
export type { ManaState } from './manaStore';
export { useSkillStore } from './skillStore';
export type { SkillState } from './skillStore';
export { useCombatStore, makeInitialSpells } from './combatStore';
export type { CombatState } from './combatStore';
export { useCraftingStore } from './craftingStore';
export type { CraftingState, CraftingActions } from './craftingStore';
export { useAttunementStore } from './attunementStore';
export type { AttunementStoreState } from './attunementStore';
export { useGameStore } from './gameStore';
export { useGameLoop } from './gameHooks';
export type { GameCoordinatorState, GameCoordinatorStore } from './gameStore';
// Re-export utilities from utils.ts and computed-stats
export {
fmt,
fmtDec,
getFloorMaxHP,
getFloorElement,
computeMaxMana,
computeRegen,
computeEffectiveRegen,
computeClickMana,
getMeditationBonus,
getBoonBonuses,
calcDamage,
calcInsight,
getIncursionStrength,
canAffordSpellCost,
deductSpellCost,
} from '../utils';
export { computeElementMax } from '../store-modules/computed-stats';
export { getStudySpeedMultiplier, getStudyCostMultiplier } from '../constants';