
Action
No Contact with Outsiders
Everybody knows that foreigners and merchants from neighboring tribes have brought plague to our territory. To avoid the further spread of the scourge, we will cut all ties with our neighbors and close our borders to any trade, no matter the cost to our economy.
Great PestilenceSituationselect triggerNo Contact with OutsidersStatic ModifierpotentialDefinitionin_game/common/generic_actions/great_pestilence.txt:570
571icon = close_the_borders
572type = situation
573exclusive_group = food_and_trade_actions
574ai_tick = daily
575ai_tick_frequency = 80
577automation_tick = never
578automation_tick_frequency = 12
580potential = {
581scope:actor ?= {
}
}
587allow = {
}
590price = price:no_contact_with_outsiders
593select_trigger = {
594looking_for_a = situation
595target_flag = recipient
596name = "choose_situation" Choose the Situation:
597column = {
597data = name
}
}
604effect = {
605scope:actor ?= {
606add_country_modifier = {
}
}
}
610ai_will_do = {
613add = "scope:actor.add_static_modifier_utility(no_contact_with_outsiders)"
614add = {
615desc = "reduce the amount of trade happening"
616value = 10
}
619subtract = {
620desc = "bias against doing stuff"
621value = 1
}
623if = {
624limit = {
625scope:actor = {
626at_war = yes
}
}
629subtract = {
630desc = "needs diplomats"
631value = 100
}
}
}