view flash-city.yaml @ 371:0522468991c1

added flash attacking script.
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Tue, 14 Apr 2009 16:59:14 +0800
parents
children
line wrap: on
line source

---
- is_attacked:
   0:
      - is_constructing:
         0:
            - is_warehouse_available:
               0:
                  - is_conservation_researched:
                     1: build_warehouse
            - is_port_available:
               0: build_port
            - is_barracks_available:
               0:
                  - is_professionalarmy_researched:
                     1: build_barracks
            - is_shipyard_availble:
               0:
                  - is_professionalarmy_researched:
                     1: build_shipyard
            - is_warehouse_more_then_eight:
               0:
                  - is_conservation_researched:
                     1: build_warehouse
            - is_safehouse_enough:
               0:
                  - is_espionage_researched:
                     1: build_safehouse
            - is_port_enough:
               0: build_port