summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ability.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-03-26 22:10:59 -0400
committerNeil Moore <neil@s-z.org>2014-03-26 22:38:36 -0400
commit78c194057752e3e2406af883c2140fac9ca6fad1 (patch)
tree57bd6f80ff042541de1a7699c8377bbb9a902b8d /crawl-ref/source/ability.cc
parent563cca605a211b23f7f5b7e949a160af522c9f61 (diff)
downloadcrawl-ref-78c194057752e3e2406af883c2140fac9ca6fad1.tar.gz
crawl-ref-78c194057752e3e2406af883c2140fac9ca6fad1.zip
Abilities cost hunger, not food (twelwe, Grunt)
Among other problems, "Food" could be confusing when listed alongside the Fedhas abilities which cost "Fruit": b - Sunlight 2mp, Food c - Growth 2mp, Fruit Widen the column, and shrink the failure rate column, to compensate.
Diffstat (limited to 'crawl-ref/source/ability.cc')
-rw-r--r--crawl-ref/source/ability.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/crawl-ref/source/ability.cc b/crawl-ref/source/ability.cc
index 972aa9070f..b59e630e1e 100644
--- a/crawl-ref/source/ability.cc
+++ b/crawl-ref/source/ability.cc
@@ -696,7 +696,7 @@ const string make_cost_description(ability_type ability)
ret += ", Glow";
else
#endif
- ret += ", Food"; // randomised and exact amount hidden from player
+ ret += ", Hunger"; // randomised and exact amount hidden from player
}
if (abil.piety_cost || abil.flags & ABFLAG_PIETY)
@@ -3072,9 +3072,9 @@ int choose_ability_menu(const vector<talent>& talents)
// Hack like the one in spl-cast.cc:list_spells() to align the title.
ToggleableMenuEntry* me =
new ToggleableMenuEntry(" Ability - do what? "
- "Cost Failure",
+ "Cost Failure",
" Ability - describe what? "
- "Cost Failure",
+ "Cost Failure",
MEL_ITEM);
me->colour = BLUE;
abil_menu.add_entry(me);
@@ -3082,9 +3082,9 @@ int choose_ability_menu(const vector<talent>& talents)
#else
abil_menu.set_title(
new ToggleableMenuEntry(" Ability - do what? "
- "Cost Failure",
+ "Cost Failure",
" Ability - describe what? "
- "Cost Failure",
+ "Cost Failure",
MEL_TITLE));
#endif
abil_menu.set_tag("ability");
@@ -3226,8 +3226,8 @@ string describe_talent(const talent& tal)
ostringstream desc;
desc << left
<< chop_string(ability_name(tal.which), 32)
- << chop_string(make_cost_description(tal.which), 27)
- << chop_string(failure, 10);
+ << chop_string(make_cost_description(tal.which), 29)
+ << chop_string(failure, 8);
free(failure);
return desc.str();
}