# HG changeset patch # User "Rex Tsai " # Date 1231084395 -28800 # Node ID 9e8dccf177e88ec6854b732ab08f59770bd3b56c # Parent 2972852a4ee57e64ec0535c25a4bb46a588999f8# Parent f6f56a47f3834c49646baf480386f51b63021c20 merged changes diff -r f6f56a47f383 -r 9e8dccf177e8 planner.pl --- a/planner.pl Sun Jan 04 23:49:41 2009 +0800 +++ b/planner.pl Sun Jan 04 23:53:15 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 {