CleverRaven / CleverRaven/Cataclysm-DDA

radio activation doesn't work on grenades inside containers

Open
#88,397 0 comments 0 reactions 0 assignees View on GitHub
(S1 - Need confirmation)
Dominant language
C++
Stars
13.1k
Forks
4.6k
Avg merge
1d 21h
Merged PRs (30d)
185

Description

### Describe the bug

If a grenade is in a container, you can not activate it with a radio activation mod.

### Attach save file

[test rubik translate-trimmed.tar.gz](https://github.com/user-attachments/files/31335323/test.rubik.translate-trimmed.tar.gz)

### Steps to reproduce

1. 'A'ctivate
2. press the red button
3. message appears saying you need to weild the grenade before activating it

### Expected behavior

if a grenade isnt in the player inventory it should be able to be activated with a radio activation mod even if it is in another container

### Screenshots

Image

### Versions and configuration

- OS: Linux
- OS Version: LSB Version: n/a; Distributor ID: cachyos; Description: CachyOS; Release: rolling; Codename: n/a;
- Game Version: cdda-experimental-2026-08-22-0401 0eb1ce8-dirty [64-bit]
- Graphics Version: Tiles
- Game Language: English [en]
- Mods loaded: [
Dark Days Ahead [dda] (),
Disable NPC Needs [no_npc_food] (),
Portal Storms Ignore NPCs [personal_portal_storms] (),
Translate Complex Dialogue [translate_dialogue] ()
]

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the attached save file and reproduce the issue using the listed activation steps, with the grenade inside a container. Trace the radio activation handling for container-held grenades; done means the grenade activates without requiring the player to wield it.

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
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.