How wasmegg-carpet/egg works
This repository is a suite of Egg, Inc. helper tools: users choose a tool and get planning, simulation, reference, or tracking results. The clearest sampled workflow is the ascension planner: enter a player ID or load a plan, work through manual actions or automatic planning, and inspect the resulting plan and calculations. Other distinct product branches include artifact exploration and build configuration, mission planning, events, and cooperative contracts. The README identifies the protobuf/API library as a starting point for API development. Several branches are inferred from the tree; their internal wiring is not established by the excerpts.
Main entry points: App.vue Ascension planner · researchCalc.worker.ts Research worker · Main.vue Artifact explorer · main.go Periodicals updater
Components 22
Tool Portal
- Tools home
wasmegg/_home/src/views/Home.vue
Ascension Planning
- Ascension planner
wasmegg/ascension-planner/src/App.vue - Plan simulation
wasmegg/ascension-planner/src/engine/simulate.ts - Research planning
wasmegg/ascension-planner/src/composables/useResearchViews.ts - Research worker
wasmegg/ascension-planner/src/workers/researchCalc.worker.ts - Worker client
wasmegg/ascension-planner/src/composables/useResearchCalcWorker.ts - Plan persistence
wasmegg/ascension-planner/src/composables/usePersistence.ts
Artifact Tools
- Artifact explorer
wasmegg/artifact-explorer/src/views/Main.vue - Artifact optimizer
wasmegg/artifact-explorer/src/lib/optimizer-core.ts - Mission loot data
wasmegg/artifact-explorer/src/lib/loot.ts - Artifact sandbox
wasmegg/artifact-sandbox/src/views/TheBuilds.vue - Artifact effects
wasmegg/artifact-sandbox/src/lib/effects/index.ts
Game Reference
- Mission planner
wasmegg/mission-planner/src/App.vue - Events calendar
wasmegg/events/src/App.vue - Co-op contracts
eicoop/src/views/Coop.vue
Shared Game Data
- Contract data
lib/contracts.ts - Game API codec
lib/api/index.ts - Game schema
protobuf/ei.proto - Periodicals updater
periodicals/main.go
Other components
- Tool user
- Egg, Inc. API
- Browser storage
Connections 22
- Tool user → Tools home: opens tools
- Tool user → Ascension planner: plans ascension
- Tool user → Artifact explorer: explores artifacts
- Tool user → Artifact sandbox: configures builds
- Tool user → Mission planner: plans missions
- Tool user → Events calendar: views events
- Tool user → Co-op contracts: views contracts
- Ascension planner → Plan simulation: simulates actions
- Ascension planner → Plan persistence: loads and saves
- Research planning → Worker client: requests simulations
- Worker client → Research worker: posts requests
- Research worker → Plan simulation: uses engine state
- Research worker → Research planning: returns results
- Artifact explorer → Artifact optimizer: optimizes inventory
- Artifact explorer → Mission loot data: reads loot data
- Artifact sandbox → Artifact effects: calculates effects
- Events calendar → Browser storage: persists preferences
- Mission planner → Browser storage: persists settings
- Co-op contracts → Contract data: uses contracts
- Periodicals updater → Egg, Inc. API: requests game data
- Periodicals updater → Contract data: updates contract data
- Game API codec → Game schema: encodes schema