
ActionChanged this version
Create Uç Bey
Our borderlands protect our people from the onslaught of would-be conquerors. It is time we entrust their protection to a loyal militant Beylik.
Rise of the TurksSituationselect trigger 1
VassalSubject Typeallow, select trigger 2strongest_beylik_variableVariableselect trigger 1Definitionin_game/common/generic_actions/rise_of_the_ottomans.txt:1042
1043type = situation
1044show_message = no
1045potential = {
1046scope:actor = {
1047has_reform = government_reform:anatolian_beylik
}
}
1051allow = {
1052scope:actor = {
1053at_war = no
1054any_subject = {
}
}
}
1062ai_tick = never
1063ai_tick_frequency = 12
1065automation_tick = never
1066automation_tick_frequency = 12
1067price = price:rto_create_uc_bey
1069cooldown = {
1070type = create_uc_bey
1071years = 5
}
1074select_trigger = {
1075looking_for_a = situation
1076target_flag = recipient
1077name = "choose_situation" Choose the Situation:
1078column = {
1079data = name
}
1081visible = {
1083situation_is_active = yes
}
}
1088select_trigger = {
1089looking_for_a = country
1090interaction_source_list = {
1091scope:actor = {
}
}
1100target_flag = target_subject
1101name = "choose_country" Choose the Country:
1102column = {
1102data = name
}
1103column = {
1103data = expected_army_size
}
1104column = {
1104data = expected_navy_size
}
1105enabled = {
1106is_disloyal_subject = no
1107monthly_manpower > 0
1108at_war = no
}
}
1112effect = {
1113if = {
1114limit = {
1114exists = scope:target_subject
}
}
1117custom_tooltip = create_uc_bey_tt The designated Vassal will become an Uç Bey
}
1120ai_will_do = {
1122add = 25
1123if = {
1124limit = {
1124exists = scope:target_subject
}
1125subtract = {
1126desc = "current number of uc beys"
1127scope:actor = {
1128every_subject = {
1129limit = {
1129is_subject_type = uc_bey
}
1130add = 10
}
}
}
1134add = {
1135desc = "RELATIVE_STRENGTH"
1136value = 100
1137multiply = "scope:target_subject.relative_strength(scope:actor)"
}
1139add = {
1140desc = "[target_subject.GetName] [monthly_manpower|e]"
1141value = scope:target_subject.monthly_manpower
1142multiply = 1000
}
1144add = {
1145desc = "Our [provinces|e]"
1146value = scope:actor.num_provinces
}
1148subtract = {
1149desc = "we want less decentralization"
1150value = scope:actor.modifier:monthly_towards_decentralization
1151multiply = 20
}
}
1154else = {
1155add = {
1156value = 25
1157desc = BASE_VALUE
}
}
}