annotate city.yaml @ 366:2cfa03edc22e

ignore island we don't know yet
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Sun, 01 Mar 2009 11:10:52 +0800
parents a3cbe8bb4890
children
rev   line source
202
2c2dcbcc5c4d upgrade warehouse for next city
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 201
diff changeset
1 # TODO adjust human resources
52
d2ac1e198ce4 implement a new agent based on Decision Tree (Decision::ParseTree)
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents:
diff changeset
2 ---
81
d57920014cb4 split buliding.yaml to city.yaml and overall.yaml
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 80
diff changeset
3 # city level
52
d2ac1e198ce4 implement a new agent based on Decision Tree (Decision::ParseTree)
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents:
diff changeset
4 # 基本建設規則
137
362184763c04 added comments and added new research (greek fire)
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 93
diff changeset
5 # 若遭受攻擊則暫停建設
67
6eccb3a95df5 refiended the research of tech tree, and added many todos
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 59
diff changeset
6 - is_attacked:
52
d2ac1e198ce4 implement a new agent based on Decision Tree (Decision::ParseTree)
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents:
diff changeset
7 # we are in Peace :D
d2ac1e198ce4 implement a new agent based on Decision Tree (Decision::ParseTree)
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents:
diff changeset
8 0:
d2ac1e198ce4 implement a new agent based on Decision Tree (Decision::ParseTree)
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents:
diff changeset
9 - is_constructing:
d2ac1e198ce4 implement a new agent based on Decision Tree (Decision::ParseTree)
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents:
diff changeset
10 0:
202
2c2dcbcc5c4d upgrade warehouse for next city
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 201
diff changeset
11 # FIXME: 這樣會一口氣買同等城市數量的船耶, 應拉出至全國金錢考量
80
7ab5fc8c847c added some memo of TODO
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 79
diff changeset
12 # - is_gold_enoughforcargo:
7ab5fc8c847c added some memo of TODO
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 79
diff changeset
13 # 1: increaseTransporter
192
d6dc50b64f06 rules to fix corruption
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 183
diff changeset
14 - is_corruption:
d6dc50b64f06 rules to fix corruption
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 183
diff changeset
15 1:
233
afd3f5cb8597 refined warehouse levels
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 230
diff changeset
16 # FIXME: 應該先升級皇宮
192
d6dc50b64f06 rules to fix corruption
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 183
diff changeset
17 - is_warehouse_enougn_for_governorsresidence:
d6dc50b64f06 rules to fix corruption
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 183
diff changeset
18 0: build_warehouse
201
eec013e81fb0 fixed count warehouse level
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 193
diff changeset
19 1: build_palaceColony
193
a6a4a48d5fda we don't bulid anything, untill we fix corruption
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 192
diff changeset
20 - is_any_corruption:
55
ff00d108e955 check resources for build_townHall
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 54
diff changeset
21 0:
193
a6a4a48d5fda we don't bulid anything, untill we fix corruption
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 192
diff changeset
22 - is_space_enough:
a6a4a48d5fda we don't bulid anything, untill we fix corruption
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 192
diff changeset
23 0:
a6a4a48d5fda we don't bulid anything, untill we fix corruption
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 192
diff changeset
24 - is_resource_enoghforHall:
a6a4a48d5fda we don't bulid anything, untill we fix corruption
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 192
diff changeset
25 1: build_townHall
a6a4a48d5fda we don't bulid anything, untill we fix corruption
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 192
diff changeset
26 - is_happiness:
a6a4a48d5fda we don't bulid anything, untill we fix corruption
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 192
diff changeset
27 0:
232
978a949602e5 Auto-update Scientists numbers for Academy.
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 230
diff changeset
28 - is_museum_enough:
978a949602e5 Auto-update Scientists numbers for Academy.
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 230
diff changeset
29 0:
256
81d3e474c362 fixed a typo
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 253
diff changeset
30 - is_culturalexchange_researched:
232
978a949602e5 Auto-update Scientists numbers for Academy.
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 230
diff changeset
31 1: build_museum
978a949602e5 Auto-update Scientists numbers for Academy.
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 230
diff changeset
32 - is_winepress_researched:
193
a6a4a48d5fda we don't bulid anything, untill we fix corruption
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 192
diff changeset
33 1:
308
f6f56a47f383 implemented is_tavern_enough
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 257
diff changeset
34 - is_tavern_enough:
193
a6a4a48d5fda we don't bulid anything, untill we fix corruption
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 192
diff changeset
35 0: build_tavern
a6a4a48d5fda we don't bulid anything, untill we fix corruption
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 192
diff changeset
36 1:
a6a4a48d5fda we don't bulid anything, untill we fix corruption
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 192
diff changeset
37 - is_bacchanal:
a6a4a48d5fda we don't bulid anything, untill we fix corruption
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 192
diff changeset
38 0: set_tavern
a6a4a48d5fda we don't bulid anything, untill we fix corruption
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 192
diff changeset
39 1: build_tavern
325
1f5cd5c4f6b6 build academy first
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 311
diff changeset
40 - is_academy_enough:
1f5cd5c4f6b6 build academy first
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 311
diff changeset
41 0: build_academy
210
a5862d3f1c84 fixed build_barracks and build_shipyard
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 206
diff changeset
42 - is_shipyard_level_enough:
a5862d3f1c84 fixed build_barracks and build_shipyard
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 206
diff changeset
43 0:
193
a6a4a48d5fda we don't bulid anything, untill we fix corruption
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 192
diff changeset
44 - is_professionalarmy_researched:
210
a5862d3f1c84 fixed build_barracks and build_shipyard
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 206
diff changeset
45 1: build_shipyard
a5862d3f1c84 fixed build_barracks and build_shipyard
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 206
diff changeset
46 - is_barracks_level_enough:
a5862d3f1c84 fixed build_barracks and build_shipyard
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 206
diff changeset
47 0:
193
a6a4a48d5fda we don't bulid anything, untill we fix corruption
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 192
diff changeset
48 - is_professionalarmy_researched:
210
a5862d3f1c84 fixed build_barracks and build_shipyard
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 206
diff changeset
49 1: build_barracks
206
b7af307a222d added build safehouse
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 202
diff changeset
50 - is_safehouse_enough:
212
5f94d8d8370a build embassy, museum, academy
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 210
diff changeset
51 0:
5f94d8d8370a build embassy, museum, academy
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 210
diff changeset
52 - is_espionage_researched:
5f94d8d8370a build embassy, museum, academy
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 210
diff changeset
53 1: build_safehouse
257
2d205c539688 we build safehouse first, then wall.
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 256
diff changeset
54 - is_wall_enough:
2d205c539688 we build safehouse first, then wall.
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 256
diff changeset
55 0: build_wall
212
5f94d8d8370a build embassy, museum, academy
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 210
diff changeset
56 - is_embassy_enough:
5f94d8d8370a build embassy, museum, academy
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 210
diff changeset
57 0:
5f94d8d8370a build embassy, museum, academy
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 210
diff changeset
58 - is_foreigncultures_researched:
5f94d8d8370a build embassy, museum, academy
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 210
diff changeset
59 1: build_embassy
5f94d8d8370a build embassy, museum, academy
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 210
diff changeset
60 - is_museum_enough:
5f94d8d8370a build embassy, museum, academy
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 210
diff changeset
61 0:
253
9fe03a3d155c fixed a typo
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 237
diff changeset
62 - is_culturalexchange_researched:
221
1b7805535040 fixed the indent of yaml. I hate YALM (and python. :p)
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 212
diff changeset
63 1: build_museum
226
792e6e23f2a1 warehouse takes too much resources, so we leave it later
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 221
diff changeset
64 - is_warehouse_enough:
792e6e23f2a1 warehouse takes too much resources, so we leave it later
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 221
diff changeset
65 0:
792e6e23f2a1 warehouse takes too much resources, so we leave it later
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 221
diff changeset
66 - is_conservation_researched:
792e6e23f2a1 warehouse takes too much resources, so we leave it later
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 221
diff changeset
67 1: build_warehouse
339
a3cbe8bb4890 try to fixed build_academy
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 329
diff changeset
68 # 0: build_academy
237
a254fb798eb9 rules for branchOffice
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 234
diff changeset
69 - is_branchOffice_enough:
a254fb798eb9 rules for branchOffice
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 234
diff changeset
70 0: build_branchOffice
329
c29c8dad0673 added rules for build ports
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 325
diff changeset
71 - is_port_enough:
c29c8dad0673 added rules for build ports
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 325
diff changeset
72 0: build_port
183
2362c8c8909e implemented military builder.
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 173
diff changeset
73
212
5f94d8d8370a build embassy, museum, academy
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 210
diff changeset
74 # 水晶島應該建設
5f94d8d8370a build embassy, museum, academy
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 210
diff changeset
75 # is_invention_researched
5f94d8d8370a build embassy, museum, academy
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 210
diff changeset
76 # 1:
5f94d8d8370a build embassy, museum, academy
"Rex Tsai <chihchun@kalug.linux.org.tw>"
parents: 210
diff changeset
77 # - build_workshop