diff city.yaml @ 192:d6dc50b64f06

rules to fix corruption
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Sun, 02 Nov 2008 23:39:49 +0800
parents 2362c8c8909e
children a6a4a48d5fda
line wrap: on
line diff
--- a/city.yaml	Sun Nov 02 22:47:55 2008 +0800
+++ b/city.yaml	Sun Nov 02 23:39:49 2008 +0800
@@ -11,14 +11,17 @@
             # XXX: 這樣會一口氣買同等城市數量的船耶
             # - is_gold_enoughforcargo:
                # 1: increaseTransporter
+            - is_corruption:
+               1:
+                  - is_warehouse_enougn_for_governorsresidence:
+                     0: build_warehouse
+                     1: build_governorsresidence
             - is_space_enough:
                0: 
                   - is_resource_enoghforHall:
                      1: build_townHall
             - is_wall_enough:
                0: build_wall
-            - is_corruption:
-               1: build_governorsresidence
             # 倉庫庫存量
             - is_warehouse_enough:
                0: build_warehouse