questKit.package
This package holds more than this page lists. See all of its files in its world.
README.md
logs
The quest log family. Four styles behind one interface, picked with Quest.setup({ log = ... }):
| id | look |
|---|---|
journal | a fantasy journal: an open leather-bound book, quest list on the left page, the chosen quest on the right |
datapad | a sci-fi datapad: dark glass, cyan edges, a header strip and a split list / detail view |
panel | a compact side panel down the right edge; the chosen quest opens inline |
cards | a phone-friendly card sheet rising from the bottom; one card per quest, the chosen one expanded |
Logs.build(style, model, screen) returns the widget tree for a model (Logs.model() builds it from the local player's quests). Every style fits a phone held upright or sideways: portrait layouts stack the list over the detail and size everything for a 430-point-wide phone. Buttons carry onClick ids qk_sel:<id>, qk_tab:<active|done>, qk_track, qk_abandon, qk_close, routed by QuestHost. Logs.define(id, theme, layout) adds a style of your own.