This mod tries to be as compatible as possible.
However, due to the way modding is handled in this game, other mods might need to be modified to allow compatibility.

This mod does not depend on having vanilla faiths/cultures, but uses the vanilla triggers/values for its systems.
It mostly works with Total Conversion Mods if loaded below in the playset, although the systems would need an additional compatibility mod.

-- Vanilla Changes --

gui\window_county_view.gui
REQUIRED
Two buttons added to display the modded custom faiths/cultures windows.
If this file is replaced by another mod (lower in the playset), it will not be possible to display those windows.

common\factions\00_populist_faction.txt
Replaces the logic for joining Cultural/Religious uprising factions.
If replaced, minorities in counties won't join factions and provide levies to them.

Councillor Tasks edited :
- zz_kei_cafg_court_chaplain_tasks.txt
    - task_conversion
- zz_kei_cafg_steward_tasks.txt
    - task_promote_culture
    - task_accept_culture

Some of their related script_values are replaced in the following files :
    - zz_kei_cafg_faith_task_conversion_values.txt
    - zz_kei_cafg_culture_task_promote_culture_values.txt
    - zz_kei_cafg_culture_task_accept_culture_values.txt

Court Positions edited :
- zz_kei_cafg_replaced_court_positions.txt
    - cultural_emissary_court_position

## common\casus_belli_types\
kei_cafg_replaced_fp3_wars.txt : replaces conversion effects in fp3_zanj_rebellion_war casus belli

## common\decisions\
kei_cafg_replaced_ce1_legendary_decisions.txt : replaces conversion effect in legendary_conversion decision
kei_cafg_replaced_fp3_decisions.txt : replaces conversion effects in adopt_a_new_faith_for_persia_decision decision
kei_cafg_replaced_major_decisions_middle_east.txt : replaces conversion effects in embrace_outremer_culture_decision decision

## common\script_values\
Every value that uses vanilla-specific concepts (e.g traditions, doctrines) is suffixed with:
- "VANILLA" for strict historical world concepts (e.g. hispania region)
- "VANILLA_B" for loose concepts (e.g. traditions that could exist in total conversion mods)
These can be overriden using a file that loads after the original values.

## common\scripted_effects\
kei_cafg_replaced_almohad_invasion_effects.txt : replaces conversion effects in find_title_for_almohad_spawn_effect
kei_cafg_replaced_culture_effects.txt : replaces conversion effects in the following effects:
    - convert_county_and_holder_if_in_region_effect
    - convert_player_realm_from_old_culture_to_new_effect
    - expand_hybrid_culture_from_origin_point (also updated logic)
    - new_culture_created_conversion_effect
kei_cafg_replaced_decisions_effects.txt : replaces conversion effects in the following effects:
    - reclaim_britannia_decision_effect
    - embrace_english_culture_effect
    - form_portugal_decision_effects
    - unite_africa_decision_effects
    - avenge_the_battle_of_tours_decision_effects
    - become_saoshyant_decision_effect
    - launch_hungarian_migration_scripted_effect
kei_cafg_replaced_dlc_fp1_scripted_effects.txt : replaces conversion effects in the elevate_mann_and_the_isles_scripted_effect effect
kei_cafg_replaced_dlc_fp3_scripted_effects.txt : replaces conversion effects in the following effects:
    - avenge_the_battle_of_nahrawan_scripted_effect
    - fp3_ending_effects_assertion
    - fp3_struggle_ending_shia_caliphate_effects
    - fp3_struggle_ending_vassalize_caliph_effects
    - fp3_struggle_rekindle_iran_effects
kei_cafg_replaced_game_rules_effects.txt : replaces conversion effects in the game_rule_randomize_faith_randomization_effect effect
kei_cafg_replaced_history_effects.txt : replaces conversion effects in the eliminate_&_replace_faith_effect effect
kei_cafg_replaced_major_decisions_scripted_effects.txt : replaces conversion effects in the following effects:
    - form_outremer_scripted_effect
    - promote_hungarian_settlement_decision_scripted_effect
    - revive_magyar_paganism_decision_scripted_effect
    - unite_bene_israel_effect
kei_cafg_replaced_religion_effects.txt : replaces conversion effects in the following effects:
    - secret_faith_openly_convert_all_in_realm
    - secret_faith_openly_convert_all_in_realm_specific
kei_cafg_replaced_religious_interaction_effects.txt : replaces conversion effects in the following effects:
    - new_faith_created_conversion_effect
    - adopt_religion_interaction_effect

## common\scripted_triggers\
kei_cafg_replaced_fp3_triggers.txt :
    - favour_skilled_outsiders_decision_valid_character_to_take_trigger

## events\
Replaced conversion effects in the following files:
- activities\hold_court_activity\hold_court_events_general.txt
- activities\tournaments\contest_events.txt
- culture_events\culture_emergence_events.txt
- decisions_events\ce1_decision_events.txt
- decisions_events\iberia_north_africa_events.txt
- decisions_events\middle_east_decisions_events.txt
- decisions_events\roman_restoration_events.txt
- decisions_events\south_asia_events.txt
- dlc\bp2\bp2_yearly_events_6.txt
- dlc\ce1\epidemic_events.txt
- dlc\fp2\fp2_lyonese_monk_events.txt
- dlc\fp2\fp2_struggle_events.txt
- dlc\fp2\fp2_yearly_events.txt
- dlc\fp3\fp3_story_cycle_zanj_rebellion_events.txt
- dlc\fp3\fp3_yearly_events_ola_batch_1.txt
- lifestyles\governance_lifestyle\stewardship_domain_events.txt
- religion_events\faith_conversion_events.txt
- religion_events\false_conversion_events.txt
- story_cycles\story_cycle_almohad_events.txt
- yearly_events\yearly_events_persia.txt
- yearly_events\yearly_events_sahara.txt
- global_culture_events.txt
- global_religion_events.txt