Skip to content

Commit

Permalink
Prevent random Muslim characters being generated
Browse files Browse the repository at this point in the history
  • Loading branch information
IhateTrains committed Jan 18, 2025
1 parent f2ac04a commit 7e05183
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions ImperatorToCK3/Data_Files/configurables/removable_file_blocks.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14742,4 +14742,46 @@ apply_historic_administrative_game_rule_effect = {
}
}
}
}


"common/scripted_character_templates/00_pool_repopulation_character_templates.txt" = {
# Prevent random Muslim characters from being spawned.
{
else_if = {
limit = {
OR = {
culture = culture:bolghar
culture = culture:somali
}
}
set_character_faith = faith:ashari
if = {
limit = {
root.capital_county.faith = {
religion_tag = islam_religion
}
}
set_character_faith = root.capital_county.faith
}
}
}
{
else_if = {
limit = {
OR = {
culture = culture:butr
culture = culture:zaghawa
}
}
random_list = {
10 = {
set_character_faith = faith:ibadi
}
10 = {
set_character_faith = faith:sufri
}
}
}
}
}

0 comments on commit 7e05183

Please sign in to comment.