StellarisMods/No Menacing Ships/common/crisis_levels/nms_crisis_levels.txt
2024-06-16 01:31:43 -04:00

178 lines
3.2 KiB
Text

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 = {
nms_corvette_cost_optimization
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 = {
nms_destroyer_cost_optimization
menp_easily_replaced
menp_death_from_above
nms_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 = {
nms_capital_cost_optimization
menp_ship_chipper
nms_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
nms_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 }
}
}
}
}