30 lines
1.9 KiB
Markdown
30 lines
1.9 KiB
Markdown
---
|
|
type: User Story
|
|
title: "US-012: Create quests by command near a board"
|
|
description: Allow command-based quest creation and material autocomplete near a physical board even when global player commands are disabled.
|
|
status: done
|
|
---
|
|
|
|
# US-012: Create quests by command near a board
|
|
|
|
As a **player**, I want to use the quest-creation command near a quest board so that I can use material autocomplete while still interacting at the physical board.
|
|
|
|
## Acceptance criteria
|
|
|
|
- [x] When global player quest commands are disabled, `/quests create <block> <quantity>` remains available to a player within five blocks of a registered board interaction location.
|
|
- [x] Material and quantity autocomplete remain available for nearby quest creation.
|
|
- [x] A player farther than five blocks from every registered board is directed to move closer and no quest or escrow change occurs.
|
|
- [x] Board proximity requires the player and registered location to be in the same world.
|
|
- [x] A distance of exactly five blocks is accepted and a greater distance is rejected.
|
|
- [x] Root listing, `list`, `complete`, `cancel`, and `claim` remain disabled while global player commands are disabled.
|
|
- [x] When global player quest commands are enabled, all command behavior, including creation, remains available regardless of board proximity.
|
|
- [x] Custom single-block boards and every registered interaction location on generated boards satisfy the proximity requirement.
|
|
- [x] Board-dialog creation remains available regardless of command settings or command proximity rules.
|
|
- [x] Automated tests verify boundaries, cross-world behavior, autocomplete, command settings, disabled subcommands, and generated-board proximity.
|
|
|
|
## Related
|
|
|
|
- [US-002: Create and use shared quest boards](us-002-create-and-use-shared-quest-boards.md)
|
|
- [US-003: Create a block-delivery quest](us-003-create-a-block-delivery-quest.md)
|
|
- [US-008: Control player quest commands](us-008-control-player-quest-commands.md)
|