changeset 347:b74e3a838b58

do not build military
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Sat, 14 Feb 2009 03:02:46 +0800
parents 8a69b96be376
children b245f259776f
files agent.pl
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
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