Mercurial > eagle-eye
diff planner.pl @ 307:2972852a4ee5
added comment onn wingman
author | "Rex Tsai <chihchun@kalug.linux.org.tw>" |
---|---|
date | Sun, 14 Dec 2008 02:35:53 +0800 |
parents | 50cff2eee239 |
children | 0db3e2bcbd0f |
line wrap: on
line diff
--- a/planner.pl Wed Dec 10 00:42:31 2008 +0800 +++ b/planner.pl Sun Dec 14 02:35:53 2008 +0800 @@ -71,6 +71,7 @@ foreach my $i (0..$#wingman) { my $cityId = $wingman[$i]; my $city = LoadFile(sprintf("city-%s-dump.yaml", $cityId)); + $city->{type} = "wingman" . ($i+1); if(defined($opt_w)) { $city->{distance} = travelTime($targetCity->island->x, $targetCity->island->y, $city->{island}->{x}, $city->{island}->{y}, 20) - ($i * 20 + 20); } else {