Skip to content

Commit

Permalink
Fix pagan reformation flags
Browse files Browse the repository at this point in the history
Because apparently pagan religions don't fully function as heresies for some reason.
  • Loading branch information
Whizzer committed Jun 30, 2021
1 parent ca6b017 commit 30254e5
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions CleanSlate/events/base_on_action_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4066,10 +4066,20 @@ narrative_event = {
only_playable = yes

immediate = {
# Switch back to unreformed religion to set reformation flag
become_heretic = yes
religion_scope = { set_flag = has_been_reformed }
abandon_heresy = yes
trigger_switch = {
on_trigger = religion

norse_pagan_reformed = { norse_pagan = { set_flag = has_been_reformed } }
tengri_pagan_reformed = { tengri_pagan = { set_flag = has_been_reformed } }
baltic_pagan_reformed = { baltic_pagan = { set_flag = has_been_reformed } }
finnish_pagan_reformed = { finnish_pagan = { set_flag = has_been_reformed } }
aztec_pagan_reformed = { aztec_pagan = { set_flag = has_been_reformed } }
slavic_pagan_reformed = { slavic_pagan = { set_flag = has_been_reformed } }
west_african_pagan_reformed = { west_african_pagan = { set_flag = has_been_reformed } }
zun_pagan_reformed = { zun_pagan = { set_flag = has_been_reformed } }
bon_pagan_reformed = { bon_pagan = { set_flag = has_been_reformed } }
hellenic_pagan_reformed = { hellenic_pagan = { set_flag = has_been_reformed } }
}

reformation_god_names_changes_effect = yes

Expand Down

0 comments on commit 30254e5

Please sign in to comment.