diff military.yaml @ 229:8a11302abf7f

we build townHall first, then we build army
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Wed, 05 Nov 2008 00:14:37 +0800
parents dbdd7dcc91c6
children
line wrap: on
line diff
--- a/military.yaml	Wed Nov 05 00:21:57 2008 +0800
+++ b/military.yaml	Wed Nov 05 00:14:37 2008 +0800
@@ -10,7 +10,11 @@
                         - is_constructing:
                            0: 
                               - is_any_corruption:
-                                 0: build_shipyard
+                                 0: 
+                                    - is_space_enough:
+                                       1:
+                                          - is_resource_enoghforHall:
+                                             0: build_shipyard
                      1:
                         - is_shipyard_upgrading:
                            0:
@@ -32,7 +36,11 @@
                         - is_constructing:
                            0: 
                               - is_any_corruption:
-                                 0: build_barracks
+                                 0: 
+                                    - is_space_enough:
+                                       1:
+                                          - is_resource_enoghforHall:
+                                             0: build_barracks
                      1:
                         - is_barracks_upgrading:
                            0: