Attached Files |
vampire_help_text.patch [^] (1,419 bytes) 2015-04-11 11:14 [Show Content] [Hide Content]From fbb19c7c21bc2749e4471c90c44fa35beab3396b Mon Sep 17 00:00:00 2001
From: Alan Malloy <alan@malloys.org>
Date: Sat, 11 Apr 2015 02:12:30 -0700
Subject: [PATCH] Adjust help text for (c) key when you're a vampire
---
crawl-ref/source/command.cc | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/crawl-ref/source/command.cc b/crawl-ref/source/command.cc
index ddaa1f2..39fa7af 100644
--- a/crawl-ref/source/command.cc
+++ b/crawl-ref/source/command.cc
@@ -1131,11 +1131,14 @@ static void _add_formatted_keyhelp(column_composer &cols)
_add_insert_commands(cols, 1, "<w>%#</w>: Drop exact number of items",
CMD_DROP, 0);
_add_command(cols, 1, CMD_DROP_LAST, "Drop the last item(s) you picked up", 2);
- _add_command(cols, 1, CMD_BUTCHER, "Chop up a corpse", 2);
-
{
- string interact = (you.species == SP_VAMPIRE ? "Drain corpses on"
- : "Eat food from");
+ bool vampire = you.species == SP_VAMPIRE;
+ string eat = vampire ? "Bottle blood from"
+ : "Chop up";
+ _add_command(cols, 1, CMD_BUTCHER, eat + " a corpse", 2);
+
+ string interact = vampire ? "Drain corpses on"
+ : "Eat food from";
interact += " floor\n";
_add_command(cols, 1, CMD_EAT, interact, 2);
}
--
1.9.1
|