comparison building.yaml @ 245:a344c54f15c7

merge work
author hychen@mluna
date Thu, 23 Oct 2008 00:47:56 +0800
parents 2af91e80353e
children 27b16506231f
comparison
equal deleted inserted replaced
73:c20912354d1d 245:a344c54f15c7
1 --- 1 ---
2 # 基本建設規則 2 # 基本建設規則
3 # 檢查是否被攻擊 3 # 檢查是否被攻擊
4 - is_Attacked: 4 - is_attacked:
5 # we are in Peace :D 5 # we are in Peace :D
6 0: 6 0:
7 - is_constructing: 7 - is_constructing:
8 # already building something. 8 # already building something.
9 1: 9 1:
11 # 11 #
12 # 相關基礎研究 (technologies tree) 12 # 相關基礎研究 (technologies tree)
13 # 財富 13 # 財富
14 - is_wealth_researched: 14 - is_wealth_researched:
15 0: research_economy 15 0: research_economy
16 1: 16 # 擴張
17 # 擴張 17 - is_expansion_researched:
18 - is_expansion_researched: 18 0: research_seafaring
19 0: research_seafaring 19 # 造紙
20 1: 20 - is_paper_researched:
21 # 造紙 21 0: research_knowledge
22 - is_paper_researched: 22 # 正規軍
23 0: research_knowledge 23 - is_professionalarmy_researched:
24 1: 24 0: resaerch_military
25 # 釀酒 25 # 釀酒
26 - is_winepress_researched: 26 - is_winepress_researched:
27 0: research_economy 27 0: research_economy
28 1: 28 # 發明
29 # 正規軍 29 - is_invention_researched:
30 - is_professionalarmy_researched: 30 0: research_knowledge
31 0: resaerch_military
32 # let's find something to build up 31 # let's find something to build up
33 0: 32 0:
34 # 確認是否為主城
35 # 確認是否有學院
36 - is_gold_enoughforcargo: 33 - is_gold_enoughforcargo:
37 1: increaseTransporter 34 1: increaseTransporter
38 - is_wall_enough: 35 - is_wall_enough:
39 0: build_wall 36 0: build_wall
40 - is_space_enough: 37 - is_space_enough:
51 - is_shipyard: 48 - is_shipyard:
52 0: 49 0:
53 - is_drydock_researched: 50 - is_drydock_researched:
54 0: resaerch_military 51 0: resaerch_military
55 1: build_shipyard 52 1: build_shipyard
53 # build one board
56 - is_happiness: 54 - is_happiness:
57 0: 55 0:
58 - is_winepress_researched: 56 - is_winepress_researched:
59 0: research_economy 57 # 0: research_economy
60 1: build_tavern 58 1: build_tavern
61 # reduce_trvern 59
62 # 是主城, 可隨意建任一尚未搭建之建築 60 # TODO
61 # http://ikariam.wikia.com/wiki/List_of_buildings
62 # http://ikariam.wikia.com/wiki/Technology_Tree
63 # is_conservation_researched
64 # -build_warehouse
65 # build_academy
66 # build_palace (Expansion, Capital only)
67 # build_embassy (副城, 不建)
68
69 - is_professionalarmy_researched:
70 1:
71 - is_shipyard_level_enough:
72 1:
73 - build_shipyard
74 - is_professionalarmy_researched:
75 1:
76 - is_barracks_level_enough:
77 1:
78 - build_barracks
79 # is_invention_researched
80 # biuld_workshop
81 # biuld_hideout
82 #
83 # build_museum
84
85 # 皇宮
63 # 副城, 不建 ... 86 # 副城, 不建 ...
64 # 採取防禦措施 87 # 採取防禦措施
65 1: run_defense 88 1: run_defense
89 # 若軍分 0, 進行焦土政策 針對特定城市 錢全部買船 拆港
90 # increaseTransporter
91 # destroy TradingPort
92 #
93 # 計算出兵數量、到達時間與調動時間
94 # 調動軍隊防護 (加入封鎖列表)
95
96 # (保留兵力) 出兵對方城鎮, 拆港, keep gold
97 # (保留兵力) 出兵任一城鎮, 拆港, keep gold
98
99 # blocking
100 # 計算軍方比例
101 # 對方軍分 0, # 海軍一日三次, 每次八小時 # 陸軍每日三次, 八小時一次
102 # 對方平等軍分, 半夜偷襲
103 # 對方高軍分 # 累積分數
104 #
105 # balance resources
106 # 從其他城移動資源到特定城市
107 # 預先計算可能需要的資源