封闭外界接触
行动

封闭外界接触

no_contact_with_outsidersin_game/common/generic_actions/great_pestilence.txt:570

众所周知,外国人和邻国商人给我们的领土带来了瘟疫。为了避免瘟疫进一步蔓延,我们必须切断与邻国的一切联系。我们要关闭边境、禁止所有贸易,无论冒着多大的经济损失。

需要大瘟疫局势select trigger封闭外界接触静态修正potential

定义in_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 ?= {
582NOT = {
582has_country_modifier = no_contact_with_outsiders
}
583culture = {
}
}
}
587allow = {
}
590price = price:no_contact_with_outsiders
593select_trigger = {
594looking_for_a = situation
595target_flag = recipient
596name = "choose_situation" 选择局势:
597column = {
597data = name
}
598visible = {
600situation_is_active = yes
}
}
604effect = {
605scope:actor ?= {
606add_country_modifier = {
606years = -1
606mode = add_and_extend
}
}
}
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
}
}
}
© 2026 Soft Santa Cruz, S.L.U.。保留所有权利。非官方粉丝项目,与Paradox Interactive无关。游戏内容 © Paradox Interactive。 关于 · 隐私 · 法律声明