From 8f5d047d91b25f2396520e8a303d6e908487fb3d Mon Sep 17 00:00:00 2001 From: Neil Moore Date: Mon, 26 May 2014 19:09:24 -0400 Subject: Sort Vine Stalker after Vampires in the aptitude list. We were sorting them under 'S', but that doesn't seem right. Arguably Hill Orc and Deep Dwarf should be alphabetised by their first word, too, since there are no longer other races alongside which they should be listed. --- crawl-ref/source/util/gen-apt.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/util') diff --git a/crawl-ref/source/util/gen-apt.pl b/crawl-ref/source/util/gen-apt.pl index 5a42ad1264..fe7477aed9 100755 --- a/crawl-ref/source/util/gen-apt.pl +++ b/crawl-ref/source/util/gen-apt.pl @@ -92,7 +92,8 @@ sub find_skill sub split_species { my $sp = shift; - return ($2, $1) if ($sp =~ /^(.*) (.*)$/); + # Don't split Vine Stalker, because it's not a kind of Stalker. + return ($2, $1) if ($sp =~ /^(?!Vine Stalker)(.*) (.*)$/); return ($sp, $sp); } -- cgit v1.2.3-54-g00ecf