
행동
배급 정책 시행
식량 부족으로 기아가 임박한 상황이니, 혹독한 겨울을 견딜 수 있도록 엄격한 배급 정책을 시행해야 합니다. 곡물 유통을 통제하고 사재기를 제한한다면, 대중의 불안과 사회의 불안정을 초래하더라도 기근을 예방할 수 있습니다.
소빙하기상황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
}
}
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
}
}
}
}
}
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
}
}