a66043915e
Build / build (push) Failing after 33s
Roadmap no longer lists hover-add as next. ADR-015: tooltip plus rebindable key; overlay is not a Screen.
138 lines
4.8 KiB
Markdown
138 lines
4.8 KiB
Markdown
# 🖼️ Wireframes
|
||
|
||
Boxes and arrows. Not pixels. Not components.
|
||
|
||
Two screens. Capture is not a Satistaskory window — it is a tooltip line and a key on views we do not own. The living screen is play.
|
||
|
||
The world is the shell. The overlay has chrome. The player is not inside a pause menu.
|
||
|
||
Screen 2 is the player’s concept art, finished with the domain: goals on top; below, each aggregated material and how many are needed.
|
||
|
||
---
|
||
|
||
## Screen 1 — Capture (in place)
|
||
|
||
The player is already in inventory, the crafting bench craft pane, or the craft book.
|
||
|
||
Satistaskory draws only a tooltip line. The mouse stays on the item.
|
||
|
||
```text
|
||
(host view we do not own)
|
||
|
||
[ item ]
|
||
Tooltip
|
||
…
|
||
[+] Add to Crafting Goals
|
||
```
|
||
|
||
**Primary action:** hover the item, press the Add key (default `=`, rebindable in Controls) → [[▶️ Create Goal]] (quantity 1, or +1 if present) → close the host view → the item is a row on Screen 2.
|
||
|
||
Same control in inventory, crafting pane, and craft book. We do not restyle those views. We do not draw a click target you have to leave the item to hit.
|
||
|
||
Target Quantity is not drawn here. First quantity is 1. Further edits are `[+]` / `[-]` on Screen 2.
|
||
|
||
---
|
||
|
||
## Screen 2 — Play overlay (golden day)
|
||
|
||
The player is walking. This panel sits on the **right** of the play screen.
|
||
|
||
Concept art supplies the chrome. The lower region was unfinished (a material name, no counts). Finished: [[➕ Material Aggregation]] — one row per material, with how many are needed.
|
||
|
||
```text
|
||
(the world — player is walking)
|
||
|
||
┌──────────────────────────────────┐
|
||
│ SATISTASKORY │
|
||
├──────────────────────────────────┤
|
||
│ [+] [-] FURNACE 3 │
|
||
│ [+] [-] CRAFTING BENCH 5 │
|
||
│ [+] [-] CHEST 8 │
|
||
├──────────────────────────────────┤
|
||
│ Wooden Planks 84 │
|
||
│ Cobblestone 24 │
|
||
│ │
|
||
│ │
|
||
├──────────────────────────────────┤
|
||
│ [ X Clear Items ] │
|
||
└──────────────────────────────────┘
|
||
```
|
||
|
||
Annotations (not on-screen labels):
|
||
|
||
| Region | What it is |
|
||
|--------|------------|
|
||
| Title `SATISTASKORY` | Overlay chrome |
|
||
| Upper list | [[🎯 Goal\|Goals]] the player named. Number is Target Quantity. `[+]` / `[-]` adjust it |
|
||
| Lower list | Aggregated materials. One row per material. Number is how many are still needed (`Missing = Required - Available`) |
|
||
| `X Clear Items` | Clears the tracked goals on this overlay |
|
||
|
||
Example reading: three goals (3 furnaces, 5 crafting benches, 8 chests). [[🧾 Recipe Resolution]] then [[➕ Material Aggregation]] fold those into one list — planks from benches and chests become one Wooden Planks row, not two. Counts in this drawing are illustrative, not a recipe table.
|
||
|
||
The lower list is not a recipe tree. No “8 cobble per furnace.” Just the individual materials and how many are needed.
|
||
|
||
As the player gathers, the needed counts shrink. A material at 0 leaves the list. Changing a goal’s `[+]` / `[-]` recalculates the lower list.
|
||
|
||
**While playing:** the lists are memory. The player mines and crafts.
|
||
|
||
**On this chrome:**
|
||
|
||
- `[+]` / `[-]` change that goal’s Target Quantity
|
||
- `X Clear Items` clears the goal list (missing list follows)
|
||
|
||
No row selection is drawn. The lower list is aggregated across active goals, not a per-goal recipe pane.
|
||
|
||
Placement: **right** side (first-slice freeze). Exact pixels are not specified.
|
||
|
||
`[-]` at 1 removes the row. `X Clear Items` does not ask first.
|
||
|
||
Overlay controls are HUD hit-tests with vanilla button sprites and click sound. They are not `Button` widgets on a `Screen`. Open chat for a cursor.
|
||
|
||
---
|
||
|
||
## Roads
|
||
|
||
**Golden day:** the player is already on Screen 2.
|
||
|
||
```text
|
||
2 Play overlay (goals + missing materials)
|
||
player gathers / crafts
|
||
missing list shrinks
|
||
+/- if the target count was wrong
|
||
```
|
||
|
||
**Interrupt (name a goal):**
|
||
|
||
```text
|
||
1 Capture (hover + add)
|
||
→ 2 Play overlay (new row in the goal list)
|
||
```
|
||
|
||
There is no Screen 3. A full-screen planner is not on this road. Recipe breakdowns and “which goals need this” are expanded views. They are not this panel’s first drawing.
|
||
|
||
---
|
||
|
||
## Related Documents
|
||
|
||
[[🖥️ Experience]]
|
||
|
||
[[🚶 Day in the Life]]
|
||
|
||
[[📖 User Stories]]
|
||
|
||
[[🎯 Goal]]
|
||
|
||
[[📉 Missing Material]]
|
||
|
||
[[➕ Material Aggregation]]
|
||
|
||
[[🧾 Recipe Resolution]]
|
||
|
||
[[🌟 Project Vision]]
|
||
|
||
[[📝 Decisions]]
|
||
|
||
[[▶️ Create Goal]]
|
||
|
||
[[🔌 Recipe Provider]]
|