CleverRaven / CleverRaven/Cataclysm-DDA
Preventing attacks when moving grabbed items
- Dominant language
- C++
- Stars
- 13.1k
- Forks
- 4.6k
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 205
Description
### Is your feature request related to a problem? Please describe.
I was moving lockers to trap nursebot in place I need, and while moving diagonally I attacked it, instead moving locker from my right to my front.
### Solution you would like.
Prevent attacks when (G)rabbing.
### Describe alternatives you have considered.
Asking before attacking non-hostile mobs. I have massacred almost a dozen of nursebots at this point.
Contributor guide
Research direction
Start by tracing the (G)rabbing input path and the diagonal movement decision that currently triggers an attack. Reproduce the locker-and-nursebot scenario, then verify that grabbing and moving items no longer attacks the adjacent creature while normal attacks remain possible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100