
Action
Repeal 'Expel the Sick'
We no longer need to expel the sick to the borders of communities, every Pest House that was used to house them can be burned down.
Pest HouseBuildingeffect
Black DeathSituationselect triggerExpel the sickStatic ModifierpotentialDefinitionin_game/common/generic_actions/black_death.txt:816
818type = situation
820ai_tick = daily
821ai_tick_frequency = 120
822automation_tick = daily
823automation_tick_frequency = 7
825exclusive_group = bd_disease_control_actions
833select_trigger = {
834looking_for_a = situation
835target_flag = recipient
836name = "choose_situation" Choose the Situation:
837column = {
837data = name
}
}
844effect = {
845scope:actor ?= {
847every_owned_location = {
851destroy_building = "building(building_type:pest_house|scope:actor)"
}
}
}
856ai_will_do = {
857add = "scope:actor.add_static_modifier_utility(strict_quarantines)"
858add = {
859desc = "able to build pest houses"
860value = 15
}
863add = {
864if = {
865limit = {
866scope:actor = {
867country_has_disease = disease:bubonic_plague
}
}
870value = 50
}
}
873multiply = -1
875subtract = 1
}