CleverRaven/Cataclysm-DDA

Exploit: You can look at NPCs while blind

Aberta

#55.803 aberto em 3 de mar. de 2022

 (11 comentários) (0 reação) (0 responsável)C++ (3.991 forks)batch import
<Bug><Exploit>Good First IssueNPC / Factions[C++]

Métricas do repositório

Stars
 (9.264 estrelas)
Métricas de merge de PR
 (Mesclagem média 6d 5h) (292 fundiu PRs em 30d)

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

Guia do colaborador