Mercurial > eagle-eye
comparison building.yaml @ 52:d2ac1e198ce4
implement a new agent based on Decision Tree (Decision::ParseTree)
author | "Rex Tsai <chihchun@kalug.linux.org.tw>" |
---|---|
date | Mon, 20 Oct 2008 19:07:53 +0800 |
parents | |
children | 2d3c394b7940 |
comparison
equal
deleted
inserted
replaced
51:bc31729f29f4 | 52:d2ac1e198ce4 |
---|---|
1 --- | |
2 # 基本建設規則 | |
3 # 檢查是否被攻擊 | |
4 - is_Attacked: | |
5 # we are in Peace :D | |
6 0: | |
7 - is_constructing: | |
8 # already building something. | |
9 1: | |
10 # let's find something to build up | |
11 0: | |
12 # 確認是否為主城 | |
13 # 確認是否有學院 | |
14 - is_wall_enough: | |
15 0: build_wall | |
16 - is_space_enough: | |
17 0: build_cityhall | |
18 - is_corruption: | |
19 1: build_governorsresidence | |
20 # 倉庫庫存量 | |
21 - is_warehouse_enough: | |
22 0: build_warehouse | |
23 - is_risk: | |
24 1: | |
25 - is_shipyard: | |
26 0: | |
27 - is_drydock_researched: | |
28 0: resaerch_drydock | |
29 1: build_shipyard | |
30 - is_happiness: | |
31 0: | |
32 - is_winepress_researched: | |
33 0: research_economy | |
34 1: build_tavern | |
35 # reduce_trvern | |
36 # 是主城, 可隨意建任一尚未搭建之建築 | |
37 # 副城, 不建 ... | |
38 # 採取防禦措施 | |
39 1: run_defense |