CleverRaven/Cataclysm-DDA

Exploit: You can look at NPCs while blind

开放

#55,803 创建于 2022年3月3日

 (11 条评论) (0 个反应) (0 位负责人)C++ (3,991 个派生)batch import
<Bug><Exploit>Good First IssueNPC / Factions[C++]

仓库指标

星标
 (9,264 个星标)
PR 合并指标
 (平均合并 6天 5小时) (30 天内合并 292 个 PR)

描述

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

贡献者指南