
ActionChanged this version
Sponsor Mass Forgiveness
The plague is a punishment from God for the sins of the people. We can fight it by organizing mass church services all around the country and encourage the populace to clean themselves from the stain of sin.
Black DeathSituationselect triggerFind the culpritsStatic ModifierallowSponsor mass forgivenessStatic ModifierpotentialDefinitionin_game/common/generic_actions/black_death.txt:879
880type = situation
882ai_tick = daily
883ai_tick_frequency = 40
884automation_tick = daily
885automation_tick_frequency = 7
887exclusive_group = bd_social_actions
889potential = {
}
901select_trigger = {
902looking_for_a = situation
903target_flag = recipient
904name = "choose_situation" Choose the Situation:
905column = {
905data = name
}
906visible = {
908situation_is_active = yes
909scope:actor = {
910country_has_disease_outbreak = root.var:original_outbreak
}
}
}
915effect = {
916scope:actor ?= {
917add_country_modifier = {
}
918add_country_modifier = {
920years = -1
921mode = add_and_extend
922size = {scales the modifier
923value = 1
924multiply = {
925desc = "[income|e] factor"
926value = this.monthly_income_total
}
928multiply = 0.1
}
}
}
}
935ai_will_do = {
937if = {
938limit = {
939save_temporary_scope_value_as = {
940name = monthly_cost
941value = {
942value = scope:actor.monthly_income_total
943multiply = 0.1
}
}
}
}
949add = {
950desc = "stability effect"
951value = "scope:actor.currency_utility(stability|stability_severe_bonus)"
}
954add = {
955desc = "Ongoing modifier"
956value = "scope:actor.add_static_modifier_utility(sponsor_sin_forgiveness_bonus)"
}
960add = {
961desc = "Cost"
962value = "scope:actor.add_static_modifier_utility(sponsor_sin_forgiveness_cost|scope:monthly_cost)"
}
}