magicciv/.project/objectives/p1-02-strategic-resource-yields.md
Natalie aaa359e2c5 feat(@projects): add project objectives roadmap
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-17 00:14:17 -07:00

837 B

id title priority status scope updated_at evidence
p1-02 Strategic resource yields feed into production bonuses p1 partial game1 2026-04-17
public/games/age-of-dwarves/data/deposits/
src/simulator/crates/mc-city/

Summary

Recent commits added deposit resource definitions (iron, coal, gems, etc.). Need to verify the wire-through: owning a tile with a strategic deposit should grant its production/military bonus to the owning city, and should gate production of strategic-requiring units (already partially in place per CHANGELOG 2026-04-16 06:19).

Acceptance

  • mc-city::get_yields sums deposit bonuses on owned tiles.
  • Unit production gated via requires_resource: [...] and blocked at enqueue (Rust QueueError::MissingResource already exists).
  • GUT + Rust test coverage for gating and yielding.