From: Shiar Date: Wed, 9 Jul 2008 22:16:05 +0000 (+0200) Subject: recognize all tilesets in scmap::world X-Git-Url: http://git.shiar.net/perl/schtarr.git/commitdiff_plain/57fafa2775781b86f0c6703853b0a8d0180d2f6b recognize all tilesets in scmap::world These should be all eight eras. Does not always match because many (custom) maps do not match to 0..7 - still need to figure out why. --- diff --git a/scmap b/scmap index 3e7cee0..596a835 100755 --- a/scmap +++ b/scmap @@ -47,8 +47,8 @@ if ($SHOWMAP eq "head") { sub world { my $self = shift; - # ERA: 0 1 2 3 4 5 6 7 - my @worlds = qw(badlands space 0 0 jungle 0 0 twilight); + # ERA: 0 1 2 3 4 5 6 7 + my @worlds = qw(badlands platform install ashworld jungle desert ice twilight); return $worlds[$self->era] || "?"; }