# CRISIS LEVELS # Levels can be unlocked in the order they are written in this file. A later listed level with lower requirements will not be unlocked until the previous levels have been unlocked. # # level_name = { # perks = { # menp_undertaker # The menace perks that will be applied when the level is unlocked. # menp_ship_chipper # } # required_menace = 0 # The required amount of Menace to unlock the level # allow = { has_completed_special_project_in_log = CRISIS_SPECIAL_PROJECT_1 } # You can only unlock this level when this trigger returns true # # scope COUNTRY, This = country trying to unlock the level # on_unlock = { set_country_flag = CRISIS_LEVEL_FLAG } # an effect that is triggered when you unlock the level # # scope COUNTRY, This = country the level is being unlocked for # } crisis_level_1 = { # REQUIREMENTS required_crisis_currency = 0 # REWARDS perks = { menp_objectives menp_undertaker menp_intimidation } on_unlock = { hidden_effect = { owner = { country_event = { id = crisis.4140 } } } } } crisis_level_2 = { # REQUIREMENTS allow = { custom_tooltip = { success_text = crisis_level_2_req_clear_tooltip fail_text = crisis_level_2_req_tooltip has_country_flag = crisis_special_project_1_complete } hidden_trigger = { NOT = { has_active_event = { crisis.4120 } } } } required_crisis_currency = 1000 # REWARDS perks = { menp_crisis_corvette menp_base_breaker menp_relentless_aggression } on_unlock = { hidden_effect = { owner = { add_event_chain_counter = { event_chain = "become_the_crisis_chain" counter = "crisis_level_reached" amount = 1 } country_event = { id = crisis.4145 days = 3 } } } } } crisis_level_3 = { # REQUIREMENTS allow = { custom_tooltip = { success_text = crisis_level_3_req_clear_tooltip fail_text = crisis_level_3_req_tooltip has_country_flag = crisis_special_project_2_complete } hidden_trigger = { NOT = { has_active_event = { crisis.4125 } } } } required_crisis_currency = 2000 # REWARDS perks = { menp_crisis_destroyer menp_easily_replaced menp_death_from_above menp_ruthless_raiders } on_unlock = { hidden_effect = { owner = { add_event_chain_counter = { event_chain = "become_the_crisis_chain" counter = "crisis_level_reached" amount = 1 } country_event = { id = crisis.4150 days = 3 } } } } } crisis_level_4 = { # REQUIREMENTS allow = { custom_tooltip = { success_text = crisis_level_4_req_clear_tooltip fail_text = crisis_level_4_req_tooltip has_country_flag = crisis_special_project_3_complete } hidden_trigger = { NOT = { has_active_event = { crisis.4130 } } } } required_crisis_currency = 5000 # REWARDS perks = { menp_crisis_cruiser menp_ship_chipper menp_flyswatter } on_unlock = { hidden_effect = { owner = { add_event_chain_counter = { event_chain = "become_the_crisis_chain" counter = "crisis_level_reached" amount = 1 } country_event = { id = crisis.4155 days = 3 } } } } } crisis_level_5 = { # REQUIREMENTS allow = { custom_tooltip = { success_text = crisis_level_5_req_clear_tooltip fail_text = crisis_level_5_req_tooltip has_country_flag = crisis_special_project_4_complete } hidden_trigger = { NOT = { has_active_event = { crisis.4135 } } } is_subject = no } required_crisis_currency = 10000 # REWARDS perks = { menp_megastructure menp_star_eater menp_mobile_bulwark menp_paid_in_ambition } on_unlock = { owner = { if = { limit = { has_federation = yes } leave_alliance = { override_requirements = yes } } tooltip = { if = { limit = { is_galactic_community_formed = yes is_galactic_community_member = yes } remove_from_galactic_community = yes } } } hidden_effect = { # force Declare Crisis resolution through an appropriate party declare_crisis_effect = yes owner = { room_name_override = "" add_event_chain_counter = { event_chain = "become_the_crisis_chain" counter = "crisis_level_reached" amount = 1 } end_event_chain = become_the_crisis_chain country_event = { id = crisis.6000 days = 5 } } } } } crisis_cosmogenesis_level_1 = { # REQUIREMENTS required_crisis_currency = 0 # REWARDS perks = { menp_cosmo_features_1 menp_cosmo_buildings_1 menp_cosmo_techs_1 menp_cosmo_objectives } on_unlock = { add_cosmogenesis_level_1_perks = yes hidden_effect = { owner = { country_event = { id = crisis.7100 } } } } } crisis_cosmogenesis_level_2 = { # REQUIREMENTS allow = { custom_tooltip = { success_text = cosmogenesis_level_2_req_clear_tooltip fail_text = cosmogenesis_level_2_req_tooltip has_technology = tech_cosmogenesis_crisis_1 } } required_crisis_currency = 4000 # REWARDS perks = { menp_cosmo_ship_2 menp_cosmo_buildings_2 menp_cosmo_techs_2 menp_cosmo_features_2 } on_unlock = { add_cosmogenesis_level_2_perks = yes hidden_effect = { owner = { country_event = { id = crisis.7105 } } } } } crisis_cosmogenesis_level_3 = { # REQUIREMENTS allow = { custom_tooltip = { success_text = cosmogenesis_level_3_req_clear_tooltip fail_text = cosmogenesis_level_3_req_tooltip has_technology = tech_cosmogenesis_crisis_2 } } required_crisis_currency = 10000 # REWARDS perks = { menp_cosmo_ship_3 menp_cosmo_buildings_3 menp_cosmo_techs_3 menp_cosmo_features_3 } on_unlock = { add_cosmogenesis_level_3_perks = yes hidden_effect = { owner = { country_event = { id = crisis.7110 } } } } } crisis_cosmogenesis_level_4 = { # REQUIREMENTS allow = { custom_tooltip = { success_text = cosmogenesis_level_4_req_clear_tooltip fail_text = cosmogenesis_level_4_req_tooltip has_technology = tech_cosmogenesis_crisis_3 } custom_tooltip = { fail_text = cosmogenesis_aborted_tt NOT = { has_country_flag = cosmogenesis_aborted } } } required_crisis_currency = 22000 # REWARDS perks = { menp_cosmo_ship_4 menp_cosmo_buildings_4 menp_cosmo_techs_4 menp_cosmo_features_4 } on_unlock = { add_cosmogenesis_level_4_perks = yes hidden_effect = { owner = { country_event = { id = crisis.7115 } set_variable = { which = applied_infinity_thesis value = 0 } } } } } crisis_cosmogenesis_level_5 = { # REQUIREMENTS allow = { custom_tooltip = { success_text = cosmogenesis_level_5_req_clear_tooltip fail_text = cosmogenesis_level_5_req_tooltip has_technology = tech_cosmogenesis_crisis_4 } custom_tooltip = { success_text = cosmogenesis_level_5_req_clear_tooltip_2 fail_text = cosmogenesis_level_5_req_tooltip_2 check_variable = { which = applied_infinity_thesis value >= 2 } } custom_tooltip = { fail_text = cosmogenesis_aborted_tt NOT = { has_country_flag = cosmogenesis_aborted } } is_subject = no } required_crisis_currency = 60000 # REWARDS perks = { menp_cosmo_features_5 menp_cosmo_buildings_5 menp_cosmo_techs_5 } on_unlock = { add_cosmogenesis_level_5_perks = yes hidden_effect = { owner = { country_event = { id = crisis.7120 } } } } } crisis_behemoth_level_1 = { # REQUIREMENTS required_crisis_currency = 0 # REWARDS perks = { menp_behemoth_objectives menp_behemoth_egg menp_behemoth_society_1 menp_behemoth_food_1 } on_unlock = { hidden_effect = { owner = { begin_event_chain = { event_chain = behemoth_crisis_chain target = this } add_event_chain_counter = { event_chain = "behemoth_crisis_chain" counter = "crisis_level_reached" amount = 1 } country_event = { id = biocrisis.50 days = 3 } } } } } crisis_behemoth_level_2 = { # REQUIREMENTS allow = { custom_tooltip = { success_text = crisis_egg_built fail_text = crisis_egg_required has_country_flag = behemoth_egg_built } } required_crisis_currency = 2000 # REWARDS perks = { menp_behemoth_hatchling menp_behemoth_bioship_2 menp_behemoth_society_2 menp_behemoth_food_2 } on_unlock = { hidden_effect = { owner = { add_event_chain_counter = { event_chain = "behemoth_crisis_chain" counter = "crisis_level_reached" amount = 1 } } } owner = { country_event = { id = biocrisis.55 } } } } crisis_behemoth_level_3 = { # REQUIREMENTS allow = { custom_tooltip = { success_text = crisis_egg_hatched fail_text = crisis_hatchling_required has_country_flag = behemoth_egg_hatched } } required_crisis_currency = 6000 # REWARDS perks = { menp_behemoth_bioship_1 menp_behemoth_bioships_3 menp_behemoth_society_3 } on_unlock = { hidden_effect = { owner = { add_event_chain_counter = { event_chain = "behemoth_crisis_chain" counter = "crisis_level_reached" amount = 1 } } } country_event = { id = biocrisis.60 } } } crisis_behemoth_level_4 = { # REQUIREMENTS allow = { custom_tooltip = { success_text = crisis_level_2_req_clear_tooltip fail_text = crisis_level_2_req_tooltip has_country_flag = crisis_special_project_3_complete } } required_crisis_currency = 18000 # REWARDS perks = { menp_behemoth_hatchling_2 menp_behemoth_bioship_4 menp_behemoth_mutation_research } on_unlock = { hidden_effect = { owner = { add_event_chain_counter = { event_chain = "behemoth_crisis_chain" counter = "crisis_level_reached" amount = 1 } country_event = { id = biocrisis.65 days = 3 } } } } } crisis_behemoth_level_5 = { # REQUIREMENTS allow = { is_subject = no custom_tooltip = { success_text = crisis_level_5_req_clear_tooltip fail_text = behemoth_crisis_level_5_req_tooltip has_country_flag = crisis_special_project_4_complete } } required_crisis_currency = 45000 # REWARDS perks = { menp_behemoth_mind_meld menp_behemoth_primal_roar menp_behemoth_ever_hungry menp_behemoth_egg_2 } on_unlock = { hidden_effect = { declare_crisis_effect = yes every_playable_country = { limit = { is_galactic_community_member = no NOT = { is_same_value = owner is_at_war_with = owner } } join_war_on_side = { war = event_target:crisis_war side = event_target:community_war_leader } } owner = { add_event_chain_counter = { event_chain = "behemoth_crisis_chain" counter = "crisis_level_reached" amount = 1 } country_event = { id = biocrisis.70 days = 3 } } } } } crisis_hyperthermia_level_1 = { required_crisis_currency = 0 allow = { is_subject = no custom_tooltip = { success_text = crisis_hyperthermia_lv1_tt fail_text = crisis_hyperthermia_lv1_req_tt has_country_flag = Hyperthermia_Lv1_unlocked } } perks = { menp_hyperthermia_crystals menp_hyperthermia_harnessing menp_hyperthermia_crucible } on_unlock = { hidden_effect = { country_event = { id = infernals.1005 } } } } crisis_hyperthermia_level_2 = { required_crisis_currency = 0 allow = { is_subject = no custom_tooltip = { success_text = crisis_hyperthermia_lv2_tt fail_text = crisis_hyperthermia_lv2_req_tt has_country_flag = Hyperthermia_Lv2_unlocked } } perks = { menp_hyperthermia_radiant menp_hyperthermia_conc_entropy menp_hyperthermia_ignition } on_unlock = { hidden_effect = { country_event = { id = infernals.1010 } } } } crisis_hyperthermia_level_3 = { required_crisis_currency = 0 allow = { is_subject = no custom_tooltip = { success_text = crisis_hyperthermia_lv3_tt fail_text = crisis_hyperthermia_lv3_req_tt has_country_flag = Hyperthermia_Lv3_unlocked } } perks = { menp_hyperthermia_cruiser menp_hyperthermia_coronal menp_hyperthermia_flames } on_unlock = { hidden_effect = { country_event = { id = infernals.1015 } create_ship_design = { design = NAME_Ember_Cruiser } add_ship_design = last_created_design } } } crisis_hyperthermia_level_4 = { required_crisis_currency = 0 allow = { is_subject = no custom_tooltip = { success_text = crisis_hyperthermia_lv4_tt fail_text = crisis_hyperthermia_lv4_req_tt has_country_flag = Hyperthermia_Lv4_unlocked } custom_tooltip = { success_text = crisis_hyperthermia_dec_lv4_tt fail_text = crisis_hyperthermia_lv4_dec_req_tt has_country_flag = Hyperthermia_Lv4_project } custom_tooltip = { fail_text = crisis_hyperthermia_already_ongoing NOT = { has_global_flag = Hyperthermia_ongoing } } custom_tooltip = { fail_text = crisis_hyperthermia_already_happened NOT = { has_global_flag = Hyperthermia_happened } } } perks = { menp_hyperthermia_reactors menp_hyperthermia_solarflare menp_hyperthermia_armada } on_unlock = { hidden_effect = { country_event = { id = infernals.1025 } } } } crisis_hyperthermia_level_5 = { required_crisis_currency = 0 allow = { is_subject = no custom_tooltip = { success_text = crisis_hyperthermia_lv5_tt fail_text = crisis_hyperthermia_lv5_req_tt has_country_flag = Hyperthermia_Lv5_unlocked } custom_tooltip = { fail_text = crisis_hyperthermia_already_ongoing NOT = { has_global_flag = Hyperthermia_ongoing } } custom_tooltip = { fail_text = crisis_hyperthermia_already_happened NOT = { has_global_flag = Hyperthermia_happened } } } perks = { menp_hyperthermia_battleship menp_hyperthermia_critical_mass menp_hyperthermia_ammunition } on_unlock = { hidden_effect = { set_global_flag = Hyperthermia_ongoing country_event = { id = infernals.1030 } create_ship_design = { design = NAME_Ember_Battleship } add_ship_design = last_created_design } } }