
行动本版本变更
采购药方
这种困扰新市民的疾病是可以被战胜并击退的。许多医生和巫医都声称,有多种配方和疗法或许能改善患者的健康状况,而我们的职责就是确保这些物资的充足供应。
纤维作物商品effect
宝石商品effect
熏香商品effect
烈酒商品effect
木材商品effect
药物商品effect
水银商品effect
伊斯兰教宗教组effect
大瘟疫局势select trigger采购药方静态修正potential隔离染疫者静态修正allow驱逐病人静态修正allow定义in_game/common/generic_actions/great_pestilence.txt:1
2type = situation
4ai_tick = daily
5ai_tick_frequency = 40
6automation_tick = daily
7automation_tick_frequency = 7
9exclusive_group = bd_disease_control_actions
11potential = {
12scope:actor ?= {
}
}
18allow = {
19scope:actor ?= {
}
}
25price = price:procure_remedies
27select_trigger = {
28looking_for_a = situation
29target_flag = recipient
30name = "choose_situation" 选择局势:
31column = {
31data = name
}
}
38effect = {
39scope:actor ?= {
41if = {
42limit = {
44OR = {}
}
54add_country_modifier = {
56years = -1
57mode = add_and_extend
58size = {缩放修正
59add = {
60desc = "[income|e] factor"
61value = scope:actor.monthly_income_total
62multiply = 0.10
63min = 1
}
}
}
}
68else = {
69add_country_modifier = {
71years = -1
72mode = add_and_extend
73size = {缩放修正
74add = {
75desc = "[income|e] factor"
76value = scope:actor.monthly_income_total
77multiply = 0.05
78min = 1
}
}
}
}
85if = {
89every_market_present_in_country = {
90limit = {
91location.continent = continent:america
}
93add_temporary_demand = {
94type = demand:procure_remedies
95scale_with_pop = 0.002
96years = -1
}
}
}
100else = {
101every_market_present_in_country = {
102limit = {
103location.continent = continent:america
}
105add_temporary_demand = {
106type = demand:procure_remedies_no_liquor
107scale_with_pop = 0.002
108years = -1
}
}
}
}
}
117ai_will_do = {
119add = "scope:actor.add_static_modifier_utility(procure_remedies)"
120add = "scope:actor.add_static_modifier_utility(procure_remedies_cost)"
122add = {
123if = {
124limit = {
125scope:actor = {
126OR = {
127country_has_disease = disease:bubonic_plague
128country_has_disease = disease:great_pestilence
}
}
}
132value = 50
}
}
135add = {
136desc = "increased demands"
137value = -10
}
140subtract = {
141desc = "bias against doing stuff"
142value = 1
}
}