# HG changeset patch # User "Rex Tsai " # Date 1231084375 -28800 # Node ID 68138c99ee168f8bbdec6dfa5cc5c4e3bd78992f # Parent 2972852a4ee57e64ec0535c25a4bb46a588999f8# Parent f6f56a47f3834c49646baf480386f51b63021c20 merged changes diff -r f6f56a47f383 -r 68138c99ee16 planner.pl --- a/planner.pl Sun Jan 04 23:49:41 2009 +0800 +++ b/planner.pl Sun Jan 04 23:52:55 2009 +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 {