# HG changeset patch # User "Rex Tsai " # Date 1234551766 -28800 # Node ID b74e3a838b5824edbe5e0aab3edd12a1eaf5ccd5 # Parent 8a69b96be3763d52fb5b5b86f1a1a24dcad8b104 do not build military diff -r 8a69b96be376 -r b74e3a838b58 agent.pl --- a/agent.pl Thu Feb 12 21:15:52 2009 +0800 +++ b/agent.pl Sat Feb 14 03:02:46 2009 +0800 @@ -439,12 +439,12 @@ # $i->set("tavern", $cityId); # build military! - $tree = LoadFile('military.yaml'); - $cities->{$cityId}->{parse_path} = []; - $cities->{$cityId}->{parse_answer} = undef; - if (my $action = ParseTree($tree, $rules, $cities->{$cityId})) { - triggerAction($action, $cityId); - } +# $tree = LoadFile('military.yaml'); +# $cities->{$cityId}->{parse_path} = []; +# $cities->{$cityId}->{parse_answer} = undef; +# if (my $action = ParseTree($tree, $rules, $cities->{$cityId})) { +# triggerAction($action, $cityId); +# } DumpFile("military-$cityId-dump.yaml", $cities->{$cityId}); # build and upgrade for cities