CleverRaven/Cataclysm-DDA

Exploit: You can look at NPCs while blind

Offen

#55.803 geöffnet am 03.03.2022

 (11 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (3.991 Forks)batch import
<Bug><Exploit>Good First IssueNPC / Factions[C++]

Repository-Metriken

Stars
 (9.264 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 6T 5h) (292 gemergte PRs in 30 T)

Beschreibung

Describe the bug

See title.

Steps to reproduce

  1. Put on a blindfold or be blind in another way.
  2. Size up stats (only intelligence might make sense to be "visible" to you while blind) or look at the equipment of the NPC etc

Expected behavior

You get a message saying you can not see.

There should be a check in the code for blindness or high eye encumbrance (maybe, might be out of scope here) and alternative messages, e.g "You can't see what [NPC] is wearing!"

There should perhaps also be a check when you ask the NPC to teach you things. Teaching you social skills may work while blind, but this does not apply to combat or shooting or anything else, really.

Adding a check for blindness should be easy enough for new contributors. I considered adding Low Priority to this issue because this is not gamebreaking and more of an edge case.

Screenshots

No response

Versions and configuration

  • experimental

Additional context

No response

Contributor Guide