Mercurial > eagle-eye
diff agent.pl @ 347:b74e3a838b58
do not build military
author | "Rex Tsai <chihchun@kalug.linux.org.tw>" |
---|---|
date | Sat, 14 Feb 2009 03:02:46 +0800 |
parents | 20b8826655ab |
children | 26f52b25aa06 |
line wrap: on
line diff
--- 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