CleverRaven / CleverRaven/Cataclysm-DDA
[Magiclysm] Drinking potion from adjacent tile does not consume it
- Dominant language
- C++
- Stars
- 13.1k
- Forks
- 4.6k
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 205
Description
### Describe the bug
When drinking any potion not from inventory it's effect does apply, but the potion itself is not consumed
### Attach save file
N/A
### Steps to reproduce
1. Spawn a potion
2. Drop it on the ground
3. Drink it using 'E'at menu
4. Get an error message saying the potion couldn't be removed
5. Infinite potions
### Expected behavior
The potion should disappear from it's container
### Screenshots
_No response_
### Versions and configuration
- OS: Windows 11
- Version: dc48884
- Mods loaded: Magiclysm, Xedra Evolved, Extra Mutated Scenarios
### Additional context
_No response_
Contributor guide
Research direction
Start by reproducing the adjacent-tile potion case through the E menu, using the listed steps and the Magiclysm configuration. Trace the error reported when the potion cannot be removed from its container. Done means drinking applies the effect and removes the potion without allowing repeated use.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100