view overall.yaml @ 289:4c1eb583b97c

new function for checking shipyard
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Fri, 05 Dec 2008 20:22:01 +0800
parents 978a949602e5
children
line wrap: on
line source

---
# country level management.
- is_attacked:
   # we are in Peace :D
   0:
     # 相關基礎研究 (technologies tree)
     # 財富
     - is_wealth_researched:
        0: research_economy
     # 擴張
     - is_expansion_researched:
        0: research_seafaring
     # 造紙
     - is_paper_researched:
        0: research_knowledge
     # 正規軍
     - is_professionalarmy_researched:
        0: resaerch_military
     # 釀酒
     - is_winepress_researched:
        0: research_economy
     # 發明 (兵工廠)
     - is_invention_researched:
        0: research_knowledge
     # 異國文化, 建造博物館
     - is_culturalexchange_researched:
        0: research_knowledge
     # 希臘火, 建造噴火船
     - is_greekfire_researched:
        0: research_seafaring

   1: run_defence