Actions
Task ARCH-6
closedEpic ARCH-185: Player Actions / Interactivity
Picking Up and Using Items
Status:
Done
Assignee:
Priority:
High
Parent task:
Due date:
02/23/2025
Start date:
02/17/2025
Sprint:
-
Estimated time:
9:00 h
Target version:
Category:
Player Actions / Interactivity
Story point estimate:
-
Description
User Story¶
As a player, I want pick up and use items, so that I can restore health, gain buffs, or solve puzzles.
Description¶
- Players can collect items like potions, keys, and spells scrolls.
- Heal potions retore HP, while mana potions retore mana.
- Some items grant temporary buffs (e.g. increased spell damage, faster mana regen.
- Key items unlock doors, activate objects, or advance puzzles.
Test Cases¶
- Verify that players can pick up items from the environment.
- Ensure that using a health potion restores HP correctly.
- Validate that using a mana potion restores mana correctly.
- Confirm that buff items apply their effects for the correct duration.
- Ensure that key items can used to progress (eg.g unlocking doors).
- Check that items disappear from inventory when consumed.
- Verify that players cannot pick up more than the inventory limit (if applicable).
Actions