Here are some tag-specific Muslim events. They may be a bit historically-deterministic, but...
Comments welcome.
Code:
### Assassin events series ###
province_event = {
id = 20046
picture = "event_intrigue"
name = "Creation of the Assassins"
trigger = {
condition = {
type = or
condition = { type = province value = 662 } # Mazandaran
condition = { type = province value = 665 } # Dailam
condition = { type = province value = 765 } # Archa
}
condition = { type = ruler_religion value = muslim }
condition = {
type = not
value = { type = title_exists value = ASSA }
}
condition = { type = year value = 1097 }
condition = {
type = not
value = { type = year value = 1250 }
}
}
mean_time_to_happen = {
months = 60
}
action_a = {
effect = { type = create_tag value = ASSA }
effect = { type = add_regiment country = ASSA culture = muslim strength = { archers = 500 militia = 1000 } }
}
}
character_event = {
id = 20047
picture = "event_intrigue"
name = "Management of the Assassin stronghold"
trigger = {
condition = { type = title value = ASSA }
condition = { type = ruler_religion value = muslim }
condition = { type = ai }
}
mean_time_to_happen = {
years = 5
}
action_a = {
effect = { type = create_courtier value = spymaster }
effect = { type = set_law value = elective_law }
}
}
character_event = {
id = 20048
picture = "event_intrigue"
name = "Assassination of enemies"
trigger = {
condition = { type = title value = ASSA }
condition = { type = ruler_religion value = muslim }
condition = { type = ai }
}
mean_time_to_happen = {
months = 60
modifier = {
condition = { type = trait value = zealous }
factor = 0.9
}
modifier = {
condition = { type = trait value = intricate_webweaver }
factor = 0.75
}
modifier = {
condition = { type = trait value = illusive_shadow }
factor = 0.75
}
modifier = {
condition = { type = atwar }
factor = 0.5
}
modifier = {
condition = { type = intrigue value = 7 }
factor = 0.9
}
modifier = {
condition = { type = intrigue value = 9 }
factor = 0.9
}
modifier = {
condition = { type = intrigue value = 12 }
factor = 0.7
}
}
action_a = {
effect = { type = trigger for = random_enemy value = 20049 }
}
}
character_event = {
id = 20049
picture = "event_intrigue"
name = "The Assassins have struck at us!"
immidiate = {
effect = { type = death value = random_courtier }
}
}
character_event = {
id = 20050
picture = "event_intrigue"
name = "Assassination of enemy ruler"
trigger = {
condition = { type = title value = ASSA }
condition = { type = ruler_religion value = muslim }
condition = { type = ai }
}
mean_time_to_happen = {
months = 500
modifier = {
condition = { type = trait value = zealous }
factor = 0.9
}
modifier = {
condition = { type = trait value = intricate_webweaver }
factor = 0.75
}
modifier = {
condition = { type = trait value = illusive_shadow }
factor = 0.75
}
modifier = {
condition = { type = atwar }
factor = 0.5
}
modifier = {
condition = { type = intrigue value = 7 }
factor = 0.9
}
modifier = {
condition = { type = intrigue value = 9 }
factor = 0.9
}
modifier = {
condition = { type = intrigue value = 12 }
factor = 0.7
}
}
action_a = {
effect = { type = trigger for = random_enemy value = 20051 }
}
}
character_event = {
id = 20051
picture = "event_intrigue"
name = "Our ruler has been murdered by the Assassins!"
immidiate = {
effect = { type = death }
}
}
### Seljuk event series ###
province_event = {
id = 20052
picture = "event_claim"
name = "Turkoman reinforcements"
trigger = {
condition = { type = region value = Middle_East }
condition = { type = exists value = SELJ }
condition = { type = demesne value = SELJ }
condition = {
type = not
value = { type = year value = 1100 }
}
condition = {
type = owner
condition = { type = atwar }
}
condition = { type = ai }
}
mean_time_to_happen = {
months = 60
modifier = {
condition = { type = year value = 1085 }
factor = 5
}
}
action_a = {
effect = { type = add_regiment country = SELJ culture = turkish strength = { archer_cav = 5000 light_cav = 5000 } }
}
}
province_event = {
id = 20053
picture = "event_claim"
name = "Creation of the Rum Sultanate"
trigger = {
condition = {
type = or
condition = { type = province value = 706 } # Koloneia
condition = { type = province value = 707 } # Melitene
condition = { type = province value = 737 } # Kaisereia
condition = { type = province value = 749 } # Dorylaion
condition = { type = province value = 750 } # Nikaea
condition = { type = province value = 752 } # Galatia
condition = { type = province value = 753 } # Ankyra
condition = { type = province value = 759 } # Ikonion
condition = { type = province value = 760 } # Tyana
}
condition = { type = exists value = SELJ }
condition = { type = demesne value = SELJ }
condition = {
type = not
value = { type = title_exists value = RUMS }
}
condition = {
type = not
value = { type = year value = 1300 }
}
}
mean_time_to_happen = {
months = 50
}
action_a = {
effect = { type = create_tag value = RUMS }
effect = { type = add_regiment country = RUMS culture = turkish strength = { archer_cav = 2000 light_cav = 2000 } }
effect = { type = religion value = muslim }
effect = { type = culture value = turkish }
}
}
### Egypt & North African event series ###
province_event = {
id = 20054
picture = "event_intrigue"
name = "Mameluke rebellion"
trigger = {
condition = { type = region value = North_Africa }
condition = {
type = or
condition = { type = exists value = FATI }
condition = { type = exists value = AYYU }
condition = { type = exists value = ABBA }
}
condition = {
type = or
condition = { type = demesne value = FATI }
condition = { type = demesne value = AYYU }
condition = { type = demesne value = ABBA }
}
condition = {
type = not
value = { type = title_exists value = MAML }
}
condition = { type = year value = 1250 }
}
mean_time_to_happen = {
months = 500
}
action_a = {
effect = { type = create_tag value = MAML }
effect = { type = add_regiment country = MAML culture = cuman strength = { light_cav = 1000 archers = 1000 heavy_inf = 1000 } }
}
}
province_event = {
id = 20055
picture = "event_intrigue"
name = "Rise of the Almohads"
trigger = {
condition = {
type = or
condition = { type = area value = 843 } # Haut_Atlas
condition = { type = area value = 846 } # Sahara
}
condition = { type = ruler_religion value = muslim }
condition = {
type = not
value = { type = title_exists value = ALMO }
}
condition = { type = year value = 1130 }
condition = {
type = not
value = { type = year value = 1260 }
}
}
mean_time_to_happen = {
months = 500
}
action_a = {
effect = { type = create_tag value = ALMO }
effect = { type = add_regiment country = ALMO culture = abghazian strength = { light_cav = 1000 archers = 1000 militia = 1000 } }
}
}
Comments welcome.