situation_last_gift = { picture = GFX_evt_atmospheric_entry complete_icon_frame = GFX_situation_outcome_frame_red complete_icon = GFX_situation_exploding_planet on_progress_complete = { custom_tooltip = situation_exploding_planet_outcome_approach hidden_effect = { situation_event = { id = origin.6175 } } } on_monthly = { events = { origin.6180 } } stages = { stage_1 = { icon = GFX_situation_stage_1 icon_background = GFX_situation_stage_frame_red end = 25 custom_tooltip = stage_edge_of_solar_system } stage_2 = { icon = GFX_situation_stage_2 icon_background = GFX_situation_stage_frame_red end = 80 custom_tooltip = stage_edge_of_solar_system on_first_enter = { situation_event = { id = origin.6185 } } } stage_3 = { icon = GFX_situation_stage_3 icon_background = GFX_situation_stage_frame_red end = 100 custom_tooltip = stage_entered_solar_system } } approach = { name = approach_stop_the_bullet icon = GFX_situation_approach_fist icon_background = GFX_situation_approach_bg_red default = yes on_select = { custom_tooltip = effect_stop_the_bullet } } monthly_progress = { base = 2 modifier = { subtract = 0.5 desc = deflecting_fields_tt has_situation_flag = deflecting_fields } modifier = { subtract = 0.5 desc = reversed_thrusters_tt has_situation_flag = reversed_thrusters } modifier = { subtract = 0.5 desc = counter_shot_tt has_situation_flag = counter_shot } modifier = { subtract = 0.5 desc = controlled_shattering_tt has_situation_flag = controlled_shattering } } abort_trigger = { OR = { NOT = { exists = target.owner } target.owner = { NOT = { is_same_value = root.owner } } } } } situation_fotd_terraforming = { picture = GFX_evt_atmospheric_entry #Should never be player visible so will just use the same values as above. complete_icon_frame = GFX_situation_outcome_frame_red complete_icon = GFX_situation_exploding_planet on_progress_complete = { custom_tooltip = situation_exploding_planet_outcome_approach situation_event = { id = origin.6225 } } stages = { stage_1 = { icon = GFX_situation_stage_1 icon_background = GFX_situation_stage_frame_red end = 10 custom_tooltip = stage_edge_of_solar_system } stage_2 = { icon = GFX_situation_stage_2 icon_background = GFX_situation_stage_frame_red end = 50 on_first_enter = { situation_event = { id = origin.6225 } } } stage_3 = { icon = GFX_situation_stage_3 icon_background = GFX_situation_stage_frame_red end = 99 on_first_enter = { situation_event = { id = origin.6225 } } } stage_4 = { icon = GFX_situation_stage_3 icon_background = GFX_situation_stage_frame_red end = 100 } } approach = {#Should not be player facing so leaving it the same as above name = approach_stop_the_bullet icon = GFX_situation_approach_fist icon_background = GFX_situation_approach_bg_red default = yes on_select = { custom_tooltip = effect_stop_the_bullet } } monthly_progress = { base = 0 modifier = { add = 0.05 desc = deflecting_fields_tt target.space_owner = { has_technology = tech_terrestrial_sculpting } } modifier = { add = 0.05 desc = deflecting_fields_tt target.space_owner = { has_technology = tech_ecological_adaptation } } modifier = { add = 0.05 desc = deflecting_fields_tt target.space_owner = { has_technology = tech_climate_restoration } } modifier = { add = 0.2 desc = deflecting_fields_tt target.space_owner = { has_ascension_perk = ap_world_shaper } } modifier = { add = 0.05 desc = deflecting_fields_tt target.space_owner = { has_ascension_perk = ap_hydrocentric } } modifier = { add = 0.05 desc = deflecting_fields_tt target.space_owner = { has_ascension_perk = ap_detox } } modifier = { add = 0.05 desc = deflecting_fields_tt target.space_owner = { has_valid_civic = civic_idyllic_bloom } } modifier = { add = 0.05 desc = deflecting_fields_tt target.space_owner = { has_ascension_perk = ap_mastery_of_nature } } } abort_trigger = { OR = { NOT = { exists = target.owner } target.owner = { NOT = { is_same_value = root.owner } } } } } situation_observation_insight = {#This is a situation used to track your insights picture = GFX_evt_friendly_enlightenment complete_icon_frame = GFX_situation_outcome_frame_green complete_icon = GFX_situation_outcome_positive category = positive on_progress_complete = { custom_tooltip = situation_insight_gain hidden_effect = { situation_event = { id = fircon.11 } } } stages = { insights = { icon = GFX_situation_stage_pre_ftl icon_background = GFX_situation_stage_frame_green end = 100 custom_tooltip = stage_insight_gathering } } monthly_progress = { base = 0 modifier = { add = owner.observation_post_insight desc = string_observation_post_insight_gain } modifier = { factor = 2 owner = { has_ethic = ethic_fanatic_xenophile } desc = string_observation_post_fan_xeno } modifier = { factor = 1.5 owner = { has_ethic = ethic_xenophile } desc = string_observation_post_xeno } modifier = { factor = 1.5 owner = { has_valid_civic = civic_machine_exploration_protocol } desc = string_observation_post_exploration_protocol } modifier = { factor = 1.25 owner = { has_modifier = hands_off_approach } desc = string_observation_post_hands_off } modifier = { factor = 1.25 owner = { is_galactic_community_formed = yes is_galactic_community_member = yes is_active_resolution = resolution_pre_ftl_stances_non_interference } desc = string_observation_post_gal_com } modifier = { factor = 1.25 current_situation_approach = approach_favor_insights desc = string_current_approach } modifier = { factor = 0.75 current_situation_approach = approach_favor_mission desc = string_current_approach } } approach = { name = approach_favor_insights icon = GFX_situation_approach_research icon_background = GFX_situation_approach_bg_green on_select = { custom_tooltip = favor_insights_tt owner = { set_country_flag = favored_insights remove_country_flag = favored_mission } } modifier = { station_observers_produces_mult = -0.5 } } approach = { name = approach_study_insights icon = GFX_situation_approach_balance_sheet icon_background = GFX_situation_approach_bg_yellow on_select = { custom_tooltip = studying_insights_tt owner = { remove_country_flag = favored_insights remove_country_flag = favored_mission } } } approach = { name = approach_favor_mission icon = GFX_situation_approach_research icon_background = GFX_situation_approach_bg_red on_select = { custom_tooltip = favor_mission_tt owner = { remove_country_flag = favored_insights set_country_flag = favored_mission } } modifier = { station_observers_produces_mult = 0.5 } } abort_trigger = { owner = { count_pre_ftl_within_border = { limit = { has_awareness < 100 } count = 0 } } } } ################################# ### Pre-FTL situations ################################# #Plague Situation situation_pre_ftl_plague = { picture = GFX_evt_disease_outbreak complete_icon_frame = GFX_situation_outcome_frame_blue complete_icon = GFX_situation_outcome_unknown on_start = { set_situation_locked = yes target = { set_planet_flag = has_on_going_observation_situation } } on_abort = { set_situation_locked = yes situation_event = { id = preftl.2049 } # pre-FTL planet is no longer primitive target = { remove_planet_flag = has_on_going_observation_situation } } target_modifier = { biological_pop_happiness = -0.25 biological_logistic_growth_mult = -0.75 } initial_progress = 0 stages = { situation_plague_stage_one = { icon = GFX_situation_stage_1 icon_background = GFX_situation_stage_frame_red end = 35 } situation_plague_stage_two = { icon = GFX_situation_stage_2 icon_background = GFX_situation_stage_frame_red end = 70 on_first_enter = { situation_event = { id = preftl.2002 } } } situation_plague_stage_three = { icon = GFX_situation_stage_3 icon_background = GFX_situation_stage_frame_red end = 100 on_first_enter = { situation_event = { id = preftl.2003 } } } } on_progress_complete = { hidden_effect = { situation_event = { id = preftl.2005 } target = { remove_planet_flag = has_on_going_observation_situation } } custom_tooltip = situation_pre_ftl_plague_outcome_tooltip } monthly_progress = { base = 2 modifier = { desc = string_current_approach add = -1 current_situation_approach = approach_provide_aid } modifier = { desc = string_current_approach add = 1 current_situation_approach = approach_promote_disease } } on_monthly = { random_events = { 85 = 0 15 = preftl.2061 # Random chance of killing a pop } } approach = { name = approach_watch_learn icon = GFX_situation_approach_research icon_background = GFX_situation_approach_bg_yellow on_select = { custom_tooltip = approach_watch_tooltip set_situation_flag = watch_and_learn } allow = { custom_tooltip = { fail_text = approach_singularity_tooltip_fail NOR = { has_situation_flag = provide_aid has_situation_flag = promote_disease } } } } approach = { name = approach_provide_aid icon = GFX_situation_approach_balance_sheet icon_background = GFX_situation_approach_bg_green on_select = { if = { limit = { owner = { has_policy_flag = interference_not_allowed } } owner = { set_policy = { policy = interference option = interference_active cooldown = yes } } } custom_tooltip = approach_aid_tooltip set_situation_flag = provide_aid } allow = { custom_tooltip = { fail_text = approach_singularity_tooltip_fail NOR = { has_situation_flag = watch_and_learn has_situation_flag = promote_disease } } } resources = { category = situations upkeep = { unity = 25 society_research = 25 } upkeep = { trigger = { target.owner.species = { is_lithoid = no } } food = 25 } upkeep = { trigger = { target.owner.species = { is_lithoid = yes } } minerals = 25 } } } approach = { name = approach_promote_disease icon = GFX_situation_approach_this_is_fine icon_background = GFX_situation_approach_bg_red on_select = { if = { limit = { owner = { has_policy_flag = interference_not_allowed } } owner = { set_policy = { policy = interference option = interference_active cooldown = yes } } } custom_tooltip = approach_promote_disease_tooltip set_situation_flag = promote_disease } allow = { custom_tooltip = { fail_text = approach_singularity_tooltip_fail NOR = { has_situation_flag = watch_and_learn has_situation_flag = provide_aid } } } resources = { category = situations upkeep = { unity = 50 society_research = 50 } } } abort_trigger = { OR = { target = { OR = { has_observation_outpost = no NOT = { exists = observation_outpost_owner } } } target.owner = { is_primitive = no } } } } # Observation Situation - Organic Singularity situation_pre_ftl_singularity = { picture = GFX_evt_microscopic_life complete_icon_frame = GFX_situation_outcome_frame_blue complete_icon = GFX_situation_outcome_unknown on_start = { set_situation_locked = yes target = { set_planet_flag = has_on_going_observation_situation } } on_abort = { target = { save_event_target_as = singularity_planet remove_planet_flag = has_on_going_observation_situation } set_situation_locked = yes situation_event = { id = preftl.2165 } # they are no longer alive or pre-FTL } on_progress_complete = { hidden_effect = { situation_event = { id = preftl.2107 } target = { remove_planet_flag = has_on_going_observation_situation } } set_situation_locked = yes } target_modifier = { planet_stability_add = -15 } initial_progress = 0 stages = { situation_singularity_stage_one = { icon = GFX_situation_stage_1 icon_background = GFX_situation_stage_frame_red end = 100 } } on_monthly = { events = { preftl.2102 # 15% Progress preftl.2103 # 20% Progress preftl.2104 # 40% Progress preftl.2105 # 50% Progress preftl.2106 # 80% Progress } } monthly_progress = { base = 2 modifier = { desc = string_current_approach add = -1 current_situation_approach = approach_prevent_singularity } modifier = { desc = string_current_approach add = 1 current_situation_approach = approach_promote_singularity } modifier = { desc = string_current_approach add = 1 has_situation_flag = exponential_growth } } approach = { name = approach_watch_singularity icon = GFX_situation_approach_research icon_background = GFX_situation_approach_bg_yellow on_select = { custom_tooltip = approach_watch_singularity_tooltip set_situation_flag = watch_singularity } allow = { custom_tooltip = approach_allow_tooltip hidden_trigger = { NOR = { has_situation_flag = prevent_singularity has_situation_flag = promote_singularity } } } } approach = { name = approach_prevent_singularity icon = GFX_situation_approach_genetics icon_background = GFX_situation_approach_bg_yellow on_select = { if = { limit = { owner = { has_policy_flag = interference_not_allowed } } owner = { set_policy = { policy = interference option = interference_active cooldown = yes } } } custom_tooltip = approach_prevent_singularity_tooltip set_situation_flag = prevent_singularity } allow = { custom_tooltip = approach_allow_tooltip hidden_trigger = { NOR = { has_situation_flag = watch_singularity has_situation_flag = promote_singularity } } } resources = { category = situations upkeep = { unity = 25 physics_research = 25 } } } approach = { name = approach_promote_singularity icon = GFX_situation_approach_genetics icon_background = GFX_situation_approach_bg_yellow on_select = { if = { limit = { owner = { has_policy_flag = interference_not_allowed } } owner = { set_policy = { policy = interference option = interference_active cooldown = yes } } } custom_tooltip = approach_promote_singularity_tooltip set_situation_flag = promote_singularity } allow = { custom_tooltip = approach_allow_tooltip hidden_trigger = { NOR = { has_situation_flag = watch_singularity has_situation_flag = prevent_singularity } } } resources = { category = situations upkeep = { unity = 50 physics_research = 50 } } } abort_trigger = { OR = { NOT = { exists = target.owner } target.owner = { is_primitive = no } } } } # Observation Situation - New World Order situation_pre_ftl_nwo = { picture = GFX_evt_open_revolt complete_icon_frame = GFX_situation_outcome_frame_blue complete_icon = GFX_situation_outcome_unknown on_start = { set_situation_locked = yes target = { set_planet_flag = has_on_going_observation_situation } } on_abort = { target = { save_event_target_as = singularity_planet remove_planet_flag = has_on_going_observation_situation } situation_event = { id = preftl.2165 } # they are no longer alive or pre-FTL } on_progress_complete = { hidden_effect = { target = { remove_planet_flag = has_on_going_observation_situation } switch = { trigger = current_situation_approach approach_watch_nwo = { random_list = { 50 = { situation_event = { id = preftl.2200 } } 50 = { situation_event = { id = preftl.2205 } } } } approach_aid_leader = { random_list = { 75 = { modifier = { add = 15 OR = { has_situation_flag = aid_leader_05 has_situation_flag = aid_leader_06 } } situation_event = { id = preftl.2200 } } 25 = { modifier = { add = -15 OR = { has_situation_flag = aid_leader_05 has_situation_flag = aid_leader_06 } } situation_event = { id = preftl.2205 } } } } approach_aid_rebels = { random_list = { 75 = { modifier = { add = 15 OR = { has_situation_flag = aid_rebels_05 has_situation_flag = aid_rebels_06 } } situation_event = { id = preftl.2205 } } 25 = { modifier = { add = -15 OR = { has_situation_flag = aid_rebels_05 has_situation_flag = aid_rebels_06 } } situation_event = { id = preftl.2200 } } } } } } set_situation_locked = yes } target_modifier = { planet_stability_add = -15 pop_happiness = -0.10 } initial_progress = 0 stages = { situation_nwo_stage_one = { icon = GFX_situation_stage_1 icon_background = GFX_situation_stage_frame_red end = 25 target_modifier = { planet_stability_add = -5 pop_happiness = -0.05 } } situation_nwo_stage_two = { icon = GFX_situation_stage_2 icon_background = GFX_situation_stage_frame_red end = 50 target_modifier = { planet_stability_add = -10 pop_happiness = -0.10 } on_first_enter = { switch = { trigger = current_situation_approach approach_watch_nwo = { random_list = { 50 = { situation_event = { id = preftl.2170 } } 50 = { situation_event = { id = preftl.2175 } } } } approach_aid_leader = { random_list = { 60 = { situation_event = { id = preftl.2170 } } 40 = { situation_event = { id = preftl.2175 } } } } approach_aid_rebels = { random_list = { 60 = { situation_event = { id = preftl.2170 } } 40 = { situation_event = { id = preftl.2175 } } } } } } } situation_nwo_stage_three = { icon = GFX_situation_stage_3 icon_background = GFX_situation_stage_frame_red end = 75 target_modifier = { planet_stability_add = -15 pop_happiness = -0.25 } on_first_enter = { switch = { trigger = current_situation_approach approach_watch_nwo = { random_list = { 50 = { situation_event = { id = preftl.2180 } } 50 = { situation_event = { id = preftl.2185 } } } } approach_aid_leader = { random_list = { 60 = { modifier = { add = 10 OR = { has_situation_flag = aid_leader_01 has_situation_flag = aid_leader_02 } } situation_event = { id = preftl.2180 } } 40 = { modifier = { add = -10 OR = { has_situation_flag = aid_leader_01 has_situation_flag = aid_leader_02 } } situation_event = { id = preftl.2185 } } } } approach_aid_rebels = { random_list = { 60 = { modifier = { add = 10 OR = { has_situation_flag = aid_rebels_01 has_situation_flag = aid_rebels_02 } } situation_event = { id = preftl.2185 } } 40 = { modifier = { add = -10 OR = { has_situation_flag = aid_rebels_01 has_situation_flag = aid_rebels_02 } } situation_event = { id = preftl.2180 } } } } } } } situation_nwo_stage_four = { icon = GFX_situation_stage_4 icon_background = GFX_situation_stage_frame_red end = 100 target_modifier = { planet_stability_add = -20 pop_happiness = -0.30 } on_first_enter = { switch = { trigger = current_situation_approach approach_watch_nwo = { random_list = { 50 = { situation_event = { id = preftl.2190 } } 50 = { situation_event = { id = preftl.2195 } } } } approach_aid_leader = { random_list = { 60 = { modifier = { add = 10 OR = { has_situation_flag = aid_leader_03 has_situation_flag = aid_leader_04 } } situation_event = { id = preftl.2190 } } 40 = { modifier = { add = -10 OR = { has_situation_flag = aid_leader_03 has_situation_flag = aid_leader_04 } } situation_event = { id = preftl.2195 } } } } approach_aid_rebels = { random_list = { 60 = { modifier = { add = 10 OR = { has_situation_flag = aid_rebels_03 has_situation_flag = aid_rebels_04 } } situation_event = { id = preftl.2195 } } 40 = { modifier = { add = -10 OR = { has_situation_flag = aid_rebels_03 has_situation_flag = aid_rebels_04 } } situation_event = { id = preftl.2190 } } } } } } } } monthly_progress = { base = 2 } approach = { name = approach_watch_nwo icon = GFX_situation_approach_research icon_background = GFX_situation_approach_bg_yellow on_select = { custom_tooltip = approach_watch_nwo_tooltip set_situation_flag = watch_nwo } } approach = { name = approach_aid_leader icon = GFX_situation_approach_influence icon_background = GFX_situation_approach_bg_yellow on_select = { if = { limit = { owner = { has_policy_flag = interference_not_allowed } } owner = { set_policy = { policy = interference option = interference_active cooldown = yes } } } custom_tooltip = approach_aid_leader_tooltip set_situation_flag = aid_leader } resources = { category = situations upkeep = { unity = 25 energy = 50 minerals = 50 alloys = 25 } } } approach = { name = approach_aid_rebels icon = GFX_situation_approach_suspicious icon_background = GFX_situation_approach_bg_yellow on_select = { if = { limit = { owner = { has_policy_flag = interference_not_allowed } } owner = { set_policy = { policy = interference option = interference_active cooldown = yes } } } custom_tooltip = approach_aid_rebels_tooltip set_situation_flag = aid_rebels } resources = { category = situations upkeep = { unity = 25 energy = 100 minerals = 100 alloys = 50 } } } abort_trigger = { OR = { NOT = { exists = target.owner } target.owner = { is_primitive = no } } } }