CleverRaven / CleverRaven/Cataclysm-DDA

Its less expensive to get an item out of a bag on the ground than to just get it off the ground

Open
#53,347 2 comments 0 reactions 0 assignees View on GitHub
(S2 - Confirmed) <Exploit> Items: Containers
Dominant language
C++
Stars
13.1k
Forks
4.6k
Avg merge
2d 1h
Merged PRs (30d)
205

Description

### Describe the bug

When you try to pick things up from the ground it is faster to get them out of a container than to just get them

I assume the issue is that the effects for it being on the ground and it being in a pocket don't compound

### Steps to reproduce

1. Spawn a messenger bag
2. Spawn 2 bread knives
3. drop 1
4. drop the bag (should have a knife in it)
5. Check the costs to wield them

### Expected behavior

The knife on the ground in a bag should be more expensive to wield,

It should also shouldn't be twice as fast as picking up the bag itself (that it is inside)

### Screenshots

![image](https://user-images.githubusercontent.com/4514073/145640517-115a9334-1542-4482-b6fc-8ddbbf8229dd.png)

### Versions and configuration

- OS: Windows
- OS Version: 10.0 2009
- Game Version: 40e9432 [64-bit]
- Graphics Version: Tiles
- Game Language: System language []
- Mods loaded: [
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
No Fungal Growth [no_fungal_growth],
Bionic Professions [package_bionic_professions]
]

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with a messenger bag and two bread knives using the listed spawn and drop sequence, then compare the costs to wield the knife on the ground, the knife in the bag, and the bag itself. Done means correcting the cost relationship so the knife inside a ground container is not cheaper or faster to retrieve than the container.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.