# HG changeset patch # User "Rex Tsai " # Date 1231084297 -28800 # Node ID 99586219085302bc7c7dccb14b99ffb799b010eb # Parent 2972852a4ee57e64ec0535c25a4bb46a588999f8# Parent f6f56a47f3834c49646baf480386f51b63021c20 merged changes diff -r f6f56a47f383 -r 995862190853 planner.pl --- a/planner.pl Sun Jan 04 23:49:41 2009 +0800 +++ b/planner.pl Sun Jan 04 23:51:37 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 {