Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gas Mask (100/100) Unload fails and leaves broken "none" item. #40308

Closed
Psiclops opened this issue May 7, 2020 · 2 comments
Closed

Gas Mask (100/100) Unload fails and leaves broken "none" item. #40308

Psiclops opened this issue May 7, 2020 · 2 comments
Labels
(S3 - Duplicate) Bug that is duplicate of another one

Comments

@Psiclops
Copy link

Psiclops commented May 7, 2020

DEBUG : cannot determine reload cost as none is neither ammo or magazine

FUNCTION : int player::item_reload_cost(const item&, const item&, int) const
FILE : src/player.cpp
LINE : 2860

Steps To Reproduce

  1. Take a Gas Mask (100/100) item
  2. Unload it
    3.get error message above
  3. find "none" item in the "other" category in inventory

Expected behavior

It should provide a gas mask filter cartridge with 100 charges.

Screenshots

Versions and configuration

  • OS: Windows
    • OS Version: 10.0 1903
  • Game Version: 0.E-1864-gb8fb092 [64-bit]
  • Graphics Version: Tiles
  • Game Language: System language []
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    Magiclysm [magiclysm],
    No Fungal Monsters [No_Fungi],
    Stats Through Skills [StatsThroughSkills]
    ]
@enaantd
Copy link
Contributor

enaantd commented May 7, 2020

can confirm, just had the same bug.

@ZhilkinSerg ZhilkinSerg added the (S3 - Duplicate) Bug that is duplicate of another one label May 7, 2020
@ZhilkinSerg
Copy link
Contributor

Duplicate of #40158

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(S3 - Duplicate) Bug that is duplicate of another one
Projects
None yet
Development

No branches or pull requests

3 participants