How xinysi/culinary-idle works
Culinary Idle: Spirit Atlas is a browser-based, food-themed idle game. The player enters through the game interface, loads or starts a save, then develops skills and gathers or crafts items; combat and long-term systems build on that state and surface results in the interface. The map preserves the README’s major gameplay branches. Some feature paths are documented but their implementation was not sampled, so those connections cite the README rather than implying inspected call chains.
Main entry points: bootstrap.js Game bootstrap · ForagingSkill.js Foraging · App.vue Game interface · registry.js Skill registry
Components 20
Game entry and UI
- Vue entry
src/main.js - Game interface
src/App.vue - UI state
src/stores/ui.js - Skill interface
src/views/ProductionView.vue
Game runtime
- Game bootstrap
src/game/bootstrap.js - Idle engine
src/game/core/GameEngine.js - Save manager
src/game/core/SaveManager.js - Player state
src/stores/player.js - Event bus
src/game/core/EventBus.js
Skills and progression
- Skill registry
src/game/skills/registry.js - Skill actions
src/game/skills/Skill.js - Foraging
src/game/skills/ForagingSkill.js - Skill mastery
src/game/core/mastery.js
Game systems
- Combat engine
src/game/combat/Combat.js - Season system
src/game/data/seasons.js - Long-term features
src/game/data/shanhaiTree.js - Restaurant systems
src/stores/player.js - Minigames
src/views/minigames/FishingView.vue
Game content
- Items catalog
src/game/data/items.js
Other components
- Player
Connections 25
- Player → Vue entry: opens game
README.md - Vue entry → Game interface: mounts
src/main.js - Game interface → UI state: reads UI state
src/App.vue - Game interface → Game bootstrap: starts runtime
- Game interface → Skill interface: shows skill page
- Skill interface → Player state: reads player data
src/views/ProductionView.vue - Player state → UI state: uses UI store
src/stores/player.js - Game bootstrap → Player state: initializes state
src/game/bootstrap.js - Game bootstrap → Idle engine: starts loop
src/game/bootstrap.js - Game bootstrap → Save manager: loads save
src/game/bootstrap.js - Game bootstrap → Skill registry: creates skills
src/game/bootstrap.js - Skill registry → Skill actions: instantiates
src/game/skills/registry.js - Skill registry → Foraging: instantiates
src/game/skills/registry.js - Foraging → Player state: grants items and XP
src/game/skills/ForagingSkill.js - Foraging → Skill mastery: applies mastery
src/game/skills/ForagingSkill.js - Foraging → Event bus: emits action
src/game/skills/ForagingSkill.js - Foraging → Items catalog: uses item data
src/game/skills/ForagingSkill.js - Combat engine → Skill registry: gets skill instances
src/game/combat/Combat.js - Combat engine → Items catalog: reads combat items
src/game/combat/Combat.js - Player → Save manager: saves progress
README.md - Player → Combat engine: plays combat
README.md - Player → Season system: plays seasonal content
README.md - Player → Long-term features: advances progression
README.md - Player → Restaurant systems: runs restaurant
README.md - Player → Minigames: plays minigames
README.md