diff options
author | Neil Moore <neil@s-z.org> | 2014-05-26 19:09:24 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-05-26 19:09:24 -0400 |
commit | 8f5d047d91b25f2396520e8a303d6e908487fb3d (patch) | |
tree | da9b2b5dd90075924b28224aaaca9541ff6628d2 /crawl-ref/source/util | |
parent | cf58d3286274d6d595e5176051b52950269888a1 (diff) | |
download | crawl-ref-8f5d047d91b25f2396520e8a303d6e908487fb3d.tar.gz crawl-ref-8f5d047d91b25f2396520e8a303d6e908487fb3d.zip |
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.
Diffstat (limited to 'crawl-ref/source/util')
-rwxr-xr-x | crawl-ref/source/util/gen-apt.pl | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |