# Journal controls for Victoria 3 1.15.0; independent adapters.

sakuya_journal_show_unowned = {
 scope = country
 is_shown = { is_player = yes always = yes has_variable = cmp_journal_show_unowned_dlc }
}

sakuya_journal_toggle_unowned = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 effect = { if = { limit = { is_player = yes always = yes   } if = { limit = { has_variable = cmp_journal_show_unowned_dlc } remove_variable = cmp_journal_show_unowned_dlc } else = { set_variable = cmp_journal_show_unowned_dlc } } }
}

sakuya_journal_dlc_dlc004 = {
 scope = country
 is_shown = { is_player = yes always = yes has_dlc_feature = voice_of_the_people_content }
}

sakuya_journal_dlc_dlc008 = {
 scope = country
 is_shown = { is_player = yes always = yes has_dlc_feature = rp1_content }
}

sakuya_journal_dlc_dlc010 = {
 scope = country
 is_shown = { is_player = yes always = yes has_dlc_feature = ep1_content }
}

sakuya_journal_dlc_dlc011 = {
 scope = country
 is_shown = { is_player = yes always = yes has_dlc_feature = ip2_content }
}

sakuya_journal_dlc_dlc014 = {
 scope = country
 is_shown = { is_player = yes always = yes has_dlc_feature = ip3_content }
}

sakuya_journal_dlc_dlc016 = {
 scope = country
 is_shown = { is_player = yes always = yes has_dlc_feature = ip4_content }
}

sakuya_journal_dlc_dlc018 = {
 scope = country
 is_shown = { is_player = yes always = yes has_dlc_feature = ep2_content }
}

sakuya_journal_dlc_dlc019 = {
 scope = country
 is_shown = { is_player = yes always = yes has_dlc_feature = ip5_content }
}

sakuya_journal_je_earn_recognition_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_earn_recognition }
}

sakuya_journal_je_earn_recognition_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes }
}

sakuya_journal_je_earn_recognition_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_earn_recognition_add = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_earn_recognition } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_earn_recognition } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }  add_journal_entry = { type = je_earn_recognition  } } }
}

sakuya_journal_je_earn_recognition_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_earn_recognition } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_earn_recognition } } }  add_journal_entry = { type = je_earn_recognition  } } }
}

sakuya_journal_je_earn_recognition_0_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_earn_recognition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_earn_recognition  } je:je_earn_recognition = { add_progress = { name = earn_recognition_progress_bar value = -20 } if = { limit = { "scripted_bar_progress(earn_recognition_progress_bar)" < 0 } set_bar_progress = { name = earn_recognition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(earn_recognition_progress_bar)" > 200 } set_bar_progress = { name = earn_recognition_progress_bar value = 200 } }  } } }
}

sakuya_journal_je_earn_recognition_0_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_earn_recognition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_earn_recognition  } je:je_earn_recognition = { add_progress = { name = earn_recognition_progress_bar value = 20 } if = { limit = { "scripted_bar_progress(earn_recognition_progress_bar)" < 0 } set_bar_progress = { name = earn_recognition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(earn_recognition_progress_bar)" > 200 } set_bar_progress = { name = earn_recognition_progress_bar value = 200 } }  } } }
}

sakuya_journal_je_earn_recognition_0_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_earn_recognition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_earn_recognition  } je:je_earn_recognition = { add_progress = { name = earn_recognition_progress_bar value = -200 } if = { limit = { "scripted_bar_progress(earn_recognition_progress_bar)" < 0 } set_bar_progress = { name = earn_recognition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(earn_recognition_progress_bar)" > 200 } set_bar_progress = { name = earn_recognition_progress_bar value = 200 } }  } } }
}

sakuya_journal_je_earn_recognition_0_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_earn_recognition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_earn_recognition  } je:je_earn_recognition = { add_progress = { name = earn_recognition_progress_bar value = 200 } if = { limit = { "scripted_bar_progress(earn_recognition_progress_bar)" < 0 } set_bar_progress = { name = earn_recognition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(earn_recognition_progress_bar)" > 200 } set_bar_progress = { name = earn_recognition_progress_bar value = 200 } }  } } }
}

sakuya_journal_je_earn_recognition_0_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_earn_recognition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_earn_recognition  } je:je_earn_recognition = { set_bar_progress = { name = earn_recognition_progress_bar value = 0 } if = { limit = { "scripted_bar_progress(earn_recognition_progress_bar)" < 0 } set_bar_progress = { name = earn_recognition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(earn_recognition_progress_bar)" > 200 } set_bar_progress = { name = earn_recognition_progress_bar value = 200 } }  } } }
}

sakuya_journal_je_earn_recognition_0_max = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_earn_recognition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_earn_recognition  } je:je_earn_recognition = { set_bar_progress = { name = earn_recognition_progress_bar value = 200 } if = { limit = { "scripted_bar_progress(earn_recognition_progress_bar)" < 0 } set_bar_progress = { name = earn_recognition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(earn_recognition_progress_bar)" > 200 } set_bar_progress = { name = earn_recognition_progress_bar value = 200 } }  } } }
}

sakuya_journal_je_earn_recognition_event_0_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_earn_recognition_event_0 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 is_valid = { any_country = { country_rank >= rank_value:great_power relations:root >= relations_threshold:amicable } }
 effect = { if = { limit = { is_player = yes always = yes always = yes  any_country = { country_rank >= rank_value:great_power relations:root >= relations_threshold:amicable } }  trigger_event = { id = earn_recognition_events.1 days = 0 popup = yes } } }
}

sakuya_journal_je_corn_laws_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_corn_laws }
}

sakuya_journal_je_corn_laws_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes }
}

sakuya_journal_je_corn_laws_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_corn_laws_add = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_corn_laws } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_corn_laws } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }  add_journal_entry = { type = je_corn_laws  } } }
}

sakuya_journal_je_corn_laws_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_corn_laws } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_corn_laws } } }  add_journal_entry = { type = je_corn_laws  } } }
}

sakuya_journal_je_corn_laws_action = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_corn_laws }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_corn_laws  } activate_law = law_type:law_free_trade } }
}

sakuya_journal_je_corn_laws_event_0_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_corn_laws_event_0 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 effect = { if = { limit = { is_player = yes always = yes always = yes   }  trigger_event = { id = corn_laws.1 days = 0 popup = yes } } }
}

sakuya_journal_je_suffragists_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_suffragists }
}

sakuya_journal_je_suffragists_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes }
}

sakuya_journal_je_suffragists_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_suffragists_add = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_suffragists } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_suffragists } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }  add_journal_entry = { type = je_suffragists  } } }
}

sakuya_journal_je_suffragists_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_suffragists } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_suffragists } } }  add_journal_entry = { type = je_suffragists  } } }
}

sakuya_journal_je_suffragists_event_0_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_suffragists_event_0 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 effect = { if = { limit = { is_player = yes always = yes always = yes   }  trigger_event = { id = suffragist_events.10 days = 0 popup = yes } } }
}

sakuya_journal_je_urbanization_events_1_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_urbanization_events_1 }
}

sakuya_journal_je_urbanization_events_1_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes }
}

sakuya_journal_je_urbanization_events_1_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_urbanization_events_1_add = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_urbanization_events_1 } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_urbanization_events_1 } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }  add_journal_entry = { type = je_urbanization_events_1  } } }
}

sakuya_journal_je_urbanization_events_1_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_urbanization_events_1 } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_urbanization_events_1 } } }  add_journal_entry = { type = je_urbanization_events_1  } } }
}

sakuya_journal_je_urbanization_events_1_event_0_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_urbanization_events_1_event_0 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 is_valid = { exists = ig:ig_industrialists }
 effect = { if = { limit = { is_player = yes always = yes always = yes  exists = ig:ig_industrialists }  trigger_event = { id = urbanization_events.1 days = 0 popup = yes } } }
}

sakuya_journal_je_urbanization_events_2_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_urbanization_events_2 }
}

sakuya_journal_je_urbanization_events_2_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes }
}

sakuya_journal_je_urbanization_events_2_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_urbanization_events_2_add = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_urbanization_events_2 } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_urbanization_events_2 } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }  add_journal_entry = { type = je_urbanization_events_2  } } }
}

sakuya_journal_je_urbanization_events_2_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_urbanization_events_2 } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_urbanization_events_2 } } }  add_journal_entry = { type = je_urbanization_events_2  } } }
}

sakuya_journal_je_urbanization_events_2_event_0_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_urbanization_events_2_event_0 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 is_valid = { exists = capital }
 effect = { if = { limit = { is_player = yes always = yes always = yes  exists = capital } capital = { save_scope_as = urbanization_state } trigger_event = { id = urbanization_events.5 days = 0 popup = yes } } }
}

sakuya_journal_je_liberalism_1_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_liberalism_1 }
}

sakuya_journal_je_liberalism_1_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes }
}

sakuya_journal_je_liberalism_1_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_liberalism_1_add = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_liberalism_1 } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_liberalism_1 } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }  add_journal_entry = { type = je_liberalism_1  } } }
}

sakuya_journal_je_liberalism_1_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_liberalism_1 } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_liberalism_1 } } }  add_journal_entry = { type = je_liberalism_1  } } }
}

sakuya_journal_je_liberalism_1_event_0_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_liberalism_1_event_0 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 is_valid = { exists = ruler }
 effect = { if = { limit = { is_player = yes always = yes always = yes  exists = ruler } ruler = { save_scope_as = liberal_leader } trigger_event = { id = liberalism.1 days = 0 popup = yes } } }
}

sakuya_journal_je_liberalism_2_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_liberalism_2 }
}

sakuya_journal_je_liberalism_2_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes }
}

sakuya_journal_je_liberalism_2_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_liberalism_2_add = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_liberalism_2 } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_liberalism_2 } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }  add_journal_entry = { type = je_liberalism_2  } } }
}

sakuya_journal_je_liberalism_2_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_liberalism_2 } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_liberalism_2 } } }  add_journal_entry = { type = je_liberalism_2  } } }
}

sakuya_journal_je_liberalism_2_event_0_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_liberalism_2_event_0 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 effect = { if = { limit = { is_player = yes always = yes always = yes   }  trigger_event = { id = liberalism.2 days = 0 popup = yes } } }
}

sakuya_journal_je_five_year_plan_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
}

sakuya_journal_je_five_year_plan_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes }
}

sakuya_journal_je_five_year_plan_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_five_year_plan_add = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_five_year_plan } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_five_year_plan } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }  add_journal_entry = { type = je_five_year_plan  } } }
}

sakuya_journal_je_five_year_plan_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_five_year_plan } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_five_year_plan } } }  add_journal_entry = { type = je_five_year_plan  } } }
}

sakuya_journal_je_five_year_plan_0_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_gdp_per_capita_target_var } } set_variable = { name = five_year_plan_gdp_per_capita_target_var value = 0 } } change_variable = { name = five_year_plan_gdp_per_capita_target_var add = -10 } change_variable = { name = five_year_plan_gdp_per_capita_target_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_0_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_gdp_per_capita_target_var } } set_variable = { name = five_year_plan_gdp_per_capita_target_var value = 0 } } change_variable = { name = five_year_plan_gdp_per_capita_target_var add = 10 } change_variable = { name = five_year_plan_gdp_per_capita_target_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_0_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_gdp_per_capita_target_var } } set_variable = { name = five_year_plan_gdp_per_capita_target_var value = 0 } } change_variable = { name = five_year_plan_gdp_per_capita_target_var add = -100 } change_variable = { name = five_year_plan_gdp_per_capita_target_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_0_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_gdp_per_capita_target_var } } set_variable = { name = five_year_plan_gdp_per_capita_target_var value = 0 } } change_variable = { name = five_year_plan_gdp_per_capita_target_var add = 100 } change_variable = { name = five_year_plan_gdp_per_capita_target_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_0_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { set_variable = { name = five_year_plan_gdp_per_capita_target_var value = 0 } } } }
}

sakuya_journal_je_five_year_plan_1_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_urbanization_target_var } } set_variable = { name = five_year_plan_urbanization_target_var value = 0 } } change_variable = { name = five_year_plan_urbanization_target_var add = -10 } change_variable = { name = five_year_plan_urbanization_target_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_1_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_urbanization_target_var } } set_variable = { name = five_year_plan_urbanization_target_var value = 0 } } change_variable = { name = five_year_plan_urbanization_target_var add = 10 } change_variable = { name = five_year_plan_urbanization_target_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_1_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_urbanization_target_var } } set_variable = { name = five_year_plan_urbanization_target_var value = 0 } } change_variable = { name = five_year_plan_urbanization_target_var add = -100 } change_variable = { name = five_year_plan_urbanization_target_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_1_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_urbanization_target_var } } set_variable = { name = five_year_plan_urbanization_target_var value = 0 } } change_variable = { name = five_year_plan_urbanization_target_var add = 100 } change_variable = { name = five_year_plan_urbanization_target_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_1_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { set_variable = { name = five_year_plan_urbanization_target_var value = 0 } } } }
}

sakuya_journal_je_five_year_plan_2_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_heavy_industry_target_var } } set_variable = { name = five_year_plan_heavy_industry_target_var value = 0 } } change_variable = { name = five_year_plan_heavy_industry_target_var add = -10 } change_variable = { name = five_year_plan_heavy_industry_target_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_2_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_heavy_industry_target_var } } set_variable = { name = five_year_plan_heavy_industry_target_var value = 0 } } change_variable = { name = five_year_plan_heavy_industry_target_var add = 10 } change_variable = { name = five_year_plan_heavy_industry_target_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_2_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_heavy_industry_target_var } } set_variable = { name = five_year_plan_heavy_industry_target_var value = 0 } } change_variable = { name = five_year_plan_heavy_industry_target_var add = -100 } change_variable = { name = five_year_plan_heavy_industry_target_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_2_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_heavy_industry_target_var } } set_variable = { name = five_year_plan_heavy_industry_target_var value = 0 } } change_variable = { name = five_year_plan_heavy_industry_target_var add = 100 } change_variable = { name = five_year_plan_heavy_industry_target_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_2_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { set_variable = { name = five_year_plan_heavy_industry_target_var value = 0 } } } }
}

sakuya_journal_je_five_year_plan_3_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_light_industry_target_var } } set_variable = { name = five_year_plan_light_industry_target_var value = 0 } } change_variable = { name = five_year_plan_light_industry_target_var add = -10 } change_variable = { name = five_year_plan_light_industry_target_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_3_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_light_industry_target_var } } set_variable = { name = five_year_plan_light_industry_target_var value = 0 } } change_variable = { name = five_year_plan_light_industry_target_var add = 10 } change_variable = { name = five_year_plan_light_industry_target_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_3_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_light_industry_target_var } } set_variable = { name = five_year_plan_light_industry_target_var value = 0 } } change_variable = { name = five_year_plan_light_industry_target_var add = -100 } change_variable = { name = five_year_plan_light_industry_target_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_3_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_light_industry_target_var } } set_variable = { name = five_year_plan_light_industry_target_var value = 0 } } change_variable = { name = five_year_plan_light_industry_target_var add = 100 } change_variable = { name = five_year_plan_light_industry_target_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_3_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { set_variable = { name = five_year_plan_light_industry_target_var value = 0 } } } }
}

sakuya_journal_je_five_year_plan_4_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_transportation_target_var } } set_variable = { name = five_year_plan_transportation_target_var value = 0 } } change_variable = { name = five_year_plan_transportation_target_var add = -50 } change_variable = { name = five_year_plan_transportation_target_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_4_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_transportation_target_var } } set_variable = { name = five_year_plan_transportation_target_var value = 0 } } change_variable = { name = five_year_plan_transportation_target_var add = 50 } change_variable = { name = five_year_plan_transportation_target_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_4_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_transportation_target_var } } set_variable = { name = five_year_plan_transportation_target_var value = 0 } } change_variable = { name = five_year_plan_transportation_target_var add = -500 } change_variable = { name = five_year_plan_transportation_target_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_4_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_transportation_target_var } } set_variable = { name = five_year_plan_transportation_target_var value = 0 } } change_variable = { name = five_year_plan_transportation_target_var add = 500 } change_variable = { name = five_year_plan_transportation_target_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_4_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { set_variable = { name = five_year_plan_transportation_target_var value = 0 } } } }
}

sakuya_journal_je_five_year_plan_5_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_electrification_target_var } } set_variable = { name = five_year_plan_electrification_target_var value = 0 } } change_variable = { name = five_year_plan_electrification_target_var add = -50 } change_variable = { name = five_year_plan_electrification_target_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_5_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_electrification_target_var } } set_variable = { name = five_year_plan_electrification_target_var value = 0 } } change_variable = { name = five_year_plan_electrification_target_var add = 50 } change_variable = { name = five_year_plan_electrification_target_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_5_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_electrification_target_var } } set_variable = { name = five_year_plan_electrification_target_var value = 0 } } change_variable = { name = five_year_plan_electrification_target_var add = -500 } change_variable = { name = five_year_plan_electrification_target_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_5_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_electrification_target_var } } set_variable = { name = five_year_plan_electrification_target_var value = 0 } } change_variable = { name = five_year_plan_electrification_target_var add = 500 } change_variable = { name = five_year_plan_electrification_target_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_5_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { set_variable = { name = five_year_plan_electrification_target_var value = 0 } } } }
}

sakuya_journal_je_five_year_plan_6_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_agriculture_target_var } } set_variable = { name = five_year_plan_agriculture_target_var value = 0 } } change_variable = { name = five_year_plan_agriculture_target_var add = -0.05 } change_variable = { name = five_year_plan_agriculture_target_var max = 0 } change_variable = { name = five_year_plan_agriculture_target_var min = 1 } } } }
}

sakuya_journal_je_five_year_plan_6_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_agriculture_target_var } } set_variable = { name = five_year_plan_agriculture_target_var value = 0 } } change_variable = { name = five_year_plan_agriculture_target_var add = 0.05 } change_variable = { name = five_year_plan_agriculture_target_var max = 0 } change_variable = { name = five_year_plan_agriculture_target_var min = 1 } } } }
}

sakuya_journal_je_five_year_plan_6_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_agriculture_target_var } } set_variable = { name = five_year_plan_agriculture_target_var value = 0 } } change_variable = { name = five_year_plan_agriculture_target_var add = -0.5 } change_variable = { name = five_year_plan_agriculture_target_var max = 0 } change_variable = { name = five_year_plan_agriculture_target_var min = 1 } } } }
}

sakuya_journal_je_five_year_plan_6_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_agriculture_target_var } } set_variable = { name = five_year_plan_agriculture_target_var value = 0 } } change_variable = { name = five_year_plan_agriculture_target_var add = 0.5 } change_variable = { name = five_year_plan_agriculture_target_var max = 0 } change_variable = { name = five_year_plan_agriculture_target_var min = 1 } } } }
}

sakuya_journal_je_five_year_plan_6_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { set_variable = { name = five_year_plan_agriculture_target_var value = 0 } } } }
}

sakuya_journal_je_five_year_plan_7_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_reward_var } } set_variable = { name = five_year_plan_reward_var value = 0 } } change_variable = { name = five_year_plan_reward_var add = -0.25 } change_variable = { name = five_year_plan_reward_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_7_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_reward_var } } set_variable = { name = five_year_plan_reward_var value = 0 } } change_variable = { name = five_year_plan_reward_var add = 0.25 } change_variable = { name = five_year_plan_reward_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_7_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_reward_var } } set_variable = { name = five_year_plan_reward_var value = 0 } } change_variable = { name = five_year_plan_reward_var add = -2.5 } change_variable = { name = five_year_plan_reward_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_7_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_reward_var } } set_variable = { name = five_year_plan_reward_var value = 0 } } change_variable = { name = five_year_plan_reward_var add = 2.5 } change_variable = { name = five_year_plan_reward_var max = 0 } } } }
}

sakuya_journal_je_five_year_plan_7_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { set_variable = { name = five_year_plan_reward_var value = 0 } } } }
}

sakuya_journal_je_five_year_plan_8_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_fraud_detection_peak_var } } set_variable = { name = five_year_plan_fraud_detection_peak_var value = 0 } } change_variable = { name = five_year_plan_fraud_detection_peak_var add = -10 } change_variable = { name = five_year_plan_fraud_detection_peak_var max = 0 } change_variable = { name = five_year_plan_fraud_detection_peak_var min = 100 } } } }
}

sakuya_journal_je_five_year_plan_8_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_fraud_detection_peak_var } } set_variable = { name = five_year_plan_fraud_detection_peak_var value = 0 } } change_variable = { name = five_year_plan_fraud_detection_peak_var add = 10 } change_variable = { name = five_year_plan_fraud_detection_peak_var max = 0 } change_variable = { name = five_year_plan_fraud_detection_peak_var min = 100 } } } }
}

sakuya_journal_je_five_year_plan_8_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_fraud_detection_peak_var } } set_variable = { name = five_year_plan_fraud_detection_peak_var value = 0 } } change_variable = { name = five_year_plan_fraud_detection_peak_var add = -100 } change_variable = { name = five_year_plan_fraud_detection_peak_var max = 0 } change_variable = { name = five_year_plan_fraud_detection_peak_var min = 100 } } } }
}

sakuya_journal_je_five_year_plan_8_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { if = { limit = { NOT = { has_variable = five_year_plan_fraud_detection_peak_var } } set_variable = { name = five_year_plan_fraud_detection_peak_var value = 0 } } change_variable = { name = five_year_plan_fraud_detection_peak_var add = 100 } change_variable = { name = five_year_plan_fraud_detection_peak_var max = 0 } change_variable = { name = five_year_plan_fraud_detection_peak_var min = 100 } } } }
}

sakuya_journal_je_five_year_plan_8_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { set_variable = { name = five_year_plan_fraud_detection_peak_var value = 0 } } } }
}

sakuya_journal_je_five_year_plan_flag_0_check = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan je:je_five_year_plan = { has_variable = five_year_plan_heavy_industry_var } }
}

sakuya_journal_je_five_year_plan_flag_0_on = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { set_variable = five_year_plan_heavy_industry_var } } }
}

sakuya_journal_je_five_year_plan_flag_0_off = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { remove_variable = five_year_plan_heavy_industry_var } } }
}

sakuya_journal_je_five_year_plan_flag_1_check = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan je:je_five_year_plan = { has_variable = five_year_plan_light_industry_var } }
}

sakuya_journal_je_five_year_plan_flag_1_on = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { set_variable = five_year_plan_light_industry_var } } }
}

sakuya_journal_je_five_year_plan_flag_1_off = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { remove_variable = five_year_plan_light_industry_var } } }
}

sakuya_journal_je_five_year_plan_flag_2_check = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan je:je_five_year_plan = { has_variable = five_year_plan_transportation_var } }
}

sakuya_journal_je_five_year_plan_flag_2_on = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { set_variable = five_year_plan_transportation_var } } }
}

sakuya_journal_je_five_year_plan_flag_2_off = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { remove_variable = five_year_plan_transportation_var } } }
}

sakuya_journal_je_five_year_plan_flag_3_check = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan je:je_five_year_plan = { has_variable = five_year_plan_electrification_var } }
}

sakuya_journal_je_five_year_plan_flag_3_on = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { set_variable = five_year_plan_electrification_var } } }
}

sakuya_journal_je_five_year_plan_flag_3_off = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { remove_variable = five_year_plan_electrification_var } } }
}

sakuya_journal_je_five_year_plan_flag_4_check = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan je:je_five_year_plan = { has_variable = five_year_plan_agriculture_var } }
}

sakuya_journal_je_five_year_plan_flag_4_on = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { set_variable = five_year_plan_agriculture_var } } }
}

sakuya_journal_je_five_year_plan_flag_4_off = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } je:je_five_year_plan = { remove_variable = five_year_plan_agriculture_var } } }
}

sakuya_journal_je_five_year_plan_preset_0 = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_five_year_plan }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_five_year_plan  } remove_variable = five_year_plan_drafting_var } }
}

sakuya_journal_je_secret_police_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_secret_police }
}

sakuya_journal_je_secret_police_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes }
}

sakuya_journal_je_secret_police_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_secret_police_add = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_secret_police } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_secret_police } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }  add_journal_entry = { type = je_secret_police  } } }
}

sakuya_journal_je_secret_police_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_secret_police } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_secret_police } } }  add_journal_entry = { type = je_secret_police  } } }
}

sakuya_journal_je_secret_police_event_0_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_secret_police_event_0 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 effect = { if = { limit = { is_player = yes always = yes always = yes   }  trigger_event = { id = 1848.6 days = 0 popup = yes } } }
}

sakuya_journal_je_secret_police_event_1_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_secret_police_event_1 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 is_valid = { NOT = { has_journal_entry = je_secret_police } }
 effect = { if = { limit = { is_player = yes always = yes always = yes  NOT = { has_journal_entry = je_secret_police } }  trigger_event = { id = 1848.5 days = 0 popup = yes } } }
}

sakuya_journal_je_communism_1_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_communism_1 }
}

sakuya_journal_je_communism_1_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes }
}

sakuya_journal_je_communism_1_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_communism_1_add = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_communism_1 } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_communism_1 } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }  add_journal_entry = { type = je_communism_1  } } }
}

sakuya_journal_je_communism_1_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_communism_1 } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_communism_1 } } }  add_journal_entry = { type = je_communism_1  } } }
}

sakuya_journal_je_communism_1_0_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_communism_1 }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_communism_1  } je:je_communism_1 = { add_progress = { name = communism_1_progress_bar value = -10 } if = { limit = { "scripted_bar_progress(communism_1_progress_bar)" < 0 } set_bar_progress = { name = communism_1_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(communism_1_progress_bar)" > 100 } set_bar_progress = { name = communism_1_progress_bar value = 100 } }  } } }
}

sakuya_journal_je_communism_1_0_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_communism_1 }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_communism_1  } je:je_communism_1 = { add_progress = { name = communism_1_progress_bar value = 10 } if = { limit = { "scripted_bar_progress(communism_1_progress_bar)" < 0 } set_bar_progress = { name = communism_1_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(communism_1_progress_bar)" > 100 } set_bar_progress = { name = communism_1_progress_bar value = 100 } }  } } }
}

sakuya_journal_je_communism_1_0_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_communism_1 }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_communism_1  } je:je_communism_1 = { add_progress = { name = communism_1_progress_bar value = -100 } if = { limit = { "scripted_bar_progress(communism_1_progress_bar)" < 0 } set_bar_progress = { name = communism_1_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(communism_1_progress_bar)" > 100 } set_bar_progress = { name = communism_1_progress_bar value = 100 } }  } } }
}

sakuya_journal_je_communism_1_0_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_communism_1 }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_communism_1  } je:je_communism_1 = { add_progress = { name = communism_1_progress_bar value = 100 } if = { limit = { "scripted_bar_progress(communism_1_progress_bar)" < 0 } set_bar_progress = { name = communism_1_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(communism_1_progress_bar)" > 100 } set_bar_progress = { name = communism_1_progress_bar value = 100 } }  } } }
}

sakuya_journal_je_communism_1_0_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_communism_1 }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_communism_1  } je:je_communism_1 = { set_bar_progress = { name = communism_1_progress_bar value = 0 } if = { limit = { "scripted_bar_progress(communism_1_progress_bar)" < 0 } set_bar_progress = { name = communism_1_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(communism_1_progress_bar)" > 100 } set_bar_progress = { name = communism_1_progress_bar value = 100 } }  } } }
}

sakuya_journal_je_communism_1_0_max = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_communism_1 }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_communism_1  } je:je_communism_1 = { set_bar_progress = { name = communism_1_progress_bar value = 100 } if = { limit = { "scripted_bar_progress(communism_1_progress_bar)" < 0 } set_bar_progress = { name = communism_1_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(communism_1_progress_bar)" > 100 } set_bar_progress = { name = communism_1_progress_bar value = 100 } }  } } }
}

sakuya_journal_je_communism_1_event_0_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_communism_1_event_0 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 effect = { if = { limit = { is_player = yes always = yes always = yes   }  trigger_event = { id = communism.11 days = 0 popup = yes } } }
}

sakuya_journal_je_communism_2_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_communism_2 }
}

sakuya_journal_je_communism_2_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes }
}

sakuya_journal_je_communism_2_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_communism_2_add = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_communism_2 } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_communism_2 } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }  add_journal_entry = { type = je_communism_2  } } }
}

sakuya_journal_je_communism_2_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_communism_2 } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_communism_2 } } }  add_journal_entry = { type = je_communism_2  } } }
}

sakuya_journal_je_communism_2_event_0_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_communism_2_event_0 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 is_valid = { exists = ig:ig_trade_unions ig:ig_trade_unions = { exists = leader } }
 effect = { if = { limit = { is_player = yes always = yes always = yes  exists = ig:ig_trade_unions ig:ig_trade_unions = { exists = leader } }  trigger_event = { id = communism.2 days = 0 popup = yes } } }
}

sakuya_journal_je_communism_2_event_1_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_communism_2_event_1 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 is_valid = { NOT = { has_journal_entry = je_communism_2 } }
 effect = { if = { limit = { is_player = yes always = yes always = yes  NOT = { has_journal_entry = je_communism_2 } }  trigger_event = { id = communism.1 days = 0 popup = yes } } }
}

sakuya_journal_je_fascism_1_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_fascism_1 }
}

sakuya_journal_je_fascism_1_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes }
}

sakuya_journal_je_fascism_1_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_fascism_1_add = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_fascism_1 } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_fascism_1 } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }  add_journal_entry = { type = je_fascism_1  } } }
}

sakuya_journal_je_fascism_1_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_fascism_1 } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_fascism_1 } } }  add_journal_entry = { type = je_fascism_1  } } }
}

sakuya_journal_je_fascism_1_0_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_fascism_1 }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_fascism_1  } je:je_fascism_1 = { add_progress = { name = fascism_progress_bar value = -10 } if = { limit = { "scripted_bar_progress(fascism_progress_bar)" < 0 } set_bar_progress = { name = fascism_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(fascism_progress_bar)" > 100 } set_bar_progress = { name = fascism_progress_bar value = 100 } }  } } }
}

sakuya_journal_je_fascism_1_0_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_fascism_1 }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_fascism_1  } je:je_fascism_1 = { add_progress = { name = fascism_progress_bar value = 10 } if = { limit = { "scripted_bar_progress(fascism_progress_bar)" < 0 } set_bar_progress = { name = fascism_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(fascism_progress_bar)" > 100 } set_bar_progress = { name = fascism_progress_bar value = 100 } }  } } }
}

sakuya_journal_je_fascism_1_0_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_fascism_1 }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_fascism_1  } je:je_fascism_1 = { add_progress = { name = fascism_progress_bar value = -100 } if = { limit = { "scripted_bar_progress(fascism_progress_bar)" < 0 } set_bar_progress = { name = fascism_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(fascism_progress_bar)" > 100 } set_bar_progress = { name = fascism_progress_bar value = 100 } }  } } }
}

sakuya_journal_je_fascism_1_0_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_fascism_1 }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_fascism_1  } je:je_fascism_1 = { add_progress = { name = fascism_progress_bar value = 100 } if = { limit = { "scripted_bar_progress(fascism_progress_bar)" < 0 } set_bar_progress = { name = fascism_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(fascism_progress_bar)" > 100 } set_bar_progress = { name = fascism_progress_bar value = 100 } }  } } }
}

sakuya_journal_je_fascism_1_0_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_fascism_1 }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_fascism_1  } je:je_fascism_1 = { set_bar_progress = { name = fascism_progress_bar value = 0 } if = { limit = { "scripted_bar_progress(fascism_progress_bar)" < 0 } set_bar_progress = { name = fascism_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(fascism_progress_bar)" > 100 } set_bar_progress = { name = fascism_progress_bar value = 100 } }  } } }
}

sakuya_journal_je_fascism_1_0_max = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_fascism_1 }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_fascism_1  } je:je_fascism_1 = { set_bar_progress = { name = fascism_progress_bar value = 100 } if = { limit = { "scripted_bar_progress(fascism_progress_bar)" < 0 } set_bar_progress = { name = fascism_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(fascism_progress_bar)" > 100 } set_bar_progress = { name = fascism_progress_bar value = 100 } }  } } }
}

sakuya_journal_je_fascism_1_event_0_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_fascism_1_event_0 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 effect = { if = { limit = { is_player = yes always = yes always = yes   }  trigger_event = { id = fascism_events.10 days = 0 popup = yes } } }
}

sakuya_journal_je_abolish_monarchy_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_abolish_monarchy }
}

sakuya_journal_je_abolish_monarchy_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes }
}

sakuya_journal_je_abolish_monarchy_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_abolish_monarchy_add = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_abolish_monarchy } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_abolish_monarchy } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } } if = { limit = { NOT = { has_variable = abolishing_monarchy_var } } set_variable = { name = abolishing_monarchy_var value = 0 } } add_journal_entry = { type = je_abolish_monarchy  } } }
}

sakuya_journal_je_abolish_monarchy_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_abolish_monarchy } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_abolish_monarchy } } } if = { limit = { NOT = { has_variable = abolishing_monarchy_var } } set_variable = { name = abolishing_monarchy_var value = 0 } } add_journal_entry = { type = je_abolish_monarchy  } } }
}

sakuya_journal_je_abolish_monarchy_0_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_abolish_monarchy }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_abolish_monarchy  } if = { limit = { NOT = { has_variable = abolishing_monarchy_var } } set_variable = { name = abolishing_monarchy_var value = 0 } } change_variable = { name = abolishing_monarchy_var add = -12 } change_variable = { name = abolishing_monarchy_var max = 0 } } }
}

sakuya_journal_je_abolish_monarchy_0_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_abolish_monarchy }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_abolish_monarchy  } if = { limit = { NOT = { has_variable = abolishing_monarchy_var } } set_variable = { name = abolishing_monarchy_var value = 0 } } change_variable = { name = abolishing_monarchy_var add = 12 } change_variable = { name = abolishing_monarchy_var max = 0 } } }
}

sakuya_journal_je_abolish_monarchy_0_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_abolish_monarchy }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_abolish_monarchy  } if = { limit = { NOT = { has_variable = abolishing_monarchy_var } } set_variable = { name = abolishing_monarchy_var value = 0 } } change_variable = { name = abolishing_monarchy_var add = -120 } change_variable = { name = abolishing_monarchy_var max = 0 } } }
}

sakuya_journal_je_abolish_monarchy_0_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_abolish_monarchy }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_abolish_monarchy  } if = { limit = { NOT = { has_variable = abolishing_monarchy_var } } set_variable = { name = abolishing_monarchy_var value = 0 } } change_variable = { name = abolishing_monarchy_var add = 120 } change_variable = { name = abolishing_monarchy_var max = 0 } } }
}

sakuya_journal_je_abolish_monarchy_0_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_abolish_monarchy }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_abolish_monarchy  } set_variable = { name = abolishing_monarchy_var value = 0 } } }
}

sakuya_journal_je_abolish_monarchy_event_0_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_abolish_monarchy_event_0 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 effect = { if = { limit = { is_player = yes always = yes always = yes   }  trigger_event = { id = 1848.2 days = 0 popup = yes } } }
}

sakuya_journal_je_skyscraper_site_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_skyscraper_site }
}

sakuya_journal_je_skyscraper_site_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes }
}

sakuya_journal_je_skyscraper_site_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_skyscraper_site_add = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_skyscraper_site } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_skyscraper_site } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } } if = { limit = { NOT = { has_variable = skyscraper_var } } set_variable = { name = skyscraper_var value = 0 } } add_journal_entry = { type = je_skyscraper_site  } } }
}

sakuya_journal_je_skyscraper_site_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_skyscraper_site } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_skyscraper_site } } } if = { limit = { NOT = { has_variable = skyscraper_var } } set_variable = { name = skyscraper_var value = 0 } } add_journal_entry = { type = je_skyscraper_site  } } }
}

sakuya_journal_je_skyscraper_site_0_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_skyscraper_site }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_skyscraper_site  } if = { limit = { NOT = { has_variable = skyscraper_var } } set_variable = { name = skyscraper_var value = 0 } } change_variable = { name = skyscraper_var add = -6 } change_variable = { name = skyscraper_var max = 0 } } }
}

sakuya_journal_je_skyscraper_site_0_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_skyscraper_site }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_skyscraper_site  } if = { limit = { NOT = { has_variable = skyscraper_var } } set_variable = { name = skyscraper_var value = 0 } } change_variable = { name = skyscraper_var add = 6 } change_variable = { name = skyscraper_var max = 0 } } }
}

sakuya_journal_je_skyscraper_site_0_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_skyscraper_site }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_skyscraper_site  } if = { limit = { NOT = { has_variable = skyscraper_var } } set_variable = { name = skyscraper_var value = 0 } } change_variable = { name = skyscraper_var add = -60 } change_variable = { name = skyscraper_var max = 0 } } }
}

sakuya_journal_je_skyscraper_site_0_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_skyscraper_site }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_skyscraper_site  } if = { limit = { NOT = { has_variable = skyscraper_var } } set_variable = { name = skyscraper_var value = 0 } } change_variable = { name = skyscraper_var add = 60 } change_variable = { name = skyscraper_var max = 0 } } }
}

sakuya_journal_je_skyscraper_site_0_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_skyscraper_site }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_skyscraper_site  } set_variable = { name = skyscraper_var value = 0 } } }
}

sakuya_journal_je_spanish_flu_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_spanish_flu }
}

sakuya_journal_je_spanish_flu_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes }
}

sakuya_journal_je_spanish_flu_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_spanish_flu_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_spanish_flu } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_spanish_flu } } }  add_journal_entry = { type = je_spanish_flu  } } }
}

sakuya_journal_je_spanish_flu_action = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_spanish_flu }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_spanish_flu  } every_scope_state = { limit = { has_modifier = plague_modifier } remove_modifier = plague_modifier } } }
}

sakuya_journal_je_opium_obsession_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_opium_obsession }
}

sakuya_journal_je_opium_obsession_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes exists = c:CHI c:CHI = this }
}

sakuya_journal_je_opium_obsession_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_opium_obsession_add = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_opium_obsession } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:CHI c:CHI = this } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_opium_obsession } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:CHI c:CHI = this } } if = { limit = { NOT = { has_variable = opium_wars_completion_tracker } } set_variable = { name = opium_wars_completion_tracker value = 0 } } add_journal_entry = { type = je_opium_obsession  } } }
}

sakuya_journal_je_opium_obsession_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_opium_obsession } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_opium_obsession } } } if = { limit = { NOT = { has_variable = opium_wars_completion_tracker } } set_variable = { name = opium_wars_completion_tracker value = 0 } } add_journal_entry = { type = je_opium_obsession  } } }
}

sakuya_journal_je_opium_obsession_0_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_opium_obsession }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_opium_obsession  } if = { limit = { NOT = { has_variable = opium_wars_completion_tracker } } set_variable = { name = opium_wars_completion_tracker value = 0 } } change_variable = { name = opium_wars_completion_tracker add = -12 } change_variable = { name = opium_wars_completion_tracker max = 0 } } }
}

sakuya_journal_je_opium_obsession_0_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_opium_obsession }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_opium_obsession  } if = { limit = { NOT = { has_variable = opium_wars_completion_tracker } } set_variable = { name = opium_wars_completion_tracker value = 0 } } change_variable = { name = opium_wars_completion_tracker add = 12 } change_variable = { name = opium_wars_completion_tracker max = 0 } } }
}

sakuya_journal_je_opium_obsession_0_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_opium_obsession }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_opium_obsession  } if = { limit = { NOT = { has_variable = opium_wars_completion_tracker } } set_variable = { name = opium_wars_completion_tracker value = 0 } } change_variable = { name = opium_wars_completion_tracker add = -120 } change_variable = { name = opium_wars_completion_tracker max = 0 } } }
}

sakuya_journal_je_opium_obsession_0_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_opium_obsession }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_opium_obsession  } if = { limit = { NOT = { has_variable = opium_wars_completion_tracker } } set_variable = { name = opium_wars_completion_tracker value = 0 } } change_variable = { name = opium_wars_completion_tracker add = 120 } change_variable = { name = opium_wars_completion_tracker max = 0 } } }
}

sakuya_journal_je_opium_obsession_0_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_opium_obsession }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_opium_obsession  } set_variable = { name = opium_wars_completion_tracker value = 0 } } }
}

sakuya_journal_je_opium_obsession_event_0_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_opium_obsession_event_0 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 effect = { if = { limit = { is_player = yes always = yes always = yes   } random_primary_culture = { save_scope_as = addicted_culture } trigger_event = { id = opium_wars.3 days = 0 popup = yes } } }
}

sakuya_journal_je_opium_obsession_event_1_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_opium_obsession_event_1 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 effect = { if = { limit = { is_player = yes always = yes always = yes   }  trigger_event = { id = opium_wars.4 days = 0 popup = yes } } }
}

sakuya_journal_je_opium_obsession_event_2_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_opium_obsession_event_2 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 is_valid = { NOT = { has_journal_entry = je_opium_obsession } }
 effect = { if = { limit = { is_player = yes always = yes always = yes  NOT = { has_journal_entry = je_opium_obsession } } random_primary_culture = { save_scope_as = addicted_culture } trigger_event = { id = opium_wars.1 days = 0 popup = yes } } }
}

sakuya_journal_je_warlord_china_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_warlord_china }
}

sakuya_journal_je_warlord_china_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes exists = c:CHI c:CHI = this }
}

sakuya_journal_je_warlord_china_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_warlord_china_add = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_warlord_china } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:CHI c:CHI = this } custom_tooltip = { text = CMP_JE_SETUP_REQUIRED has_variable = china_warlord_explosion } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_warlord_china } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:CHI c:CHI = this } custom_tooltip = { text = CMP_JE_SETUP_REQUIRED has_variable = china_warlord_explosion } }  add_journal_entry = { type = je_warlord_china  } } }
}

sakuya_journal_je_warlord_china_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_warlord_china } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_warlord_china } } } if = { limit = { NOT = { has_variable = china_warlord_explosion } } set_variable = { name = china_warlord_explosion value = 5 } } add_journal_entry = { type = je_warlord_china  } } }
}

sakuya_journal_je_warlord_china_0_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_warlord_china }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_warlord_china  } if = { limit = { NOT = { has_variable = china_warlord_explosion } } set_variable = { name = china_warlord_explosion value = 0 } } change_variable = { name = china_warlord_explosion add = -1 } change_variable = { name = china_warlord_explosion max = 0 } } }
}

sakuya_journal_je_warlord_china_0_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_warlord_china }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_warlord_china  } if = { limit = { NOT = { has_variable = china_warlord_explosion } } set_variable = { name = china_warlord_explosion value = 0 } } change_variable = { name = china_warlord_explosion add = 1 } change_variable = { name = china_warlord_explosion max = 0 } } }
}

sakuya_journal_je_warlord_china_0_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_warlord_china }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_warlord_china  } if = { limit = { NOT = { has_variable = china_warlord_explosion } } set_variable = { name = china_warlord_explosion value = 0 } } change_variable = { name = china_warlord_explosion add = -10 } change_variable = { name = china_warlord_explosion max = 0 } } }
}

sakuya_journal_je_warlord_china_0_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_warlord_china }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_warlord_china  } if = { limit = { NOT = { has_variable = china_warlord_explosion } } set_variable = { name = china_warlord_explosion value = 0 } } change_variable = { name = china_warlord_explosion add = 10 } change_variable = { name = china_warlord_explosion max = 0 } } }
}

sakuya_journal_je_warlord_china_0_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_warlord_china }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_warlord_china  } set_variable = { name = china_warlord_explosion value = 0 } } }
}

sakuya_journal_je_warlord_china_flag_0_check = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_warlord_china has_variable = won_boxer_rebellion }
}

sakuya_journal_je_warlord_china_flag_0_on = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_warlord_china }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_warlord_china  } set_variable = won_boxer_rebellion } }
}

sakuya_journal_je_warlord_china_flag_0_off = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_warlord_china }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_warlord_china  } remove_variable = won_boxer_rebellion } }
}

sakuya_journal_je_warlord_china_flag_1_check = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_warlord_china has_variable = china_warlord_explosion_recognized }
}

sakuya_journal_je_warlord_china_flag_1_on = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_warlord_china }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_warlord_china  } set_variable = china_warlord_explosion_recognized } }
}

sakuya_journal_je_warlord_china_flag_1_off = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_warlord_china }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_warlord_china  } remove_variable = china_warlord_explosion_recognized } }
}

sakuya_journal_je_warlord_china_flag_2_check = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_warlord_china has_variable = china_warlord_abolished_monarchy }
}

sakuya_journal_je_warlord_china_flag_2_on = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_warlord_china }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_warlord_china  } set_variable = china_warlord_abolished_monarchy } }
}

sakuya_journal_je_warlord_china_flag_2_off = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_warlord_china }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_warlord_china  } remove_variable = china_warlord_abolished_monarchy } }
}

sakuya_journal_je_warlord_china_stabilize = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_warlord_china }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_warlord_china  } set_variable = { name = china_warlord_explosion value = 5 } } }
}

sakuya_journal_je_warlord_china_event_0_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_warlord_china_event_0 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 effect = { if = { limit = { is_player = yes always = yes always = yes   }  trigger_event = { id = warlord_china_events.200 days = 0 popup = yes } } }
}

sakuya_journal_je_warlord_china_event_1_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_warlord_china_event_1 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 effect = { if = { limit = { is_player = yes always = yes always = yes   }  trigger_event = { id = warlord_china_events.100 days = 0 popup = yes } } }
}

sakuya_journal_je_sick_man_main_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_sick_man_main }
}

sakuya_journal_je_sick_man_main_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes exists = c:TUR c:TUR = this }
}

sakuya_journal_je_sick_man_main_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_sick_man_main_add = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_sick_man_main } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:TUR c:TUR = this } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_sick_man_main } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:TUR c:TUR = this } } if = { limit = { NOT = { has_variable = sick_man_var } } set_variable = { name = sick_man_var value = 0 } } add_journal_entry = { type = je_sick_man_main  } } }
}

sakuya_journal_je_sick_man_main_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_sick_man_main } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_sick_man_main } } } if = { limit = { NOT = { has_variable = sick_man_var } } set_variable = { name = sick_man_var value = 0 } } add_journal_entry = { type = je_sick_man_main  } } }
}

sakuya_journal_je_sick_man_main_0_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_sick_man_main }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_sick_man_main  } if = { limit = { NOT = { has_variable = sick_man_var } } set_variable = { name = sick_man_var value = 0 } } change_variable = { name = sick_man_var add = -1 } change_variable = { name = sick_man_var max = 0 } } }
}

sakuya_journal_je_sick_man_main_0_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_sick_man_main }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_sick_man_main  } if = { limit = { NOT = { has_variable = sick_man_var } } set_variable = { name = sick_man_var value = 0 } } change_variable = { name = sick_man_var add = 1 } change_variable = { name = sick_man_var max = 0 } } }
}

sakuya_journal_je_sick_man_main_0_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_sick_man_main }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_sick_man_main  } if = { limit = { NOT = { has_variable = sick_man_var } } set_variable = { name = sick_man_var value = 0 } } change_variable = { name = sick_man_var add = -10 } change_variable = { name = sick_man_var max = 0 } } }
}

sakuya_journal_je_sick_man_main_0_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_sick_man_main }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_sick_man_main  } if = { limit = { NOT = { has_variable = sick_man_var } } set_variable = { name = sick_man_var value = 0 } } change_variable = { name = sick_man_var add = 10 } change_variable = { name = sick_man_var max = 0 } } }
}

sakuya_journal_je_sick_man_main_0_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_sick_man_main }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_sick_man_main  } set_variable = { name = sick_man_var value = 0 } } }
}

sakuya_journal_je_sick_man_main_event_0_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_sick_man_main_event_0 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 is_valid = { NOT = { has_journal_entry = je_sick_man_main } }
 effect = { if = { limit = { is_player = yes always = yes always = yes  NOT = { has_journal_entry = je_sick_man_main } }  trigger_event = { id = sick_man.1 days = 0 popup = yes } } }
}

sakuya_journal_je_sick_man_main_event_1_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_sick_man_main_event_1 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 effect = { if = { limit = { is_player = yes always = yes always = yes   } if = { limit = { NOR = { has_variable = completed_sick_man_army_je has_variable = completed_syria_je has_variable = completed_separatism_sick_man_je has_variable = completed_sick_man_economy_je has_variable = completed_sick_man_education_je has_variable = completed_sick_man_bureaucracy_je } } set_variable = completed_sick_man_army_je } trigger_event = { id = sick_man.2 days = 0 popup = yes } } }
}

sakuya_journal_je_sick_man_main_event_2_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_sick_man_main_event_2 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 is_valid = { exists = ruler }
 effect = { if = { limit = { is_player = yes always = yes always = yes  exists = ruler }  trigger_event = { id = sick_man.3 days = 0 popup = yes } } }
}

sakuya_journal_je_sick_man_separatism_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_sick_man_separatism }
}

sakuya_journal_je_sick_man_separatism_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes exists = c:TUR c:TUR = this }
}

sakuya_journal_je_sick_man_separatism_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_sick_man_separatism_add = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_sick_man_separatism } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:TUR c:TUR = this } custom_tooltip = { text = CMP_JE_SETUP_REQUIRED has_journal_entry = je_sick_man_main } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_sick_man_separatism } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:TUR c:TUR = this } custom_tooltip = { text = CMP_JE_SETUP_REQUIRED has_journal_entry = je_sick_man_main } } if = { limit = { NOT = { has_variable = sick_man_separatist_var } } set_variable = { name = sick_man_separatist_var value = 0 } } add_journal_entry = { type = je_sick_man_separatism  } } }
}

sakuya_journal_je_sick_man_separatism_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_sick_man_separatism } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_sick_man_separatism } } } if = { limit = { NOT = { has_variable = sick_man_separatist_var } } set_variable = { name = sick_man_separatist_var value = 0 } } add_journal_entry = { type = je_sick_man_separatism  } } }
}

sakuya_journal_je_sick_man_separatism_0_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_sick_man_separatism }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_sick_man_separatism  } if = { limit = { NOT = { has_variable = sick_man_separatist_var } } set_variable = { name = sick_man_separatist_var value = 0 } } change_variable = { name = sick_man_separatist_var add = -12 } change_variable = { name = sick_man_separatist_var max = 0 } } }
}

sakuya_journal_je_sick_man_separatism_0_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_sick_man_separatism }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_sick_man_separatism  } if = { limit = { NOT = { has_variable = sick_man_separatist_var } } set_variable = { name = sick_man_separatist_var value = 0 } } change_variable = { name = sick_man_separatist_var add = 12 } change_variable = { name = sick_man_separatist_var max = 0 } } }
}

sakuya_journal_je_sick_man_separatism_0_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_sick_man_separatism }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_sick_man_separatism  } if = { limit = { NOT = { has_variable = sick_man_separatist_var } } set_variable = { name = sick_man_separatist_var value = 0 } } change_variable = { name = sick_man_separatist_var add = -120 } change_variable = { name = sick_man_separatist_var max = 0 } } }
}

sakuya_journal_je_sick_man_separatism_0_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_sick_man_separatism }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_sick_man_separatism  } if = { limit = { NOT = { has_variable = sick_man_separatist_var } } set_variable = { name = sick_man_separatist_var value = 0 } } change_variable = { name = sick_man_separatist_var add = 120 } change_variable = { name = sick_man_separatist_var max = 0 } } }
}

sakuya_journal_je_sick_man_separatism_0_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_sick_man_separatism }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_sick_man_separatism  } set_variable = { name = sick_man_separatist_var value = 0 } } }
}

sakuya_journal_je_acw_countdown_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_acw_countdown }
}

sakuya_journal_je_acw_countdown_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes exists = c:USA c:USA = this }
}

sakuya_journal_je_acw_countdown_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_acw_countdown_add = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_acw_countdown } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:USA c:USA = this } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_acw_countdown } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:USA c:USA = this } }  add_journal_entry = { type = je_acw_countdown  } } }
}

sakuya_journal_je_acw_countdown_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_acw_countdown } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_acw_countdown } } } if = { limit = { NOT = { has_variable = acw_progress_var } } set_variable = { name = acw_progress_var value = 0 } } add_journal_entry = { type = je_acw_countdown  } } }
}

sakuya_journal_je_acw_countdown_0_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_acw_countdown }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_acw_countdown  } if = { limit = { NOT = { has_variable = acw_progress_var } } set_variable = { name = acw_progress_var value = 0 } } change_variable = { name = acw_progress_var add = -12 } change_variable = { name = acw_progress_var max = 0 } } }
}

sakuya_journal_je_acw_countdown_0_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_acw_countdown }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_acw_countdown  } if = { limit = { NOT = { has_variable = acw_progress_var } } set_variable = { name = acw_progress_var value = 0 } } change_variable = { name = acw_progress_var add = 12 } change_variable = { name = acw_progress_var max = 0 } } }
}

sakuya_journal_je_acw_countdown_0_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_acw_countdown }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_acw_countdown  } if = { limit = { NOT = { has_variable = acw_progress_var } } set_variable = { name = acw_progress_var value = 0 } } change_variable = { name = acw_progress_var add = -120 } change_variable = { name = acw_progress_var max = 0 } } }
}

sakuya_journal_je_acw_countdown_0_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_acw_countdown }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_acw_countdown  } if = { limit = { NOT = { has_variable = acw_progress_var } } set_variable = { name = acw_progress_var value = 0 } } change_variable = { name = acw_progress_var add = 120 } change_variable = { name = acw_progress_var max = 0 } } }
}

sakuya_journal_je_acw_countdown_0_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_acw_countdown }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_acw_countdown  } set_variable = { name = acw_progress_var value = 0 } } }
}

sakuya_journal_je_acw_reconstruction_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_acw_reconstruction }
}

sakuya_journal_je_acw_reconstruction_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes exists = c:USA c:USA = this }
}

sakuya_journal_je_acw_reconstruction_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_acw_reconstruction_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_acw_reconstruction } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_acw_reconstruction } } } if = { limit = { NOT = { has_variable = reconstruction_var } } set_variable = { name = reconstruction_var value = 0 } } add_journal_entry = { type = je_acw_reconstruction  } } }
}

sakuya_journal_je_acw_reconstruction_0_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_acw_reconstruction }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_acw_reconstruction  } if = { limit = { NOT = { has_variable = reconstruction_var } } set_variable = { name = reconstruction_var value = 0 } } change_variable = { name = reconstruction_var add = -1 } change_variable = { name = reconstruction_var max = 0 } } }
}

sakuya_journal_je_acw_reconstruction_0_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_acw_reconstruction }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_acw_reconstruction  } if = { limit = { NOT = { has_variable = reconstruction_var } } set_variable = { name = reconstruction_var value = 0 } } change_variable = { name = reconstruction_var add = 1 } change_variable = { name = reconstruction_var max = 0 } } }
}

sakuya_journal_je_acw_reconstruction_0_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_acw_reconstruction }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_acw_reconstruction  } if = { limit = { NOT = { has_variable = reconstruction_var } } set_variable = { name = reconstruction_var value = 0 } } change_variable = { name = reconstruction_var add = -10 } change_variable = { name = reconstruction_var max = 0 } } }
}

sakuya_journal_je_acw_reconstruction_0_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_acw_reconstruction }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_acw_reconstruction  } if = { limit = { NOT = { has_variable = reconstruction_var } } set_variable = { name = reconstruction_var value = 0 } } change_variable = { name = reconstruction_var add = 10 } change_variable = { name = reconstruction_var max = 0 } } }
}

sakuya_journal_je_acw_reconstruction_0_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_acw_reconstruction }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_acw_reconstruction  } set_variable = { name = reconstruction_var value = 0 } } }
}

sakuya_journal_je_acw_reconstruction_event_0_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_acw_reconstruction_event_0 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 is_valid = { NOT = { has_journal_entry = je_acw_reconstruction } }
 effect = { if = { limit = { is_player = yes always = yes always = yes  NOT = { has_journal_entry = je_acw_reconstruction } }  trigger_event = { id = acw_je_events.2 days = 0 popup = yes } } }
}

sakuya_journal_je_acw_wild_wild_west_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_acw_wild_wild_west }
}

sakuya_journal_je_acw_wild_wild_west_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes exists = c:USA c:USA = this }
}

sakuya_journal_je_acw_wild_wild_west_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_acw_wild_wild_west_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_acw_wild_wild_west } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_acw_wild_wild_west } } } if = { limit = { NOT = { has_variable = je_acw_wild_west_var } } set_variable = { name = je_acw_wild_west_var value = 0 } } add_journal_entry = { type = je_acw_wild_wild_west  } } }
}

sakuya_journal_je_acw_wild_wild_west_0_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_acw_wild_wild_west }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_acw_wild_wild_west  } if = { limit = { NOT = { has_variable = je_acw_wild_west_var } } set_variable = { name = je_acw_wild_west_var value = 0 } } change_variable = { name = je_acw_wild_west_var add = -12 } change_variable = { name = je_acw_wild_west_var max = 0 } } }
}

sakuya_journal_je_acw_wild_wild_west_0_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_acw_wild_wild_west }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_acw_wild_wild_west  } if = { limit = { NOT = { has_variable = je_acw_wild_west_var } } set_variable = { name = je_acw_wild_west_var value = 0 } } change_variable = { name = je_acw_wild_west_var add = 12 } change_variable = { name = je_acw_wild_west_var max = 0 } } }
}

sakuya_journal_je_acw_wild_wild_west_0_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_acw_wild_wild_west }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_acw_wild_wild_west  } if = { limit = { NOT = { has_variable = je_acw_wild_west_var } } set_variable = { name = je_acw_wild_west_var value = 0 } } change_variable = { name = je_acw_wild_west_var add = -120 } change_variable = { name = je_acw_wild_west_var max = 0 } } }
}

sakuya_journal_je_acw_wild_wild_west_0_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_acw_wild_wild_west }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_acw_wild_wild_west  } if = { limit = { NOT = { has_variable = je_acw_wild_west_var } } set_variable = { name = je_acw_wild_west_var value = 0 } } change_variable = { name = je_acw_wild_west_var add = 120 } change_variable = { name = je_acw_wild_west_var max = 0 } } }
}

sakuya_journal_je_acw_wild_wild_west_0_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_acw_wild_wild_west }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_acw_wild_wild_west  } set_variable = { name = je_acw_wild_west_var value = 0 } } }
}

sakuya_journal_je_meiji_restoration_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_meiji_restoration }
}

sakuya_journal_je_meiji_restoration_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes exists = c:JAP c:JAP = this }
}

sakuya_journal_je_meiji_restoration_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_meiji_restoration_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_meiji_restoration } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_meiji_restoration } } } if = { limit = { NOT = { has_variable = restoration_timer_var } } set_variable = { name = restoration_timer_var value = 0 } } add_journal_entry = { type = je_meiji_restoration  } } }
}

sakuya_journal_je_meiji_restoration_0_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_meiji_restoration }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_meiji_restoration  } if = { limit = { NOT = { has_variable = restoration_timer_var } } set_variable = { name = restoration_timer_var value = 0 } } change_variable = { name = restoration_timer_var add = -1 } change_variable = { name = restoration_timer_var max = 0 } } }
}

sakuya_journal_je_meiji_restoration_0_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_meiji_restoration }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_meiji_restoration  } if = { limit = { NOT = { has_variable = restoration_timer_var } } set_variable = { name = restoration_timer_var value = 0 } } change_variable = { name = restoration_timer_var add = 1 } change_variable = { name = restoration_timer_var max = 0 } } }
}

sakuya_journal_je_meiji_restoration_0_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_meiji_restoration }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_meiji_restoration  } if = { limit = { NOT = { has_variable = restoration_timer_var } } set_variable = { name = restoration_timer_var value = 0 } } change_variable = { name = restoration_timer_var add = -10 } change_variable = { name = restoration_timer_var max = 0 } } }
}

sakuya_journal_je_meiji_restoration_0_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_meiji_restoration }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_meiji_restoration  } if = { limit = { NOT = { has_variable = restoration_timer_var } } set_variable = { name = restoration_timer_var value = 0 } } change_variable = { name = restoration_timer_var add = 10 } change_variable = { name = restoration_timer_var max = 0 } } }
}

sakuya_journal_je_meiji_restoration_0_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_meiji_restoration }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_meiji_restoration  } set_variable = { name = restoration_timer_var value = 0 } } }
}

sakuya_journal_je_divided_monarchists_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists }
}

sakuya_journal_je_divided_monarchists_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } exists = c:FRA c:FRA = this }
}

sakuya_journal_je_divided_monarchists_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content }  }
}

sakuya_journal_je_divided_monarchists_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_divided_monarchists } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_divided_monarchists } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = ruler } }  add_journal_entry = { type = je_divided_monarchists  } } }
}

sakuya_journal_je_divided_monarchists_0_minus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists  } je:je_divided_monarchists = { add_progress = { name = divided_monarchists_orleanist_progress_bar value = -40 } if = { limit = { "scripted_bar_progress(divided_monarchists_orleanist_progress_bar)" < 0 } set_bar_progress = { name = divided_monarchists_orleanist_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(divided_monarchists_orleanist_progress_bar)" > 480 } set_bar_progress = { name = divided_monarchists_orleanist_progress_bar value = 480 } }  } } }
}

sakuya_journal_je_divided_monarchists_0_plus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists  } je:je_divided_monarchists = { add_progress = { name = divided_monarchists_orleanist_progress_bar value = 40 } if = { limit = { "scripted_bar_progress(divided_monarchists_orleanist_progress_bar)" < 0 } set_bar_progress = { name = divided_monarchists_orleanist_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(divided_monarchists_orleanist_progress_bar)" > 480 } set_bar_progress = { name = divided_monarchists_orleanist_progress_bar value = 480 } }  } } }
}

sakuya_journal_je_divided_monarchists_0_minus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists  } je:je_divided_monarchists = { add_progress = { name = divided_monarchists_orleanist_progress_bar value = -400 } if = { limit = { "scripted_bar_progress(divided_monarchists_orleanist_progress_bar)" < 0 } set_bar_progress = { name = divided_monarchists_orleanist_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(divided_monarchists_orleanist_progress_bar)" > 480 } set_bar_progress = { name = divided_monarchists_orleanist_progress_bar value = 480 } }  } } }
}

sakuya_journal_je_divided_monarchists_0_plus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists  } je:je_divided_monarchists = { add_progress = { name = divided_monarchists_orleanist_progress_bar value = 400 } if = { limit = { "scripted_bar_progress(divided_monarchists_orleanist_progress_bar)" < 0 } set_bar_progress = { name = divided_monarchists_orleanist_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(divided_monarchists_orleanist_progress_bar)" > 480 } set_bar_progress = { name = divided_monarchists_orleanist_progress_bar value = 480 } }  } } }
}

sakuya_journal_je_divided_monarchists_0_reset = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists  } je:je_divided_monarchists = { set_bar_progress = { name = divided_monarchists_orleanist_progress_bar value = 0 } if = { limit = { "scripted_bar_progress(divided_monarchists_orleanist_progress_bar)" < 0 } set_bar_progress = { name = divided_monarchists_orleanist_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(divided_monarchists_orleanist_progress_bar)" > 480 } set_bar_progress = { name = divided_monarchists_orleanist_progress_bar value = 480 } }  } } }
}

sakuya_journal_je_divided_monarchists_0_max = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists  } je:je_divided_monarchists = { set_bar_progress = { name = divided_monarchists_orleanist_progress_bar value = 480 } if = { limit = { "scripted_bar_progress(divided_monarchists_orleanist_progress_bar)" < 0 } set_bar_progress = { name = divided_monarchists_orleanist_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(divided_monarchists_orleanist_progress_bar)" > 480 } set_bar_progress = { name = divided_monarchists_orleanist_progress_bar value = 480 } }  } } }
}

sakuya_journal_je_divided_monarchists_1_minus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists  } je:je_divided_monarchists = { add_progress = { name = divided_monarchists_legitimist_progress_bar value = -40 } if = { limit = { "scripted_bar_progress(divided_monarchists_legitimist_progress_bar)" < 0 } set_bar_progress = { name = divided_monarchists_legitimist_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(divided_monarchists_legitimist_progress_bar)" > 480 } set_bar_progress = { name = divided_monarchists_legitimist_progress_bar value = 480 } }  } } }
}

sakuya_journal_je_divided_monarchists_1_plus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists  } je:je_divided_monarchists = { add_progress = { name = divided_monarchists_legitimist_progress_bar value = 40 } if = { limit = { "scripted_bar_progress(divided_monarchists_legitimist_progress_bar)" < 0 } set_bar_progress = { name = divided_monarchists_legitimist_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(divided_monarchists_legitimist_progress_bar)" > 480 } set_bar_progress = { name = divided_monarchists_legitimist_progress_bar value = 480 } }  } } }
}

sakuya_journal_je_divided_monarchists_1_minus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists  } je:je_divided_monarchists = { add_progress = { name = divided_monarchists_legitimist_progress_bar value = -400 } if = { limit = { "scripted_bar_progress(divided_monarchists_legitimist_progress_bar)" < 0 } set_bar_progress = { name = divided_monarchists_legitimist_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(divided_monarchists_legitimist_progress_bar)" > 480 } set_bar_progress = { name = divided_monarchists_legitimist_progress_bar value = 480 } }  } } }
}

sakuya_journal_je_divided_monarchists_1_plus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists  } je:je_divided_monarchists = { add_progress = { name = divided_monarchists_legitimist_progress_bar value = 400 } if = { limit = { "scripted_bar_progress(divided_monarchists_legitimist_progress_bar)" < 0 } set_bar_progress = { name = divided_monarchists_legitimist_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(divided_monarchists_legitimist_progress_bar)" > 480 } set_bar_progress = { name = divided_monarchists_legitimist_progress_bar value = 480 } }  } } }
}

sakuya_journal_je_divided_monarchists_1_reset = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists  } je:je_divided_monarchists = { set_bar_progress = { name = divided_monarchists_legitimist_progress_bar value = 0 } if = { limit = { "scripted_bar_progress(divided_monarchists_legitimist_progress_bar)" < 0 } set_bar_progress = { name = divided_monarchists_legitimist_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(divided_monarchists_legitimist_progress_bar)" > 480 } set_bar_progress = { name = divided_monarchists_legitimist_progress_bar value = 480 } }  } } }
}

sakuya_journal_je_divided_monarchists_1_max = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists  } je:je_divided_monarchists = { set_bar_progress = { name = divided_monarchists_legitimist_progress_bar value = 480 } if = { limit = { "scripted_bar_progress(divided_monarchists_legitimist_progress_bar)" < 0 } set_bar_progress = { name = divided_monarchists_legitimist_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(divided_monarchists_legitimist_progress_bar)" > 480 } set_bar_progress = { name = divided_monarchists_legitimist_progress_bar value = 480 } }  } } }
}

sakuya_journal_je_divided_monarchists_2_minus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists  } je:je_divided_monarchists = { add_progress = { name = divided_monarchists_bonapartist_progress_bar value = -40 } if = { limit = { "scripted_bar_progress(divided_monarchists_bonapartist_progress_bar)" < 0 } set_bar_progress = { name = divided_monarchists_bonapartist_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(divided_monarchists_bonapartist_progress_bar)" > 480 } set_bar_progress = { name = divided_monarchists_bonapartist_progress_bar value = 480 } }  } } }
}

sakuya_journal_je_divided_monarchists_2_plus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists  } je:je_divided_monarchists = { add_progress = { name = divided_monarchists_bonapartist_progress_bar value = 40 } if = { limit = { "scripted_bar_progress(divided_monarchists_bonapartist_progress_bar)" < 0 } set_bar_progress = { name = divided_monarchists_bonapartist_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(divided_monarchists_bonapartist_progress_bar)" > 480 } set_bar_progress = { name = divided_monarchists_bonapartist_progress_bar value = 480 } }  } } }
}

sakuya_journal_je_divided_monarchists_2_minus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists  } je:je_divided_monarchists = { add_progress = { name = divided_monarchists_bonapartist_progress_bar value = -400 } if = { limit = { "scripted_bar_progress(divided_monarchists_bonapartist_progress_bar)" < 0 } set_bar_progress = { name = divided_monarchists_bonapartist_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(divided_monarchists_bonapartist_progress_bar)" > 480 } set_bar_progress = { name = divided_monarchists_bonapartist_progress_bar value = 480 } }  } } }
}

sakuya_journal_je_divided_monarchists_2_plus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists  } je:je_divided_monarchists = { add_progress = { name = divided_monarchists_bonapartist_progress_bar value = 400 } if = { limit = { "scripted_bar_progress(divided_monarchists_bonapartist_progress_bar)" < 0 } set_bar_progress = { name = divided_monarchists_bonapartist_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(divided_monarchists_bonapartist_progress_bar)" > 480 } set_bar_progress = { name = divided_monarchists_bonapartist_progress_bar value = 480 } }  } } }
}

sakuya_journal_je_divided_monarchists_2_reset = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists  } je:je_divided_monarchists = { set_bar_progress = { name = divided_monarchists_bonapartist_progress_bar value = 0 } if = { limit = { "scripted_bar_progress(divided_monarchists_bonapartist_progress_bar)" < 0 } set_bar_progress = { name = divided_monarchists_bonapartist_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(divided_monarchists_bonapartist_progress_bar)" > 480 } set_bar_progress = { name = divided_monarchists_bonapartist_progress_bar value = 480 } }  } } }
}

sakuya_journal_je_divided_monarchists_2_max = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_divided_monarchists  } je:je_divided_monarchists = { set_bar_progress = { name = divided_monarchists_bonapartist_progress_bar value = 480 } if = { limit = { "scripted_bar_progress(divided_monarchists_bonapartist_progress_bar)" < 0 } set_bar_progress = { name = divided_monarchists_bonapartist_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(divided_monarchists_bonapartist_progress_bar)" > 480 } set_bar_progress = { name = divided_monarchists_bonapartist_progress_bar value = 480 } }  } } }
}

sakuya_journal_je_cement_the_rightful_dynasty_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_cement_the_rightful_dynasty }
}

sakuya_journal_je_cement_the_rightful_dynasty_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } exists = c:FRA c:FRA = this }
}

sakuya_journal_je_cement_the_rightful_dynasty_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content }  }
}

sakuya_journal_je_cement_the_rightful_dynasty_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_cement_the_rightful_dynasty } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_cement_the_rightful_dynasty } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = ruler } } if = { limit = { NOT = { has_variable = french_dynastic_primary_progress_var } } set_variable = { name = french_dynastic_primary_progress_var value = 0 } } add_journal_entry = { type = je_cement_the_rightful_dynasty  } } }
}

sakuya_journal_je_cement_the_rightful_dynasty_0_minus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_cement_the_rightful_dynasty }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_cement_the_rightful_dynasty  } if = { limit = { NOT = { has_variable = french_dynastic_primary_progress_var } } set_variable = { name = french_dynastic_primary_progress_var value = 0 } } change_variable = { name = french_dynastic_primary_progress_var add = -12 } change_variable = { name = french_dynastic_primary_progress_var max = 0 } } }
}

sakuya_journal_je_cement_the_rightful_dynasty_0_plus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_cement_the_rightful_dynasty }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_cement_the_rightful_dynasty  } if = { limit = { NOT = { has_variable = french_dynastic_primary_progress_var } } set_variable = { name = french_dynastic_primary_progress_var value = 0 } } change_variable = { name = french_dynastic_primary_progress_var add = 12 } change_variable = { name = french_dynastic_primary_progress_var max = 0 } } }
}

sakuya_journal_je_cement_the_rightful_dynasty_0_minus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_cement_the_rightful_dynasty }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_cement_the_rightful_dynasty  } if = { limit = { NOT = { has_variable = french_dynastic_primary_progress_var } } set_variable = { name = french_dynastic_primary_progress_var value = 0 } } change_variable = { name = french_dynastic_primary_progress_var add = -120 } change_variable = { name = french_dynastic_primary_progress_var max = 0 } } }
}

sakuya_journal_je_cement_the_rightful_dynasty_0_plus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_cement_the_rightful_dynasty }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_cement_the_rightful_dynasty  } if = { limit = { NOT = { has_variable = french_dynastic_primary_progress_var } } set_variable = { name = french_dynastic_primary_progress_var value = 0 } } change_variable = { name = french_dynastic_primary_progress_var add = 120 } change_variable = { name = french_dynastic_primary_progress_var max = 0 } } }
}

sakuya_journal_je_cement_the_rightful_dynasty_0_reset = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_cement_the_rightful_dynasty }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_cement_the_rightful_dynasty  } set_variable = { name = french_dynastic_primary_progress_var value = 0 } } }
}

sakuya_journal_je_dreyfus_affair_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_dreyfus_affair }
}

sakuya_journal_je_dreyfus_affair_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } exists = c:FRA c:FRA = this }
}

sakuya_journal_je_dreyfus_affair_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content }  }
}

sakuya_journal_je_dreyfus_affair_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_dreyfus_affair } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_character_in_void = { has_variable = alfred_dreyfus_var } any_scope_character = { has_variable = emile_zola_var } } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_dreyfus_affair } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_character_in_void = { has_variable = alfred_dreyfus_var } any_scope_character = { has_variable = emile_zola_var } } } if = { limit = { NOT = { has_variable = rennes_retrial_var } } set_variable = { name = rennes_retrial_var value = 0 } } if = { limit = { NOT = { has_variable = dreyfus_case_var } } set_variable = { name = dreyfus_case_var value = 0 } } add_journal_entry = { type = je_dreyfus_affair  } } }
}

sakuya_journal_je_dreyfus_affair_0_minus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_dreyfus_affair }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_dreyfus_affair  } if = { limit = { NOT = { has_variable = rennes_retrial_var } } set_variable = { name = rennes_retrial_var value = 0 } } change_variable = { name = rennes_retrial_var add = -12 } change_variable = { name = rennes_retrial_var max = 0 } } }
}

sakuya_journal_je_dreyfus_affair_0_plus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_dreyfus_affair }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_dreyfus_affair  } if = { limit = { NOT = { has_variable = rennes_retrial_var } } set_variable = { name = rennes_retrial_var value = 0 } } change_variable = { name = rennes_retrial_var add = 12 } change_variable = { name = rennes_retrial_var max = 0 } } }
}

sakuya_journal_je_dreyfus_affair_0_minus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_dreyfus_affair }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_dreyfus_affair  } if = { limit = { NOT = { has_variable = rennes_retrial_var } } set_variable = { name = rennes_retrial_var value = 0 } } change_variable = { name = rennes_retrial_var add = -120 } change_variable = { name = rennes_retrial_var max = 0 } } }
}

sakuya_journal_je_dreyfus_affair_0_plus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_dreyfus_affair }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_dreyfus_affair  } if = { limit = { NOT = { has_variable = rennes_retrial_var } } set_variable = { name = rennes_retrial_var value = 0 } } change_variable = { name = rennes_retrial_var add = 120 } change_variable = { name = rennes_retrial_var max = 0 } } }
}

sakuya_journal_je_dreyfus_affair_0_reset = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_dreyfus_affair }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_dreyfus_affair  } set_variable = { name = rennes_retrial_var value = 0 } } }
}

sakuya_journal_je_dreyfus_affair_1_minus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_dreyfus_affair }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_dreyfus_affair  } if = { limit = { NOT = { has_variable = dreyfus_case_var } } set_variable = { name = dreyfus_case_var value = 0 } } change_variable = { name = dreyfus_case_var add = -1 } change_variable = { name = dreyfus_case_var max = 0 } } }
}

sakuya_journal_je_dreyfus_affair_1_plus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_dreyfus_affair }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_dreyfus_affair  } if = { limit = { NOT = { has_variable = dreyfus_case_var } } set_variable = { name = dreyfus_case_var value = 0 } } change_variable = { name = dreyfus_case_var add = 1 } change_variable = { name = dreyfus_case_var max = 0 } } }
}

sakuya_journal_je_dreyfus_affair_1_minus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_dreyfus_affair }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_dreyfus_affair  } if = { limit = { NOT = { has_variable = dreyfus_case_var } } set_variable = { name = dreyfus_case_var value = 0 } } change_variable = { name = dreyfus_case_var add = -10 } change_variable = { name = dreyfus_case_var max = 0 } } }
}

sakuya_journal_je_dreyfus_affair_1_plus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_dreyfus_affair }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_dreyfus_affair  } if = { limit = { NOT = { has_variable = dreyfus_case_var } } set_variable = { name = dreyfus_case_var value = 0 } } change_variable = { name = dreyfus_case_var add = 10 } change_variable = { name = dreyfus_case_var max = 0 } } }
}

sakuya_journal_je_dreyfus_affair_1_reset = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_dreyfus_affair }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } has_journal_entry = je_dreyfus_affair  } set_variable = { name = dreyfus_case_var value = 0 } } }
}

sakuya_journal_je_dreyfus_affair_event_0_available = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content }  }
}

sakuya_journal_je_dreyfus_affair_event_0 = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content }  }
 is_valid = { any_country = { has_diplomatic_pact = { who = root type = rivalry } } NOT = { has_journal_entry = je_dreyfus_affair } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content }  any_country = { has_diplomatic_pact = { who = root type = rivalry } } NOT = { has_journal_entry = je_dreyfus_affair } }  trigger_event = { id = dreyfus.1 days = 0 popup = yes } } }
}

sakuya_journal_je_pedro_brazil_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } has_journal_entry = je_pedro_brazil }
}

sakuya_journal_je_pedro_brazil_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } exists = c:BRZ c:BRZ = this }
}

sakuya_journal_je_pedro_brazil_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content }  }
}

sakuya_journal_je_pedro_brazil_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_pedro_brazil } } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_pedro_brazil } } } if = { limit = { NOT = { has_variable = pedropoints } } set_variable = { name = pedropoints value = 0 } } add_journal_entry = { type = je_pedro_brazil  } } }
}

sakuya_journal_je_pedro_brazil_0_minus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } has_journal_entry = je_pedro_brazil }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } has_journal_entry = je_pedro_brazil  } if = { limit = { NOT = { has_variable = pedropoints } } set_variable = { name = pedropoints value = 0 } } change_variable = { name = pedropoints add = -1 } change_variable = { name = pedropoints max = 0 } } }
}

sakuya_journal_je_pedro_brazil_0_plus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } has_journal_entry = je_pedro_brazil }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } has_journal_entry = je_pedro_brazil  } if = { limit = { NOT = { has_variable = pedropoints } } set_variable = { name = pedropoints value = 0 } } change_variable = { name = pedropoints add = 1 } change_variable = { name = pedropoints max = 0 } } }
}

sakuya_journal_je_pedro_brazil_0_minus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } has_journal_entry = je_pedro_brazil }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } has_journal_entry = je_pedro_brazil  } if = { limit = { NOT = { has_variable = pedropoints } } set_variable = { name = pedropoints value = 0 } } change_variable = { name = pedropoints add = -10 } change_variable = { name = pedropoints max = 0 } } }
}

sakuya_journal_je_pedro_brazil_0_plus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } has_journal_entry = je_pedro_brazil }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } has_journal_entry = je_pedro_brazil  } if = { limit = { NOT = { has_variable = pedropoints } } set_variable = { name = pedropoints value = 0 } } change_variable = { name = pedropoints add = 10 } change_variable = { name = pedropoints max = 0 } } }
}

sakuya_journal_je_pedro_brazil_0_reset = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } has_journal_entry = je_pedro_brazil }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } has_journal_entry = je_pedro_brazil  } set_variable = { name = pedropoints value = 0 } } }
}

sakuya_journal_je_pedro_brazil_event_0_available = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content }  }
}

sakuya_journal_je_pedro_brazil_event_0 = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content }  }
 is_valid = { exists = heir exists = ruler any_interest_group = { is_in_government = yes } NOT = { has_journal_entry = je_pedro_brazil } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content }  exists = heir exists = ruler any_interest_group = { is_in_government = yes } NOT = { has_journal_entry = je_pedro_brazil } }  trigger_event = { id = pedro.3 days = 0 popup = yes } } }
}

sakuya_journal_je_isabel_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } has_journal_entry = je_isabel }
}

sakuya_journal_je_isabel_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } exists = c:BRZ c:BRZ = this }
}

sakuya_journal_je_isabel_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content }  }
}

sakuya_journal_je_isabel_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_isabel } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = heir } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_isabel } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = heir } } if = { limit = { NOT = { has_variable = isabel_points } } set_variable = { name = isabel_points value = 0 } } add_journal_entry = { type = je_isabel target = heir } } }
}

sakuya_journal_je_isabel_0_minus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } has_journal_entry = je_isabel }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } has_journal_entry = je_isabel  } if = { limit = { NOT = { has_variable = isabel_points } } set_variable = { name = isabel_points value = 0 } } change_variable = { name = isabel_points add = -12 } change_variable = { name = isabel_points max = 0 } } }
}

sakuya_journal_je_isabel_0_plus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } has_journal_entry = je_isabel }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } has_journal_entry = je_isabel  } if = { limit = { NOT = { has_variable = isabel_points } } set_variable = { name = isabel_points value = 0 } } change_variable = { name = isabel_points add = 12 } change_variable = { name = isabel_points max = 0 } } }
}

sakuya_journal_je_isabel_0_minus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } has_journal_entry = je_isabel }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } has_journal_entry = je_isabel  } if = { limit = { NOT = { has_variable = isabel_points } } set_variable = { name = isabel_points value = 0 } } change_variable = { name = isabel_points add = -120 } change_variable = { name = isabel_points max = 0 } } }
}

sakuya_journal_je_isabel_0_plus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } has_journal_entry = je_isabel }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } has_journal_entry = je_isabel  } if = { limit = { NOT = { has_variable = isabel_points } } set_variable = { name = isabel_points value = 0 } } change_variable = { name = isabel_points add = 120 } change_variable = { name = isabel_points max = 0 } } }
}

sakuya_journal_je_isabel_0_reset = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } has_journal_entry = je_isabel }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } has_journal_entry = je_isabel  } set_variable = { name = isabel_points value = 0 } } }
}

sakuya_journal_je_isabel_event_0_available = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content }  }
}

sakuya_journal_je_isabel_event_0 = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content }  }
 is_valid = { exists = heir exists = ruler NOT = { has_journal_entry = je_isabel } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content }  exists = heir exists = ruler NOT = { has_journal_entry = je_isabel } }  trigger_event = { id = pedro.12 days = 0 popup = yes } } }
}

sakuya_journal_je_nihilist_movement_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_nihilist_movement }
}

sakuya_journal_je_nihilist_movement_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes }
}

sakuya_journal_je_nihilist_movement_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_nihilist_movement_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_nihilist_movement } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_nihilist_movement } } } if = { limit = { NOT = { has_variable = nihilism_progress_var } } set_variable = { name = nihilism_progress_var value = 0 } } add_journal_entry = { type = je_nihilist_movement  } } }
}

sakuya_journal_je_nihilist_movement_0_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_nihilist_movement }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_nihilist_movement  } if = { limit = { NOT = { has_variable = nihilism_progress_var } } set_variable = { name = nihilism_progress_var value = 0 } } change_variable = { name = nihilism_progress_var add = -12 } change_variable = { name = nihilism_progress_var max = 0 } } }
}

sakuya_journal_je_nihilist_movement_0_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_nihilist_movement }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_nihilist_movement  } if = { limit = { NOT = { has_variable = nihilism_progress_var } } set_variable = { name = nihilism_progress_var value = 0 } } change_variable = { name = nihilism_progress_var add = 12 } change_variable = { name = nihilism_progress_var max = 0 } } }
}

sakuya_journal_je_nihilist_movement_0_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_nihilist_movement }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_nihilist_movement  } if = { limit = { NOT = { has_variable = nihilism_progress_var } } set_variable = { name = nihilism_progress_var value = 0 } } change_variable = { name = nihilism_progress_var add = -120 } change_variable = { name = nihilism_progress_var max = 0 } } }
}

sakuya_journal_je_nihilist_movement_0_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_nihilist_movement }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_nihilist_movement  } if = { limit = { NOT = { has_variable = nihilism_progress_var } } set_variable = { name = nihilism_progress_var value = 0 } } change_variable = { name = nihilism_progress_var add = 120 } change_variable = { name = nihilism_progress_var max = 0 } } }
}

sakuya_journal_je_nihilist_movement_0_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_nihilist_movement }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_nihilist_movement  } set_variable = { name = nihilism_progress_var value = 0 } } }
}

sakuya_journal_je_niger_river_expedition_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition }
}

sakuya_journal_je_niger_river_expedition_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes }
}

sakuya_journal_je_niger_river_expedition_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_niger_river_expedition_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_niger_river_expedition } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED OR = { any_scope_character = { has_variable = expedition_leader_var } any_scope_character = { is_busy = no is_ruler_of_own_country = no character_is_valid_for_events = yes OR = { has_role_of_type = general has_role_of_type = admiral } } } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_niger_river_expedition } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED OR = { any_scope_character = { has_variable = expedition_leader_var } any_scope_character = { is_busy = no is_ruler_of_own_country = no character_is_valid_for_events = yes OR = { has_role_of_type = general has_role_of_type = admiral } } } } }  set_variable = on_expedition remove_variable = no_extra_expenses_var set_variable = niger_river_expedition_var if = { limit = { NOT = { any_scope_character = { has_variable = expedition_leader_var } } } random_scope_character = { limit = { is_busy = no is_ruler_of_own_country = no character_is_valid_for_events = yes OR = { has_role_of_type = general has_role_of_type = admiral } } set_as_expedition_leader = yes } } add_journal_entry = { type = je_niger_river_expedition  } } }
}

sakuya_journal_je_niger_river_expedition_0_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition  } je:je_niger_river_expedition = { add_progress = { name = expedition_progress_bar value = -1 } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" < 0 } set_bar_progress = { name = expedition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" > 8 } set_bar_progress = { name = expedition_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_niger_river_expedition_0_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition  } je:je_niger_river_expedition = { add_progress = { name = expedition_progress_bar value = 1 } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" < 0 } set_bar_progress = { name = expedition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" > 8 } set_bar_progress = { name = expedition_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_niger_river_expedition_0_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition  } je:je_niger_river_expedition = { add_progress = { name = expedition_progress_bar value = -10 } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" < 0 } set_bar_progress = { name = expedition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" > 8 } set_bar_progress = { name = expedition_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_niger_river_expedition_0_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition  } je:je_niger_river_expedition = { add_progress = { name = expedition_progress_bar value = 10 } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" < 0 } set_bar_progress = { name = expedition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" > 8 } set_bar_progress = { name = expedition_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_niger_river_expedition_0_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition  } je:je_niger_river_expedition = { set_bar_progress = { name = expedition_progress_bar value = 0 } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" < 0 } set_bar_progress = { name = expedition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" > 8 } set_bar_progress = { name = expedition_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_niger_river_expedition_0_max = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition  } je:je_niger_river_expedition = { set_bar_progress = { name = expedition_progress_bar value = 8 } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" < 0 } set_bar_progress = { name = expedition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" > 8 } set_bar_progress = { name = expedition_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_niger_river_expedition_1_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition  } je:je_niger_river_expedition = { add_progress = { name = expedition_peril_progress_bar value = -1 } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" < 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" > 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_niger_river_expedition_1_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition  } je:je_niger_river_expedition = { add_progress = { name = expedition_peril_progress_bar value = 1 } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" < 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" > 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_niger_river_expedition_1_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition  } je:je_niger_river_expedition = { add_progress = { name = expedition_peril_progress_bar value = -10 } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" < 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" > 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_niger_river_expedition_1_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition  } je:je_niger_river_expedition = { add_progress = { name = expedition_peril_progress_bar value = 10 } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" < 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" > 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_niger_river_expedition_1_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition  } je:je_niger_river_expedition = { set_bar_progress = { name = expedition_peril_progress_bar value = 0 } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" < 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" > 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_niger_river_expedition_1_max = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition  } je:je_niger_river_expedition = { set_bar_progress = { name = expedition_peril_progress_bar value = 8 } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" < 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" > 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_niger_river_expedition_finish = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition  } set_variable = on_expedition remove_variable = no_extra_expenses_var  je:je_niger_river_expedition = { set_bar_progress = { name = expedition_progress_bar value = 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } } }
}

sakuya_journal_je_niger_river_expedition_fail = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_niger_river_expedition  } je:je_niger_river_expedition = { set_bar_progress = { name = expedition_progress_bar value = 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } } } }
}

sakuya_journal_je_niger_river_expedition_event_0_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_niger_river_expedition_event_0 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 is_valid = { NOT = { has_journal_entry = je_niger_river_expedition } NOT = { has_variable = on_expedition } any_scope_character = { is_busy = no is_ruler_of_own_country = no character_is_valid_for_events = yes OR = { has_role_of_type = general has_role_of_type = admiral } } }
 effect = { if = { limit = { is_player = yes always = yes always = yes  NOT = { has_journal_entry = je_niger_river_expedition } NOT = { has_variable = on_expedition } any_scope_character = { is_busy = no is_ruler_of_own_country = no character_is_valid_for_events = yes OR = { has_role_of_type = general has_role_of_type = admiral } } } set_variable = on_expedition trigger_event = { id = expedition_events.1 days = 0 popup = yes } } }
}

sakuya_journal_je_west_america_expedition_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_west_america_expedition }
}

sakuya_journal_je_west_america_expedition_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes }
}

sakuya_journal_je_west_america_expedition_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_west_america_expedition_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_west_america_expedition } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED OR = { any_scope_character = { has_variable = expedition_leader_var } any_scope_character = { is_busy = no is_ruler_of_own_country = no character_is_valid_for_events = yes OR = { has_role_of_type = general has_role_of_type = admiral } } } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_west_america_expedition } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED OR = { any_scope_character = { has_variable = expedition_leader_var } any_scope_character = { is_busy = no is_ruler_of_own_country = no character_is_valid_for_events = yes OR = { has_role_of_type = general has_role_of_type = admiral } } } } }  set_variable = on_expedition remove_variable = no_extra_expenses_var set_variable = west_america_expedition_var if = { limit = { NOT = { any_scope_character = { has_variable = expedition_leader_var } } } random_scope_character = { limit = { is_busy = no is_ruler_of_own_country = no character_is_valid_for_events = yes OR = { has_role_of_type = general has_role_of_type = admiral } } set_as_expedition_leader = yes } } add_journal_entry = { type = je_west_america_expedition  } } }
}

sakuya_journal_je_west_america_expedition_0_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_west_america_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_west_america_expedition  } je:je_west_america_expedition = { add_progress = { name = expedition_progress_bar value = -1 } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" < 0 } set_bar_progress = { name = expedition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" > 8 } set_bar_progress = { name = expedition_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_west_america_expedition_0_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_west_america_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_west_america_expedition  } je:je_west_america_expedition = { add_progress = { name = expedition_progress_bar value = 1 } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" < 0 } set_bar_progress = { name = expedition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" > 8 } set_bar_progress = { name = expedition_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_west_america_expedition_0_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_west_america_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_west_america_expedition  } je:je_west_america_expedition = { add_progress = { name = expedition_progress_bar value = -10 } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" < 0 } set_bar_progress = { name = expedition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" > 8 } set_bar_progress = { name = expedition_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_west_america_expedition_0_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_west_america_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_west_america_expedition  } je:je_west_america_expedition = { add_progress = { name = expedition_progress_bar value = 10 } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" < 0 } set_bar_progress = { name = expedition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" > 8 } set_bar_progress = { name = expedition_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_west_america_expedition_0_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_west_america_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_west_america_expedition  } je:je_west_america_expedition = { set_bar_progress = { name = expedition_progress_bar value = 0 } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" < 0 } set_bar_progress = { name = expedition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" > 8 } set_bar_progress = { name = expedition_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_west_america_expedition_0_max = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_west_america_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_west_america_expedition  } je:je_west_america_expedition = { set_bar_progress = { name = expedition_progress_bar value = 8 } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" < 0 } set_bar_progress = { name = expedition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" > 8 } set_bar_progress = { name = expedition_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_west_america_expedition_1_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_west_america_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_west_america_expedition  } je:je_west_america_expedition = { add_progress = { name = expedition_peril_progress_bar value = -1 } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" < 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" > 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_west_america_expedition_1_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_west_america_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_west_america_expedition  } je:je_west_america_expedition = { add_progress = { name = expedition_peril_progress_bar value = 1 } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" < 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" > 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_west_america_expedition_1_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_west_america_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_west_america_expedition  } je:je_west_america_expedition = { add_progress = { name = expedition_peril_progress_bar value = -10 } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" < 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" > 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_west_america_expedition_1_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_west_america_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_west_america_expedition  } je:je_west_america_expedition = { add_progress = { name = expedition_peril_progress_bar value = 10 } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" < 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" > 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_west_america_expedition_1_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_west_america_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_west_america_expedition  } je:je_west_america_expedition = { set_bar_progress = { name = expedition_peril_progress_bar value = 0 } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" < 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" > 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_west_america_expedition_1_max = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_west_america_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_west_america_expedition  } je:je_west_america_expedition = { set_bar_progress = { name = expedition_peril_progress_bar value = 8 } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" < 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" > 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_west_america_expedition_finish = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_west_america_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_west_america_expedition  } set_variable = on_expedition remove_variable = no_extra_expenses_var  je:je_west_america_expedition = { set_bar_progress = { name = expedition_progress_bar value = 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } } }
}

sakuya_journal_je_west_america_expedition_fail = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_west_america_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_west_america_expedition  } je:je_west_america_expedition = { set_bar_progress = { name = expedition_progress_bar value = 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } } } }
}

sakuya_journal_je_west_america_expedition_event_0_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_west_america_expedition_event_0 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 is_valid = { NOT = { has_journal_entry = je_west_america_expedition } NOT = { has_variable = on_expedition } any_scope_character = { is_busy = no is_ruler_of_own_country = no character_is_valid_for_events = yes OR = { has_role_of_type = general has_role_of_type = admiral } } }
 effect = { if = { limit = { is_player = yes always = yes always = yes  NOT = { has_journal_entry = je_west_america_expedition } NOT = { has_variable = on_expedition } any_scope_character = { is_busy = no is_ruler_of_own_country = no character_is_valid_for_events = yes OR = { has_role_of_type = general has_role_of_type = admiral } } } set_variable = on_expedition trigger_event = { id = expedition_events.200 days = 0 popup = yes } } }
}

sakuya_journal_je_central_africa_expedition_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition }
}

sakuya_journal_je_central_africa_expedition_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes }
}

sakuya_journal_je_central_africa_expedition_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_central_africa_expedition_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_central_africa_expedition } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED OR = { any_scope_character = { has_variable = expedition_leader_var } any_scope_character = { is_busy = no is_ruler_of_own_country = no character_is_valid_for_events = yes OR = { has_role_of_type = general has_role_of_type = admiral } } } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_central_africa_expedition } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED OR = { any_scope_character = { has_variable = expedition_leader_var } any_scope_character = { is_busy = no is_ruler_of_own_country = no character_is_valid_for_events = yes OR = { has_role_of_type = general has_role_of_type = admiral } } } } }  set_variable = on_expedition remove_variable = no_extra_expenses_var set_variable = central_africa_expedition_var if = { limit = { NOT = { any_scope_character = { has_variable = expedition_leader_var } } } random_scope_character = { limit = { is_busy = no is_ruler_of_own_country = no character_is_valid_for_events = yes OR = { has_role_of_type = general has_role_of_type = admiral } } set_as_expedition_leader = yes } } add_journal_entry = { type = je_central_africa_expedition  } } }
}

sakuya_journal_je_central_africa_expedition_0_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition  } je:je_central_africa_expedition = { add_progress = { name = expedition_progress_bar value = -1 } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" < 0 } set_bar_progress = { name = expedition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" > 8 } set_bar_progress = { name = expedition_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_central_africa_expedition_0_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition  } je:je_central_africa_expedition = { add_progress = { name = expedition_progress_bar value = 1 } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" < 0 } set_bar_progress = { name = expedition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" > 8 } set_bar_progress = { name = expedition_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_central_africa_expedition_0_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition  } je:je_central_africa_expedition = { add_progress = { name = expedition_progress_bar value = -10 } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" < 0 } set_bar_progress = { name = expedition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" > 8 } set_bar_progress = { name = expedition_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_central_africa_expedition_0_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition  } je:je_central_africa_expedition = { add_progress = { name = expedition_progress_bar value = 10 } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" < 0 } set_bar_progress = { name = expedition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" > 8 } set_bar_progress = { name = expedition_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_central_africa_expedition_0_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition  } je:je_central_africa_expedition = { set_bar_progress = { name = expedition_progress_bar value = 0 } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" < 0 } set_bar_progress = { name = expedition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" > 8 } set_bar_progress = { name = expedition_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_central_africa_expedition_0_max = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition  } je:je_central_africa_expedition = { set_bar_progress = { name = expedition_progress_bar value = 8 } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" < 0 } set_bar_progress = { name = expedition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" > 8 } set_bar_progress = { name = expedition_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_central_africa_expedition_1_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition  } je:je_central_africa_expedition = { add_progress = { name = expedition_peril_progress_bar value = -1 } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" < 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" > 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_central_africa_expedition_1_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition  } je:je_central_africa_expedition = { add_progress = { name = expedition_peril_progress_bar value = 1 } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" < 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" > 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_central_africa_expedition_1_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition  } je:je_central_africa_expedition = { add_progress = { name = expedition_peril_progress_bar value = -10 } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" < 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" > 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_central_africa_expedition_1_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition  } je:je_central_africa_expedition = { add_progress = { name = expedition_peril_progress_bar value = 10 } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" < 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" > 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_central_africa_expedition_1_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition  } je:je_central_africa_expedition = { set_bar_progress = { name = expedition_peril_progress_bar value = 0 } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" < 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" > 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_central_africa_expedition_1_max = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition  } je:je_central_africa_expedition = { set_bar_progress = { name = expedition_peril_progress_bar value = 8 } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" < 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" > 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_central_africa_expedition_finish = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition  } set_variable = on_expedition remove_variable = no_extra_expenses_var  je:je_central_africa_expedition = { set_bar_progress = { name = expedition_progress_bar value = 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } } }
}

sakuya_journal_je_central_africa_expedition_fail = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_central_africa_expedition  } je:je_central_africa_expedition = { set_bar_progress = { name = expedition_progress_bar value = 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } } } }
}

sakuya_journal_je_central_africa_expedition_event_0_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_central_africa_expedition_event_0 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 is_valid = { NOT = { has_journal_entry = je_central_africa_expedition } NOT = { has_variable = on_expedition } any_scope_character = { is_busy = no is_ruler_of_own_country = no character_is_valid_for_events = yes OR = { has_role_of_type = general has_role_of_type = admiral } } }
 effect = { if = { limit = { is_player = yes always = yes always = yes  NOT = { has_journal_entry = je_central_africa_expedition } NOT = { has_variable = on_expedition } any_scope_character = { is_busy = no is_ruler_of_own_country = no character_is_valid_for_events = yes OR = { has_role_of_type = general has_role_of_type = admiral } } } set_variable = on_expedition trigger_event = { id = expedition_events.501 days = 0 popup = yes } } }
}

sakuya_journal_je_antarctica_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_antarctica }
}

sakuya_journal_je_antarctica_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes }
}

sakuya_journal_je_antarctica_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_antarctica_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_antarctica } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED OR = { any_scope_character = { has_variable = expedition_leader_var } any_scope_character = { is_busy = no is_ruler_of_own_country = no character_is_valid_for_events = yes OR = { has_role_of_type = general has_role_of_type = admiral } } } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_antarctica } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED OR = { any_scope_character = { has_variable = expedition_leader_var } any_scope_character = { is_busy = no is_ruler_of_own_country = no character_is_valid_for_events = yes OR = { has_role_of_type = general has_role_of_type = admiral } } } } }  set_variable = on_expedition remove_variable = no_extra_expenses_var  if = { limit = { NOT = { any_scope_character = { has_variable = expedition_leader_var } } } random_scope_character = { limit = { is_busy = no is_ruler_of_own_country = no character_is_valid_for_events = yes OR = { has_role_of_type = general has_role_of_type = admiral } } set_as_expedition_leader = yes } } add_journal_entry = { type = je_antarctica  } } }
}

sakuya_journal_je_antarctica_0_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_antarctica }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_antarctica  } je:je_antarctica = { add_progress = { name = expedition_progress_bar value = -1 } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" < 0 } set_bar_progress = { name = expedition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" > 8 } set_bar_progress = { name = expedition_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_antarctica_0_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_antarctica }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_antarctica  } je:je_antarctica = { add_progress = { name = expedition_progress_bar value = 1 } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" < 0 } set_bar_progress = { name = expedition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" > 8 } set_bar_progress = { name = expedition_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_antarctica_0_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_antarctica }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_antarctica  } je:je_antarctica = { add_progress = { name = expedition_progress_bar value = -10 } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" < 0 } set_bar_progress = { name = expedition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" > 8 } set_bar_progress = { name = expedition_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_antarctica_0_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_antarctica }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_antarctica  } je:je_antarctica = { add_progress = { name = expedition_progress_bar value = 10 } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" < 0 } set_bar_progress = { name = expedition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" > 8 } set_bar_progress = { name = expedition_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_antarctica_0_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_antarctica }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_antarctica  } je:je_antarctica = { set_bar_progress = { name = expedition_progress_bar value = 0 } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" < 0 } set_bar_progress = { name = expedition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" > 8 } set_bar_progress = { name = expedition_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_antarctica_0_max = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_antarctica }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_antarctica  } je:je_antarctica = { set_bar_progress = { name = expedition_progress_bar value = 8 } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" < 0 } set_bar_progress = { name = expedition_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_progress_bar)" > 8 } set_bar_progress = { name = expedition_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_antarctica_1_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_antarctica }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_antarctica  } je:je_antarctica = { add_progress = { name = expedition_peril_progress_bar value = -1 } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" < 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" > 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_antarctica_1_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_antarctica }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_antarctica  } je:je_antarctica = { add_progress = { name = expedition_peril_progress_bar value = 1 } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" < 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" > 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_antarctica_1_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_antarctica }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_antarctica  } je:je_antarctica = { add_progress = { name = expedition_peril_progress_bar value = -10 } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" < 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" > 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_antarctica_1_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_antarctica }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_antarctica  } je:je_antarctica = { add_progress = { name = expedition_peril_progress_bar value = 10 } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" < 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" > 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_antarctica_1_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_antarctica }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_antarctica  } je:je_antarctica = { set_bar_progress = { name = expedition_peril_progress_bar value = 0 } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" < 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" > 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_antarctica_1_max = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_antarctica }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_antarctica  } je:je_antarctica = { set_bar_progress = { name = expedition_peril_progress_bar value = 8 } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" < 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(expedition_peril_progress_bar)" > 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } }  } } }
}

sakuya_journal_je_antarctica_finish = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_antarctica }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_antarctica  } set_variable = on_expedition remove_variable = no_extra_expenses_var set_variable = south_pole_event_var je:je_antarctica = { set_bar_progress = { name = expedition_progress_bar value = 8 } set_bar_progress = { name = expedition_peril_progress_bar value = 0 } } } }
}

sakuya_journal_je_antarctica_fail = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_antarctica }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_antarctica  } je:je_antarctica = { set_bar_progress = { name = expedition_progress_bar value = 0 } set_bar_progress = { name = expedition_peril_progress_bar value = 8 } } } }
}

sakuya_journal_je_antarctica_event_0_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_antarctica_event_0 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 is_valid = { NOT = { has_journal_entry = je_antarctica } NOT = { has_variable = on_expedition } any_scope_character = { is_busy = no is_ruler_of_own_country = no character_is_valid_for_events = yes OR = { has_role_of_type = general has_role_of_type = admiral } } }
 effect = { if = { limit = { is_player = yes always = yes always = yes  NOT = { has_journal_entry = je_antarctica } NOT = { has_variable = on_expedition } any_scope_character = { is_busy = no is_ruler_of_own_country = no character_is_valid_for_events = yes OR = { has_role_of_type = general has_role_of_type = admiral } } } set_variable = on_expedition trigger_event = { id = cold.101 days = 0 popup = yes } } }
}

sakuya_journal_je_antarctica_event_1_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_antarctica_event_1 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes has_journal_entry = je_antarctica }
 effect = { if = { limit = { is_player = yes always = yes always = yes has_journal_entry = je_antarctica  } je:je_antarctica = { set_bar_progress = { name = expedition_progress_bar value = 6 } } trigger_event = { id = cold.5 days = 0 popup = yes } } }
}

sakuya_journal_je_land_reclamation_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_land_reclamation }
}

sakuya_journal_je_land_reclamation_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes exists = c:NET c:NET = this }
}

sakuya_journal_je_land_reclamation_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_land_reclamation_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_land_reclamation } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_land_reclamation } } }  add_journal_entry = { type = je_land_reclamation  } } }
}

sakuya_journal_je_amazonas_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_amazonas }
}

sakuya_journal_je_amazonas_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes exists = c:BRZ c:BRZ = this }
}

sakuya_journal_je_amazonas_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_amazonas_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_amazonas } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_amazonas } } }  add_journal_entry = { type = je_amazonas  } } }
}

sakuya_journal_je_amazonas_event_0_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_amazonas_event_0 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 is_valid = { any_scope_state = { OR = { state_region = s:STATE_AMAZONAS AND = { has_state_trait = state_trait_amazon_rainforest has_potential_resource = building_rubber_plantation state_region = { remaining_undepleted = { type = building_rubber_plantation amount >= 15 } } } } } NOT = { has_journal_entry = je_amazonas } }
 effect = { if = { limit = { is_player = yes always = yes always = yes  any_scope_state = { OR = { state_region = s:STATE_AMAZONAS AND = { has_state_trait = state_trait_amazon_rainforest has_potential_resource = building_rubber_plantation state_region = { remaining_undepleted = { type = building_rubber_plantation amount >= 15 } } } } } NOT = { has_journal_entry = je_amazonas } }  trigger_event = { id = amazonas.1 days = 0 popup = yes } } }
}

sakuya_journal_je_caudillo_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_caudillo }
}

sakuya_journal_je_caudillo_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes }
}

sakuya_journal_je_caudillo_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_caudillo_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_caudillo } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_caudillo } } }  add_journal_entry = { type = je_caudillo  } } }
}

sakuya_journal_je_caudillo_0_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_caudillo }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_caudillo  } je:je_caudillo = { add_progress = { name = je_caudillo_progress_bar value = -100 } if = { limit = { "scripted_bar_progress(je_caudillo_progress_bar)" < 0 } set_bar_progress = { name = je_caudillo_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_caudillo_progress_bar)" > 1200 } set_bar_progress = { name = je_caudillo_progress_bar value = 1200 } }  } } }
}

sakuya_journal_je_caudillo_0_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_caudillo }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_caudillo  } je:je_caudillo = { add_progress = { name = je_caudillo_progress_bar value = 100 } if = { limit = { "scripted_bar_progress(je_caudillo_progress_bar)" < 0 } set_bar_progress = { name = je_caudillo_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_caudillo_progress_bar)" > 1200 } set_bar_progress = { name = je_caudillo_progress_bar value = 1200 } }  } } }
}

sakuya_journal_je_caudillo_0_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_caudillo }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_caudillo  } je:je_caudillo = { add_progress = { name = je_caudillo_progress_bar value = -1000 } if = { limit = { "scripted_bar_progress(je_caudillo_progress_bar)" < 0 } set_bar_progress = { name = je_caudillo_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_caudillo_progress_bar)" > 1200 } set_bar_progress = { name = je_caudillo_progress_bar value = 1200 } }  } } }
}

sakuya_journal_je_caudillo_0_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_caudillo }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_caudillo  } je:je_caudillo = { add_progress = { name = je_caudillo_progress_bar value = 1000 } if = { limit = { "scripted_bar_progress(je_caudillo_progress_bar)" < 0 } set_bar_progress = { name = je_caudillo_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_caudillo_progress_bar)" > 1200 } set_bar_progress = { name = je_caudillo_progress_bar value = 1200 } }  } } }
}

sakuya_journal_je_caudillo_0_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_caudillo }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_caudillo  } je:je_caudillo = { set_bar_progress = { name = je_caudillo_progress_bar value = 0 } if = { limit = { "scripted_bar_progress(je_caudillo_progress_bar)" < 0 } set_bar_progress = { name = je_caudillo_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_caudillo_progress_bar)" > 1200 } set_bar_progress = { name = je_caudillo_progress_bar value = 1200 } }  } } }
}

sakuya_journal_je_caudillo_0_max = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_caudillo }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_caudillo  } je:je_caudillo = { set_bar_progress = { name = je_caudillo_progress_bar value = 1200 } if = { limit = { "scripted_bar_progress(je_caudillo_progress_bar)" < 0 } set_bar_progress = { name = je_caudillo_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_caudillo_progress_bar)" > 1200 } set_bar_progress = { name = je_caudillo_progress_bar value = 1200 } }  } } }
}

sakuya_journal_je_caudillo_event_0_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_caudillo_event_0 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 is_valid = { exists = ruler any_scope_character = { has_role_of_type = general } exists = ig:ig_armed_forces ig:ig_armed_forces = { exists = leader } NOT = { has_journal_entry = je_caudillo } }
 effect = { if = { limit = { is_player = yes always = yes always = yes  exists = ruler any_scope_character = { has_role_of_type = general } exists = ig:ig_armed_forces ig:ig_armed_forces = { exists = leader } NOT = { has_journal_entry = je_caudillo } }  trigger_event = { id = caudillo.1 days = 0 popup = yes } } }
}

sakuya_journal_je_modernizing_paraguay_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } has_journal_entry = je_modernizing_paraguay }
}

sakuya_journal_je_modernizing_paraguay_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } exists = c:PRG c:PRG = this }
}

sakuya_journal_je_modernizing_paraguay_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content }  }
}

sakuya_journal_je_modernizing_paraguay_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_modernizing_paraguay } } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_modernizing_paraguay } } }  add_journal_entry = { type = je_modernizing_paraguay  } } }
}

sakuya_journal_je_modernizing_paraguay_event_0_available = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content }  }
}

sakuya_journal_je_modernizing_paraguay_event_0 = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content }  }
 is_valid = { exists = ig:ig_intelligentsia ig:ig_intelligentsia = { exists = leader } exists = ig:ig_armed_forces ig:ig_armed_forces = { exists = leader } NOT = { has_journal_entry = je_modernizing_paraguay } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content }  exists = ig:ig_intelligentsia ig:ig_intelligentsia = { exists = leader } exists = ig:ig_armed_forces ig:ig_armed_forces = { exists = leader } NOT = { has_journal_entry = je_modernizing_paraguay } }  trigger_event = { id = paraguay.1 days = 0 popup = yes } } }
}

sakuya_journal_je_meiji_main_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_meiji_main }
}

sakuya_journal_je_meiji_main_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes exists = c:JAP c:JAP = this }
}

sakuya_journal_je_meiji_main_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_meiji_main_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_meiji_main } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_meiji_main } } } if = { limit = { NOT = { has_variable = meiji_var } } set_variable = { name = meiji_var value = 0 } } add_journal_entry = { type = je_meiji_main  } } }
}

sakuya_journal_je_meiji_main_0_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_meiji_main }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_meiji_main  } if = { limit = { NOT = { has_variable = meiji_var } } set_variable = { name = meiji_var value = 0 } } change_variable = { name = meiji_var add = -1 } change_variable = { name = meiji_var max = 0 } } }
}

sakuya_journal_je_meiji_main_0_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_meiji_main }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_meiji_main  } if = { limit = { NOT = { has_variable = meiji_var } } set_variable = { name = meiji_var value = 0 } } change_variable = { name = meiji_var add = 1 } change_variable = { name = meiji_var max = 0 } } }
}

sakuya_journal_je_meiji_main_0_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_meiji_main }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_meiji_main  } if = { limit = { NOT = { has_variable = meiji_var } } set_variable = { name = meiji_var value = 0 } } change_variable = { name = meiji_var add = -10 } change_variable = { name = meiji_var max = 0 } } }
}

sakuya_journal_je_meiji_main_0_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_meiji_main }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_meiji_main  } if = { limit = { NOT = { has_variable = meiji_var } } set_variable = { name = meiji_var value = 0 } } change_variable = { name = meiji_var add = 10 } change_variable = { name = meiji_var max = 0 } } }
}

sakuya_journal_je_meiji_main_0_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_meiji_main }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_meiji_main  } set_variable = { name = meiji_var value = 0 } } }
}

sakuya_journal_je_meiji_main_event_0_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_meiji_main_event_0 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
 is_valid = { exists = ruler NOT = { has_journal_entry = je_meiji_main } }
 effect = { if = { limit = { is_player = yes always = yes always = yes  exists = ruler NOT = { has_journal_entry = je_meiji_main } } ruler = { save_scope_as = meiji_ruler } trigger_event = { id = meiji.1 days = 0 popup = yes } } }
}

sakuya_journal_je_hispanoamerica_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content } has_journal_entry = je_hispanoamerica }
}

sakuya_journal_je_hispanoamerica_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content } exists = c:SPA c:SPA = this }
}

sakuya_journal_je_hispanoamerica_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content }  }
}

sakuya_journal_je_hispanoamerica_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_hispanoamerica } } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_hispanoamerica } } }  add_journal_entry = { type = je_hispanoamerica  } } }
}

sakuya_journal_je_hispanoamerica_event_0_available = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content } OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content }  }
}

sakuya_journal_je_hispanoamerica_event_0 = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content } OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content }  }
 is_valid = { exists = c:GBR exists = c:USA NOT = { has_journal_entry = je_hispanoamerica } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content } OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content }  exists = c:GBR exists = c:USA NOT = { has_journal_entry = je_hispanoamerica } }  trigger_event = { id = spanish_new_world_events.1 days = 0 popup = yes } } }
}

sakuya_journal_je_reconquista_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content } has_journal_entry = je_reconquista }
}

sakuya_journal_je_reconquista_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content } exists = c:SPA c:SPA = this }
}

sakuya_journal_je_reconquista_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content }  }
}

sakuya_journal_je_reconquista_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_reconquista } } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_reconquista } } }  add_journal_entry = { type = je_reconquista  } } }
}

sakuya_journal_je_reconquista_event_0_available = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content } OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content }  }
}

sakuya_journal_je_reconquista_event_0 = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content } OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content }  }
 is_valid = { exists = c:GBR exists = c:USA NOT = { has_journal_entry = je_reconquista } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content } OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content }  exists = c:GBR exists = c:USA NOT = { has_journal_entry = je_reconquista } }  trigger_event = { id = spanish_new_world_events.1 days = 0 popup = yes } } }
}

sakuya_journal_je_spa_economic_regeneration_master_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content } has_journal_entry = je_spa_economic_regeneration_master }
}

sakuya_journal_je_spa_economic_regeneration_master_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content } exists = c:SPA c:SPA = this }
}

sakuya_journal_je_spa_economic_regeneration_master_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content }  }
}

sakuya_journal_je_spa_economic_regeneration_master_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_spa_economic_regeneration_master } } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_spa_economic_regeneration_master } } } if = { limit = { NOT = { has_variable = spa_economic_regeneration_var } } set_variable = { name = spa_economic_regeneration_var value = 0 } } add_journal_entry = { type = je_spa_economic_regeneration_master  } } }
}

sakuya_journal_je_spa_economic_regeneration_master_0_minus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content } has_journal_entry = je_spa_economic_regeneration_master }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content } has_journal_entry = je_spa_economic_regeneration_master  } if = { limit = { NOT = { has_variable = spa_economic_regeneration_var } } set_variable = { name = spa_economic_regeneration_var value = 0 } } change_variable = { name = spa_economic_regeneration_var add = -1 } change_variable = { name = spa_economic_regeneration_var max = 0 } } }
}

sakuya_journal_je_spa_economic_regeneration_master_0_plus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content } has_journal_entry = je_spa_economic_regeneration_master }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content } has_journal_entry = je_spa_economic_regeneration_master  } if = { limit = { NOT = { has_variable = spa_economic_regeneration_var } } set_variable = { name = spa_economic_regeneration_var value = 0 } } change_variable = { name = spa_economic_regeneration_var add = 1 } change_variable = { name = spa_economic_regeneration_var max = 0 } } }
}

sakuya_journal_je_spa_economic_regeneration_master_0_minus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content } has_journal_entry = je_spa_economic_regeneration_master }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content } has_journal_entry = je_spa_economic_regeneration_master  } if = { limit = { NOT = { has_variable = spa_economic_regeneration_var } } set_variable = { name = spa_economic_regeneration_var value = 0 } } change_variable = { name = spa_economic_regeneration_var add = -10 } change_variable = { name = spa_economic_regeneration_var max = 0 } } }
}

sakuya_journal_je_spa_economic_regeneration_master_0_plus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content } has_journal_entry = je_spa_economic_regeneration_master }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content } has_journal_entry = je_spa_economic_regeneration_master  } if = { limit = { NOT = { has_variable = spa_economic_regeneration_var } } set_variable = { name = spa_economic_regeneration_var value = 0 } } change_variable = { name = spa_economic_regeneration_var add = 10 } change_variable = { name = spa_economic_regeneration_var max = 0 } } }
}

sakuya_journal_je_spa_economic_regeneration_master_0_reset = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content } has_journal_entry = je_spa_economic_regeneration_master }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content } has_journal_entry = je_spa_economic_regeneration_master  } set_variable = { name = spa_economic_regeneration_var value = 0 } } }
}

sakuya_journal_je_conquest_of_tetouan_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_conquest_of_tetouan }
}

sakuya_journal_je_conquest_of_tetouan_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes exists = c:SPA c:SPA = this }
}

sakuya_journal_je_conquest_of_tetouan_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_conquest_of_tetouan_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_conquest_of_tetouan } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED s:STATE_AL_RIF = { any_scope_state = { owner ?= { OR = { c:MOR ?= this country_has_primary_culture = cu:maghrebi country_has_primary_culture = cu:berber } } } } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_conquest_of_tetouan } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED s:STATE_AL_RIF = { any_scope_state = { owner ?= { OR = { c:MOR ?= this country_has_primary_culture = cu:maghrebi country_has_primary_culture = cu:berber } } } } } }  add_journal_entry = { type = je_conquest_of_tetouan  } } }
}

sakuya_journal_je_state_and_revolution_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_state_and_revolution }
}

sakuya_journal_je_state_and_revolution_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes }
}

sakuya_journal_je_state_and_revolution_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_state_and_revolution_add = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_state_and_revolution } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_state_and_revolution } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }  add_journal_entry = { type = je_state_and_revolution  } } }
}

sakuya_journal_je_state_and_revolution_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_state_and_revolution } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_state_and_revolution } } }  add_journal_entry = { type = je_state_and_revolution  } } }
}

sakuya_journal_je_state_and_revolution_0_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_state_and_revolution }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_state_and_revolution  } je:je_state_and_revolution = { add_progress = { name = je_state_and_revolution_political_bar value = -10 } if = { limit = { "scripted_bar_progress(je_state_and_revolution_political_bar)" < 0 } set_bar_progress = { name = je_state_and_revolution_political_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_state_and_revolution_political_bar)" > 100 } set_bar_progress = { name = je_state_and_revolution_political_bar value = 100 } }  } } }
}

sakuya_journal_je_state_and_revolution_0_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_state_and_revolution }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_state_and_revolution  } je:je_state_and_revolution = { add_progress = { name = je_state_and_revolution_political_bar value = 10 } if = { limit = { "scripted_bar_progress(je_state_and_revolution_political_bar)" < 0 } set_bar_progress = { name = je_state_and_revolution_political_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_state_and_revolution_political_bar)" > 100 } set_bar_progress = { name = je_state_and_revolution_political_bar value = 100 } }  } } }
}

sakuya_journal_je_state_and_revolution_0_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_state_and_revolution }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_state_and_revolution  } je:je_state_and_revolution = { add_progress = { name = je_state_and_revolution_political_bar value = -100 } if = { limit = { "scripted_bar_progress(je_state_and_revolution_political_bar)" < 0 } set_bar_progress = { name = je_state_and_revolution_political_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_state_and_revolution_political_bar)" > 100 } set_bar_progress = { name = je_state_and_revolution_political_bar value = 100 } }  } } }
}

sakuya_journal_je_state_and_revolution_0_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_state_and_revolution }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_state_and_revolution  } je:je_state_and_revolution = { add_progress = { name = je_state_and_revolution_political_bar value = 100 } if = { limit = { "scripted_bar_progress(je_state_and_revolution_political_bar)" < 0 } set_bar_progress = { name = je_state_and_revolution_political_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_state_and_revolution_political_bar)" > 100 } set_bar_progress = { name = je_state_and_revolution_political_bar value = 100 } }  } } }
}

sakuya_journal_je_state_and_revolution_0_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_state_and_revolution }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_state_and_revolution  } je:je_state_and_revolution = { set_bar_progress = { name = je_state_and_revolution_political_bar value = 0 } if = { limit = { "scripted_bar_progress(je_state_and_revolution_political_bar)" < 0 } set_bar_progress = { name = je_state_and_revolution_political_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_state_and_revolution_political_bar)" > 100 } set_bar_progress = { name = je_state_and_revolution_political_bar value = 100 } }  } } }
}

sakuya_journal_je_state_and_revolution_0_max = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_state_and_revolution }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_state_and_revolution  } je:je_state_and_revolution = { set_bar_progress = { name = je_state_and_revolution_political_bar value = 100 } if = { limit = { "scripted_bar_progress(je_state_and_revolution_political_bar)" < 0 } set_bar_progress = { name = je_state_and_revolution_political_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_state_and_revolution_political_bar)" > 100 } set_bar_progress = { name = je_state_and_revolution_political_bar value = 100 } }  } } }
}

sakuya_journal_je_state_and_revolution_1_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_state_and_revolution }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_state_and_revolution  } je:je_state_and_revolution = { add_progress = { name = je_state_and_revolution_economic_bar value = -10 } if = { limit = { "scripted_bar_progress(je_state_and_revolution_economic_bar)" < 0 } set_bar_progress = { name = je_state_and_revolution_economic_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_state_and_revolution_economic_bar)" > 100 } set_bar_progress = { name = je_state_and_revolution_economic_bar value = 100 } }  } } }
}

sakuya_journal_je_state_and_revolution_1_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_state_and_revolution }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_state_and_revolution  } je:je_state_and_revolution = { add_progress = { name = je_state_and_revolution_economic_bar value = 10 } if = { limit = { "scripted_bar_progress(je_state_and_revolution_economic_bar)" < 0 } set_bar_progress = { name = je_state_and_revolution_economic_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_state_and_revolution_economic_bar)" > 100 } set_bar_progress = { name = je_state_and_revolution_economic_bar value = 100 } }  } } }
}

sakuya_journal_je_state_and_revolution_1_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_state_and_revolution }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_state_and_revolution  } je:je_state_and_revolution = { add_progress = { name = je_state_and_revolution_economic_bar value = -100 } if = { limit = { "scripted_bar_progress(je_state_and_revolution_economic_bar)" < 0 } set_bar_progress = { name = je_state_and_revolution_economic_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_state_and_revolution_economic_bar)" > 100 } set_bar_progress = { name = je_state_and_revolution_economic_bar value = 100 } }  } } }
}

sakuya_journal_je_state_and_revolution_1_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_state_and_revolution }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_state_and_revolution  } je:je_state_and_revolution = { add_progress = { name = je_state_and_revolution_economic_bar value = 100 } if = { limit = { "scripted_bar_progress(je_state_and_revolution_economic_bar)" < 0 } set_bar_progress = { name = je_state_and_revolution_economic_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_state_and_revolution_economic_bar)" > 100 } set_bar_progress = { name = je_state_and_revolution_economic_bar value = 100 } }  } } }
}

sakuya_journal_je_state_and_revolution_1_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_state_and_revolution }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_state_and_revolution  } je:je_state_and_revolution = { set_bar_progress = { name = je_state_and_revolution_economic_bar value = 0 } if = { limit = { "scripted_bar_progress(je_state_and_revolution_economic_bar)" < 0 } set_bar_progress = { name = je_state_and_revolution_economic_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_state_and_revolution_economic_bar)" > 100 } set_bar_progress = { name = je_state_and_revolution_economic_bar value = 100 } }  } } }
}

sakuya_journal_je_state_and_revolution_1_max = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_state_and_revolution }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_state_and_revolution  } je:je_state_and_revolution = { set_bar_progress = { name = je_state_and_revolution_economic_bar value = 100 } if = { limit = { "scripted_bar_progress(je_state_and_revolution_economic_bar)" < 0 } set_bar_progress = { name = je_state_and_revolution_economic_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_state_and_revolution_economic_bar)" > 100 } set_bar_progress = { name = je_state_and_revolution_economic_bar value = 100 } }  } } }
}

sakuya_journal_je_anarchy_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_anarchy }
}

sakuya_journal_je_anarchy_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes }
}

sakuya_journal_je_anarchy_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_anarchy_add = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_anarchy } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_anarchy } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }  add_journal_entry = { type = je_anarchy  } } }
}

sakuya_journal_je_anarchy_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_anarchy } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_anarchy } } } if = { limit = { NOT = { has_variable = anarchy_starting_sol_var } } set_variable = { name = anarchy_starting_sol_var value = 0 } } add_journal_entry = { type = je_anarchy  } } }
}

sakuya_journal_je_anarchy_0_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_anarchy }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_anarchy  } if = { limit = { NOT = { has_variable = anarchy_starting_sol_var } } set_variable = { name = anarchy_starting_sol_var value = 0 } } change_variable = { name = anarchy_starting_sol_var add = -1 } change_variable = { name = anarchy_starting_sol_var max = 0 } } }
}

sakuya_journal_je_anarchy_0_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_anarchy }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_anarchy  } if = { limit = { NOT = { has_variable = anarchy_starting_sol_var } } set_variable = { name = anarchy_starting_sol_var value = 0 } } change_variable = { name = anarchy_starting_sol_var add = 1 } change_variable = { name = anarchy_starting_sol_var max = 0 } } }
}

sakuya_journal_je_anarchy_0_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_anarchy }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_anarchy  } if = { limit = { NOT = { has_variable = anarchy_starting_sol_var } } set_variable = { name = anarchy_starting_sol_var value = 0 } } change_variable = { name = anarchy_starting_sol_var add = -10 } change_variable = { name = anarchy_starting_sol_var max = 0 } } }
}

sakuya_journal_je_anarchy_0_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_anarchy }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_anarchy  } if = { limit = { NOT = { has_variable = anarchy_starting_sol_var } } set_variable = { name = anarchy_starting_sol_var value = 0 } } change_variable = { name = anarchy_starting_sol_var add = 10 } change_variable = { name = anarchy_starting_sol_var max = 0 } } }
}

sakuya_journal_je_anarchy_0_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_anarchy }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_anarchy  } set_variable = { name = anarchy_starting_sol_var value = 0 } } }
}

sakuya_journal_je_anarchy_event_0_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_anarchy_event_0 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes has_journal_entry = je_anarchy }
 effect = { if = { limit = { is_player = yes always = yes always = yes has_journal_entry = je_anarchy  }  trigger_event = { id = communism.4 days = 0 popup = yes } } }
}

sakuya_journal_je_extraordinary_commission_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_extraordinary_commission }
}

sakuya_journal_je_extraordinary_commission_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes }
}

sakuya_journal_je_extraordinary_commission_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_extraordinary_commission_add = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_extraordinary_commission } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_political_movement = { is_political_movement_type = movement_anti_communist } exists = ig:ig_trade_unions } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_extraordinary_commission } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_political_movement = { is_political_movement_type = movement_anti_communist } exists = ig:ig_trade_unions } }  add_journal_entry = { type = je_extraordinary_commission  } } }
}

sakuya_journal_je_extraordinary_commission_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_extraordinary_commission } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_political_movement = { is_political_movement_type = movement_anti_communist } exists = ig:ig_trade_unions } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_extraordinary_commission } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_political_movement = { is_political_movement_type = movement_anti_communist } exists = ig:ig_trade_unions } } if = { limit = { NOT = { has_variable = anti_communist_suppression_var } } set_variable = { name = anti_communist_suppression_var value = 0 } } add_journal_entry = { type = je_extraordinary_commission  } } }
}

sakuya_journal_je_extraordinary_commission_0_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_extraordinary_commission }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_extraordinary_commission  } if = { limit = { NOT = { has_variable = anti_communist_suppression_var } } set_variable = { name = anti_communist_suppression_var value = 0 } } change_variable = { name = anti_communist_suppression_var add = -6 } change_variable = { name = anti_communist_suppression_var max = 0 } } }
}

sakuya_journal_je_extraordinary_commission_0_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_extraordinary_commission }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_extraordinary_commission  } if = { limit = { NOT = { has_variable = anti_communist_suppression_var } } set_variable = { name = anti_communist_suppression_var value = 0 } } change_variable = { name = anti_communist_suppression_var add = 6 } change_variable = { name = anti_communist_suppression_var max = 0 } } }
}

sakuya_journal_je_extraordinary_commission_0_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_extraordinary_commission }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_extraordinary_commission  } if = { limit = { NOT = { has_variable = anti_communist_suppression_var } } set_variable = { name = anti_communist_suppression_var value = 0 } } change_variable = { name = anti_communist_suppression_var add = -60 } change_variable = { name = anti_communist_suppression_var max = 0 } } }
}

sakuya_journal_je_extraordinary_commission_0_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_extraordinary_commission }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_extraordinary_commission  } if = { limit = { NOT = { has_variable = anti_communist_suppression_var } } set_variable = { name = anti_communist_suppression_var value = 0 } } change_variable = { name = anti_communist_suppression_var add = 60 } change_variable = { name = anti_communist_suppression_var max = 0 } } }
}

sakuya_journal_je_extraordinary_commission_0_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_extraordinary_commission }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_extraordinary_commission  } set_variable = { name = anti_communist_suppression_var value = 0 } } }
}

sakuya_journal_je_extraordinary_commission_event_0_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_extraordinary_commission_event_0 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes has_journal_entry = je_extraordinary_commission }
 effect = { if = { limit = { is_player = yes always = yes always = yes has_journal_entry = je_extraordinary_commission  }  trigger_event = { id = communism.5 days = 0 popup = yes } } }
}

sakuya_journal_je_social_revolution_active = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_social_revolution }
}

sakuya_journal_je_social_revolution_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes }
}

sakuya_journal_je_social_revolution_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_social_revolution_add = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_social_revolution } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = ig:ig_trade_unions } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_social_revolution } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = ig:ig_trade_unions } }  add_journal_entry = { type = je_social_revolution  } } }
}

sakuya_journal_je_social_revolution_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_social_revolution } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = ig:ig_trade_unions } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_social_revolution } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = ig:ig_trade_unions } } if = { limit = { NOT = { has_variable = communist_welfare_low_consolidation_months_var } } set_variable = { name = communist_welfare_low_consolidation_months_var value = 0 } } add_journal_entry = { type = je_social_revolution  } } }
}

sakuya_journal_je_social_revolution_0_minus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_social_revolution }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_social_revolution  } if = { limit = { NOT = { has_variable = communist_welfare_low_consolidation_months_var } } set_variable = { name = communist_welfare_low_consolidation_months_var value = 0 } } change_variable = { name = communist_welfare_low_consolidation_months_var add = -12 } change_variable = { name = communist_welfare_low_consolidation_months_var max = 0 } } }
}

sakuya_journal_je_social_revolution_0_plus = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_social_revolution }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_social_revolution  } if = { limit = { NOT = { has_variable = communist_welfare_low_consolidation_months_var } } set_variable = { name = communist_welfare_low_consolidation_months_var value = 0 } } change_variable = { name = communist_welfare_low_consolidation_months_var add = 12 } change_variable = { name = communist_welfare_low_consolidation_months_var max = 0 } } }
}

sakuya_journal_je_social_revolution_0_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_social_revolution }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_social_revolution  } if = { limit = { NOT = { has_variable = communist_welfare_low_consolidation_months_var } } set_variable = { name = communist_welfare_low_consolidation_months_var value = 0 } } change_variable = { name = communist_welfare_low_consolidation_months_var add = -120 } change_variable = { name = communist_welfare_low_consolidation_months_var max = 0 } } }
}

sakuya_journal_je_social_revolution_0_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_social_revolution }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_social_revolution  } if = { limit = { NOT = { has_variable = communist_welfare_low_consolidation_months_var } } set_variable = { name = communist_welfare_low_consolidation_months_var value = 0 } } change_variable = { name = communist_welfare_low_consolidation_months_var add = 120 } change_variable = { name = communist_welfare_low_consolidation_months_var max = 0 } } }
}

sakuya_journal_je_social_revolution_0_reset = {
 scope = country
 is_shown = { is_player = yes always = yes has_journal_entry = je_social_revolution }
 effect = { if = { limit = { is_player = yes always = yes has_journal_entry = je_social_revolution  } set_variable = { name = communist_welfare_low_consolidation_months_var value = 0 } } }
}

sakuya_journal_je_social_revolution_event_0_available = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes  }
}

sakuya_journal_je_social_revolution_event_0 = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes has_journal_entry = je_social_revolution }
 effect = { if = { limit = { is_player = yes always = yes always = yes has_journal_entry = je_social_revolution  }  trigger_event = { id = communism.6 days = 0 popup = yes } } }
}

sakuya_journal_je_bolsheviks_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks }
}

sakuya_journal_je_bolsheviks_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_bolsheviks_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_bolsheviks_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_bolsheviks } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = ig:ig_trade_unions exists = ig:ig_intelligentsia exists = ig:ig_rural_folk } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_bolsheviks } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = ig:ig_trade_unions exists = ig:ig_intelligentsia exists = ig:ig_rural_folk } }  add_journal_entry = { type = je_bolsheviks  } } }
}

sakuya_journal_je_bolsheviks_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_bolsheviks } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = ig:ig_trade_unions exists = ig:ig_intelligentsia exists = ig:ig_rural_folk } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_bolsheviks } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = ig:ig_trade_unions exists = ig:ig_intelligentsia exists = ig:ig_rural_folk } }  add_journal_entry = { type = je_bolsheviks  } } }
}

sakuya_journal_je_bolsheviks_0_minus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks  } je:je_bolsheviks = { add_progress = { name = je_bolshevik_bar value = -20 } if = { limit = { "scripted_bar_progress(je_bolshevik_bar)" < 0 } set_bar_progress = { name = je_bolshevik_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_bolshevik_bar)" > 200 } set_bar_progress = { name = je_bolshevik_bar value = 200 } }  } } }
}

sakuya_journal_je_bolsheviks_0_plus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks  } je:je_bolsheviks = { add_progress = { name = je_bolshevik_bar value = 20 } if = { limit = { "scripted_bar_progress(je_bolshevik_bar)" < 0 } set_bar_progress = { name = je_bolshevik_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_bolshevik_bar)" > 200 } set_bar_progress = { name = je_bolshevik_bar value = 200 } }  } } }
}

sakuya_journal_je_bolsheviks_0_minus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks  } je:je_bolsheviks = { add_progress = { name = je_bolshevik_bar value = -200 } if = { limit = { "scripted_bar_progress(je_bolshevik_bar)" < 0 } set_bar_progress = { name = je_bolshevik_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_bolshevik_bar)" > 200 } set_bar_progress = { name = je_bolshevik_bar value = 200 } }  } } }
}

sakuya_journal_je_bolsheviks_0_plus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks  } je:je_bolsheviks = { add_progress = { name = je_bolshevik_bar value = 200 } if = { limit = { "scripted_bar_progress(je_bolshevik_bar)" < 0 } set_bar_progress = { name = je_bolshevik_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_bolshevik_bar)" > 200 } set_bar_progress = { name = je_bolshevik_bar value = 200 } }  } } }
}

sakuya_journal_je_bolsheviks_0_reset = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks  } je:je_bolsheviks = { set_bar_progress = { name = je_bolshevik_bar value = 0 } if = { limit = { "scripted_bar_progress(je_bolshevik_bar)" < 0 } set_bar_progress = { name = je_bolshevik_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_bolshevik_bar)" > 200 } set_bar_progress = { name = je_bolshevik_bar value = 200 } }  } } }
}

sakuya_journal_je_bolsheviks_0_max = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks  } je:je_bolsheviks = { set_bar_progress = { name = je_bolshevik_bar value = 200 } if = { limit = { "scripted_bar_progress(je_bolshevik_bar)" < 0 } set_bar_progress = { name = je_bolshevik_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_bolshevik_bar)" > 200 } set_bar_progress = { name = je_bolshevik_bar value = 200 } }  } } }
}

sakuya_journal_je_bolsheviks_1_minus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks  } je:je_bolsheviks = { add_progress = { name = je_menshevik_bar value = -20 } if = { limit = { "scripted_bar_progress(je_menshevik_bar)" < 0 } set_bar_progress = { name = je_menshevik_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_menshevik_bar)" > 200 } set_bar_progress = { name = je_menshevik_bar value = 200 } }  } } }
}

sakuya_journal_je_bolsheviks_1_plus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks  } je:je_bolsheviks = { add_progress = { name = je_menshevik_bar value = 20 } if = { limit = { "scripted_bar_progress(je_menshevik_bar)" < 0 } set_bar_progress = { name = je_menshevik_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_menshevik_bar)" > 200 } set_bar_progress = { name = je_menshevik_bar value = 200 } }  } } }
}

sakuya_journal_je_bolsheviks_1_minus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks  } je:je_bolsheviks = { add_progress = { name = je_menshevik_bar value = -200 } if = { limit = { "scripted_bar_progress(je_menshevik_bar)" < 0 } set_bar_progress = { name = je_menshevik_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_menshevik_bar)" > 200 } set_bar_progress = { name = je_menshevik_bar value = 200 } }  } } }
}

sakuya_journal_je_bolsheviks_1_plus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks  } je:je_bolsheviks = { add_progress = { name = je_menshevik_bar value = 200 } if = { limit = { "scripted_bar_progress(je_menshevik_bar)" < 0 } set_bar_progress = { name = je_menshevik_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_menshevik_bar)" > 200 } set_bar_progress = { name = je_menshevik_bar value = 200 } }  } } }
}

sakuya_journal_je_bolsheviks_1_reset = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks  } je:je_bolsheviks = { set_bar_progress = { name = je_menshevik_bar value = 0 } if = { limit = { "scripted_bar_progress(je_menshevik_bar)" < 0 } set_bar_progress = { name = je_menshevik_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_menshevik_bar)" > 200 } set_bar_progress = { name = je_menshevik_bar value = 200 } }  } } }
}

sakuya_journal_je_bolsheviks_1_max = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks  } je:je_bolsheviks = { set_bar_progress = { name = je_menshevik_bar value = 200 } if = { limit = { "scripted_bar_progress(je_menshevik_bar)" < 0 } set_bar_progress = { name = je_menshevik_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_menshevik_bar)" > 200 } set_bar_progress = { name = je_menshevik_bar value = 200 } }  } } }
}

sakuya_journal_je_bolsheviks_2_minus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks  } je:je_bolsheviks = { add_progress = { name = je_left_sr_bar value = -20 } if = { limit = { "scripted_bar_progress(je_left_sr_bar)" < 0 } set_bar_progress = { name = je_left_sr_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_left_sr_bar)" > 200 } set_bar_progress = { name = je_left_sr_bar value = 200 } }  } } }
}

sakuya_journal_je_bolsheviks_2_plus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks  } je:je_bolsheviks = { add_progress = { name = je_left_sr_bar value = 20 } if = { limit = { "scripted_bar_progress(je_left_sr_bar)" < 0 } set_bar_progress = { name = je_left_sr_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_left_sr_bar)" > 200 } set_bar_progress = { name = je_left_sr_bar value = 200 } }  } } }
}

sakuya_journal_je_bolsheviks_2_minus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks  } je:je_bolsheviks = { add_progress = { name = je_left_sr_bar value = -200 } if = { limit = { "scripted_bar_progress(je_left_sr_bar)" < 0 } set_bar_progress = { name = je_left_sr_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_left_sr_bar)" > 200 } set_bar_progress = { name = je_left_sr_bar value = 200 } }  } } }
}

sakuya_journal_je_bolsheviks_2_plus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks  } je:je_bolsheviks = { add_progress = { name = je_left_sr_bar value = 200 } if = { limit = { "scripted_bar_progress(je_left_sr_bar)" < 0 } set_bar_progress = { name = je_left_sr_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_left_sr_bar)" > 200 } set_bar_progress = { name = je_left_sr_bar value = 200 } }  } } }
}

sakuya_journal_je_bolsheviks_2_reset = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks  } je:je_bolsheviks = { set_bar_progress = { name = je_left_sr_bar value = 0 } if = { limit = { "scripted_bar_progress(je_left_sr_bar)" < 0 } set_bar_progress = { name = je_left_sr_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_left_sr_bar)" > 200 } set_bar_progress = { name = je_left_sr_bar value = 200 } }  } } }
}

sakuya_journal_je_bolsheviks_2_max = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_bolsheviks  } je:je_bolsheviks = { set_bar_progress = { name = je_left_sr_bar value = 200 } if = { limit = { "scripted_bar_progress(je_left_sr_bar)" < 0 } set_bar_progress = { name = je_left_sr_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_left_sr_bar)" > 200 } set_bar_progress = { name = je_left_sr_bar value = 200 } }  } } }
}

sakuya_journal_je_ukraine_cultural_renaissance_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_ukraine_cultural_renaissance any_country = { has_journal_entry = je_ukraine_cultural_renaissance } }
}

sakuya_journal_je_ukraine_cultural_renaissance_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_ukraine_cultural_renaissance_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_ukraine_cultural_renaissance_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_ukraine_cultural_renaissance } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_ukraine_cultural_renaissance } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } }  add_contextless_journal_entry = je_ukraine_cultural_renaissance } }
}

sakuya_journal_je_ukraine_cultural_renaissance_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_ukraine_cultural_renaissance } } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_ukraine_cultural_renaissance } } }  add_contextless_journal_entry = je_ukraine_cultural_renaissance } }
}

sakuya_journal_je_ukraine_cultural_renaissance_0_minus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_ukraine_cultural_renaissance any_country = { has_journal_entry = je_ukraine_cultural_renaissance } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_ukraine_cultural_renaissance any_country = { has_journal_entry = je_ukraine_cultural_renaissance }  } je:je_ukraine_cultural_renaissance = { add_progress = { name = je_cultural_renaissance_ukraine_progress_bar value = -10 } if = { limit = { "scripted_bar_progress(je_cultural_renaissance_ukraine_progress_bar)" < -100 } set_bar_progress = { name = je_cultural_renaissance_ukraine_progress_bar value = -100 } } if = { limit = { "scripted_bar_progress(je_cultural_renaissance_ukraine_progress_bar)" > 100 } set_bar_progress = { name = je_cultural_renaissance_ukraine_progress_bar value = 100 } }  } } }
}

sakuya_journal_je_ukraine_cultural_renaissance_0_plus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_ukraine_cultural_renaissance any_country = { has_journal_entry = je_ukraine_cultural_renaissance } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_ukraine_cultural_renaissance any_country = { has_journal_entry = je_ukraine_cultural_renaissance }  } je:je_ukraine_cultural_renaissance = { add_progress = { name = je_cultural_renaissance_ukraine_progress_bar value = 10 } if = { limit = { "scripted_bar_progress(je_cultural_renaissance_ukraine_progress_bar)" < -100 } set_bar_progress = { name = je_cultural_renaissance_ukraine_progress_bar value = -100 } } if = { limit = { "scripted_bar_progress(je_cultural_renaissance_ukraine_progress_bar)" > 100 } set_bar_progress = { name = je_cultural_renaissance_ukraine_progress_bar value = 100 } }  } } }
}

sakuya_journal_je_ukraine_cultural_renaissance_0_minus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_ukraine_cultural_renaissance any_country = { has_journal_entry = je_ukraine_cultural_renaissance } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_ukraine_cultural_renaissance any_country = { has_journal_entry = je_ukraine_cultural_renaissance }  } je:je_ukraine_cultural_renaissance = { add_progress = { name = je_cultural_renaissance_ukraine_progress_bar value = -100 } if = { limit = { "scripted_bar_progress(je_cultural_renaissance_ukraine_progress_bar)" < -100 } set_bar_progress = { name = je_cultural_renaissance_ukraine_progress_bar value = -100 } } if = { limit = { "scripted_bar_progress(je_cultural_renaissance_ukraine_progress_bar)" > 100 } set_bar_progress = { name = je_cultural_renaissance_ukraine_progress_bar value = 100 } }  } } }
}

sakuya_journal_je_ukraine_cultural_renaissance_0_plus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_ukraine_cultural_renaissance any_country = { has_journal_entry = je_ukraine_cultural_renaissance } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_ukraine_cultural_renaissance any_country = { has_journal_entry = je_ukraine_cultural_renaissance }  } je:je_ukraine_cultural_renaissance = { add_progress = { name = je_cultural_renaissance_ukraine_progress_bar value = 100 } if = { limit = { "scripted_bar_progress(je_cultural_renaissance_ukraine_progress_bar)" < -100 } set_bar_progress = { name = je_cultural_renaissance_ukraine_progress_bar value = -100 } } if = { limit = { "scripted_bar_progress(je_cultural_renaissance_ukraine_progress_bar)" > 100 } set_bar_progress = { name = je_cultural_renaissance_ukraine_progress_bar value = 100 } }  } } }
}

sakuya_journal_je_ukraine_cultural_renaissance_0_reset = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_ukraine_cultural_renaissance any_country = { has_journal_entry = je_ukraine_cultural_renaissance } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_ukraine_cultural_renaissance any_country = { has_journal_entry = je_ukraine_cultural_renaissance }  } je:je_ukraine_cultural_renaissance = { set_bar_progress = { name = je_cultural_renaissance_ukraine_progress_bar value = 0 } if = { limit = { "scripted_bar_progress(je_cultural_renaissance_ukraine_progress_bar)" < -100 } set_bar_progress = { name = je_cultural_renaissance_ukraine_progress_bar value = -100 } } if = { limit = { "scripted_bar_progress(je_cultural_renaissance_ukraine_progress_bar)" > 100 } set_bar_progress = { name = je_cultural_renaissance_ukraine_progress_bar value = 100 } }  } } }
}

sakuya_journal_je_ukraine_cultural_renaissance_0_max = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_ukraine_cultural_renaissance any_country = { has_journal_entry = je_ukraine_cultural_renaissance } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_ukraine_cultural_renaissance any_country = { has_journal_entry = je_ukraine_cultural_renaissance }  } je:je_ukraine_cultural_renaissance = { set_bar_progress = { name = je_cultural_renaissance_ukraine_progress_bar value = 100 } if = { limit = { "scripted_bar_progress(je_cultural_renaissance_ukraine_progress_bar)" < -100 } set_bar_progress = { name = je_cultural_renaissance_ukraine_progress_bar value = -100 } } if = { limit = { "scripted_bar_progress(je_cultural_renaissance_ukraine_progress_bar)" > 100 } set_bar_progress = { name = je_cultural_renaissance_ukraine_progress_bar value = 100 } }  } } }
}

sakuya_journal_je_belarus_cultural_renaissance_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_belarus_cultural_renaissance any_country = { has_journal_entry = je_belarus_cultural_renaissance } }
}

sakuya_journal_je_belarus_cultural_renaissance_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_belarus_cultural_renaissance_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_belarus_cultural_renaissance_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_belarus_cultural_renaissance } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_belarus_cultural_renaissance } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } }  add_contextless_journal_entry = je_belarus_cultural_renaissance } }
}

sakuya_journal_je_belarus_cultural_renaissance_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_belarus_cultural_renaissance } } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_belarus_cultural_renaissance } } }  add_contextless_journal_entry = je_belarus_cultural_renaissance } }
}

sakuya_journal_je_belarus_cultural_renaissance_0_minus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_belarus_cultural_renaissance any_country = { has_journal_entry = je_belarus_cultural_renaissance } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_belarus_cultural_renaissance any_country = { has_journal_entry = je_belarus_cultural_renaissance }  } je:je_belarus_cultural_renaissance = { add_progress = { name = je_cultural_renaissance_belarus_progress_bar value = -10 } if = { limit = { "scripted_bar_progress(je_cultural_renaissance_belarus_progress_bar)" < -100 } set_bar_progress = { name = je_cultural_renaissance_belarus_progress_bar value = -100 } } if = { limit = { "scripted_bar_progress(je_cultural_renaissance_belarus_progress_bar)" > 100 } set_bar_progress = { name = je_cultural_renaissance_belarus_progress_bar value = 100 } }  } } }
}

sakuya_journal_je_belarus_cultural_renaissance_0_plus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_belarus_cultural_renaissance any_country = { has_journal_entry = je_belarus_cultural_renaissance } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_belarus_cultural_renaissance any_country = { has_journal_entry = je_belarus_cultural_renaissance }  } je:je_belarus_cultural_renaissance = { add_progress = { name = je_cultural_renaissance_belarus_progress_bar value = 10 } if = { limit = { "scripted_bar_progress(je_cultural_renaissance_belarus_progress_bar)" < -100 } set_bar_progress = { name = je_cultural_renaissance_belarus_progress_bar value = -100 } } if = { limit = { "scripted_bar_progress(je_cultural_renaissance_belarus_progress_bar)" > 100 } set_bar_progress = { name = je_cultural_renaissance_belarus_progress_bar value = 100 } }  } } }
}

sakuya_journal_je_belarus_cultural_renaissance_0_minus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_belarus_cultural_renaissance any_country = { has_journal_entry = je_belarus_cultural_renaissance } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_belarus_cultural_renaissance any_country = { has_journal_entry = je_belarus_cultural_renaissance }  } je:je_belarus_cultural_renaissance = { add_progress = { name = je_cultural_renaissance_belarus_progress_bar value = -100 } if = { limit = { "scripted_bar_progress(je_cultural_renaissance_belarus_progress_bar)" < -100 } set_bar_progress = { name = je_cultural_renaissance_belarus_progress_bar value = -100 } } if = { limit = { "scripted_bar_progress(je_cultural_renaissance_belarus_progress_bar)" > 100 } set_bar_progress = { name = je_cultural_renaissance_belarus_progress_bar value = 100 } }  } } }
}

sakuya_journal_je_belarus_cultural_renaissance_0_plus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_belarus_cultural_renaissance any_country = { has_journal_entry = je_belarus_cultural_renaissance } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_belarus_cultural_renaissance any_country = { has_journal_entry = je_belarus_cultural_renaissance }  } je:je_belarus_cultural_renaissance = { add_progress = { name = je_cultural_renaissance_belarus_progress_bar value = 100 } if = { limit = { "scripted_bar_progress(je_cultural_renaissance_belarus_progress_bar)" < -100 } set_bar_progress = { name = je_cultural_renaissance_belarus_progress_bar value = -100 } } if = { limit = { "scripted_bar_progress(je_cultural_renaissance_belarus_progress_bar)" > 100 } set_bar_progress = { name = je_cultural_renaissance_belarus_progress_bar value = 100 } }  } } }
}

sakuya_journal_je_belarus_cultural_renaissance_0_reset = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_belarus_cultural_renaissance any_country = { has_journal_entry = je_belarus_cultural_renaissance } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_belarus_cultural_renaissance any_country = { has_journal_entry = je_belarus_cultural_renaissance }  } je:je_belarus_cultural_renaissance = { set_bar_progress = { name = je_cultural_renaissance_belarus_progress_bar value = 0 } if = { limit = { "scripted_bar_progress(je_cultural_renaissance_belarus_progress_bar)" < -100 } set_bar_progress = { name = je_cultural_renaissance_belarus_progress_bar value = -100 } } if = { limit = { "scripted_bar_progress(je_cultural_renaissance_belarus_progress_bar)" > 100 } set_bar_progress = { name = je_cultural_renaissance_belarus_progress_bar value = 100 } }  } } }
}

sakuya_journal_je_belarus_cultural_renaissance_0_max = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_belarus_cultural_renaissance any_country = { has_journal_entry = je_belarus_cultural_renaissance } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_belarus_cultural_renaissance any_country = { has_journal_entry = je_belarus_cultural_renaissance }  } je:je_belarus_cultural_renaissance = { set_bar_progress = { name = je_cultural_renaissance_belarus_progress_bar value = 100 } if = { limit = { "scripted_bar_progress(je_cultural_renaissance_belarus_progress_bar)" < -100 } set_bar_progress = { name = je_cultural_renaissance_belarus_progress_bar value = -100 } } if = { limit = { "scripted_bar_progress(je_cultural_renaissance_belarus_progress_bar)" > 100 } set_bar_progress = { name = je_cultural_renaissance_belarus_progress_bar value = 100 } }  } } }
}

sakuya_journal_je_reform_or_revolution_active = {
 scope = country
 is_shown = { is_player = yes always = yes exists = je:je_reform_or_revolution any_country = { has_journal_entry = je_reform_or_revolution } }
}

sakuya_journal_je_reform_or_revolution_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes }
}

sakuya_journal_je_reform_or_revolution_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_reform_or_revolution_add = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_reform_or_revolution } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_reform_or_revolution } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }  add_contextless_journal_entry = je_reform_or_revolution } }
}

sakuya_journal_je_reform_or_revolution_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_reform_or_revolution } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_reform_or_revolution } } }  add_contextless_journal_entry = je_reform_or_revolution } }
}

sakuya_journal_je_reform_or_revolution_0_minus = {
 scope = country
 is_shown = { is_player = yes always = yes exists = je:je_reform_or_revolution any_country = { has_journal_entry = je_reform_or_revolution } }
 effect = { if = { limit = { is_player = yes always = yes exists = je:je_reform_or_revolution any_country = { has_journal_entry = je_reform_or_revolution }  } je:je_reform_or_revolution = { add_progress = { name = reform_or_revolution_progress_bar value = -20 } if = { limit = { "scripted_bar_progress(reform_or_revolution_progress_bar)" < 0 } set_bar_progress = { name = reform_or_revolution_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(reform_or_revolution_progress_bar)" > 500 } set_bar_progress = { name = reform_or_revolution_progress_bar value = 500 } }  } } }
}

sakuya_journal_je_reform_or_revolution_0_plus = {
 scope = country
 is_shown = { is_player = yes always = yes exists = je:je_reform_or_revolution any_country = { has_journal_entry = je_reform_or_revolution } }
 effect = { if = { limit = { is_player = yes always = yes exists = je:je_reform_or_revolution any_country = { has_journal_entry = je_reform_or_revolution }  } je:je_reform_or_revolution = { add_progress = { name = reform_or_revolution_progress_bar value = 20 } if = { limit = { "scripted_bar_progress(reform_or_revolution_progress_bar)" < 0 } set_bar_progress = { name = reform_or_revolution_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(reform_or_revolution_progress_bar)" > 500 } set_bar_progress = { name = reform_or_revolution_progress_bar value = 500 } }  } } }
}

sakuya_journal_je_reform_or_revolution_0_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes exists = je:je_reform_or_revolution any_country = { has_journal_entry = je_reform_or_revolution } }
 effect = { if = { limit = { is_player = yes always = yes exists = je:je_reform_or_revolution any_country = { has_journal_entry = je_reform_or_revolution }  } je:je_reform_or_revolution = { add_progress = { name = reform_or_revolution_progress_bar value = -200 } if = { limit = { "scripted_bar_progress(reform_or_revolution_progress_bar)" < 0 } set_bar_progress = { name = reform_or_revolution_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(reform_or_revolution_progress_bar)" > 500 } set_bar_progress = { name = reform_or_revolution_progress_bar value = 500 } }  } } }
}

sakuya_journal_je_reform_or_revolution_0_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes exists = je:je_reform_or_revolution any_country = { has_journal_entry = je_reform_or_revolution } }
 effect = { if = { limit = { is_player = yes always = yes exists = je:je_reform_or_revolution any_country = { has_journal_entry = je_reform_or_revolution }  } je:je_reform_or_revolution = { add_progress = { name = reform_or_revolution_progress_bar value = 200 } if = { limit = { "scripted_bar_progress(reform_or_revolution_progress_bar)" < 0 } set_bar_progress = { name = reform_or_revolution_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(reform_or_revolution_progress_bar)" > 500 } set_bar_progress = { name = reform_or_revolution_progress_bar value = 500 } }  } } }
}

sakuya_journal_je_reform_or_revolution_0_reset = {
 scope = country
 is_shown = { is_player = yes always = yes exists = je:je_reform_or_revolution any_country = { has_journal_entry = je_reform_or_revolution } }
 effect = { if = { limit = { is_player = yes always = yes exists = je:je_reform_or_revolution any_country = { has_journal_entry = je_reform_or_revolution }  } je:je_reform_or_revolution = { set_bar_progress = { name = reform_or_revolution_progress_bar value = 0 } if = { limit = { "scripted_bar_progress(reform_or_revolution_progress_bar)" < 0 } set_bar_progress = { name = reform_or_revolution_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(reform_or_revolution_progress_bar)" > 500 } set_bar_progress = { name = reform_or_revolution_progress_bar value = 500 } }  } } }
}

sakuya_journal_je_reform_or_revolution_0_max = {
 scope = country
 is_shown = { is_player = yes always = yes exists = je:je_reform_or_revolution any_country = { has_journal_entry = je_reform_or_revolution } }
 effect = { if = { limit = { is_player = yes always = yes exists = je:je_reform_or_revolution any_country = { has_journal_entry = je_reform_or_revolution }  } je:je_reform_or_revolution = { set_bar_progress = { name = reform_or_revolution_progress_bar value = 500 } if = { limit = { "scripted_bar_progress(reform_or_revolution_progress_bar)" < 0 } set_bar_progress = { name = reform_or_revolution_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(reform_or_revolution_progress_bar)" > 500 } set_bar_progress = { name = reform_or_revolution_progress_bar value = 500 } }  } } }
}

sakuya_journal_je_congress_poland_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_congress_poland any_country = { has_journal_entry = je_congress_poland } }
}

sakuya_journal_je_congress_poland_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_congress_poland_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_congress_poland_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_congress_poland } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = c:RUS exists = c:POL } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_congress_poland } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = c:RUS exists = c:POL } }  add_contextless_journal_entry = je_congress_poland } }
}

sakuya_journal_je_congress_poland_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_congress_poland } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = c:RUS exists = c:POL } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_congress_poland } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = c:RUS exists = c:POL } }  add_contextless_journal_entry = je_congress_poland } }
}

sakuya_journal_je_congress_poland_0_minus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_congress_poland any_country = { has_journal_entry = je_congress_poland } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_congress_poland any_country = { has_journal_entry = je_congress_poland }  } je:je_congress_poland = { add_progress = { name = je_congress_poland_progress_bar value = -20 } if = { limit = { "scripted_bar_progress(je_congress_poland_progress_bar)" < -240 } set_bar_progress = { name = je_congress_poland_progress_bar value = -240 } } if = { limit = { "scripted_bar_progress(je_congress_poland_progress_bar)" > 240 } set_bar_progress = { name = je_congress_poland_progress_bar value = 240 } }  } } }
}

sakuya_journal_je_congress_poland_0_plus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_congress_poland any_country = { has_journal_entry = je_congress_poland } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_congress_poland any_country = { has_journal_entry = je_congress_poland }  } je:je_congress_poland = { add_progress = { name = je_congress_poland_progress_bar value = 20 } if = { limit = { "scripted_bar_progress(je_congress_poland_progress_bar)" < -240 } set_bar_progress = { name = je_congress_poland_progress_bar value = -240 } } if = { limit = { "scripted_bar_progress(je_congress_poland_progress_bar)" > 240 } set_bar_progress = { name = je_congress_poland_progress_bar value = 240 } }  } } }
}

sakuya_journal_je_congress_poland_0_minus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_congress_poland any_country = { has_journal_entry = je_congress_poland } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_congress_poland any_country = { has_journal_entry = je_congress_poland }  } je:je_congress_poland = { add_progress = { name = je_congress_poland_progress_bar value = -200 } if = { limit = { "scripted_bar_progress(je_congress_poland_progress_bar)" < -240 } set_bar_progress = { name = je_congress_poland_progress_bar value = -240 } } if = { limit = { "scripted_bar_progress(je_congress_poland_progress_bar)" > 240 } set_bar_progress = { name = je_congress_poland_progress_bar value = 240 } }  } } }
}

sakuya_journal_je_congress_poland_0_plus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_congress_poland any_country = { has_journal_entry = je_congress_poland } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_congress_poland any_country = { has_journal_entry = je_congress_poland }  } je:je_congress_poland = { add_progress = { name = je_congress_poland_progress_bar value = 200 } if = { limit = { "scripted_bar_progress(je_congress_poland_progress_bar)" < -240 } set_bar_progress = { name = je_congress_poland_progress_bar value = -240 } } if = { limit = { "scripted_bar_progress(je_congress_poland_progress_bar)" > 240 } set_bar_progress = { name = je_congress_poland_progress_bar value = 240 } }  } } }
}

sakuya_journal_je_congress_poland_0_reset = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_congress_poland any_country = { has_journal_entry = je_congress_poland } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_congress_poland any_country = { has_journal_entry = je_congress_poland }  } je:je_congress_poland = { set_bar_progress = { name = je_congress_poland_progress_bar value = 0 } if = { limit = { "scripted_bar_progress(je_congress_poland_progress_bar)" < -240 } set_bar_progress = { name = je_congress_poland_progress_bar value = -240 } } if = { limit = { "scripted_bar_progress(je_congress_poland_progress_bar)" > 240 } set_bar_progress = { name = je_congress_poland_progress_bar value = 240 } }  } } }
}

sakuya_journal_je_congress_poland_0_max = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_congress_poland any_country = { has_journal_entry = je_congress_poland } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_congress_poland any_country = { has_journal_entry = je_congress_poland }  } je:je_congress_poland = { set_bar_progress = { name = je_congress_poland_progress_bar value = 240 } if = { limit = { "scripted_bar_progress(je_congress_poland_progress_bar)" < -240 } set_bar_progress = { name = je_congress_poland_progress_bar value = -240 } } if = { limit = { "scripted_bar_progress(je_congress_poland_progress_bar)" > 240 } set_bar_progress = { name = je_congress_poland_progress_bar value = 240 } }  } } }
}

sakuya_journal_je_russia_provisional_government_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_russia_provisional_government }
}

sakuya_journal_je_russia_provisional_government_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_russia_provisional_government_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_russia_provisional_government_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_russia_provisional_government } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = c:RUS exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_russia_provisional_government } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = c:RUS exists = ruler } }  add_journal_entry = { type = je_russia_provisional_government  } } }
}

sakuya_journal_je_russia_provisional_government_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_russia_provisional_government } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = c:RUS exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_russia_provisional_government } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = c:RUS exists = ruler } }  add_journal_entry = { type = je_russia_provisional_government  } } }
}

sakuya_journal_je_russia_provisional_government_0_minus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_russia_provisional_government }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_russia_provisional_government  } je:je_russia_provisional_government = { add_progress = { name = je_rus_prov_gov_bar value = -5 } if = { limit = { "scripted_bar_progress(je_rus_prov_gov_bar)" < 0 } set_bar_progress = { name = je_rus_prov_gov_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_rus_prov_gov_bar)" > 60 } set_bar_progress = { name = je_rus_prov_gov_bar value = 60 } }  } } }
}

sakuya_journal_je_russia_provisional_government_0_plus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_russia_provisional_government }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_russia_provisional_government  } je:je_russia_provisional_government = { add_progress = { name = je_rus_prov_gov_bar value = 5 } if = { limit = { "scripted_bar_progress(je_rus_prov_gov_bar)" < 0 } set_bar_progress = { name = je_rus_prov_gov_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_rus_prov_gov_bar)" > 60 } set_bar_progress = { name = je_rus_prov_gov_bar value = 60 } }  } } }
}

sakuya_journal_je_russia_provisional_government_0_minus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_russia_provisional_government }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_russia_provisional_government  } je:je_russia_provisional_government = { add_progress = { name = je_rus_prov_gov_bar value = -50 } if = { limit = { "scripted_bar_progress(je_rus_prov_gov_bar)" < 0 } set_bar_progress = { name = je_rus_prov_gov_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_rus_prov_gov_bar)" > 60 } set_bar_progress = { name = je_rus_prov_gov_bar value = 60 } }  } } }
}

sakuya_journal_je_russia_provisional_government_0_plus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_russia_provisional_government }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_russia_provisional_government  } je:je_russia_provisional_government = { add_progress = { name = je_rus_prov_gov_bar value = 50 } if = { limit = { "scripted_bar_progress(je_rus_prov_gov_bar)" < 0 } set_bar_progress = { name = je_rus_prov_gov_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_rus_prov_gov_bar)" > 60 } set_bar_progress = { name = je_rus_prov_gov_bar value = 60 } }  } } }
}

sakuya_journal_je_russia_provisional_government_0_reset = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_russia_provisional_government }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_russia_provisional_government  } je:je_russia_provisional_government = { set_bar_progress = { name = je_rus_prov_gov_bar value = 0 } if = { limit = { "scripted_bar_progress(je_rus_prov_gov_bar)" < 0 } set_bar_progress = { name = je_rus_prov_gov_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_rus_prov_gov_bar)" > 60 } set_bar_progress = { name = je_rus_prov_gov_bar value = 60 } }  } } }
}

sakuya_journal_je_russia_provisional_government_0_max = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_russia_provisional_government }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_russia_provisional_government  } je:je_russia_provisional_government = { set_bar_progress = { name = je_rus_prov_gov_bar value = 60 } if = { limit = { "scripted_bar_progress(je_rus_prov_gov_bar)" < 0 } set_bar_progress = { name = je_rus_prov_gov_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_rus_prov_gov_bar)" > 60 } set_bar_progress = { name = je_rus_prov_gov_bar value = 60 } }  } } }
}

sakuya_journal_je_russia_civil_war_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = je:je_russia_civil_war any_country = { has_journal_entry = je_russia_civil_war } }
}

sakuya_journal_je_russia_civil_war_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_russia_civil_war_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_russia_civil_war_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_russia_civil_war } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = c:RUS c:RUS = { exists = ruler any_diplomatic_play = { is_diplomatic_play_type = dp_revolution target_is = c:RUS initiator = { exists = ruler } } } } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_russia_civil_war } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = c:RUS c:RUS = { exists = ruler any_diplomatic_play = { is_diplomatic_play_type = dp_revolution target_is = c:RUS initiator = { exists = ruler } } } } }  add_contextless_journal_entry = je_russia_civil_war } }
}

sakuya_journal_je_russia_civil_war_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_russia_civil_war } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = c:RUS c:RUS = { exists = ruler any_diplomatic_play = { is_diplomatic_play_type = dp_revolution target_is = c:RUS initiator = { exists = ruler } } } } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_russia_civil_war } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = c:RUS c:RUS = { exists = ruler any_diplomatic_play = { is_diplomatic_play_type = dp_revolution target_is = c:RUS initiator = { exists = ruler } } } } }  add_contextless_journal_entry = je_russia_civil_war } }
}

sakuya_journal_je_russification_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_russification }
}

sakuya_journal_je_russification_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_russification_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_russification_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_russification } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_russification } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } }  add_journal_entry = { type = je_russification  } } }
}

sakuya_journal_je_russification_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_russification } } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_russification } } }  add_journal_entry = { type = je_russification  } } }
}

sakuya_journal_je_russian_revolution_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_russian_revolution }
}

sakuya_journal_je_russian_revolution_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_russian_revolution_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_russian_revolution_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_russian_revolution } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = ruler OR = { AND = { has_variable = russian_revolution_leader var:russian_revolution_leader = { is_character_alive = yes } } any_scope_character = { character_is_valid_for_events = yes NOR = {
					is_ruler_of_own_country = yes
					is_heir_of_own_country = yes
				} OR = {
					has_role_of_type = politician
					has_role_of_type = agitator
				} trigger_if = {
					limit = {
						owner = { country_opposition_is_liberal = yes }
					}
					OR = {
						has_liberal_ideology = yes
						has_progressive_ideology = yes
					}
				} trigger_else_if = {
					limit = {
						owner = { country_opposition_is_socialist = yes }
					}
					has_socialist_ideology = yes
				} trigger_else_if = {
					limit = {
						owner = { country_opposition_is_conservative = yes }
					}
					OR = {
						has_reactionary_ideology = yes
						has_conservative_ideology = yes
						has_monarchist_ideology = yes
					}
				} trigger_else_if = {
					limit = {
						owner = { country_opposition_is_liberal_socalist = yes }
					}
					OR = {
						has_liberal_ideology = yes
						has_progressive_ideology = yes
						has_socialist_ideology = yes
					}
				} trigger_else_if = {
					limit = {
						owner = { country_opposition_is_liberal_conservative = yes }
					}
					OR = {
						has_liberal_ideology = yes
						has_progressive_ideology = yes
						has_reactionary_ideology = yes
						has_conservative_ideology = yes
						has_monarchist_ideology = yes
					}
				} trigger_else_if = {
					limit = {
						owner = { country_opposition_is_conservative_socialist = yes }
					}
					OR = {
						has_reactionary_ideology = yes
						has_conservative_ideology = yes
						has_monarchist_ideology = yes
						has_socialist_ideology = yes
					}
				} } } } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_russian_revolution } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = ruler OR = { AND = { has_variable = russian_revolution_leader var:russian_revolution_leader = { is_character_alive = yes } } any_scope_character = { character_is_valid_for_events = yes NOR = {
					is_ruler_of_own_country = yes
					is_heir_of_own_country = yes
				} OR = {
					has_role_of_type = politician
					has_role_of_type = agitator
				} trigger_if = {
					limit = {
						owner = { country_opposition_is_liberal = yes }
					}
					OR = {
						has_liberal_ideology = yes
						has_progressive_ideology = yes
					}
				} trigger_else_if = {
					limit = {
						owner = { country_opposition_is_socialist = yes }
					}
					has_socialist_ideology = yes
				} trigger_else_if = {
					limit = {
						owner = { country_opposition_is_conservative = yes }
					}
					OR = {
						has_reactionary_ideology = yes
						has_conservative_ideology = yes
						has_monarchist_ideology = yes
					}
				} trigger_else_if = {
					limit = {
						owner = { country_opposition_is_liberal_socalist = yes }
					}
					OR = {
						has_liberal_ideology = yes
						has_progressive_ideology = yes
						has_socialist_ideology = yes
					}
				} trigger_else_if = {
					limit = {
						owner = { country_opposition_is_liberal_conservative = yes }
					}
					OR = {
						has_liberal_ideology = yes
						has_progressive_ideology = yes
						has_reactionary_ideology = yes
						has_conservative_ideology = yes
						has_monarchist_ideology = yes
					}
				} trigger_else_if = {
					limit = {
						owner = { country_opposition_is_conservative_socialist = yes }
					}
					OR = {
						has_reactionary_ideology = yes
						has_conservative_ideology = yes
						has_monarchist_ideology = yes
						has_socialist_ideology = yes
					}
				} } } } }  add_journal_entry = { type = je_russian_revolution  } } }
}

sakuya_journal_je_russian_revolution_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_russian_revolution } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = ruler OR = { AND = { has_variable = russian_revolution_leader var:russian_revolution_leader = { is_character_alive = yes } } any_scope_character = { character_is_valid_for_events = yes NOR = {
					is_ruler_of_own_country = yes
					is_heir_of_own_country = yes
				} OR = {
					has_role_of_type = politician
					has_role_of_type = agitator
				} trigger_if = {
					limit = {
						owner = { country_opposition_is_liberal = yes }
					}
					OR = {
						has_liberal_ideology = yes
						has_progressive_ideology = yes
					}
				} trigger_else_if = {
					limit = {
						owner = { country_opposition_is_socialist = yes }
					}
					has_socialist_ideology = yes
				} trigger_else_if = {
					limit = {
						owner = { country_opposition_is_conservative = yes }
					}
					OR = {
						has_reactionary_ideology = yes
						has_conservative_ideology = yes
						has_monarchist_ideology = yes
					}
				} trigger_else_if = {
					limit = {
						owner = { country_opposition_is_liberal_socalist = yes }
					}
					OR = {
						has_liberal_ideology = yes
						has_progressive_ideology = yes
						has_socialist_ideology = yes
					}
				} trigger_else_if = {
					limit = {
						owner = { country_opposition_is_liberal_conservative = yes }
					}
					OR = {
						has_liberal_ideology = yes
						has_progressive_ideology = yes
						has_reactionary_ideology = yes
						has_conservative_ideology = yes
						has_monarchist_ideology = yes
					}
				} trigger_else_if = {
					limit = {
						owner = { country_opposition_is_conservative_socialist = yes }
					}
					OR = {
						has_reactionary_ideology = yes
						has_conservative_ideology = yes
						has_monarchist_ideology = yes
						has_socialist_ideology = yes
					}
				} } } } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_russian_revolution } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = ruler OR = { AND = { has_variable = russian_revolution_leader var:russian_revolution_leader = { is_character_alive = yes } } any_scope_character = { character_is_valid_for_events = yes NOR = {
					is_ruler_of_own_country = yes
					is_heir_of_own_country = yes
				} OR = {
					has_role_of_type = politician
					has_role_of_type = agitator
				} trigger_if = {
					limit = {
						owner = { country_opposition_is_liberal = yes }
					}
					OR = {
						has_liberal_ideology = yes
						has_progressive_ideology = yes
					}
				} trigger_else_if = {
					limit = {
						owner = { country_opposition_is_socialist = yes }
					}
					has_socialist_ideology = yes
				} trigger_else_if = {
					limit = {
						owner = { country_opposition_is_conservative = yes }
					}
					OR = {
						has_reactionary_ideology = yes
						has_conservative_ideology = yes
						has_monarchist_ideology = yes
					}
				} trigger_else_if = {
					limit = {
						owner = { country_opposition_is_liberal_socalist = yes }
					}
					OR = {
						has_liberal_ideology = yes
						has_progressive_ideology = yes
						has_socialist_ideology = yes
					}
				} trigger_else_if = {
					limit = {
						owner = { country_opposition_is_liberal_conservative = yes }
					}
					OR = {
						has_liberal_ideology = yes
						has_progressive_ideology = yes
						has_reactionary_ideology = yes
						has_conservative_ideology = yes
						has_monarchist_ideology = yes
					}
				} trigger_else_if = {
					limit = {
						owner = { country_opposition_is_conservative_socialist = yes }
					}
					OR = {
						has_reactionary_ideology = yes
						has_conservative_ideology = yes
						has_monarchist_ideology = yes
						has_socialist_ideology = yes
					}
				} } } } }  add_journal_entry = { type = je_russian_revolution  } } }
}

sakuya_journal_je_tsarpoints_master_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tsarpoints_master }
}

sakuya_journal_je_tsarpoints_master_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_tsarpoints_master_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tsarpoints_master_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tsarpoints_master } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tsarpoints_master } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = ruler } }  add_journal_entry = { type = je_tsarpoints_master  } } }
}

sakuya_journal_je_tsarpoints_master_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tsarpoints_master } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tsarpoints_master } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = ruler } } if = { limit = { NOT = { has_variable = tsarpoints_var } } set_variable = { name = tsarpoints_var value = 0 } } add_journal_entry = { type = je_tsarpoints_master  } } }
}

sakuya_journal_je_tsarpoints_master_0_minus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tsarpoints_master }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tsarpoints_master  } if = { limit = { NOT = { has_variable = tsarpoints_var } } set_variable = { name = tsarpoints_var value = 0 } } change_variable = { name = tsarpoints_var add = -5 } change_variable = { name = tsarpoints_var max = 0 } } }
}

sakuya_journal_je_tsarpoints_master_0_plus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tsarpoints_master }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tsarpoints_master  } if = { limit = { NOT = { has_variable = tsarpoints_var } } set_variable = { name = tsarpoints_var value = 0 } } change_variable = { name = tsarpoints_var add = 5 } change_variable = { name = tsarpoints_var max = 0 } } }
}

sakuya_journal_je_tsarpoints_master_0_minus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tsarpoints_master }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tsarpoints_master  } if = { limit = { NOT = { has_variable = tsarpoints_var } } set_variable = { name = tsarpoints_var value = 0 } } change_variable = { name = tsarpoints_var add = -50 } change_variable = { name = tsarpoints_var max = 0 } } }
}

sakuya_journal_je_tsarpoints_master_0_plus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tsarpoints_master }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tsarpoints_master  } if = { limit = { NOT = { has_variable = tsarpoints_var } } set_variable = { name = tsarpoints_var value = 0 } } change_variable = { name = tsarpoints_var add = 50 } change_variable = { name = tsarpoints_var max = 0 } } }
}

sakuya_journal_je_tsarpoints_master_0_reset = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tsarpoints_master }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tsarpoints_master  } set_variable = { name = tsarpoints_var value = 0 } } }
}

sakuya_journal_je_tsarpoints_master_event_0_available = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tsarpoints_master_event_0 = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tsarpoints_master }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tsarpoints_master  }  trigger_event = { id = tsarpoints_events.1 days = 0 popup = yes } } }
}

sakuya_journal_je_tp_tsar_gendarme_of_europe_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_gendarme_of_europe }
}

sakuya_journal_je_tp_tsar_gendarme_of_europe_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_tp_tsar_gendarme_of_europe_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tp_tsar_gendarme_of_europe_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_tsar_gendarme_of_europe } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_tsar_gendarme_of_europe } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_tsar_gendarme_of_europe  } } }
}

sakuya_journal_je_tp_tsar_gendarme_of_europe_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_tsar_gendarme_of_europe } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_tsar_gendarme_of_europe } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_tsar_gendarme_of_europe  } } }
}

sakuya_journal_je_tp_tsar_gendarme_of_europe_0_minus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_gendarme_of_europe }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_gendarme_of_europe  } je:je_tp_tsar_gendarme_of_europe = { add_progress = { name = je_tp_tsar_gendarme_of_europe_progress_bar value = -1 } if = { limit = { "scripted_bar_progress(je_tp_tsar_gendarme_of_europe_progress_bar)" < 0 } set_bar_progress = { name = je_tp_tsar_gendarme_of_europe_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_tsar_gendarme_of_europe_progress_bar)" > 3 } set_bar_progress = { name = je_tp_tsar_gendarme_of_europe_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_gendarme_of_europe_0_plus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_gendarme_of_europe }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_gendarme_of_europe  } je:je_tp_tsar_gendarme_of_europe = { add_progress = { name = je_tp_tsar_gendarme_of_europe_progress_bar value = 1 } if = { limit = { "scripted_bar_progress(je_tp_tsar_gendarme_of_europe_progress_bar)" < 0 } set_bar_progress = { name = je_tp_tsar_gendarme_of_europe_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_tsar_gendarme_of_europe_progress_bar)" > 3 } set_bar_progress = { name = je_tp_tsar_gendarme_of_europe_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_gendarme_of_europe_0_minus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_gendarme_of_europe }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_gendarme_of_europe  } je:je_tp_tsar_gendarme_of_europe = { add_progress = { name = je_tp_tsar_gendarme_of_europe_progress_bar value = -10 } if = { limit = { "scripted_bar_progress(je_tp_tsar_gendarme_of_europe_progress_bar)" < 0 } set_bar_progress = { name = je_tp_tsar_gendarme_of_europe_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_tsar_gendarme_of_europe_progress_bar)" > 3 } set_bar_progress = { name = je_tp_tsar_gendarme_of_europe_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_gendarme_of_europe_0_plus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_gendarme_of_europe }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_gendarme_of_europe  } je:je_tp_tsar_gendarme_of_europe = { add_progress = { name = je_tp_tsar_gendarme_of_europe_progress_bar value = 10 } if = { limit = { "scripted_bar_progress(je_tp_tsar_gendarme_of_europe_progress_bar)" < 0 } set_bar_progress = { name = je_tp_tsar_gendarme_of_europe_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_tsar_gendarme_of_europe_progress_bar)" > 3 } set_bar_progress = { name = je_tp_tsar_gendarme_of_europe_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_gendarme_of_europe_0_reset = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_gendarme_of_europe }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_gendarme_of_europe  } je:je_tp_tsar_gendarme_of_europe = { set_bar_progress = { name = je_tp_tsar_gendarme_of_europe_progress_bar value = 0 } if = { limit = { "scripted_bar_progress(je_tp_tsar_gendarme_of_europe_progress_bar)" < 0 } set_bar_progress = { name = je_tp_tsar_gendarme_of_europe_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_tsar_gendarme_of_europe_progress_bar)" > 3 } set_bar_progress = { name = je_tp_tsar_gendarme_of_europe_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_gendarme_of_europe_0_max = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_gendarme_of_europe }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_gendarme_of_europe  } je:je_tp_tsar_gendarme_of_europe = { set_bar_progress = { name = je_tp_tsar_gendarme_of_europe_progress_bar value = 3 } if = { limit = { "scripted_bar_progress(je_tp_tsar_gendarme_of_europe_progress_bar)" < 0 } set_bar_progress = { name = je_tp_tsar_gendarme_of_europe_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_tsar_gendarme_of_europe_progress_bar)" > 3 } set_bar_progress = { name = je_tp_tsar_gendarme_of_europe_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_great_reform_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_great_reform }
}

sakuya_journal_je_tp_tsar_great_reform_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_tp_tsar_great_reform_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tp_tsar_great_reform_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_tsar_great_reform } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_tsar_great_reform } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_tsar_great_reform  } } }
}

sakuya_journal_je_tp_tsar_great_reform_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_tsar_great_reform } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_tsar_great_reform } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_tsar_great_reform  } } }
}

sakuya_journal_je_tp_tsar_great_reform_0_minus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_great_reform }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_great_reform  } je:je_tp_tsar_great_reform = { add_progress = { name = je_tp_great_reform_progress_bar value = -1 } if = { limit = { "scripted_bar_progress(je_tp_great_reform_progress_bar)" < 0 } set_bar_progress = { name = je_tp_great_reform_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_great_reform_progress_bar)" > 3 } set_bar_progress = { name = je_tp_great_reform_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_great_reform_0_plus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_great_reform }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_great_reform  } je:je_tp_tsar_great_reform = { add_progress = { name = je_tp_great_reform_progress_bar value = 1 } if = { limit = { "scripted_bar_progress(je_tp_great_reform_progress_bar)" < 0 } set_bar_progress = { name = je_tp_great_reform_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_great_reform_progress_bar)" > 3 } set_bar_progress = { name = je_tp_great_reform_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_great_reform_0_minus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_great_reform }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_great_reform  } je:je_tp_tsar_great_reform = { add_progress = { name = je_tp_great_reform_progress_bar value = -10 } if = { limit = { "scripted_bar_progress(je_tp_great_reform_progress_bar)" < 0 } set_bar_progress = { name = je_tp_great_reform_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_great_reform_progress_bar)" > 3 } set_bar_progress = { name = je_tp_great_reform_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_great_reform_0_plus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_great_reform }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_great_reform  } je:je_tp_tsar_great_reform = { add_progress = { name = je_tp_great_reform_progress_bar value = 10 } if = { limit = { "scripted_bar_progress(je_tp_great_reform_progress_bar)" < 0 } set_bar_progress = { name = je_tp_great_reform_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_great_reform_progress_bar)" > 3 } set_bar_progress = { name = je_tp_great_reform_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_great_reform_0_reset = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_great_reform }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_great_reform  } je:je_tp_tsar_great_reform = { set_bar_progress = { name = je_tp_great_reform_progress_bar value = 0 } if = { limit = { "scripted_bar_progress(je_tp_great_reform_progress_bar)" < 0 } set_bar_progress = { name = je_tp_great_reform_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_great_reform_progress_bar)" > 3 } set_bar_progress = { name = je_tp_great_reform_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_great_reform_0_max = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_great_reform }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_great_reform  } je:je_tp_tsar_great_reform = { set_bar_progress = { name = je_tp_great_reform_progress_bar value = 3 } if = { limit = { "scripted_bar_progress(je_tp_great_reform_progress_bar)" < 0 } set_bar_progress = { name = je_tp_great_reform_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_great_reform_progress_bar)" > 3 } set_bar_progress = { name = je_tp_great_reform_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_crown_of_perfection_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_crown_of_perfection }
}

sakuya_journal_je_tp_tsar_crown_of_perfection_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_tp_tsar_crown_of_perfection_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tp_tsar_crown_of_perfection_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_tsar_crown_of_perfection } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_tsar_crown_of_perfection } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_tsar_crown_of_perfection  } } }
}

sakuya_journal_je_tp_tsar_crown_of_perfection_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_tsar_crown_of_perfection } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_tsar_crown_of_perfection } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_tsar_crown_of_perfection  } } }
}

sakuya_journal_je_tp_tsar_crown_of_perfection_0_minus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_crown_of_perfection }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_crown_of_perfection  } je:je_tp_tsar_crown_of_perfection = { add_progress = { name = je_tp_tsar_crown_of_perfection_progress_bar value = -1 } if = { limit = { "scripted_bar_progress(je_tp_tsar_crown_of_perfection_progress_bar)" < 0 } set_bar_progress = { name = je_tp_tsar_crown_of_perfection_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_tsar_crown_of_perfection_progress_bar)" > 3 } set_bar_progress = { name = je_tp_tsar_crown_of_perfection_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_crown_of_perfection_0_plus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_crown_of_perfection }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_crown_of_perfection  } je:je_tp_tsar_crown_of_perfection = { add_progress = { name = je_tp_tsar_crown_of_perfection_progress_bar value = 1 } if = { limit = { "scripted_bar_progress(je_tp_tsar_crown_of_perfection_progress_bar)" < 0 } set_bar_progress = { name = je_tp_tsar_crown_of_perfection_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_tsar_crown_of_perfection_progress_bar)" > 3 } set_bar_progress = { name = je_tp_tsar_crown_of_perfection_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_crown_of_perfection_0_minus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_crown_of_perfection }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_crown_of_perfection  } je:je_tp_tsar_crown_of_perfection = { add_progress = { name = je_tp_tsar_crown_of_perfection_progress_bar value = -10 } if = { limit = { "scripted_bar_progress(je_tp_tsar_crown_of_perfection_progress_bar)" < 0 } set_bar_progress = { name = je_tp_tsar_crown_of_perfection_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_tsar_crown_of_perfection_progress_bar)" > 3 } set_bar_progress = { name = je_tp_tsar_crown_of_perfection_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_crown_of_perfection_0_plus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_crown_of_perfection }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_crown_of_perfection  } je:je_tp_tsar_crown_of_perfection = { add_progress = { name = je_tp_tsar_crown_of_perfection_progress_bar value = 10 } if = { limit = { "scripted_bar_progress(je_tp_tsar_crown_of_perfection_progress_bar)" < 0 } set_bar_progress = { name = je_tp_tsar_crown_of_perfection_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_tsar_crown_of_perfection_progress_bar)" > 3 } set_bar_progress = { name = je_tp_tsar_crown_of_perfection_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_crown_of_perfection_0_reset = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_crown_of_perfection }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_crown_of_perfection  } je:je_tp_tsar_crown_of_perfection = { set_bar_progress = { name = je_tp_tsar_crown_of_perfection_progress_bar value = 0 } if = { limit = { "scripted_bar_progress(je_tp_tsar_crown_of_perfection_progress_bar)" < 0 } set_bar_progress = { name = je_tp_tsar_crown_of_perfection_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_tsar_crown_of_perfection_progress_bar)" > 3 } set_bar_progress = { name = je_tp_tsar_crown_of_perfection_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_crown_of_perfection_0_max = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_crown_of_perfection }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_crown_of_perfection  } je:je_tp_tsar_crown_of_perfection = { set_bar_progress = { name = je_tp_tsar_crown_of_perfection_progress_bar value = 3 } if = { limit = { "scripted_bar_progress(je_tp_tsar_crown_of_perfection_progress_bar)" < 0 } set_bar_progress = { name = je_tp_tsar_crown_of_perfection_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_tsar_crown_of_perfection_progress_bar)" > 3 } set_bar_progress = { name = je_tp_tsar_crown_of_perfection_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_unshakable_autocracy_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_unshakable_autocracy }
}

sakuya_journal_je_tp_tsar_unshakable_autocracy_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_tp_tsar_unshakable_autocracy_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tp_tsar_unshakable_autocracy_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_tsar_unshakable_autocracy } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_tsar_unshakable_autocracy } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_tsar_unshakable_autocracy  } } }
}

sakuya_journal_je_tp_tsar_unshakable_autocracy_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_tsar_unshakable_autocracy } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_tsar_unshakable_autocracy } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_tsar_unshakable_autocracy  } } }
}

sakuya_journal_je_tp_tsar_unshakable_autocracy_0_minus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_unshakable_autocracy }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_unshakable_autocracy  } je:je_tp_tsar_unshakable_autocracy = { add_progress = { name = je_tp_tsar_unshakable_autocracy_progress_bar value = -1 } if = { limit = { "scripted_bar_progress(je_tp_tsar_unshakable_autocracy_progress_bar)" < 0 } set_bar_progress = { name = je_tp_tsar_unshakable_autocracy_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_tsar_unshakable_autocracy_progress_bar)" > 3 } set_bar_progress = { name = je_tp_tsar_unshakable_autocracy_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_unshakable_autocracy_0_plus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_unshakable_autocracy }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_unshakable_autocracy  } je:je_tp_tsar_unshakable_autocracy = { add_progress = { name = je_tp_tsar_unshakable_autocracy_progress_bar value = 1 } if = { limit = { "scripted_bar_progress(je_tp_tsar_unshakable_autocracy_progress_bar)" < 0 } set_bar_progress = { name = je_tp_tsar_unshakable_autocracy_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_tsar_unshakable_autocracy_progress_bar)" > 3 } set_bar_progress = { name = je_tp_tsar_unshakable_autocracy_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_unshakable_autocracy_0_minus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_unshakable_autocracy }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_unshakable_autocracy  } je:je_tp_tsar_unshakable_autocracy = { add_progress = { name = je_tp_tsar_unshakable_autocracy_progress_bar value = -10 } if = { limit = { "scripted_bar_progress(je_tp_tsar_unshakable_autocracy_progress_bar)" < 0 } set_bar_progress = { name = je_tp_tsar_unshakable_autocracy_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_tsar_unshakable_autocracy_progress_bar)" > 3 } set_bar_progress = { name = je_tp_tsar_unshakable_autocracy_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_unshakable_autocracy_0_plus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_unshakable_autocracy }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_unshakable_autocracy  } je:je_tp_tsar_unshakable_autocracy = { add_progress = { name = je_tp_tsar_unshakable_autocracy_progress_bar value = 10 } if = { limit = { "scripted_bar_progress(je_tp_tsar_unshakable_autocracy_progress_bar)" < 0 } set_bar_progress = { name = je_tp_tsar_unshakable_autocracy_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_tsar_unshakable_autocracy_progress_bar)" > 3 } set_bar_progress = { name = je_tp_tsar_unshakable_autocracy_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_unshakable_autocracy_0_reset = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_unshakable_autocracy }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_unshakable_autocracy  } je:je_tp_tsar_unshakable_autocracy = { set_bar_progress = { name = je_tp_tsar_unshakable_autocracy_progress_bar value = 0 } if = { limit = { "scripted_bar_progress(je_tp_tsar_unshakable_autocracy_progress_bar)" < 0 } set_bar_progress = { name = je_tp_tsar_unshakable_autocracy_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_tsar_unshakable_autocracy_progress_bar)" > 3 } set_bar_progress = { name = je_tp_tsar_unshakable_autocracy_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_unshakable_autocracy_0_max = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_unshakable_autocracy }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_unshakable_autocracy  } je:je_tp_tsar_unshakable_autocracy = { set_bar_progress = { name = je_tp_tsar_unshakable_autocracy_progress_bar value = 3 } if = { limit = { "scripted_bar_progress(je_tp_tsar_unshakable_autocracy_progress_bar)" < 0 } set_bar_progress = { name = je_tp_tsar_unshakable_autocracy_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_tsar_unshakable_autocracy_progress_bar)" > 3 } set_bar_progress = { name = je_tp_tsar_unshakable_autocracy_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_heir_of_alexander_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_heir_of_alexander }
}

sakuya_journal_je_tp_tsar_heir_of_alexander_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_tp_tsar_heir_of_alexander_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tp_tsar_heir_of_alexander_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_tsar_heir_of_alexander } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_tsar_heir_of_alexander } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_tsar_heir_of_alexander  } } }
}

sakuya_journal_je_tp_tsar_heir_of_alexander_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_tsar_heir_of_alexander } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_tsar_heir_of_alexander } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_tsar_heir_of_alexander  } } }
}

sakuya_journal_je_tp_tsar_heir_of_alexander_0_minus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_heir_of_alexander }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_heir_of_alexander  } je:je_tp_tsar_heir_of_alexander = { add_progress = { name = je_tp_tsar_heir_of_alexander_progress_bar value = -1 } if = { limit = { "scripted_bar_progress(je_tp_tsar_heir_of_alexander_progress_bar)" < 0 } set_bar_progress = { name = je_tp_tsar_heir_of_alexander_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_tsar_heir_of_alexander_progress_bar)" > 3 } set_bar_progress = { name = je_tp_tsar_heir_of_alexander_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_heir_of_alexander_0_plus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_heir_of_alexander }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_heir_of_alexander  } je:je_tp_tsar_heir_of_alexander = { add_progress = { name = je_tp_tsar_heir_of_alexander_progress_bar value = 1 } if = { limit = { "scripted_bar_progress(je_tp_tsar_heir_of_alexander_progress_bar)" < 0 } set_bar_progress = { name = je_tp_tsar_heir_of_alexander_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_tsar_heir_of_alexander_progress_bar)" > 3 } set_bar_progress = { name = je_tp_tsar_heir_of_alexander_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_heir_of_alexander_0_minus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_heir_of_alexander }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_heir_of_alexander  } je:je_tp_tsar_heir_of_alexander = { add_progress = { name = je_tp_tsar_heir_of_alexander_progress_bar value = -10 } if = { limit = { "scripted_bar_progress(je_tp_tsar_heir_of_alexander_progress_bar)" < 0 } set_bar_progress = { name = je_tp_tsar_heir_of_alexander_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_tsar_heir_of_alexander_progress_bar)" > 3 } set_bar_progress = { name = je_tp_tsar_heir_of_alexander_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_heir_of_alexander_0_plus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_heir_of_alexander }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_heir_of_alexander  } je:je_tp_tsar_heir_of_alexander = { add_progress = { name = je_tp_tsar_heir_of_alexander_progress_bar value = 10 } if = { limit = { "scripted_bar_progress(je_tp_tsar_heir_of_alexander_progress_bar)" < 0 } set_bar_progress = { name = je_tp_tsar_heir_of_alexander_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_tsar_heir_of_alexander_progress_bar)" > 3 } set_bar_progress = { name = je_tp_tsar_heir_of_alexander_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_heir_of_alexander_0_reset = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_heir_of_alexander }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_heir_of_alexander  } je:je_tp_tsar_heir_of_alexander = { set_bar_progress = { name = je_tp_tsar_heir_of_alexander_progress_bar value = 0 } if = { limit = { "scripted_bar_progress(je_tp_tsar_heir_of_alexander_progress_bar)" < 0 } set_bar_progress = { name = je_tp_tsar_heir_of_alexander_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_tsar_heir_of_alexander_progress_bar)" > 3 } set_bar_progress = { name = je_tp_tsar_heir_of_alexander_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_tsar_heir_of_alexander_0_max = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_heir_of_alexander }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_tsar_heir_of_alexander  } je:je_tp_tsar_heir_of_alexander = { set_bar_progress = { name = je_tp_tsar_heir_of_alexander_progress_bar value = 3 } if = { limit = { "scripted_bar_progress(je_tp_tsar_heir_of_alexander_progress_bar)" < 0 } set_bar_progress = { name = je_tp_tsar_heir_of_alexander_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(je_tp_tsar_heir_of_alexander_progress_bar)" > 3 } set_bar_progress = { name = je_tp_tsar_heir_of_alexander_progress_bar value = 3 } }  } } }
}

sakuya_journal_je_tp_pool_establish_duma_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_establish_duma }
}

sakuya_journal_je_tp_pool_establish_duma_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_tp_pool_establish_duma_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tp_pool_establish_duma_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_establish_duma } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_establish_duma } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_pool_establish_duma  } } }
}

sakuya_journal_je_tp_pool_establish_duma_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_establish_duma } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_establish_duma } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_pool_establish_duma  } } }
}

sakuya_journal_je_tp_pool_bureaucratic_reform_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_bureaucratic_reform }
}

sakuya_journal_je_tp_pool_bureaucratic_reform_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_tp_pool_bureaucratic_reform_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tp_pool_bureaucratic_reform_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_bureaucratic_reform } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_bureaucratic_reform } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_pool_bureaucratic_reform  } } }
}

sakuya_journal_je_tp_pool_bureaucratic_reform_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_bureaucratic_reform } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_bureaucratic_reform } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_pool_bureaucratic_reform  } } }
}

sakuya_journal_je_tp_pool_educational_reform_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_educational_reform }
}

sakuya_journal_je_tp_pool_educational_reform_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_tp_pool_educational_reform_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tp_pool_educational_reform_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_educational_reform } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_educational_reform } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_pool_educational_reform  } } }
}

sakuya_journal_je_tp_pool_educational_reform_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_educational_reform } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_educational_reform } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_pool_educational_reform  } } }
}

sakuya_journal_je_tp_pool_citizenship_reform_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_citizenship_reform }
}

sakuya_journal_je_tp_pool_citizenship_reform_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_tp_pool_citizenship_reform_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tp_pool_citizenship_reform_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_citizenship_reform } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_citizenship_reform } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_pool_citizenship_reform  } } }
}

sakuya_journal_je_tp_pool_citizenship_reform_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_citizenship_reform } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_citizenship_reform } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_pool_citizenship_reform  } } }
}

sakuya_journal_je_tp_pool_decrease_landowner_influence_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_decrease_landowner_influence }
}

sakuya_journal_je_tp_pool_decrease_landowner_influence_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_tp_pool_decrease_landowner_influence_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tp_pool_decrease_landowner_influence_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_decrease_landowner_influence } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_decrease_landowner_influence } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_pool_decrease_landowner_influence  } } }
}

sakuya_journal_je_tp_pool_decrease_landowner_influence_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_decrease_landowner_influence } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_decrease_landowner_influence } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_pool_decrease_landowner_influence  } } }
}

sakuya_journal_je_tp_pool_abolish_duma_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_abolish_duma }
}

sakuya_journal_je_tp_pool_abolish_duma_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_tp_pool_abolish_duma_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tp_pool_abolish_duma_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_abolish_duma } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_abolish_duma } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_pool_abolish_duma  } } }
}

sakuya_journal_je_tp_pool_abolish_duma_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_abolish_duma } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_abolish_duma } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_pool_abolish_duma  } } }
}

sakuya_journal_je_tp_pool_secret_police_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_secret_police }
}

sakuya_journal_je_tp_pool_secret_police_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_tp_pool_secret_police_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tp_pool_secret_police_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_secret_police } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_secret_police } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_pool_secret_police  } } }
}

sakuya_journal_je_tp_pool_secret_police_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_secret_police } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_secret_police } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_pool_secret_police  } } }
}

sakuya_journal_je_tp_pool_suppress_revolts_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_suppress_revolts }
}

sakuya_journal_je_tp_pool_suppress_revolts_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_tp_pool_suppress_revolts_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tp_pool_suppress_revolts_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_suppress_revolts } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_suppress_revolts } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_pool_suppress_revolts  } } }
}

sakuya_journal_je_tp_pool_suppress_revolts_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_suppress_revolts } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_suppress_revolts } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_pool_suppress_revolts  } } }
}

sakuya_journal_je_tp_pool_suppress_revolts_0_minus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_suppress_revolts }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_suppress_revolts  } je:je_tp_pool_suppress_revolts = { if = { limit = { NOT = { has_variable = tp_suppress_revolts_var } } set_variable = { name = tp_suppress_revolts_var value = 0 } } change_variable = { name = tp_suppress_revolts_var add = -1 } change_variable = { name = tp_suppress_revolts_var max = 0 } } } }
}

sakuya_journal_je_tp_pool_suppress_revolts_0_plus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_suppress_revolts }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_suppress_revolts  } je:je_tp_pool_suppress_revolts = { if = { limit = { NOT = { has_variable = tp_suppress_revolts_var } } set_variable = { name = tp_suppress_revolts_var value = 0 } } change_variable = { name = tp_suppress_revolts_var add = 1 } change_variable = { name = tp_suppress_revolts_var max = 0 } } } }
}

sakuya_journal_je_tp_pool_suppress_revolts_0_minus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_suppress_revolts }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_suppress_revolts  } je:je_tp_pool_suppress_revolts = { if = { limit = { NOT = { has_variable = tp_suppress_revolts_var } } set_variable = { name = tp_suppress_revolts_var value = 0 } } change_variable = { name = tp_suppress_revolts_var add = -10 } change_variable = { name = tp_suppress_revolts_var max = 0 } } } }
}

sakuya_journal_je_tp_pool_suppress_revolts_0_plus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_suppress_revolts }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_suppress_revolts  } je:je_tp_pool_suppress_revolts = { if = { limit = { NOT = { has_variable = tp_suppress_revolts_var } } set_variable = { name = tp_suppress_revolts_var value = 0 } } change_variable = { name = tp_suppress_revolts_var add = 10 } change_variable = { name = tp_suppress_revolts_var max = 0 } } } }
}

sakuya_journal_je_tp_pool_suppress_revolts_0_reset = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_suppress_revolts }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_suppress_revolts  } je:je_tp_pool_suppress_revolts = { set_variable = { name = tp_suppress_revolts_var value = 0 } } } }
}

sakuya_journal_je_tp_pool_develop_capital_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_develop_capital }
}

sakuya_journal_je_tp_pool_develop_capital_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_tp_pool_develop_capital_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tp_pool_develop_capital_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_develop_capital } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_develop_capital } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_pool_develop_capital  } } }
}

sakuya_journal_je_tp_pool_develop_capital_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_develop_capital } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_develop_capital } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_pool_develop_capital  } } }
}

sakuya_journal_je_tp_pool_cultural_dominance_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_cultural_dominance }
}

sakuya_journal_je_tp_pool_cultural_dominance_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_tp_pool_cultural_dominance_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tp_pool_cultural_dominance_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_cultural_dominance } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_cultural_dominance } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_pool_cultural_dominance  } } }
}

sakuya_journal_je_tp_pool_cultural_dominance_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_cultural_dominance } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_cultural_dominance } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_pool_cultural_dominance  } } }
}

sakuya_journal_je_tp_pool_cultural_dominance_0_minus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_cultural_dominance }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_cultural_dominance  } je:je_tp_pool_cultural_dominance = { if = { limit = { NOT = { has_variable = tp_cultural_dominance_var } } set_variable = { name = tp_cultural_dominance_var value = 0 } } change_variable = { name = tp_cultural_dominance_var add = -1 } change_variable = { name = tp_cultural_dominance_var max = 0 } } } }
}

sakuya_journal_je_tp_pool_cultural_dominance_0_plus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_cultural_dominance }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_cultural_dominance  } je:je_tp_pool_cultural_dominance = { if = { limit = { NOT = { has_variable = tp_cultural_dominance_var } } set_variable = { name = tp_cultural_dominance_var value = 0 } } change_variable = { name = tp_cultural_dominance_var add = 1 } change_variable = { name = tp_cultural_dominance_var max = 0 } } } }
}

sakuya_journal_je_tp_pool_cultural_dominance_0_minus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_cultural_dominance }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_cultural_dominance  } je:je_tp_pool_cultural_dominance = { if = { limit = { NOT = { has_variable = tp_cultural_dominance_var } } set_variable = { name = tp_cultural_dominance_var value = 0 } } change_variable = { name = tp_cultural_dominance_var add = -10 } change_variable = { name = tp_cultural_dominance_var max = 0 } } } }
}

sakuya_journal_je_tp_pool_cultural_dominance_0_plus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_cultural_dominance }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_cultural_dominance  } je:je_tp_pool_cultural_dominance = { if = { limit = { NOT = { has_variable = tp_cultural_dominance_var } } set_variable = { name = tp_cultural_dominance_var value = 0 } } change_variable = { name = tp_cultural_dominance_var add = 10 } change_variable = { name = tp_cultural_dominance_var max = 0 } } } }
}

sakuya_journal_je_tp_pool_cultural_dominance_0_reset = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_cultural_dominance }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_cultural_dominance  } je:je_tp_pool_cultural_dominance = { set_variable = { name = tp_cultural_dominance_var value = 0 } } } }
}

sakuya_journal_je_tp_pool_develop_frontier_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_develop_frontier }
}

sakuya_journal_je_tp_pool_develop_frontier_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_tp_pool_develop_frontier_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tp_pool_develop_frontier_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_develop_frontier } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_develop_frontier } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_pool_develop_frontier  } } }
}

sakuya_journal_je_tp_pool_develop_frontier_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_develop_frontier } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_develop_frontier } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_pool_develop_frontier  } } }
}

sakuya_journal_je_tp_pool_build_army_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_build_army }
}

sakuya_journal_je_tp_pool_build_army_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_tp_pool_build_army_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tp_pool_build_army_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_build_army } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_build_army } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_pool_build_army  } } }
}

sakuya_journal_je_tp_pool_build_army_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_build_army } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_build_army } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_pool_build_army  } } }
}

sakuya_journal_je_tp_pool_build_navy_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_pool_build_navy }
}

sakuya_journal_je_tp_pool_build_navy_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_tp_pool_build_navy_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tp_pool_build_navy_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_build_navy } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_build_navy } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_pool_build_navy  } } }
}

sakuya_journal_je_tp_pool_build_navy_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_build_navy } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_pool_build_navy } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_pool_build_navy  } } }
}

sakuya_journal_je_tp_fav_finance_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_fav_finance }
}

sakuya_journal_je_tp_fav_finance_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_tp_fav_finance_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tp_fav_finance_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_finance } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE_SETUP_REQUIRED any_scope_character = { has_role = character_role_favorite } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_finance } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE_SETUP_REQUIRED any_scope_character = { has_role = character_role_favorite } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_fav_finance  } } }
}

sakuya_journal_je_tp_fav_finance_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_finance } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_finance } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_fav_finance  } } }
}

sakuya_journal_je_tp_fav_parochial_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_fav_parochial }
}

sakuya_journal_je_tp_fav_parochial_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_tp_fav_parochial_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tp_fav_parochial_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_parochial } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE_SETUP_REQUIRED any_scope_character = { has_role = character_role_favorite } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite exists = home_state } has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_parochial } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE_SETUP_REQUIRED any_scope_character = { has_role = character_role_favorite } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite exists = home_state } has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_fav_parochial  } } }
}

sakuya_journal_je_tp_fav_parochial_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_parochial } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite exists = home_state } has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_parochial } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite exists = home_state } has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_fav_parochial  } } }
}

sakuya_journal_je_tp_fav_industry_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_fav_industry }
}

sakuya_journal_je_tp_fav_industry_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_tp_fav_industry_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tp_fav_industry_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_industry } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE_SETUP_REQUIRED any_scope_character = { has_role = character_role_favorite } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_industry } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE_SETUP_REQUIRED any_scope_character = { has_role = character_role_favorite } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_fav_industry  } } }
}

sakuya_journal_je_tp_fav_industry_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_industry } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_industry } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_fav_industry  } } }
}

sakuya_journal_je_tp_fav_social_justice_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_fav_social_justice }
}

sakuya_journal_je_tp_fav_social_justice_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_tp_fav_social_justice_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tp_fav_social_justice_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_social_justice } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE_SETUP_REQUIRED any_scope_character = { has_role = character_role_favorite } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_social_justice } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE_SETUP_REQUIRED any_scope_character = { has_role = character_role_favorite } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_fav_social_justice  } } }
}

sakuya_journal_je_tp_fav_social_justice_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_social_justice } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_social_justice } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_fav_social_justice  } } }
}

sakuya_journal_je_tp_fav_bootlicker_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_fav_bootlicker }
}

sakuya_journal_je_tp_fav_bootlicker_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_tp_fav_bootlicker_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tp_fav_bootlicker_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_bootlicker } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE_SETUP_REQUIRED any_scope_character = { has_role = character_role_favorite } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } has_variable = je_tsarpoints_tsar_var exists = ruler any_scope_character = { count >= 3 je_tsarpoints_is_prominent_character = yes is_ruler_of_own_country = no NOT = { has_role = character_role_favorite } } } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_bootlicker } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE_SETUP_REQUIRED any_scope_character = { has_role = character_role_favorite } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } has_variable = je_tsarpoints_tsar_var exists = ruler any_scope_character = { count >= 3 je_tsarpoints_is_prominent_character = yes is_ruler_of_own_country = no NOT = { has_role = character_role_favorite } } } }  add_journal_entry = { type = je_tp_fav_bootlicker  } } }
}

sakuya_journal_je_tp_fav_bootlicker_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_bootlicker } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } has_variable = je_tsarpoints_tsar_var exists = ruler any_scope_character = { count >= 3 je_tsarpoints_is_prominent_character = yes is_ruler_of_own_country = no NOT = { has_role = character_role_favorite } } } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_bootlicker } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } has_variable = je_tsarpoints_tsar_var exists = ruler any_scope_character = { count >= 3 je_tsarpoints_is_prominent_character = yes is_ruler_of_own_country = no NOT = { has_role = character_role_favorite } } } }  add_journal_entry = { type = je_tp_fav_bootlicker  } } }
}

sakuya_journal_je_tp_fav_rasputin_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_fav_rasputin }
}

sakuya_journal_je_tp_fav_rasputin_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_tp_fav_rasputin_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tp_fav_rasputin_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_rasputin } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE_SETUP_REQUIRED any_scope_character = { has_role = character_role_favorite } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } any_scope_character = { has_template = RUS_grigoriy_rasputin } any_scope_character = { has_template = RUS_alexei_ii } has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_rasputin } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE_SETUP_REQUIRED any_scope_character = { has_role = character_role_favorite } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } any_scope_character = { has_template = RUS_grigoriy_rasputin } any_scope_character = { has_template = RUS_alexei_ii } has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_fav_rasputin  } } }
}

sakuya_journal_je_tp_fav_rasputin_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_rasputin } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } any_scope_character = { has_template = RUS_grigoriy_rasputin } any_scope_character = { has_template = RUS_alexei_ii } has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_rasputin } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } any_scope_character = { has_template = RUS_grigoriy_rasputin } any_scope_character = { has_template = RUS_alexei_ii } has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_fav_rasputin  } } }
}

sakuya_journal_je_tp_fav_worldwide_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_fav_worldwide }
}

sakuya_journal_je_tp_fav_worldwide_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_tp_fav_worldwide_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tp_fav_worldwide_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_worldwide } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE_SETUP_REQUIRED any_scope_character = { has_role = character_role_favorite } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_worldwide } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE_SETUP_REQUIRED any_scope_character = { has_role = character_role_favorite } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_fav_worldwide  } } }
}

sakuya_journal_je_tp_fav_worldwide_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_worldwide } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_worldwide } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_fav_worldwide  } } }
}

sakuya_journal_je_tp_fav_war_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } has_journal_entry = je_tp_fav_war }
}

sakuya_journal_je_tp_fav_war_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } exists = c:RUS c:RUS = this }
}

sakuya_journal_je_tp_fav_war_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_tp_fav_war_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_war } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE_SETUP_REQUIRED any_scope_character = { has_role = character_role_favorite } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } any_diplomatically_relevant_country = { je_tsarpoints_is_war_target = yes } has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_war } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED exists = c:RUS c:RUS = this } custom_tooltip = { text = CMP_JE_SETUP_REQUIRED any_scope_character = { has_role = character_role_favorite } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } any_diplomatically_relevant_country = { je_tsarpoints_is_war_target = yes } has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_fav_war  } } }
}

sakuya_journal_je_tp_fav_war_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_war } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } any_diplomatically_relevant_country = { je_tsarpoints_is_war_target = yes } has_variable = je_tsarpoints_tsar_var exists = ruler } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE_NO_DUPLICATE NOT = { has_journal_entry = je_tp_fav_war } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED any_scope_character = { has_role = character_role_favorite } any_diplomatically_relevant_country = { je_tsarpoints_is_war_target = yes } has_variable = je_tsarpoints_tsar_var exists = ruler } }  add_journal_entry = { type = je_tp_fav_war  } } }
}

sakuya_journal_je_forest_of_bayonets_active = {
 scope = country
 is_shown = { is_player = yes always = yes exists = je:je_forest_of_bayonets any_country = { has_journal_entry = je_forest_of_bayonets } }
}

sakuya_journal_je_forest_of_bayonets_compatible = {
 scope = country
 is_shown = { is_player = yes always = yes always = yes }
}

sakuya_journal_je_forest_of_bayonets_catalogue = {
 scope = country
 is_shown = { is_player = yes always = yes  }
}

sakuya_journal_je_forest_of_bayonets_add = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_forest_of_bayonets } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_forest_of_bayonets } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED always = yes } }  add_contextless_journal_entry = je_forest_of_bayonets } }
}

sakuya_journal_je_forest_of_bayonets_force = {
 scope = country
 is_shown = { is_player = yes always = yes  }
 is_valid = { custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_forest_of_bayonets } } }
 effect = { if = { limit = { is_player = yes always = yes  custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_forest_of_bayonets } } }  add_contextless_journal_entry = je_forest_of_bayonets } }
}

sakuya_journal_je_forest_of_bayonets_0_minus = {
 scope = country
 is_shown = { is_player = yes always = yes exists = je:je_forest_of_bayonets any_country = { has_journal_entry = je_forest_of_bayonets } }
 effect = { if = { limit = { is_player = yes always = yes exists = je:je_forest_of_bayonets any_country = { has_journal_entry = je_forest_of_bayonets }  } je:je_forest_of_bayonets = { add_progress = { name = forest_of_bayonets_progress_bar value = -10 } if = { limit = { "scripted_bar_progress(forest_of_bayonets_progress_bar)" < 0 } set_bar_progress = { name = forest_of_bayonets_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(forest_of_bayonets_progress_bar)" > 125 } set_bar_progress = { name = forest_of_bayonets_progress_bar value = 125 } }  } } }
}

sakuya_journal_je_forest_of_bayonets_0_plus = {
 scope = country
 is_shown = { is_player = yes always = yes exists = je:je_forest_of_bayonets any_country = { has_journal_entry = je_forest_of_bayonets } }
 effect = { if = { limit = { is_player = yes always = yes exists = je:je_forest_of_bayonets any_country = { has_journal_entry = je_forest_of_bayonets }  } je:je_forest_of_bayonets = { add_progress = { name = forest_of_bayonets_progress_bar value = 10 } if = { limit = { "scripted_bar_progress(forest_of_bayonets_progress_bar)" < 0 } set_bar_progress = { name = forest_of_bayonets_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(forest_of_bayonets_progress_bar)" > 125 } set_bar_progress = { name = forest_of_bayonets_progress_bar value = 125 } }  } } }
}

sakuya_journal_je_forest_of_bayonets_0_minus_big = {
 scope = country
 is_shown = { is_player = yes always = yes exists = je:je_forest_of_bayonets any_country = { has_journal_entry = je_forest_of_bayonets } }
 effect = { if = { limit = { is_player = yes always = yes exists = je:je_forest_of_bayonets any_country = { has_journal_entry = je_forest_of_bayonets }  } je:je_forest_of_bayonets = { add_progress = { name = forest_of_bayonets_progress_bar value = -100 } if = { limit = { "scripted_bar_progress(forest_of_bayonets_progress_bar)" < 0 } set_bar_progress = { name = forest_of_bayonets_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(forest_of_bayonets_progress_bar)" > 125 } set_bar_progress = { name = forest_of_bayonets_progress_bar value = 125 } }  } } }
}

sakuya_journal_je_forest_of_bayonets_0_plus_big = {
 scope = country
 is_shown = { is_player = yes always = yes exists = je:je_forest_of_bayonets any_country = { has_journal_entry = je_forest_of_bayonets } }
 effect = { if = { limit = { is_player = yes always = yes exists = je:je_forest_of_bayonets any_country = { has_journal_entry = je_forest_of_bayonets }  } je:je_forest_of_bayonets = { add_progress = { name = forest_of_bayonets_progress_bar value = 100 } if = { limit = { "scripted_bar_progress(forest_of_bayonets_progress_bar)" < 0 } set_bar_progress = { name = forest_of_bayonets_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(forest_of_bayonets_progress_bar)" > 125 } set_bar_progress = { name = forest_of_bayonets_progress_bar value = 125 } }  } } }
}

sakuya_journal_je_forest_of_bayonets_0_reset = {
 scope = country
 is_shown = { is_player = yes always = yes exists = je:je_forest_of_bayonets any_country = { has_journal_entry = je_forest_of_bayonets } }
 effect = { if = { limit = { is_player = yes always = yes exists = je:je_forest_of_bayonets any_country = { has_journal_entry = je_forest_of_bayonets }  } je:je_forest_of_bayonets = { set_bar_progress = { name = forest_of_bayonets_progress_bar value = 0 } if = { limit = { "scripted_bar_progress(forest_of_bayonets_progress_bar)" < 0 } set_bar_progress = { name = forest_of_bayonets_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(forest_of_bayonets_progress_bar)" > 125 } set_bar_progress = { name = forest_of_bayonets_progress_bar value = 125 } }  } } }
}

sakuya_journal_je_forest_of_bayonets_0_max = {
 scope = country
 is_shown = { is_player = yes always = yes exists = je:je_forest_of_bayonets any_country = { has_journal_entry = je_forest_of_bayonets } }
 effect = { if = { limit = { is_player = yes always = yes exists = je:je_forest_of_bayonets any_country = { has_journal_entry = je_forest_of_bayonets }  } je:je_forest_of_bayonets = { set_bar_progress = { name = forest_of_bayonets_progress_bar value = 125 } if = { limit = { "scripted_bar_progress(forest_of_bayonets_progress_bar)" < 0 } set_bar_progress = { name = forest_of_bayonets_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(forest_of_bayonets_progress_bar)" > 125 } set_bar_progress = { name = forest_of_bayonets_progress_bar value = 125 } }  } } }
}

sakuya_journal_je_great_game_control_active = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ep1_content has_dlc_feature = ip5_content } exists = je:je_great_game_control any_country = { has_journal_entry = je_great_game_control } }
}

sakuya_journal_je_great_game_control_compatible = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ep1_content has_dlc_feature = ip5_content } OR = { this = c:GBR this = c:RUS } }
}

sakuya_journal_je_great_game_control_catalogue = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ep1_content has_dlc_feature = ip5_content }  }
}

sakuya_journal_je_great_game_control_add = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ep1_content has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_great_game_control } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED OR = { this = c:GBR this = c:RUS } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = c:GBR exists = c:RUS } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ep1_content has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_great_game_control } } custom_tooltip = { text = CMP_JE_COUNTRY_REQUIRED OR = { this = c:GBR this = c:RUS } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = c:GBR exists = c:RUS } }  add_contextless_journal_entry = je_great_game_control } }
}

sakuya_journal_je_great_game_control_force = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ep1_content has_dlc_feature = ip5_content }  }
 is_valid = { custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_great_game_control } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = c:GBR exists = c:RUS } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ep1_content has_dlc_feature = ip5_content }  custom_tooltip = { text = CMP_JE14_NO_GLOBAL_INSTANCE NOT = { exists = je:je_great_game_control } } custom_tooltip = { text = CMP_JE14_SCOPE_REQUIRED exists = c:GBR exists = c:RUS } }  add_contextless_journal_entry = je_great_game_control } }
}

sakuya_journal_je_great_game_control_0_minus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ep1_content has_dlc_feature = ip5_content } exists = je:je_great_game_control any_country = { has_journal_entry = je_great_game_control } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ep1_content has_dlc_feature = ip5_content } exists = je:je_great_game_control any_country = { has_journal_entry = je_great_game_control }  } je:je_great_game_control = { add_progress = { name = great_game_core_progress_bar value = -20 } if = { limit = { "scripted_bar_progress(great_game_core_progress_bar)" < 0 } set_bar_progress = { name = great_game_core_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(great_game_core_progress_bar)" > 200 } set_bar_progress = { name = great_game_core_progress_bar value = 200 } } update_gg_progressbar_tooltips = yes } } }
}

sakuya_journal_je_great_game_control_0_plus = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ep1_content has_dlc_feature = ip5_content } exists = je:je_great_game_control any_country = { has_journal_entry = je_great_game_control } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ep1_content has_dlc_feature = ip5_content } exists = je:je_great_game_control any_country = { has_journal_entry = je_great_game_control }  } je:je_great_game_control = { add_progress = { name = great_game_core_progress_bar value = 20 } if = { limit = { "scripted_bar_progress(great_game_core_progress_bar)" < 0 } set_bar_progress = { name = great_game_core_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(great_game_core_progress_bar)" > 200 } set_bar_progress = { name = great_game_core_progress_bar value = 200 } } update_gg_progressbar_tooltips = yes } } }
}

sakuya_journal_je_great_game_control_0_minus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ep1_content has_dlc_feature = ip5_content } exists = je:je_great_game_control any_country = { has_journal_entry = je_great_game_control } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ep1_content has_dlc_feature = ip5_content } exists = je:je_great_game_control any_country = { has_journal_entry = je_great_game_control }  } je:je_great_game_control = { add_progress = { name = great_game_core_progress_bar value = -200 } if = { limit = { "scripted_bar_progress(great_game_core_progress_bar)" < 0 } set_bar_progress = { name = great_game_core_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(great_game_core_progress_bar)" > 200 } set_bar_progress = { name = great_game_core_progress_bar value = 200 } } update_gg_progressbar_tooltips = yes } } }
}

sakuya_journal_je_great_game_control_0_plus_big = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ep1_content has_dlc_feature = ip5_content } exists = je:je_great_game_control any_country = { has_journal_entry = je_great_game_control } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ep1_content has_dlc_feature = ip5_content } exists = je:je_great_game_control any_country = { has_journal_entry = je_great_game_control }  } je:je_great_game_control = { add_progress = { name = great_game_core_progress_bar value = 200 } if = { limit = { "scripted_bar_progress(great_game_core_progress_bar)" < 0 } set_bar_progress = { name = great_game_core_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(great_game_core_progress_bar)" > 200 } set_bar_progress = { name = great_game_core_progress_bar value = 200 } } update_gg_progressbar_tooltips = yes } } }
}

sakuya_journal_je_great_game_control_0_reset = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ep1_content has_dlc_feature = ip5_content } exists = je:je_great_game_control any_country = { has_journal_entry = je_great_game_control } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ep1_content has_dlc_feature = ip5_content } exists = je:je_great_game_control any_country = { has_journal_entry = je_great_game_control }  } je:je_great_game_control = { set_bar_progress = { name = great_game_core_progress_bar value = 0 } if = { limit = { "scripted_bar_progress(great_game_core_progress_bar)" < 0 } set_bar_progress = { name = great_game_core_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(great_game_core_progress_bar)" > 200 } set_bar_progress = { name = great_game_core_progress_bar value = 200 } } update_gg_progressbar_tooltips = yes } } }
}

sakuya_journal_je_great_game_control_0_max = {
 scope = country
 is_shown = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ep1_content has_dlc_feature = ip5_content } exists = je:je_great_game_control any_country = { has_journal_entry = je_great_game_control } }
 effect = { if = { limit = { is_player = yes OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ep1_content has_dlc_feature = ip5_content } exists = je:je_great_game_control any_country = { has_journal_entry = je_great_game_control }  } je:je_great_game_control = { set_bar_progress = { name = great_game_core_progress_bar value = 200 } if = { limit = { "scripted_bar_progress(great_game_core_progress_bar)" < 0 } set_bar_progress = { name = great_game_core_progress_bar value = 0 } } if = { limit = { "scripted_bar_progress(great_game_core_progress_bar)" > 200 } set_bar_progress = { name = great_game_core_progress_bar value = 200 } } update_gg_progressbar_tooltips = yes } } }
}

sakuya_journal_any_supported = {
 scope = country
 is_shown = { is_player = yes always = yes OR = { AND = { has_journal_entry = je_earn_recognition always = yes } AND = { has_journal_entry = je_corn_laws always = yes } AND = { has_journal_entry = je_suffragists always = yes } AND = { has_journal_entry = je_urbanization_events_1 always = yes } AND = { has_journal_entry = je_urbanization_events_2 always = yes } AND = { has_journal_entry = je_liberalism_1 always = yes } AND = { has_journal_entry = je_liberalism_2 always = yes } AND = { has_journal_entry = je_five_year_plan always = yes } AND = { has_journal_entry = je_secret_police always = yes } AND = { has_journal_entry = je_communism_1 always = yes } AND = { has_journal_entry = je_communism_2 always = yes } AND = { has_journal_entry = je_fascism_1 always = yes } AND = { has_journal_entry = je_abolish_monarchy always = yes } AND = { has_journal_entry = je_skyscraper_site always = yes } AND = { has_journal_entry = je_spanish_flu always = yes } AND = { has_journal_entry = je_opium_obsession always = yes } AND = { has_journal_entry = je_warlord_china always = yes } AND = { has_journal_entry = je_sick_man_main always = yes } AND = { has_journal_entry = je_sick_man_separatism always = yes } AND = { has_journal_entry = je_acw_countdown always = yes } AND = { has_journal_entry = je_acw_reconstruction always = yes } AND = { has_journal_entry = je_acw_wild_wild_west always = yes } AND = { has_journal_entry = je_meiji_restoration always = yes } AND = { has_journal_entry = je_divided_monarchists OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } } AND = { has_journal_entry = je_cement_the_rightful_dynasty OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } } AND = { has_journal_entry = je_dreyfus_affair OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = voice_of_the_people_content } } AND = { has_journal_entry = je_pedro_brazil OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } } AND = { has_journal_entry = je_isabel OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } } AND = { has_journal_entry = je_nihilist_movement always = yes } AND = { has_journal_entry = je_niger_river_expedition always = yes } AND = { has_journal_entry = je_west_america_expedition always = yes } AND = { has_journal_entry = je_central_africa_expedition always = yes } AND = { has_journal_entry = je_antarctica always = yes } AND = { has_journal_entry = je_land_reclamation always = yes } AND = { has_journal_entry = je_amazonas always = yes } AND = { has_journal_entry = je_caudillo always = yes } AND = { has_journal_entry = je_modernizing_paraguay OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = rp1_content } } AND = { has_journal_entry = je_meiji_main always = yes } AND = { has_journal_entry = je_hispanoamerica OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content } } AND = { has_journal_entry = je_reconquista OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content } } AND = { has_journal_entry = je_spa_economic_regeneration_master OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip4_content } } AND = { has_journal_entry = je_conquest_of_tetouan always = yes } AND = { has_journal_entry = je_state_and_revolution always = yes } AND = { has_journal_entry = je_anarchy always = yes } AND = { has_journal_entry = je_extraordinary_commission always = yes } AND = { has_journal_entry = je_social_revolution always = yes } AND = { has_journal_entry = je_bolsheviks OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { exists = je:je_ukraine_cultural_renaissance any_country = { has_journal_entry = je_ukraine_cultural_renaissance } OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { exists = je:je_belarus_cultural_renaissance any_country = { has_journal_entry = je_belarus_cultural_renaissance } OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { exists = je:je_reform_or_revolution any_country = { has_journal_entry = je_reform_or_revolution } always = yes } AND = { exists = je:je_congress_poland any_country = { has_journal_entry = je_congress_poland } OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_russia_provisional_government OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { exists = je:je_russia_civil_war any_country = { has_journal_entry = je_russia_civil_war } OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_russification OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_russian_revolution OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_tsarpoints_master OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_tp_tsar_gendarme_of_europe OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_tp_tsar_great_reform OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_tp_tsar_crown_of_perfection OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_tp_tsar_unshakable_autocracy OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_tp_tsar_heir_of_alexander OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_tp_pool_establish_duma OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_tp_pool_bureaucratic_reform OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_tp_pool_educational_reform OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_tp_pool_citizenship_reform OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_tp_pool_decrease_landowner_influence OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_tp_pool_abolish_duma OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_tp_pool_secret_police OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_tp_pool_suppress_revolts OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_tp_pool_develop_capital OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_tp_pool_cultural_dominance OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_tp_pool_develop_frontier OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_tp_pool_build_army OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_tp_pool_build_navy OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_tp_fav_finance OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_tp_fav_parochial OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_tp_fav_industry OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_tp_fav_social_justice OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_tp_fav_bootlicker OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_tp_fav_rasputin OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_tp_fav_worldwide OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { has_journal_entry = je_tp_fav_war OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ip5_content } } AND = { exists = je:je_forest_of_bayonets any_country = { has_journal_entry = je_forest_of_bayonets } always = yes } AND = { exists = je:je_great_game_control any_country = { has_journal_entry = je_great_game_control } OR = { has_variable = cmp_journal_show_unowned_dlc has_dlc_feature = ep1_content has_dlc_feature = ip5_content } } } }
}
