
Action
Control the Food Market
In these trying times our biggest priority is to ensure the supply of grain and other foodstuffs, forbidding its export. Even at the cost of angering the merchants of our nation.
Black DeathSituationselect triggerIsolate the countryStatic ModifierallowControl the food marketStatic ModifierpotentialDefinitionin_game/common/generic_actions/black_death.txt:246
247type = situation
248ai_tick = daily
249ai_tick_frequency = 40
250automation_tick = daily
251automation_tick_frequency = 7
253exclusive_group = food_and_trade_actions
268price = price:control_the_food_market
270select_trigger = {
271looking_for_a = situation
272target_flag = recipient
273name = "choose_situation" Choose the Situation:
274column = {
274data = name
}
275visible = {
277situation_is_active = yes
278scope:actor = {
279country_has_disease_outbreak = root.var:original_outbreak
}
}
}
284effect = {
285scope:actor ?= {
286add_country_modifier = {
}
287add_country_modifier = {
}
}
}
291ai_will_do = {
294add = "scope:actor.add_static_modifier_utility(foodstuffs_exports_banned)"
295add = "scope:actor.add_static_modifier_utility(control_the_food_market)"
296add = {
297desc = "reduce the amount of trade happening"
298value = 10
}
301subtract = {
302desc = "bias against doing stuff"
303value = 1
}
}