diff building.yaml @ 55:ff00d108e955

check resources for build_townHall
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Mon, 20 Oct 2008 23:44:45 +0800
parents 2d3c394b7940
children 6e0d5e781949
line wrap: on
line diff
--- a/building.yaml	Mon Oct 20 23:24:15 2008 +0800
+++ b/building.yaml	Mon Oct 20 23:44:45 2008 +0800
@@ -16,7 +16,9 @@
             - is_wall_enough:
                0: build_wall
             - is_space_enough:
-               0: build_townHall
+               0: 
+                  - is_resource_enoghforHall:
+                     1: build_townHall
             - is_corruption:
                1: build_governorsresidence
             # 倉庫庫存量