
行动
驱逐病人
那些受瘟疫影响的人十分危险,他们仅是存在就有可能把瘟疫传染给健康的人,我们必须将他们逐出每一个社区,给还有可能获救的人一个机会。
黑死病局势select trigger采购药方静态修正allow隔离染疫者静态修正allow驱逐病人静态修正potential定义in_game/common/generic_actions/black_death.txt:743
744type = situation
746ai_tick = daily
747ai_tick_frequency = 40
748automation_tick = daily
749automation_tick_frequency = 7
751exclusive_group = bd_disease_control_actions
759allow = {
760scope:actor ?= {
}
}
766price = price:strict_quarantines
768select_trigger = {
769looking_for_a = situation
770target_flag = recipient
771name = "choose_situation" 选择局势:
772column = {
773data = name
}
775visible = {
777situation_is_active = yes
778scope:actor = {
779country_has_disease_outbreak = root.var:original_outbreak
}
}
}
784effect = {
785scope:actor ?= {
}
}
794ai_will_do = {
797add = "scope:actor.add_static_modifier_utility(strict_quarantines)"
800if = {
801limit = {
802scope:actor.monthly_income_total > 0
}
804add = {
805desc = "Available profit margin to build pest houses"
806value = {
807value = scope:actor.monthly_balance
808divide = scope:actor.monthly_income_total
809multiply = 20
}
}
}
}