
行动本版本变更
赞助宗教大赦
瘟疫是神对人们罪孽的惩罚。我们可以通过在全国范围组织大量宗教仪式,鼓励民众清洗罪孽来抗击瘟疫。
黑死病局势select trigger寻找替罪羊静态修正allow赞助宗教大赦静态修正potential定义in_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" 选择局势:
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 = {缩放修正
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)"
}
}