# 🎯 Goal A **Goal** is a thing the player wishes to obtain. --- ## Contains - Target Item β€” an **ItemId** (`namespace:path`, e.g. `minecraft:furnace`). Not a Minecraft `Item` class. - Target Quantity β€” integer **β‰₯ 1** Examples: - 4 Ender Chests - 1 AE2 Controller - 64 Export Buses --- ## Identity One Goal per Target Item in the plan. Adding an item that is already a goal **increments** that goal’s quantity. It does not create a second row. [[πŸ“ Project|Projects]] are not in the first slice. This identity is for the single plan. --- ## Quantity Target Quantity is required and is never 0. | Action | Result | |--------|--------| | [[▢️ Create Goal]] | Quantity **1** if new; **+1** if that ItemId already exists | | `[+]` on the overlay | Quantity + 1 | | `[-]` when quantity > 1 | Quantity βˆ’ 1 | | `[-]` when quantity is 1 | Goal is **removed** | | `X Clear Items` | All goals removed | There is no quantity picker on capture. See [[πŸ–₯️ Experience]]. --- ## How a goal starts A goal starts when the player names a target item. How they point at the item is experience. See [[🚢 Day in the Life]] and [[▢️ Create Goal]]. --- ## Lifecycle ```text Created ↓ Requirements Calculated ↓ Missing Materials ↓ Ready To Craft ↓ Completed ``` A goal is created with a target item and quantity. [[🧾 Recipe Resolution]] produces its [[🧱 Material Requirement|material requirements]] for **how many are still to obtain** (target quantity minus how many of that item are already available). [[πŸ“ˆ Progress Calculation]] compares those requirements to [[πŸŽ’ Inventory State]], yielding [[πŸ“‰ Missing Material|missing materials]] and eventually [[πŸ› οΈ Ready To Craft]]. [[βœ… Completed Goal|Completion]] is a separate decision from readiness. Manual `[βˆ’]` / Clear always. Inventory detection is opt-in (`/satistaskory auto-remove`): a gain in held target items reduces quantity and removes the goal at 0. --- ## Relationships - May belong to a [[πŸ“ Project]] (optional). Projects are not packaged in the first slice. - Material calculations ignore project boundaries and aggregate across active goals --- ## Related Documents [[▢️ Create Goal]] [[🚢 Day in the Life]] [[πŸ–₯️ Experience]] [[πŸ“ Project]] [[🧱 Material Requirement]] [[πŸ› οΈ Ready To Craft]] [[βœ… Completed Goal]] [[πŸ—£οΈ Ubiquitous Language]] [[πŸ–ΌοΈ Wireframes]] [[πŸ“ Decisions]]