summaryrefslogtreecommitdiff
path: root/src/cmd4.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-06-20 22:49:05 +0200
committerBardur Arantsson <bardur@scientician.net>2016-06-20 22:49:05 +0200
commit7137a17f77fd3b6c3bbcefa2d621b3a11f161679 (patch)
treed76a6e842933cfb0d53402c45afb120d4c520d2e /src/cmd4.cc
parent7f7462188e2a213518acc979e3698746f098d7ab (diff)
Remove monster memory
Instead of having monster memory, the player automatically knows everything about all monsters from the start.
Diffstat (limited to 'src/cmd4.cc')
-rw-r--r--src/cmd4.cc31
1 files changed, 13 insertions, 18 deletions
diff --git a/src/cmd4.cc b/src/cmd4.cc
index fa436115..27f2e46f 100644
--- a/src/cmd4.cc
+++ b/src/cmd4.cc
@@ -625,7 +625,6 @@ static option_type cheat_info[6] =
{ &cheat_hear, FALSE, 0, 1, "cheat_hear", "Peek into monster creation" },
{ &cheat_room, FALSE, 0, 2, "cheat_room", "Peek into dungeon creation" },
{ &cheat_xtra, FALSE, 0, 3, "cheat_xtra", "Peek into something else" },
- { &cheat_know, FALSE, 0, 4, "cheat_know", "Know complete monster info" },
{ &cheat_live, FALSE, 0, 5, "cheat_live", "Allow player to avoid death" }
};
@@ -3303,24 +3302,20 @@ static void do_cmd_knowledge_uniques(void)
{
bool_ dead = (r_ptr->max_num == 0);
- /* Only display "known" uniques */
- if (dead || cheat_know || r_ptr->r_sights)
+ /* Print a message */
+ if (dead)
{
- /* Print a message */
- if (dead)
- {
- w.write("[[[[[{}{}] [[[[[R{:<68} is dead]\n",
- static_cast<char>(conv_color[r_ptr->d_attr]),
- static_cast<char>(r_ptr->d_char),
- r_ptr->name);
- }
- else
- {
- w.write("[[[[[{}{}] [[[[[w{:<68} is alive]\n",
- static_cast<char>(conv_color[r_ptr->d_attr]),
- static_cast<char>(r_ptr->d_char),
- r_ptr->name);
- }
+ w.write("[[[[[{}{}] [[[[[R{:<68} is dead]\n",
+ static_cast<char>(conv_color[r_ptr->d_attr]),
+ static_cast<char>(r_ptr->d_char),
+ r_ptr->name);
+ }
+ else
+ {
+ w.write("[[[[[{}{}] [[[[[w{:<68} is alive]\n",
+ static_cast<char>(conv_color[r_ptr->d_attr]),
+ static_cast<char>(r_ptr->d_char),
+ r_ptr->name);
}
}
}