
Action
Expel the Sick
Those affected by the pest are dangerous, and their mere presence might spread the pestilence to the healthy, we must expel them from every community to give a chance to those that can still be saved.
Black DeathSituationselect triggerProcure remediesStatic ModifierallowSegregate the infectedStatic ModifierallowExpel the sickStatic ModifierpotentialDefinitionin_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" Choose the 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
}
}
}
}