CleverRaven/Cataclysm-DDA

Exploit: You can look at NPCs while blind

Ouverte

#55 803 ouverte le 3 mars 2022

 (11 commentaires) (0 réaction) (0 personne assignée)C++ (3 991 forks)batch import
<Bug><Exploit>Good First IssueNPC / Factions[C++]

Métriques du dépôt

Stars
 (9 264 étoiles)
Métriques de merge PR
 (Merge moyen 6j 5h) (292 PRs mergées en 30 j)

Description

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

Guide contributeur