CleverRaven / CleverRaven/Cataclysm-DDA

`The required items are not available to complete the %s at zone %s`

Open
#74,258 2 comments 0 reactions 0 assignees View on GitHub
(S1 - Need confirmation) <Bug>
Dominant language
C++
Stars
13.2k
Forks
4.6k
Avg merge
2d 1h
Merged PRs (30d)
205

Description

### Describe the bug

Trying to mine in the designed zone. I get a message explaining the failure with broken formatting:

![image](https://github.com/CleverRaven/Cataclysm-DDA/assets/13402666/3bfe8980-83c5-4482-85db-215a38fd63a0)

### Attach save file

[Winter Beach-trimmed.tar.gz](https://github.com/user-attachments/files/15525055/Winter.Beach-trimmed.tar.gz)

### Steps to reproduce

1. Load attached save.
2. `O` to open the `Zone activity` menu.
3. `M`ine area.
4. Observe the message log with the nondescriptive message ending in `The required items are not available to complete the %s at zone %s`

### Expected behavior

The message formats correctly.

### Screenshots

_No response_

### Versions and configuration

- OS: Windows
- OS Version: 10.0.19045.4412 (22H2)
- Game Version: 0.G-9784-g96401952f5-dirty [64-bit] - master was 96401952f5
- 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],
Slowdown Fungal Growth [no_fungal_growth]
]

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Load the attached Winter Beach save and reproduce the issue through the Zone activity menu: press O, choose Mine area, and inspect the message log. Trace the message shown after the mining attempt, then confirm that the required-items failure message displays its activity and zone values instead of the literal placeholders.

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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.