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

NPCs try to heal you with rags #36463

Closed
Feuerhai opened this issue Dec 26, 2019 · 2 comments
Closed

NPCs try to heal you with rags #36463

Feuerhai opened this issue Dec 26, 2019 · 2 comments
Labels
<Bug> This needs to be fixed Mechanics: Character / Player Character / Player mechanics NPC / Factions NPCs, AI, Speech, Factions, Ownership

Comments

@Feuerhai
Copy link
Contributor

Describe the bug

If you're hurt NPCs will try to heal you with rags, which won't help, turns the rag into a blood soaked rag and throws an error.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Get hurt.
  2. Get a NPC follower.
  3. Give him a rag.
  4. Wait for him to try and heal you with it.

Expected behavior

NPCs will only try to heal you with rags when you're bleeding, so it can actually help and they won't unnecessarily use up ressources.

Versions and configuration

  • OS: Windows 10
    • OS Version: 10.0 1903
  • Game Version: 0.D-10709-gd18fc5d [64-bit]
  • Graphics Version: Tiles
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food]
    ]

Additional context

DEBUG : Tried to consume charges for non-tool, non-food, non-med item

FUNCTION : bool Character::consume_charges(item&, int)
FILE : src/character.cpp
LINE : 5480

debug.log

@Night-Pryanik Night-Pryanik added <Bug> This needs to be fixed Mechanics: Character / Player Character / Player mechanics NPC / Factions NPCs, AI, Speech, Factions, Ownership labels Jan 5, 2020
@Ramza13
Copy link
Contributor

Ramza13 commented Jan 17, 2020

Just tried but could not reproduce this.

@Feuerhai
Copy link
Contributor Author

Feuerhai commented Jan 20, 2020

Also tried it myself on latest again, seems to be fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bug> This needs to be fixed Mechanics: Character / Player Character / Player mechanics NPC / Factions NPCs, AI, Speech, Factions, Ownership
Projects
None yet
Development

No branches or pull requests

3 participants