namespace = BOSS_aosiman country_event = { id = BOSS_aosiman.1 title = BOSS_aosiman_t desc = BOSS_aosiman_d picture = ht_shangdian is_triggered_only = yes option = { name = aosiman_jiaqiang set_global_flag = ai_aosiman_jiaqiang TUR = { add_ruler_personality = ht_junzhu_tezhi_1 remove_ruler_personality = conqueror_personality add_country_modifier = { name = ai_aosiman_1444 duration = -1 } add_manpower = 150 add_treasury = 9999 inherit = KAR inherit = CND inherit = RAM inherit = DUL } } option = { name = aosiman_jiaqiang_woyeyao set_global_flag = ai_aosiman_jiaqiang add_country_modifier = { name = aosiman_pipei_jiaqiang duration = 5475 } add_treasury = 2000 TUR = { add_ruler_personality = ht_junzhu_tezhi_1 remove_ruler_personality = conqueror_personality add_country_modifier = { name = ai_aosiman_1444 duration = -1 } add_manpower = 150 add_treasury = 9999 inherit = KAR inherit = CND inherit = RAM inherit = DUL } } option = { name = aosiman_yuanban set_global_flag = ai_aosiman_yuan } option = { name = dengdeng } } country_event = { #ueYef1470t^buff id = BOSS_aosiman.2 title = BOSS_aosiman_ai_t desc = BOSS_aosiman_ai_d fire_only_once = yes hidden = yes trigger = { has_global_flag = ai_aosiman_jiaqiang is_year = 1470 } mean_time_to_happen = { days = 1 } immediate = { TUR = { add_country_modifier = { name = ai_aosiman_1470 duration = -1 } } } option = { name = aosiman_buff } } country_event = { #ueYef1530t^buff id = BOSS_aosiman.3 title = BOSS_aosiman_ai_t desc = BOSS_aosiman_ai_d fire_only_once = yes hidden = yes trigger = { has_global_flag = ai_aosiman_jiaqiang is_year = 1530 } mean_time_to_happen = { days = 1 } immediate = { TUR = { add_country_modifier = { name = ai_aosiman_1530 duration = -1 } } } option = { name = aosiman_buff } } country_event = { #9eSeYefuQyu id = BOSS_aosiman.4 title = BOSS_aosiman_ai_t desc = BOSS_aosiman_ai_d fire_only_once = yes hidden = yes trigger = { has_global_flag = ai_aosiman_jiaqiang is_year = 1609 TUR = { NOT = { technology_group = western } is_at_war = no } } mean_time_to_happen = { days = 1 } immediate = { TUR = { change_unit_type = western add_country_modifier = { name = ai_aosiman_xiou duration = -1 } } } option = { name = aosiman_bingzhong } } country_event = { #ueYef id = BOSS_aosiman.5 title = BOSS_aosiman_ai_t desc = BOSS_aosiman_ai_d hidden = yes trigger = { has_global_flag = ai_aosiman_jiaqiang TUR = { is_in_deficit = yes num_of_loans = 10 } } mean_time_to_happen = { days = 1 } immediate = { TUR = { add_treasury = 5000 add_inflation = -10 } } option = { name = aosiman_qian } } country_event = { #QSeYefSb id = BOSS_aosiman.6 title = BOSS_aosiman_ai_t desc = BOSS_aosiman_ai_d hidden = yes trigger = { has_global_flag = ai_aosiman_jiaqiang TUR = { war_exhaustion = 15 is_at_war = no } } mean_time_to_happen = { days = 1 } immediate = { TUR = { add_war_exhaustion = -20 add_stability = 6 } } option = { name = aosiman_yanzhan } } country_event = { #eYefb% id = BOSS_aosiman.7 title = ht_aosiman_shengli_t desc = ht_aosiman_shengli_d fire_only_once = yes trigger = { has_global_flag = ai_aosiman_jiaqiang ai = no OR = { NOT = { exists = TUR } TUR = { total_development = 100 } } } mean_time_to_happen = { days = 1 } option = { name = boss_aosiman_zhanbai remove_country_modifier = ai_aosiman_1444 remove_country_modifier = ai_aosiman_1470 remove_country_modifier = ai_aosiman_1530 remove_country_modifier = ai_aosiman_xiou clr_global_flag = ai_aosiman_jiaqiang add_adm_power = 999 add_dip_power = 999 add_mil_power = 999 } } country_event = { #1500t^Tv^lFzKQ id = BOSS_aosiman.8 title = BOSS_aosiman_ai_t desc = BOSS_aosiman_ai_d fire_only_once = yes mean_time_to_happen = { days = 1 } trigger = { is_year = 1500 exists = MAM TUR = { army_strength = { who = MAM value = 1 } } } immediate = { inherit = MAM } option = { name = aosiman_tunma } } country_event = { #Tv^^SV id = BOSS_aosiman.9 title = BOSS_aosiman_ai_t desc = BOSS_aosiman_ai_d mean_time_to_happen = { days = 1 } trigger = { TUR = { num_of_subjects = 1 } } immediate = { every_subject_country = { add_historical_friend = TUR } add_opinion = { who = TUR modifier = ht_aosiman_opinion } reverse_add_opinion = { who = TUR modifier = ht_aosiman_opinion } } option = { name = aosiman_haogan } } country_event = { #`Sbuff id = BOSS_aosiman.1001 title = BOSS_aosiman_ai_t desc = BOSS_aosiman_ai_d hidden = yes fire_only_once = yes trigger = { has_global_flag = ai_aosiman_jiaqiang 151 = { country_or_non_sovereign_subject_holds = TUR } } immediate = { hidden_effect = { 151 = { add_province_triggered_modifier = ai_aosiman_zhanling } #TXfWN!X 1766 = { add_province_triggered_modifier = ai_aosiman_zhanling } #y0tl 153 = { add_province_triggered_modifier = ai_aosiman_zhanling } #iOe 134 = { add_province_triggered_modifier = ai_aosiman_zhanling } #umNu 112 = { add_province_triggered_modifier = ai_aosiman_zhanling } #Z