Quests: a quest book with chests, fed by habits, focus and the game #19
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/quests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Stacked on #18. First slice of the quest book designed there.
Backend
QuestCatalogue.v1with First flight (8 quests, the game loop) and Good habits (10 quests, a first goal to 100 perfect days), loot tables for common/rare/epic chests, pity limit 5.QuestBookaggregate: lifetime record, claims, chests, pity. Quests are thresholds over the record, so new quests count past progress. Draws seeded by keeper + chest. Tablequests.books(migration202611021000-create-quests).quests.reward_claimed.v1for every claimed quest and opened chest.apiary.progressed.v1and delivers gifts: nectar/pollen to the keeper, supplies and pure-bred bees (origin gift, may exceed the inventory size) to the homestead.Web
Checks: lint, typecheck and tests pass for 18 projects; quests and apiary Postgres integration tests pass. Tried in the browser on the Brezo demo account: placing a hive and planting a flower completed quests with toasts, claims delivered nectar and seeds, and a common chest gave pollen. Habit and focus facts for that test were set in the dev database.
🤖 Generated with Claude Code