Files
satistaskory/docs/02-Domain/🎯 Goal.md
T
Stephen Fasciani d63f1aa745
Build / build (push) Failing after 27s
Opt-in auto-remove: picking up the goal item counts it done.
/satistaskory auto-remove. Off by default. A gain in held target items reduces quantity and removes the goal at 0. Player inventory only. Already-held stacks are a baseline, not a wipe.
2026-09-08 06:48:57 -04:00

102 lines
2.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 🎯 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]]