# ๐ŸŽฏ 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]] | One recipeโ€™s output if new; **+ that output** if the ItemId already exists. No recipe โ†’ 1 | | `[+]` on the overlay | + one recipeโ€™s output (planks +4). No recipe โ†’ +1 | | `[-]` | โˆ’ one recipeโ€™s output. At or below that step, the 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]]