EventChanged this version
A New Imamate

Country has yet again become unstable. Clergy and Target Character are now stuck in a power struggle, with Target Character2 planning to restore the Theocracy. Perhaps we can deal with him by banishing his outside of Country, although that is certain to upset our Clergy.
OmanCountrydynamic historical event.tag
MonarchyGovernment Typetriggeroma_theocracy_event_flagVariabletriggerDefinitionin_game/events/DHE/flavor_OMA.txt:1035
1036type = country_event
1037title = flavor_oma.15.title A New Imamate
1038desc = flavor_oma.15.desc Country has yet again become unstable. Clergy and Target Character are now stuck in a power struggle, with Target Character2 planning to restore the Theocracy. Perhaps we can deal with him by banishing his outside of Country, although that is certain to upset our Clergy.
1039outcome = neutral
1040fire_only_once = yes
1042dynamic_historical_event = {
}
1049trigger = {
1050stability < 0
1052estate_power(estate_type:clergy_estate) > 0.15
1053custom_tooltip = {
1054text = variable_oma_theocracy_event_flag_tt A New Imamate has been Proclaimed
}
}
1059illustration_tags = {
106010 = angry
106110 = interior
}
1064immediate = {
}
1066ruler_or_regent ?= {
1067save_scope_as = target_character
}
1070create_character = {
1071adm = {
40
80
}
1072dip = {
30
70
}
1073mil = {
20
60
}
1074culture = root.culture
1075religion = root.religion
1076birth_date = 1410.1.1
1077birth_location = root.capital
1080save_scope_as = target_character2
}
}