施行配给制
行动

施行配给制

enforce_rationing_policiesin_game/common/generic_actions/little_ice_age_actions.txt:1

粮食短缺导致的饥荒迫在眉睫,我们必须实行严格的配给政策,确保供应能挺过严酷的寒冬。我们可以通过控制粮食分发和限制囤积居奇阻止饥荒,但代价是公众的动荡和潜在的骚乱。

需要小冰期局势select trigger 1

定义in_game/common/generic_actions/little_ice_age_actions.txt:1

2type = situation
3show_message = yes
5allow = {
6scope:actor = {
7any_market_present_in_country ?= {
8market_food_percentage < 0.3
}
10stability > 0
}
}
14automation_tick = never
15automation_tick_frequency = 12
17cooldown = {
18type = enforce_rationing_policies
19years = 10
}
22price = price:control_the_food_market
24select_trigger = {
25looking_for_a = situation
26target_flag = recipient
27name = "choose_situation" 选择局势:
28column = {
28data = name
}
29visible = {
31situation_is_active = yes
}
}
35select_trigger = {
36looking_for_a = market
37source = actor
38target_flag = target_market
39name = "select_market" 选择市场
40none_available_msg_key = "no_markets_available"
41column = {
41data = name
}
42visible = {
43location = {
44owner ?= scope:actor
}
}
}
49effect = {
50custom_tooltip = {
51text = locations_in_designated_market_get_enforced_rationing_policy_tt 我们在指定市场拥有的所有省会都会获得实行配给制度,持续10年
52scope:target_market ?= {
53every_location_in_market = {
54limit = {
55has_owner = yes
56owner = scope:actor
57is_province_capital = yes
}
59add_location_modifier = {
61years = 10
62mode = replace
}
}
}
}
}
69ai_will_do = {
70add = -30
71if = {
72limit = {
72exists = scope:target_market
}
73add = {
74value = scope:target_market.market_food_percentage
75multiply = -100
76add = 50
}
}
79add = {
80value = scope:actor.stability
81multiply = 0.1
}
}
© 2026 Soft Santa Cruz, S.L.U.。保留所有权利。非官方粉丝项目,与Paradox Interactive无关。游戏内容 © Paradox Interactive。 关于 · 隐私 · 法律声明