CleverRaven/Cataclysm-DDA

Exploit: You can look at NPCs while blind

Aperta

#55.803 aperta il 3 mar 2022

 (11 commenti) (0 reazioni) (0 assegnatari)C++ (3991 fork)batch import
<Bug><Exploit>Good First IssueNPC / Factions[C++]

Metriche repository

Star
 (9264 stelle)
Metriche merge PR
 (Merge medio 6g 5h) (292 PR mergiate in 30 g)

Descrizione

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

Guida contributor