@resolution_weight_hated = 3 @resolution_weight_disliked = 4 @resolution_weight_unpopular = 5 @resolution_weight_normal = 6 @resolution_weight_popular = 6.5 @resolution_weight_loved = 7 @resolution_cost_t1 = 100 @resolution_cost_t2 = 150 @resolution_cost_t3 = 200 @resolution_cost_t4 = 250 @resolution_cost_t5 = 300 @resolution_cost_denounce = 25 @resolution_flag_timer = 360 # Synth Queen Stances resolution_galactic_focus_crisis_synth_queen = { icon = "GFX_resolution_emergency_measure" resources = { category = resolutions cost = { influence = @resolution_cost_t1 } } target = no effect = { custom_tooltip = resolution_galactic_focus_crisis_synth_queen_effect_success hidden_effect = { repeal_all_galactic_focus_resolutions = yes set_global_flag = galactic_focus_crisis_synth_queen set_global_flag = galactic_community_crisis_fighting set_global_flag = galactic_community_resolution_passed set_timed_country_flag = { flag = galactic_community_resolution_passed_general days = @resolution_flag_timer } add_modifier = { modifier = resolution_passed_diplomatic_weight days = 2200 } } } fail_effects = { hidden_effect = { set_timed_country_flag = { flag = galactic_community_resolution_failed_general days = @resolution_flag_timer } add_modifier = { modifier = resolution_failed_diplomatic_weight days = 2200 } } } potential = { has_machine_age_dlc = yes any_country = { has_country_flag = synth_queen_player_can_see_doomclock } NOT = { has_global_flag = galactic_focus_crisis_synth_queen } } active = { # Resolution only in effect while this trigger is met any_country = { has_country_flag = synth_queen_player_can_see_doomclock } } ai_weight = { base = @resolution_weight_normal modifier = { factor = 2 any_neighbor_country = { is_country_type = synth_queen } desc = gal_com_neighboring_synth_queen } modifier = { factor = 0.75 has_global_flag = synth_queen_crisis_1 desc = gal_com_synth_queen_threat_smallest } modifier = { factor = 1.1 has_global_flag = synth_queen_crisis_2 desc = gal_com_synth_queen_threat_small } modifier = { factor = 1.5 has_global_flag = synth_queen_crisis_3 desc = gal_com_synth_queen_threat_medium } modifier = { factor = 2 has_global_flag = synth_queen_crisis_4 desc = gal_com_synth_queen_threat_large } modifier = { factor = 3 has_global_flag = synth_queen_crisis_5 desc = gal_com_synth_queen_threat_very_large } modifier = { factor = 10 has_global_flag = synth_queen_crisis_6 desc = gal_com_synth_queen_threat_huge } modifier = { factor = 10 has_ascension_perk = ap_defender_of_the_galaxy desc = ap_defender_of_the_galaxy } modifier = { factor = 1.2 is_militarist = yes desc = ethic_militarist } modifier = { factor = 1.1 is_xenophile = yes desc = ethic_xenophile } modifier = { factor = 0.5 is_xenophobe = yes NOT = { any_neighbor_country = { is_country_type = synth_queen } } desc = ethic_xenophobe } } }