5775 lines
106 KiB
Text
5775 lines
106 KiB
Text
@resolution_weight_hated = 3
|
|
@resolution_weight_disliked = 4
|
|
@resolution_weight_unpopular = 5
|
|
@resolution_weight_normal = 6
|
|
@resolution_weight_popular = 6.5
|
|
@resolution_weight_loved = 7
|
|
|
|
@resolution_cost_t1 = 100
|
|
@resolution_cost_t2 = 150
|
|
@resolution_cost_t3 = 200
|
|
@resolution_cost_t4 = 250
|
|
@resolution_cost_t5 = 300
|
|
@resolution_cost_denounce = 25
|
|
|
|
@resolution_flag_timer = 360
|
|
|
|
#example_resolution = {
|
|
# icon = "name of the icon key"
|
|
# resources = {} # cost and category
|
|
# target = yes/no # if this resolution requires a target country
|
|
# harmful = yes/no # if the AI should consider this harmful when choosing target
|
|
# modifier = {} # modifier to be applied to all community members if passed
|
|
# triggered_modifier = {} # triggered modifier to be applied, scope is country
|
|
# effect = {} # effect to be applied if passed, scope is proposer unless there is a target country - then scope is target country, with proposer in from scope
|
|
# fail_effects = {} # effect to be applied if failed, scope is proposer unless there is a target country - then scope is target country, with proposer in from scope
|
|
# potential = {} # potential trigger, scope is country
|
|
# allow = {} # allow trigger, scope is country
|
|
# active = {} # Enacted resolutions are cancelled if this trigger fails
|
|
#
|
|
# ai_weight = {} # ai weight modifiers, scope is country. from scope is the target country for targeted resolutions
|
|
# NOTE: all ai_weight modifiers are multiplicative. The end result is also multiplied with a factor based on the opinion towards the proposer and/or target,
|
|
# see RESOLUTION_TARGET_OPINION_MIN_FACTOR etc. in 00_defines.txt. Also see RESOLUTION_VOTE_SUPPORT_THRESHOLD etc. for balancing the values.
|
|
#
|
|
# valid_target = {} # valid targets trigger, scope is country
|
|
#}
|
|
|
|
# NOTE: Remember to add Resolutions to a Resolution Category!
|
|
|
|
### DECLARE CRISIS
|
|
|
|
resolution_declare_crisis = {
|
|
icon = "GFX_resolution_declare_crisis"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t5
|
|
}
|
|
}
|
|
|
|
target = yes
|
|
harmful = yes
|
|
|
|
valid_target = {
|
|
NOT = { is_same_value = from }
|
|
OR = {
|
|
is_country_type = default
|
|
AND = {
|
|
is_fallen_empire = yes
|
|
NOT = { has_global_flag = war_in_heaven_ongoing }
|
|
}
|
|
}
|
|
NOT = { has_country_flag = declared_crisis }
|
|
}
|
|
|
|
modifier = {
|
|
starbase_shipyard_build_speed_mult = 0.20
|
|
ships_upkeep_mult = -0.1
|
|
}
|
|
|
|
effect = {
|
|
custom_tooltip = resolution_declare_crisis_tooltip
|
|
hidden_effect = {
|
|
if = {
|
|
limit = { is_galactic_community_member = yes }
|
|
remove_from_galactic_community = yes
|
|
}
|
|
if = {
|
|
limit = {
|
|
is_galactic_council_established = yes
|
|
is_part_of_galactic_council = yes
|
|
}
|
|
remove_from_galactic_council = yes
|
|
}
|
|
every_subject = {
|
|
if = {
|
|
limit = { is_galactic_community_member = yes }
|
|
remove_from_galactic_community = yes
|
|
}
|
|
if = {
|
|
limit = {
|
|
is_galactic_council_established = yes
|
|
is_part_of_galactic_council = yes
|
|
}
|
|
remove_from_galactic_council = yes
|
|
}
|
|
}
|
|
set_country_flag = declared_crisis
|
|
save_event_target_as = new_crisis
|
|
country_event = { id = crisis.4105 }
|
|
every_playable_country = {
|
|
limit = {
|
|
is_ai = no
|
|
NOT = { is_same_value = prev }
|
|
}
|
|
country_event = { id = crisis.4100 }
|
|
}
|
|
if = {
|
|
limit = { has_galactic_custodian = yes }
|
|
galactic_custodian = {
|
|
save_event_target_as = community_war_leader
|
|
if = {
|
|
limit = { is_in_federation_with = event_target:new_crisis }
|
|
event_target:new_crisis = {
|
|
leave_alliance = { override_requirements = yes }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
else_if = {
|
|
limit = { has_galactic_emperor = yes }
|
|
galactic_emperor = {
|
|
save_event_target_as = community_war_leader
|
|
}
|
|
}
|
|
else = {
|
|
random_playable_country = {
|
|
limit = {
|
|
is_galactic_community_member = yes
|
|
NOT = { is_in_federation_with = event_target:new_crisis }
|
|
}
|
|
weights = {
|
|
base = 1
|
|
modifier = {
|
|
add = 10000
|
|
galactic_community_rank = 1
|
|
}
|
|
modifier = {
|
|
add = 1000
|
|
galactic_community_rank = 2
|
|
}
|
|
modifier = {
|
|
add = 100
|
|
galactic_community_rank = 3
|
|
}
|
|
modifier = {
|
|
add = 10
|
|
is_galactic_council_established = yes
|
|
is_part_of_galactic_council = yes
|
|
}
|
|
}
|
|
save_event_target_as = community_war_leader
|
|
}
|
|
}
|
|
|
|
declare_crisis_war_effect = yes
|
|
}
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
has_galactic_emperor = no
|
|
is_part_of_galactic_council = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_hated
|
|
|
|
# Should almost always declare on Crisis countries in end game
|
|
modifier = {
|
|
factor = 50
|
|
from = {
|
|
has_country_flag = crisis_sphere_revealed
|
|
}
|
|
desc = gal_com_crisis_sphere_revealed
|
|
}
|
|
|
|
# More likely to declare on very powerful homicidal empires
|
|
modifier = {
|
|
factor = 10
|
|
from = {
|
|
is_homicidal = yes
|
|
relative_power = {
|
|
who = prev
|
|
category = fleet
|
|
value = overwhelming
|
|
}
|
|
}
|
|
desc = gal_com_target_is_very_strong_homicidal_empire
|
|
}
|
|
# More likely to declare on very powerful homicidal empires
|
|
modifier = {
|
|
factor = 5
|
|
from = {
|
|
is_homicidal = yes
|
|
relative_power = {
|
|
who = prev
|
|
category = fleet
|
|
value = superior
|
|
}
|
|
}
|
|
desc = gal_com_target_is_strong_homicidal_empire
|
|
}
|
|
|
|
# More likely to declare on rivals
|
|
modifier = {
|
|
factor = 2
|
|
is_rival = from
|
|
desc = gal_com_target_is_rival
|
|
}
|
|
|
|
# Never on yourself
|
|
modifier = {
|
|
factor = 0
|
|
is_same_value = from
|
|
desc = gal_com_target_is_me
|
|
}
|
|
|
|
# More likely to declare on a crisis country that has started cracking stars
|
|
modifier = {
|
|
factor = 6
|
|
from = { has_country_flag = cracked_first_star }
|
|
desc = gal_com_target_has_cracked_stars
|
|
}
|
|
|
|
# Should be reluctant to use on normal countries
|
|
modifier = {
|
|
factor = 0.2
|
|
OR = {
|
|
from = {
|
|
is_homicidal = no
|
|
NOR = {
|
|
has_country_flag = crisis_sphere_revealed
|
|
has_country_flag = cracked_first_star
|
|
is_at_war_with = root
|
|
}
|
|
}
|
|
}
|
|
desc = gal_com_target_is_a_normal_empire
|
|
}
|
|
|
|
# Very unlikely to use on Custodian
|
|
modifier = {
|
|
factor = 0.2
|
|
from = { is_galactic_custodian = yes }
|
|
desc = gal_com_target_is_the_custodian
|
|
}
|
|
|
|
# Unlikely to use on scary Fallen Empire
|
|
modifier = {
|
|
factor = 0.2
|
|
from = {
|
|
is_fallen_empire = yes
|
|
relative_power = {
|
|
who = prev
|
|
category = fleet
|
|
value = overwhelming
|
|
}
|
|
}
|
|
desc = gal_com_target_is_powerful_fallen_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.5
|
|
from = {
|
|
NOR = {
|
|
has_ascension_perk = ap_become_the_crisis
|
|
has_ascension_perk = ap_cosmogenesis
|
|
}
|
|
}
|
|
desc = gal_com_target_does_not_have_crisis_perk
|
|
}
|
|
|
|
modifier = {
|
|
factor = 2
|
|
from = {
|
|
has_crisis_level = crisis_level_3
|
|
}
|
|
has_intel_level = {
|
|
who = from
|
|
category = government
|
|
level >= 2
|
|
}
|
|
desc = gal_com_crisis_level_3
|
|
}
|
|
|
|
modifier = {
|
|
factor = 2
|
|
from = {
|
|
has_crisis_level = crisis_level_4
|
|
}
|
|
desc = gal_com_crisis_level_4
|
|
}
|
|
|
|
modifier = {
|
|
factor = 5
|
|
from = {
|
|
has_crisis_level = crisis_level_5
|
|
}
|
|
desc = gal_com_crisis_level_5
|
|
}
|
|
}
|
|
}
|
|
|
|
resolution_repeal_crisis = {
|
|
icon = "GFX_resolution_repeal_red"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t5
|
|
}
|
|
}
|
|
|
|
target = yes
|
|
harmful = no
|
|
|
|
valid_target = {
|
|
OR = {
|
|
is_country_type = default
|
|
is_fallen_empire = yes
|
|
}
|
|
has_country_flag = declared_crisis
|
|
}
|
|
|
|
effect = {
|
|
hidden_effect = {
|
|
remove_country_flag = declared_crisis
|
|
save_event_target_as = former_crisis
|
|
random_war = {
|
|
limit = {
|
|
using_war_goal = {
|
|
type = wg_declared_crisis
|
|
owner = event_target:former_crisis
|
|
}
|
|
}
|
|
every_war_participant = {
|
|
limit = {
|
|
NOT = { is_same_value = event_target:former_crisis }
|
|
}
|
|
country_event = { id = crisis.4110 }
|
|
}
|
|
every_war_participant = {
|
|
prev = {
|
|
remove_war_participant = prev
|
|
}
|
|
}
|
|
}
|
|
country_event = { id = crisis.4111 }
|
|
}
|
|
}
|
|
|
|
potential = {
|
|
has_galactic_emperor = no
|
|
has_nemesis = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_hated
|
|
|
|
# More likely to repeal if it's a normal country
|
|
modifier = {
|
|
factor = 4
|
|
from = {
|
|
is_homicidal = no
|
|
NOR = {
|
|
has_country_flag = crisis_sphere_revealed
|
|
has_country_flag = cracked_first_star
|
|
has_crisis_level = crisis_level_5
|
|
}
|
|
}
|
|
desc = gal_com_target_is_a_normal_empire
|
|
}
|
|
|
|
# Should be very unlikely to repeal end game crisis country
|
|
modifier = {
|
|
factor = 0.2
|
|
from = {
|
|
OR = {
|
|
has_country_flag = crisis_sphere_revealed
|
|
has_country_flag = cracked_first_star
|
|
}
|
|
}
|
|
desc = gal_com_target_is_a_crisis_empire
|
|
}
|
|
|
|
# Unlikely to repeal very powerful homicidal countries
|
|
modifier = {
|
|
factor = 0.2
|
|
from = {
|
|
is_homicidal = yes
|
|
relative_power = {
|
|
who = prev
|
|
category = fleet
|
|
value = overwhelming
|
|
}
|
|
}
|
|
desc = gal_com_target_is_strong_homicidal_empire
|
|
}
|
|
}
|
|
}
|
|
|
|
resolution_declare_crisis_empire = {
|
|
icon = "GFX_resolution_declare_crisis"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t5
|
|
}
|
|
}
|
|
|
|
target = yes
|
|
harmful = yes
|
|
|
|
valid_target = {
|
|
NOT = { is_same_value = from }
|
|
is_galactic_emperor = no
|
|
OR = {
|
|
is_country_type = default
|
|
AND = {
|
|
is_fallen_empire = yes
|
|
NOT = { has_global_flag = war_in_heaven_ongoing }
|
|
}
|
|
}
|
|
NOT = { has_country_flag = declared_crisis }
|
|
}
|
|
|
|
modifier = {
|
|
starbase_shipyard_build_speed_mult = 0.20
|
|
ships_upkeep_mult = -0.1
|
|
}
|
|
|
|
effect = {
|
|
custom_tooltip = resolution_declare_crisis_empire_tooltip
|
|
hidden_effect = {
|
|
if = {
|
|
limit = { is_galactic_community_member = yes }
|
|
remove_from_galactic_community = yes
|
|
}
|
|
if = {
|
|
limit = {
|
|
is_galactic_council_established = yes
|
|
is_part_of_galactic_council = yes
|
|
}
|
|
remove_from_galactic_council = yes
|
|
}
|
|
every_subject = {
|
|
if = {
|
|
limit = { is_galactic_community_member = yes }
|
|
remove_from_galactic_community = yes
|
|
}
|
|
if = {
|
|
limit = {
|
|
is_galactic_council_established = yes
|
|
is_part_of_galactic_council = yes
|
|
}
|
|
remove_from_galactic_council = yes
|
|
}
|
|
}
|
|
|
|
set_country_flag = declared_crisis
|
|
save_event_target_as = new_crisis
|
|
country_event = { id = crisis.4106 }
|
|
every_playable_country = {
|
|
limit = {
|
|
is_ai = no
|
|
NOT = { is_same_value = prev }
|
|
}
|
|
country_event = { id = crisis.4101 }
|
|
}
|
|
galactic_emperor = {
|
|
save_event_target_as = community_war_leader
|
|
}
|
|
declare_crisis_war_effect = yes
|
|
}
|
|
}
|
|
|
|
potential = {
|
|
has_galactic_emperor = yes
|
|
has_nemesis = yes
|
|
is_part_of_galactic_council = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_hated
|
|
|
|
# Should almost always declare on Crisis countries in end game
|
|
modifier = {
|
|
factor = 50
|
|
from = {
|
|
has_country_flag = crisis_sphere_revealed
|
|
}
|
|
desc = gal_com_crisis_sphere_revealed
|
|
}
|
|
|
|
# More likely to declare on very powerful homicidal empires
|
|
modifier = {
|
|
factor = 10
|
|
from = {
|
|
is_homicidal = yes
|
|
relative_power = {
|
|
who = prev
|
|
category = fleet
|
|
value = overwhelming
|
|
}
|
|
}
|
|
desc = gal_com_target_is_very_strong_homicidal_empire
|
|
}
|
|
# More likely to declare on very powerful homicidal empires
|
|
modifier = {
|
|
factor = 5
|
|
from = {
|
|
is_homicidal = yes
|
|
relative_power = {
|
|
who = prev
|
|
category = fleet
|
|
value = superior
|
|
}
|
|
}
|
|
desc = gal_com_target_is_strong_homicidal_empire
|
|
}
|
|
|
|
# More likely to declare on rivals
|
|
modifier = {
|
|
factor = 2
|
|
is_rival = from
|
|
desc = gal_com_target_is_rival
|
|
}
|
|
|
|
# Never on yourself
|
|
modifier = {
|
|
factor = 0
|
|
is_same_value = from
|
|
desc = gal_com_target_is_me
|
|
}
|
|
|
|
# More likely to declare on empire who hvae cracked a star
|
|
modifier = {
|
|
factor = 6
|
|
from = { has_country_flag = cracked_first_star }
|
|
desc = gal_com_target_has_cracked_stars
|
|
}
|
|
|
|
# Should be reluctant to use on normal countries
|
|
modifier = {
|
|
factor = 0.2
|
|
OR = {
|
|
from = {
|
|
is_homicidal = no
|
|
NOR = {
|
|
has_country_flag = crisis_sphere_revealed
|
|
has_country_flag = cracked_first_star
|
|
}
|
|
}
|
|
}
|
|
desc = gal_com_target_is_a_normal_empire
|
|
}
|
|
|
|
# Very unlikely to use on Custodian
|
|
modifier = {
|
|
factor = 0.2
|
|
from = { is_galactic_custodian = yes }
|
|
desc = gal_com_target_is_the_custodian
|
|
}
|
|
|
|
# Unlikely to use on scary Fallen Empire
|
|
modifier = {
|
|
factor = 0.2
|
|
from = {
|
|
is_fallen_empire = yes
|
|
relative_power = {
|
|
who = prev
|
|
category = fleet
|
|
value = overwhelming
|
|
}
|
|
}
|
|
desc = gal_com_target_is_powerful_fallen_empire
|
|
}
|
|
}
|
|
}
|
|
|
|
resolution_repeal_crisis_empire = {
|
|
icon = "GFX_resolution_repeal_red"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t5
|
|
}
|
|
}
|
|
|
|
target = yes
|
|
harmful = no
|
|
|
|
valid_target = {
|
|
OR = {
|
|
is_country_type = default
|
|
is_fallen_empire = yes
|
|
}
|
|
has_country_flag = declared_crisis
|
|
}
|
|
|
|
effect = {
|
|
hidden_effect = {
|
|
remove_country_flag = declared_crisis
|
|
save_event_target_as = former_crisis
|
|
random_playable_country = {
|
|
limit = { is_galactic_emperor = yes }
|
|
save_event_target_as = gal_emperor
|
|
}
|
|
random_war = {
|
|
limit = {
|
|
using_war_goal = {
|
|
type = wg_declared_crisis
|
|
owner = event_target:former_crisis
|
|
}
|
|
}
|
|
every_war_participant = {
|
|
limit = {
|
|
NOT = { is_same_value = event_target:former_crisis }
|
|
}
|
|
country_event = { id = crisis.4112 }
|
|
}
|
|
every_war_participant = {
|
|
prev = {
|
|
remove_war_participant = prev
|
|
}
|
|
}
|
|
}
|
|
country_event = { id = crisis.4113 }
|
|
}
|
|
}
|
|
|
|
potential = {
|
|
has_galactic_emperor = yes
|
|
has_nemesis = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_hated
|
|
|
|
# More likely to repeal if it's a normal country
|
|
modifier = {
|
|
factor = 4
|
|
from = {
|
|
is_homicidal = no
|
|
NOR = {
|
|
has_country_flag = crisis_sphere_revealed
|
|
has_country_flag = cracked_first_star
|
|
}
|
|
}
|
|
desc = gal_com_target_is_a_normal_empire
|
|
}
|
|
|
|
# Should be very unlikely to repeal end game crisis country
|
|
modifier = {
|
|
factor = 0.2
|
|
from = {
|
|
OR = {
|
|
has_country_flag = crisis_sphere_revealed
|
|
has_country_flag = cracked_first_star
|
|
}
|
|
}
|
|
desc = gal_com_target_is_a_crisis_empire
|
|
}
|
|
|
|
# Unlikely to repeal very powerful homicidal countries
|
|
modifier = {
|
|
factor = 0.2
|
|
from = {
|
|
is_homicidal = yes
|
|
relative_power = {
|
|
who = prev
|
|
category = fleet
|
|
value = overwhelming
|
|
}
|
|
}
|
|
desc = gal_com_target_is_very_strong_homicidal_empire
|
|
}
|
|
}
|
|
}
|
|
|
|
### GALACTIC CUSTODIANSHIP
|
|
|
|
# Nominate Custodian
|
|
resolution_galacticreforms_nominate_custodian = {
|
|
icon = "GFX_resolution_nominate_custodian"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t5
|
|
}
|
|
}
|
|
|
|
target = yes
|
|
harmful = no
|
|
valid_target = {
|
|
is_country_type = default
|
|
is_galactic_community_member = yes
|
|
is_part_of_galactic_council = yes
|
|
custom_tooltip = {
|
|
fail_text = "nominate_other_custodian_requires_independence"
|
|
is_subject = no
|
|
}
|
|
custom_tooltip = {
|
|
fail_text = "nominate_other_custodian_not_crisis"
|
|
NOR = {
|
|
has_ascension_perk = ap_become_the_crisis
|
|
has_ascension_perk = ap_cosmogenesis
|
|
has_valid_civic = civic_pompous_purists
|
|
}
|
|
}
|
|
}
|
|
|
|
effect = {
|
|
set_galactic_custodian = yes
|
|
hidden_effect = {
|
|
country_event = { id = custodian.1 }
|
|
if = {
|
|
limit = { has_global_flag = gdf_active }
|
|
country_event = { id = custodian.35 days = 10 }
|
|
}
|
|
}
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_council_established = yes
|
|
has_galactic_custodian = no
|
|
has_galactic_emperor = no
|
|
}
|
|
|
|
allow = {
|
|
custom_tooltip = {
|
|
fail_text = "nominate_custodian_requires_independence"
|
|
is_subject = no
|
|
}
|
|
custom_tooltip = {
|
|
fail_text = "nominate_custodian_not_crisis"
|
|
NOR = {
|
|
has_ascension_perk = ap_become_the_crisis
|
|
has_ascension_perk = ap_cosmogenesis
|
|
}
|
|
}
|
|
}
|
|
|
|
active = {
|
|
has_galactic_custodian = no
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_normal
|
|
|
|
modifier = {
|
|
factor = 12
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
desc = gal_com_neighboring_crisis_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
has_crisis_stage_1 = yes
|
|
desc = gal_com_crisis_stage_1
|
|
}
|
|
|
|
modifier = {
|
|
factor = 6
|
|
has_crisis_stage_2 = yes
|
|
desc = gal_com_crisis_stage_2
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_crisis_stage_3 = yes
|
|
desc = gal_com_crisis_stage_3
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
has_crisis_stage_4 = yes
|
|
desc = gal_com_crisis_stage_4
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
is_same_value = from
|
|
desc = gal_com_target_is_me
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
any_playable_country = { has_country_flag = crisis_sphere_revealed }
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
any_playable_country = { has_been_declared_crisis = yes }
|
|
desc = gal_com_someone_declared_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_global_flag = gray_goo_crisis_active
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_global_flag = marauder_crisis_ongoing
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.5
|
|
has_ai_personality = xenophobic_isolationists
|
|
desc = personality_xenophobic_isolationists
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
OR = {
|
|
has_ascension_perk = ap_become_the_crisis
|
|
has_ascension_perk = ap_cosmogenesis
|
|
}
|
|
desc = gal_com_we_have_crisis_perk
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
is_rival = from
|
|
desc = gal_com_target_is_rival
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
is_subject = yes
|
|
overlord = {
|
|
OR = {
|
|
is_country_type = fallen_empire
|
|
is_country_type = awakened_fallen_empire
|
|
}
|
|
}
|
|
desc = gal_com_subject_of_fallen_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 10
|
|
any_country = { is_country_type = awakened_fallen_empire }
|
|
desc = gal_com_exists_awakened_fallen_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
has_global_flag = war_in_heaven_ongoing
|
|
desc = gal_com_ongoing_war_in_heaven
|
|
}
|
|
}
|
|
}
|
|
|
|
# Unseat Custodian
|
|
resolution_galacticreforms_unseat_custodian = {
|
|
icon = "GFX_resolution_end_custodianship"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = yes
|
|
harmful = yes
|
|
valid_target = {
|
|
is_galactic_custodian = yes
|
|
}
|
|
|
|
modifier = {
|
|
}
|
|
|
|
effect = {
|
|
custom_tooltip = resolution_galacticreforms_unseat_custodian_tooltip
|
|
hidden_effect = {
|
|
if = {
|
|
limit = { is_active_resolution = "resolution_custodian_perpetual_custodianship" }
|
|
cancel_resolution = "resolution_custodian_perpetual_custodianship"
|
|
}
|
|
country_event = { id = custodian.16 }
|
|
}
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
potential = {
|
|
is_galactic_custodian = no
|
|
}
|
|
|
|
active = {
|
|
has_galactic_custodian = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_unpopular
|
|
|
|
modifier = {
|
|
factor = 1.6
|
|
is_xenophobe = yes
|
|
NOT = {
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
}
|
|
desc = ethic_xenophobe
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.2
|
|
any_country = { is_crisis_faction = yes }
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.2
|
|
any_playable_country = { has_been_declared_crisis = yes }
|
|
desc = gal_com_someone_declared_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.2
|
|
has_global_flag = gray_goo_crisis_active
|
|
desc = gal_com_ongoing_grey_goo_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.2
|
|
has_global_flag = marauder_crisis_ongoing
|
|
desc = gal_com_ongoing_great_khan_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.2
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
desc = gal_com_neighboring_crisis_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.1
|
|
has_crisis_stage_2 = yes
|
|
desc = gal_com_crisis_stage_2
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
has_crisis_stage_3 = yes
|
|
desc = gal_com_crisis_stage_3
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
has_crisis_stage_4 = yes
|
|
desc = gal_com_crisis_stage_4
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
any_playable_country = { has_country_flag = crisis_sphere_revealed }
|
|
desc = gal_com_crisis_sphere_revealed
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
OR = {
|
|
has_ascension_perk = ap_become_the_crisis
|
|
has_ascension_perk = ap_cosmogenesis
|
|
}
|
|
desc = gal_com_we_have_crisis_perk
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
is_galactic_custodian = yes
|
|
desc = gal_com_is_the_custodian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
is_subject = yes
|
|
overlord = {
|
|
OR = {
|
|
is_country_type = fallen_empire
|
|
is_country_type = awakened_fallen_empire
|
|
}
|
|
}
|
|
desc = gal_com_subject_of_fallen_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
is_rival = from
|
|
desc = gal_com_target_is_rival
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.2
|
|
any_country = { is_country_type = awakened_fallen_empire }
|
|
desc = gal_com_exists_awakened_fallen_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.2
|
|
has_global_flag = war_in_heaven_ongoing
|
|
desc = gal_com_ongoing_war_in_heaven
|
|
}
|
|
}
|
|
}
|
|
|
|
# Form the Galactic Empire
|
|
resolution_custodian_form_empire = {
|
|
icon = "GFX_resolution_form_galactic_empire"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
}
|
|
|
|
effect = {
|
|
if = {
|
|
limit = { is_gestalt = no }
|
|
custom_tooltip = resolution_custodian_form_empire_tooltip
|
|
}
|
|
if = {
|
|
limit = { is_machine_empire = yes }
|
|
custom_tooltip = resolution_custodian_form_empire_tooltip_machine
|
|
}
|
|
if = {
|
|
limit = { is_hive_empire = yes }
|
|
custom_tooltip = resolution_custodian_form_empire_tooltip_hive
|
|
}
|
|
hidden_effect = {
|
|
random_playable_country = {
|
|
limit = { is_galactic_custodian = yes }
|
|
country_event = { id = emperor.1 }
|
|
}
|
|
}
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_custodian = yes
|
|
is_active_resolution = "resolution_custodian_perpetual_custodianship"
|
|
has_galactic_emperor = no
|
|
}
|
|
|
|
allow = {
|
|
custom_tooltip = {
|
|
fail_text = "requires_no_war_in_heaven"
|
|
NOT = { has_global_flag = war_in_heaven_ongoing } # Can't become Emperor during WiH
|
|
}
|
|
}
|
|
|
|
active = {
|
|
has_galactic_custodian = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_disliked
|
|
|
|
modifier = {
|
|
factor = 10
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
desc = gal_com_neighboring_crisis_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
has_crisis_stage_1 = yes
|
|
desc = gal_com_crisis_stage_1
|
|
}
|
|
|
|
modifier = {
|
|
factor = 6
|
|
has_crisis_stage_2 = yes
|
|
desc = gal_com_crisis_stage_2
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_crisis_stage_3 = yes
|
|
desc = gal_com_crisis_stage_3
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
has_crisis_stage_4 = yes
|
|
desc = gal_com_crisis_stage_4
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
any_playable_country = { has_country_flag = crisis_sphere_revealed }
|
|
desc = gal_com_crisis_sphere_revealed
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
is_galactic_custodian = yes
|
|
is_authoritarian = yes
|
|
desc = gal_com_authoritarian_custodian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
is_galactic_custodian = yes
|
|
desc = gal_com_is_the_custodian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
any_playable_country = { has_been_declared_crisis = yes }
|
|
desc = gal_com_someone_declared_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_global_flag = gray_goo_crisis_active
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_global_flag = marauder_crisis_ongoing
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
is_egalitarian = yes
|
|
desc = ethic_egalitarian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.5
|
|
has_ai_personality = xenophobic_isolationists
|
|
desc = personality_xenophobic_isolationists
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
OR = {
|
|
has_ascension_perk = ap_become_the_crisis
|
|
has_ascension_perk = ap_cosmogenesis
|
|
}
|
|
desc = gal_com_we_have_crisis_perk
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
is_subject = yes
|
|
overlord = {
|
|
OR = {
|
|
is_country_type = fallen_empire
|
|
is_country_type = awakened_fallen_empire
|
|
}
|
|
}
|
|
desc = gal_com_subject_of_fallen_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 10
|
|
any_country = { is_country_type = awakened_fallen_empire }
|
|
desc = gal_com_exists_awakened_fallen_empire
|
|
}
|
|
}
|
|
}
|
|
|
|
# United Front
|
|
resolution_custodian_united_front = {
|
|
icon = "GFX_resolution_united_front"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
description = resolution_custodian_united_front_modifier_desc
|
|
damage_vs_country_type_synth_queen_mult = 0.2
|
|
damage_vs_country_type_swarm_mult = 0.2
|
|
damage_vs_country_type_extradimensional_mult = 0.2
|
|
damage_vs_country_type_extradimensional_2_mult = 0.2
|
|
damage_vs_country_type_extradimensional_3_mult = 0.2
|
|
damage_vs_country_type_ai_empire_mult = 0.2
|
|
damage_vs_country_type_gray_goo_mult = 0.2
|
|
damage_vs_player_crisis_mult = 0.2
|
|
country_energy_produces_mult = -0.03
|
|
}
|
|
|
|
effect = {
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
allow = {
|
|
custom_tooltip = {
|
|
fail_text = "resolution_already_active"
|
|
NOT = { is_active_resolution = resolution_custodian_united_front }
|
|
}
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_custodian = yes
|
|
any_country = { is_crisis_faction = yes }
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_disliked
|
|
|
|
modifier = {
|
|
factor = 12
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
desc = gal_com_neighboring_crisis_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.6
|
|
is_militarist = yes
|
|
desc = ethic_militarist
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
has_crisis_stage_1 = yes
|
|
desc = gal_com_crisis_stage_1
|
|
}
|
|
|
|
modifier = {
|
|
factor = 6
|
|
has_crisis_stage_2 = yes
|
|
desc = gal_com_crisis_stage_2
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_crisis_stage_3 = yes
|
|
desc = gal_com_crisis_stage_3
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
has_crisis_stage_4 = yes
|
|
desc = gal_com_crisis_stage_4
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
any_playable_country = { has_country_flag = crisis_sphere_revealed }
|
|
desc = gal_com_crisis_sphere_revealed
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
any_playable_country = { has_been_declared_crisis = yes }
|
|
desc = gal_com_someone_declared_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_global_flag = gray_goo_crisis_active
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_global_flag = marauder_crisis_ongoing
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.5
|
|
has_ai_personality = xenophobic_isolationists
|
|
NOT = {
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
}
|
|
desc = personality_xenophobic_isolationists
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
OR = {
|
|
has_ascension_perk = ap_become_the_crisis
|
|
has_ascension_perk = ap_cosmogenesis
|
|
}
|
|
desc = gal_com_we_have_crisis_perk
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
is_galactic_custodian = yes
|
|
desc = gal_com_is_the_custodian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
is_militarist = yes
|
|
is_galactic_custodian = yes
|
|
desc = gal_com_militarist_custodian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
is_subject = yes
|
|
overlord = {
|
|
OR = {
|
|
is_country_type = fallen_empire
|
|
is_country_type = awakened_fallen_empire
|
|
}
|
|
}
|
|
desc = gal_com_subject_of_fallen_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 10
|
|
any_country = { is_country_type = awakened_fallen_empire }
|
|
desc = gal_com_exists_awakened_fallen_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
has_global_flag = war_in_heaven_ongoing
|
|
desc = gal_com_ongoing_war_in_heaven
|
|
}
|
|
}
|
|
}
|
|
|
|
# Galactic Mobilization
|
|
resolution_custodian_galactic_mobilization = {
|
|
icon = "GFX_resolution_galactic_mobilization"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
}
|
|
|
|
triggered_modifier = {
|
|
potential = {
|
|
is_gestalt = no
|
|
}
|
|
modifier = {
|
|
resolution_custodian_galactic_mobilization = 1
|
|
}
|
|
}
|
|
|
|
triggered_modifier = {
|
|
potential = {
|
|
is_gestalt = yes
|
|
}
|
|
modifier = {
|
|
resolution_custodian_galactic_mobilization_gestalt = 1
|
|
}
|
|
}
|
|
|
|
effect = {
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
allow = {
|
|
custom_tooltip = {
|
|
fail_text = "resolution_already_active"
|
|
NOT = { is_active_resolution = resolution_custodian_galactic_mobilization }
|
|
}
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_custodian = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_hated
|
|
|
|
modifier = {
|
|
factor = 1.6
|
|
is_militarist = yes
|
|
desc = ethic_militarist
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.6
|
|
is_pacifist = yes
|
|
NOT = {
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
}
|
|
desc = ethic_pacifist
|
|
}
|
|
|
|
modifier = {
|
|
factor = 12
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
desc = gal_com_neighboring_crisis_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
has_crisis_stage_1 = yes
|
|
desc = gal_com_crisis_stage_1
|
|
}
|
|
|
|
modifier = {
|
|
factor = 6
|
|
has_crisis_stage_2 = yes
|
|
desc = gal_com_crisis_stage_2
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_crisis_stage_3 = yes
|
|
desc = gal_com_crisis_stage_3
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
has_crisis_stage_4 = yes
|
|
desc = gal_com_crisis_stage_4
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
any_playable_country = { has_country_flag = crisis_sphere_revealed }
|
|
desc = gal_com_crisis_sphere_revealed
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
any_playable_country = { has_been_declared_crisis = yes }
|
|
desc = gal_com_someone_declared_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_global_flag = gray_goo_crisis_active
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_global_flag = marauder_crisis_ongoing
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
OR = {
|
|
has_ascension_perk = ap_become_the_crisis
|
|
has_ascension_perk = ap_cosmogenesis
|
|
}
|
|
desc = gal_com_we_have_crisis_perk
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
is_galactic_custodian = yes
|
|
desc = gal_com_is_the_custodian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
is_militarist = yes
|
|
is_galactic_custodian = yes
|
|
desc = gal_com_militarist_custodian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
is_subject = yes
|
|
overlord = {
|
|
OR = {
|
|
is_country_type = fallen_empire
|
|
is_country_type = awakened_fallen_empire
|
|
}
|
|
}
|
|
desc = gal_com_subject_of_fallen_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 10
|
|
any_country = { is_country_type = awakened_fallen_empire }
|
|
desc = gal_com_exists_awakened_fallen_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
has_global_flag = war_in_heaven_ongoing
|
|
desc = gal_com_ongoing_war_in_heaven
|
|
}
|
|
}
|
|
}
|
|
|
|
# Introduce Galactic Standard
|
|
resolution_custodian_galactic_standard = {
|
|
icon = "GFX_resolution_galactic_standard"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
resolution_custodian_galactic_standard = 1
|
|
}
|
|
|
|
effect = {
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
allow = {
|
|
custom_tooltip = {
|
|
fail_text = "resolution_already_active"
|
|
NOT = { is_active_resolution = resolution_custodian_galactic_standard }
|
|
}
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_custodian = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_normal
|
|
|
|
modifier = {
|
|
factor = 2
|
|
is_xenophile = yes
|
|
desc = ethic_xenophile
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.25
|
|
OR = {
|
|
has_ai_personality = peaceful_traders
|
|
has_ai_personality = ruthless_capitalists
|
|
}
|
|
desc = gal_com_trader_ai_personality
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.5
|
|
is_xenophobe = yes
|
|
desc = ethic_xenophobe
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.5
|
|
has_ai_personality = xenophobic_isolationists
|
|
desc = personality_xenophobic_isolationists
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
is_galactic_custodian = yes
|
|
desc = gal_com_is_the_custodian
|
|
}
|
|
}
|
|
}
|
|
|
|
# Anti-Piracy Initiative
|
|
resolution_custodian_anti_piracy = {
|
|
icon = "GFX_resolution_anti_piracy_initiative"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
description = resolution_custodian_anti_piracy_modifier_desc
|
|
local_trade_protection_add = 5
|
|
damage_vs_country_type_pirate_mult = 0.2
|
|
damage_vs_country_type_dormant_marauders_mult = 0.2
|
|
damage_vs_country_type_awakened_marauders_mult = 0.2
|
|
country_energy_produces_mult = -0.03
|
|
}
|
|
|
|
effect = {
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
allow = {
|
|
custom_tooltip = {
|
|
fail_text = "resolution_already_active"
|
|
NOT = { is_active_resolution = resolution_custodian_anti_piracy }
|
|
}
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_custodian = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_disliked
|
|
|
|
modifier = {
|
|
factor = 0.5
|
|
is_gestalt = yes
|
|
NOT = {
|
|
any_neighbor_country = { is_country_type = dormant_marauders }
|
|
}
|
|
desc = ethic_gestalt_consciousness
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.5
|
|
has_ai_personality = xenophobic_isolationists
|
|
desc = personality_xenophobic_isolationists
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
is_galactic_custodian = yes
|
|
desc = gal_com_is_the_custodian
|
|
}
|
|
}
|
|
}
|
|
|
|
# Extend Custodianship
|
|
resolution_custodian_extend_custodianship = {
|
|
icon = "GFX_resolution_term_limits"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
}
|
|
|
|
effect = {
|
|
custom_tooltip = resolution_custodian_extend_custodianship_tooltip
|
|
hidden_effect = {
|
|
add_custodian_term_days = 10800
|
|
set_country_flag = extended_custodianship
|
|
}
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_custodian = yes
|
|
NOT = {
|
|
is_active_resolution = "resolution_custodian_perpetual_custodianship"
|
|
has_country_flag = extended_custodianship
|
|
}
|
|
}
|
|
|
|
active = {
|
|
has_galactic_custodian = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_normal
|
|
|
|
modifier = {
|
|
factor = 12
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
desc = gal_com_neighboring_crisis_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
has_crisis_stage_1 = yes
|
|
desc = gal_com_crisis_stage_1
|
|
}
|
|
|
|
modifier = {
|
|
factor = 6
|
|
has_crisis_stage_2 = yes
|
|
desc = gal_com_crisis_stage_2
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_crisis_stage_3 = yes
|
|
desc = gal_com_crisis_stage_3
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
has_crisis_stage_4 = yes
|
|
desc = gal_com_crisis_stage_4
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
any_playable_country = { has_country_flag = crisis_sphere_revealed }
|
|
desc = gal_com_crisis_sphere_revealed
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
any_playable_country = { has_been_declared_crisis = yes }
|
|
desc = gal_com_someone_declared_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_global_flag = gray_goo_crisis_active
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_global_flag = marauder_crisis_ongoing
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.5
|
|
has_ai_personality = xenophobic_isolationists
|
|
desc = personality_xenophobic_isolationists
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
OR = {
|
|
has_ascension_perk = ap_become_the_crisis
|
|
has_ascension_perk = ap_cosmogenesis
|
|
}
|
|
desc = gal_com_we_have_crisis_perk
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
is_galactic_custodian = yes
|
|
desc = gal_com_is_the_custodian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
is_authoritarian = yes
|
|
is_galactic_custodian = yes
|
|
desc = gal_com_authoritarian_custodian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
is_subject = yes
|
|
overlord = {
|
|
OR = {
|
|
is_country_type = fallen_empire
|
|
is_country_type = awakened_fallen_empire
|
|
}
|
|
}
|
|
desc = gal_com_subject_of_fallen_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 10
|
|
any_country = { is_country_type = awakened_fallen_empire }
|
|
desc = gal_com_exists_awakened_fallen_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
has_global_flag = war_in_heaven_ongoing
|
|
desc = gal_com_ongoing_war_in_heaven
|
|
}
|
|
}
|
|
}
|
|
|
|
# Remove Custodianship Term Limit
|
|
resolution_custodian_perpetual_custodianship = {
|
|
icon = "GFX_resolution_term_limits"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
}
|
|
|
|
effect = {
|
|
custom_tooltip = resolution_custodian_perpetual_custodianship_tooltip
|
|
hidden_effect = {
|
|
set_custodian_term_days = -1 # -1 means that the timer will stop counting
|
|
}
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
allow = {
|
|
custom_tooltip = {
|
|
fail_text = "resolution_already_active"
|
|
NOT = { is_active_resolution = resolution_custodian_perpetual_custodianship }
|
|
}
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_custodian = yes
|
|
}
|
|
|
|
active = {
|
|
has_galactic_custodian = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_unpopular
|
|
|
|
modifier = {
|
|
factor = 12
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
desc = gal_com_neighboring_crisis_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
has_crisis_stage_1 = yes
|
|
desc = gal_com_crisis_stage_1
|
|
}
|
|
|
|
modifier = {
|
|
factor = 6
|
|
has_crisis_stage_2 = yes
|
|
desc = gal_com_crisis_stage_2
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_crisis_stage_3 = yes
|
|
desc = gal_com_crisis_stage_3
|
|
}
|
|
modifier = {
|
|
factor = 20
|
|
has_crisis_stage_4 = yes
|
|
desc = gal_com_crisis_stage_4
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.4
|
|
is_egalitarian = yes
|
|
desc = ethic_egalitarian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
any_playable_country = { has_country_flag = crisis_sphere_revealed }
|
|
desc = gal_com_crisis_sphere_revealed
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
any_playable_country = { has_been_declared_crisis = yes }
|
|
desc = gal_com_someone_declared_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_global_flag = gray_goo_crisis_active
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_global_flag = marauder_crisis_ongoing
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
has_ai_personality = democratic_crusaders
|
|
desc = personality_democratic_crusaders
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.5
|
|
has_ai_personality = xenophobic_isolationists
|
|
desc = personality_xenophobic_isolationists
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
OR = {
|
|
has_ascension_perk = ap_become_the_crisis
|
|
has_ascension_perk = ap_cosmogenesis
|
|
}
|
|
desc = gal_com_we_have_crisis_perk
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
is_galactic_custodian = yes
|
|
desc = gal_com_is_the_custodian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
is_authoritarian = yes
|
|
is_galactic_custodian = yes
|
|
desc = gal_com_authoritarian_custodian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
is_subject = yes
|
|
overlord = {
|
|
OR = {
|
|
is_country_type = fallen_empire
|
|
is_country_type = awakened_fallen_empire
|
|
}
|
|
}
|
|
desc = gal_com_subject_of_fallen_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 10
|
|
any_country = { is_country_type = awakened_fallen_empire }
|
|
desc = gal_com_exists_awakened_fallen_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
has_global_flag = war_in_heaven_ongoing
|
|
desc = gal_com_ongoing_war_in_heaven
|
|
}
|
|
}
|
|
}
|
|
|
|
# Prematurely End Custodianship
|
|
resolution_custodian_end_custodianship = {
|
|
icon = "GFX_resolution_end_custodianship"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
}
|
|
|
|
effect = {
|
|
custom_tooltip = resolution_custodian_end_custodianship_tooltip
|
|
hidden_effect = {
|
|
country_event = { id = custodian.14 }
|
|
}
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_custodian = yes
|
|
}
|
|
|
|
active = {
|
|
has_galactic_custodian = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_popular
|
|
|
|
modifier = {
|
|
factor = 0
|
|
is_galactic_custodian = yes
|
|
desc = gal_com_is_the_custodian
|
|
}
|
|
}
|
|
}
|
|
|
|
# Galactic Defense force
|
|
resolution_custodian_gdf = {
|
|
icon = "GFX_resolution_galactic_defense_force"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
allow = {
|
|
custom_tooltip = {
|
|
fail_text = "resolution_already_active"
|
|
NOT = { is_active_resolution = resolution_custodian_gdf }
|
|
}
|
|
}
|
|
|
|
modifier = {
|
|
resolution_custodian_gdf = 1
|
|
}
|
|
|
|
effect = {
|
|
set_galactic_defense_force = yes
|
|
hidden_effect = {
|
|
set_global_flag = gdf_active
|
|
random_playable_country = {
|
|
limit = { is_galactic_custodian = yes }
|
|
save_event_target_as = custodian
|
|
}
|
|
every_playable_country = {
|
|
limit = { is_ai = no }
|
|
country_event = { id = custodian.30 }
|
|
}
|
|
}
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_custodian = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_unpopular
|
|
|
|
modifier = {
|
|
factor = 0.6
|
|
is_pacifist = yes
|
|
NOT = {
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
}
|
|
desc = ethic_pacifist
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.6
|
|
is_xenophobe = yes
|
|
NOT = {
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
}
|
|
desc = ethic_xenophobe
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.4
|
|
is_militarist = yes
|
|
desc = ethic_militarist
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
any_country = { is_crisis_faction = yes }
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 12
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
desc = gal_com_neighboring_crisis_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
has_crisis_stage_1 = yes
|
|
desc = gal_com_crisis_stage_1
|
|
}
|
|
|
|
modifier = {
|
|
factor = 6
|
|
has_crisis_stage_2 = yes
|
|
desc = gal_com_crisis_stage_2
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_crisis_stage_3 = yes
|
|
desc = gal_com_crisis_stage_3
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
has_crisis_stage_4 = yes
|
|
desc = gal_com_crisis_stage_4
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
any_playable_country = { has_country_flag = crisis_sphere_revealed }
|
|
desc = gal_com_crisis_sphere_revealed
|
|
}
|
|
|
|
modifier = {
|
|
factor = 14
|
|
any_playable_country = { has_been_declared_crisis = yes }
|
|
desc = gal_com_someone_declared_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 14
|
|
has_global_flag = gray_goo_crisis_active
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 14
|
|
has_global_flag = marauder_crisis_ongoing
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
OR = {
|
|
has_ascension_perk = ap_become_the_crisis
|
|
has_ascension_perk = ap_cosmogenesis
|
|
}
|
|
desc = gal_com_we_have_crisis_perk
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
is_galactic_custodian = yes
|
|
desc = gal_com_is_the_custodian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
is_militarist = yes
|
|
is_galactic_custodian = yes
|
|
desc = gal_com_militarist_custodian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
is_subject = yes
|
|
overlord = {
|
|
OR = {
|
|
is_country_type = fallen_empire
|
|
is_country_type = awakened_fallen_empire
|
|
}
|
|
}
|
|
desc = gal_com_subject_of_fallen_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 10
|
|
any_country = { is_country_type = awakened_fallen_empire }
|
|
desc = gal_com_exists_awakened_fallen_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
has_global_flag = war_in_heaven_ongoing
|
|
desc = gal_com_ongoing_war_in_heaven
|
|
}
|
|
}
|
|
}
|
|
|
|
# Expand GDF
|
|
resolution_custodian_expand_gdf = {
|
|
icon = "GFX_resolution_expand_gdf"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
allow = {
|
|
custom_tooltip = {
|
|
fail_text = "resolution_already_active"
|
|
NOT = { is_active_resolution = resolution_custodian_expand_gdf }
|
|
}
|
|
}
|
|
|
|
modifier = {
|
|
resolution_custodian_gdf_2 = 1
|
|
country_community_gdf_naval_capacity = 400
|
|
}
|
|
|
|
effect = {
|
|
hidden_effect = {
|
|
if = {
|
|
limit = {
|
|
has_global_flag = independent_gdf
|
|
exists = event_target:gdf_country
|
|
}
|
|
event_target:gdf_country = {
|
|
remove_modifier = "gdf_naval_cap"
|
|
add_modifier = { modifier = gdf_naval_cap_2 }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_custodian = yes
|
|
is_active_resolution = "resolution_custodian_gdf"
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_disliked
|
|
|
|
modifier = {
|
|
factor = 0.6
|
|
is_pacifist = yes
|
|
NOT = {
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
}
|
|
desc = ethic_pacifist
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.6
|
|
is_xenophobe = yes
|
|
NOT = {
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
}
|
|
desc = ethic_xenophobe
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.4
|
|
is_militarist = yes
|
|
desc = ethic_militarist
|
|
}
|
|
|
|
modifier = {
|
|
factor = 2
|
|
any_country = { is_crisis_faction = yes }
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 12
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
desc = gal_com_neighboring_crisis_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
has_crisis_stage_1 = yes
|
|
desc = gal_com_crisis_stage_1
|
|
}
|
|
|
|
modifier = {
|
|
factor = 6
|
|
has_crisis_stage_2 = yes
|
|
desc = gal_com_crisis_stage_2
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_crisis_stage_3 = yes
|
|
desc = gal_com_crisis_stage_3
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
has_crisis_stage_4 = yes
|
|
desc = gal_com_crisis_stage_4
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
any_playable_country = { has_country_flag = crisis_sphere_revealed }
|
|
desc = gal_com_crisis_sphere_revealed
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
any_playable_country = { has_been_declared_crisis = yes }
|
|
desc = gal_com_someone_declared_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_global_flag = gray_goo_crisis_active
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_global_flag = marauder_crisis_ongoing
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
OR = {
|
|
has_ascension_perk = ap_become_the_crisis
|
|
has_ascension_perk = ap_cosmogenesis
|
|
}
|
|
desc = gal_com_we_have_crisis_perk
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
is_galactic_custodian = yes
|
|
desc = gal_com_is_the_custodian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
is_militarist = yes
|
|
is_galactic_custodian = yes
|
|
desc = gal_com_militarist_custodian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
is_subject = yes
|
|
overlord = {
|
|
OR = {
|
|
is_country_type = fallen_empire
|
|
is_country_type = awakened_fallen_empire
|
|
}
|
|
}
|
|
desc = gal_com_subject_of_fallen_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 10
|
|
any_country = { is_country_type = awakened_fallen_empire }
|
|
desc = gal_com_exists_awakened_fallen_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
has_global_flag = war_in_heaven_ongoing
|
|
desc = gal_com_ongoing_war_in_heaven
|
|
}
|
|
}
|
|
}
|
|
|
|
# Disband the GDF
|
|
resolution_custodian_disband_gdf = {
|
|
icon = "GFX_resolution_disband_gdf"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
}
|
|
|
|
effect = {
|
|
set_galactic_defense_force = no
|
|
hidden_effect = {
|
|
cancel_resolution = "resolution_custodian_gdf"
|
|
remove_global_flag = gdf_active
|
|
if = {
|
|
limit = { has_global_flag = independent_gdf }
|
|
remove_global_flag = independent_gdf
|
|
}
|
|
if = {
|
|
limit = { exists = event_target:gdf_country }
|
|
event_target:gdf_country = {
|
|
every_controlled_fleet = { delete_fleet = this }
|
|
destroy_country = yes
|
|
}
|
|
}
|
|
if = {
|
|
limit = { is_active_resolution = "resolution_custodian_expand_gdf" }
|
|
cancel_resolution = "resolution_custodian_expand_gdf"
|
|
}
|
|
every_playable_country = {
|
|
limit = { is_ai = no }
|
|
country_event = { id = custodian.40 }
|
|
}
|
|
}
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_active_resolution = "resolution_custodian_gdf"
|
|
has_galactic_emperor = no
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_unpopular
|
|
|
|
modifier = {
|
|
factor = 2
|
|
is_pacifist = yes
|
|
NOT = {
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
}
|
|
desc = ethic_pacifist
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.6
|
|
is_xenophobe = yes
|
|
NOT = {
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
}
|
|
desc = ethic_xenophobe
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.8
|
|
is_militarist = yes
|
|
desc = ethic_militarist
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.2
|
|
any_country = { is_crisis_faction = yes }
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.2
|
|
any_playable_country = { has_been_declared_crisis = yes }
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.2
|
|
has_global_flag = gray_goo_crisis_active
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.2
|
|
has_global_flag = marauder_crisis_ongoing
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.2
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
desc = gal_com_neighboring_crisis_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.1
|
|
has_crisis_stage_2 = yes
|
|
desc = gal_com_crisis_stage_2
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
has_crisis_stage_3 = yes
|
|
desc = gal_com_crisis_stage_3
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
has_crisis_stage_4 = yes
|
|
desc = gal_com_crisis_stage_4
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
any_playable_country = { has_country_flag = crisis_sphere_revealed }
|
|
desc = gal_com_crisis_sphere_revealed
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
OR = {
|
|
has_ascension_perk = ap_become_the_crisis
|
|
has_ascension_perk = ap_cosmogenesis
|
|
}
|
|
desc = gal_com_we_have_crisis_perk
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
is_galactic_custodian = yes
|
|
desc = gal_com_is_the_custodian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
is_subject = yes
|
|
overlord = {
|
|
OR = {
|
|
is_country_type = fallen_empire
|
|
is_country_type = awakened_fallen_empire
|
|
}
|
|
}
|
|
desc = gal_com_subject_of_fallen_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.2
|
|
any_country = { is_country_type = awakened_fallen_empire }
|
|
desc = gal_com_exists_awakened_fallen_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.2
|
|
has_global_flag = war_in_heaven_ongoing
|
|
desc = gal_com_ongoing_war_in_heaven
|
|
}
|
|
}
|
|
}
|
|
|
|
# Interstellar Navigation Agency
|
|
resolution_custodian_ina = {
|
|
icon = "GFX_resolution_form_ina"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
resolution_custodian_ina = 1
|
|
}
|
|
|
|
effect = {
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
allow = {
|
|
custom_tooltip = {
|
|
fail_text = "resolution_already_active"
|
|
NOT = { is_active_resolution = resolution_custodian_ina }
|
|
}
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_custodian = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_normal
|
|
|
|
modifier = {
|
|
factor = 0.8
|
|
is_xenophobe = yes
|
|
desc = ethic_xenophobe
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.5
|
|
has_ai_personality = xenophobic_isolationists
|
|
desc = personality_xenophobic_isolationists
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.2
|
|
has_ai_personality = peaceful_traders
|
|
desc = personality_peaceful_traders
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.2
|
|
is_xenophile = yes
|
|
desc = ethic_xenophile
|
|
}
|
|
|
|
modifier = {
|
|
factor = 2
|
|
has_ai_personality = erudite_explorers
|
|
desc = personality_erudite_explorers
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
is_galactic_custodian = yes
|
|
desc = gal_com_is_the_custodian
|
|
}
|
|
}
|
|
}
|
|
|
|
# Disband the Interstellar Navigation Agency
|
|
resolution_custodian_disband_ina = {
|
|
icon = "GFX_resolution_disband_ina"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
}
|
|
|
|
effect = {
|
|
cancel_resolution = "resolution_custodian_ina"
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_active_resolution = "resolution_custodian_ina"
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_disliked
|
|
|
|
modifier = {
|
|
factor = 1.2
|
|
is_xenophobe = yes
|
|
desc = ethic_xenophobe
|
|
}
|
|
|
|
modifier = {
|
|
factor = 2
|
|
has_ai_personality = xenophobic_isolationists
|
|
desc = personality_xenophobic_isolationists
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.8
|
|
is_xenophile = yes
|
|
desc = ethic_xenophile
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.4
|
|
has_ai_personality = erudite_explorers
|
|
desc = personality_erudite_explorers
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
is_galactic_custodian = yes
|
|
desc = gal_com_is_the_custodian
|
|
}
|
|
}
|
|
}
|
|
|
|
# Galactic Trade Organization
|
|
resolution_custodian_gto = {
|
|
icon = "GFX_resolution_form_gto"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
resolution_custodian_gto = 1
|
|
}
|
|
|
|
active = {
|
|
has_galactic_emperor = no
|
|
}
|
|
|
|
effect = {
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_custodian = yes
|
|
has_galactic_emperor = no
|
|
}
|
|
|
|
allow = {
|
|
custom_tooltip = {
|
|
fail_text = "resolution_already_active"
|
|
NOT = { is_active_resolution = resolution_custodian_gto }
|
|
}
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_normal
|
|
|
|
modifier = {
|
|
factor = 1.5
|
|
has_authority = auth_corporate
|
|
desc = auth_corporate
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.5
|
|
OR = {
|
|
has_ai_personality = peaceful_traders
|
|
has_ai_personality = ruthless_capitalists
|
|
}
|
|
desc = gal_com_trader_ai_personality
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.7
|
|
is_xenophobe = yes
|
|
desc = ethic_xenophobe
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.5
|
|
has_ai_personality = xenophobic_isolationists
|
|
desc = personality_xenophobic_isolationists
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.2
|
|
is_gestalt = yes
|
|
desc = ethic_gestalt_consciousness
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
is_galactic_custodian = yes
|
|
desc = gal_com_is_the_custodian
|
|
}
|
|
}
|
|
}
|
|
|
|
# Disband the Galactic Trade Organization
|
|
resolution_custodian_disband_gto = {
|
|
icon = "GFX_resolution_disband_gto"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
}
|
|
|
|
effect = {
|
|
cancel_resolution = "resolution_custodian_gto"
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_active_resolution = "resolution_custodian_gto"
|
|
has_galactic_emperor = no
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_disliked
|
|
|
|
modifier = {
|
|
factor = 0.6
|
|
has_authority = auth_corporate
|
|
desc = auth_corporate
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.6
|
|
OR = {
|
|
has_ai_personality = peaceful_traders
|
|
has_ai_personality = ruthless_capitalists
|
|
}
|
|
desc = gal_com_trader_ai_personality
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.3
|
|
is_xenophobe = yes
|
|
desc = ethic_xenophobe
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.8
|
|
has_ai_personality = xenophobic_isolationists
|
|
desc = personality_xenophobic_isolationists
|
|
}
|
|
|
|
modifier = {
|
|
factor = 2
|
|
is_gestalt = yes
|
|
desc = ethic_gestalt_consciousness
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
is_galactic_custodian = yes
|
|
desc = gal_com_is_the_custodian
|
|
}
|
|
}
|
|
}
|
|
|
|
# GALPOL
|
|
resolution_custodian_galpol = {
|
|
icon = "GFX_resolution_form_galpol"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
resolution_custodian_galpol = 1
|
|
}
|
|
|
|
effect = {
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_custodian = yes
|
|
}
|
|
|
|
allow = {
|
|
custom_tooltip = {
|
|
fail_text = "resolution_already_active"
|
|
NOT = { is_active_resolution = "resolution_custodian_galpol" }
|
|
}
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_normal
|
|
|
|
modifier = {
|
|
factor = 2
|
|
any_owned_planet = {
|
|
planet_crime > 40
|
|
}
|
|
desc = gal_com_owns_high_crime_planet
|
|
}
|
|
|
|
modifier = {
|
|
factor = 2
|
|
any_owned_planet = {
|
|
has_branch_office = yes
|
|
branch_office_owner = { is_criminal_syndicate = yes }
|
|
}
|
|
desc = gal_com_owns_planet_with_criminal_syndicate_branch_office
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
is_criminal_syndicate = yes
|
|
desc = gov_criminal_syndicate
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.5
|
|
has_ai_personality = xenophobic_isolationists
|
|
desc = personality_xenophobic_isolationists
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
is_galactic_custodian = yes
|
|
desc = gal_com_is_the_custodian
|
|
}
|
|
}
|
|
}
|
|
|
|
# Disband GALPOL
|
|
resolution_custodian_disband_galpol = {
|
|
icon = "GFX_resolution_disband_galpol"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
}
|
|
|
|
effect = {
|
|
cancel_resolution = "resolution_custodian_galpol"
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
potential = {
|
|
is_active_resolution = "resolution_custodian_galpol"
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_disliked
|
|
|
|
modifier = {
|
|
factor = 6
|
|
is_criminal_syndicate = yes
|
|
desc = gov_criminal_syndicate
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.8
|
|
has_ai_personality = xenophobic_isolationists
|
|
desc = personality_xenophobic_isolationists
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.4
|
|
any_owned_planet = {
|
|
planet_crime > 40
|
|
}
|
|
desc = gal_com_owns_high_crime_planet
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.2
|
|
any_owned_planet = {
|
|
has_branch_office = yes
|
|
branch_office_owner = { is_criminal_syndicate = yes }
|
|
}
|
|
desc = gal_com_owns_planet_with_criminal_syndicate_branch_office
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
is_galactic_custodian = yes
|
|
desc = gal_com_is_the_custodian
|
|
}
|
|
}
|
|
}
|
|
|
|
### GALACTIC EMPIRE
|
|
|
|
# Imperial Crusade
|
|
resolution_galactic_empire_imperial_crusade = {
|
|
icon = "GFX_resolution_imperial_crusade"
|
|
|
|
potential = {
|
|
has_galactic_emperor = yes
|
|
NOT = { # Only one crusade at a time
|
|
any_war = {
|
|
using_war_goal = {
|
|
type = wg_imperial_crusade
|
|
owner = attacker
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t1
|
|
}
|
|
}
|
|
|
|
target = yes
|
|
harmful = yes
|
|
valid_target = {
|
|
is_country_type = default
|
|
is_galactic_community_member = no
|
|
NOR = {
|
|
has_country_flag = imperial_crusade_target
|
|
has_country_flag = empire_rebel
|
|
}
|
|
is_homicidal = no
|
|
NOT = { is_at_war_with = galactic_emperor }
|
|
}
|
|
|
|
allow = {
|
|
imperial_authority >= 140
|
|
}
|
|
|
|
active = {
|
|
has_galactic_emperor = yes
|
|
from = { is_at_war_with = galactic_emperor }
|
|
}
|
|
|
|
effect = {
|
|
custom_tooltip = resolution_imperial_crusade_tooltip
|
|
hidden_effect = {
|
|
save_event_target_as = crusade_target
|
|
galactic_emperor = {
|
|
save_event_target_as = gal_emperor
|
|
declare_war = {
|
|
target = event_target:crusade_target
|
|
name = "NAME_Imperial_Crusade_War"
|
|
attacker_war_goal = "wg_imperial_crusade"
|
|
}
|
|
}
|
|
random_war = {
|
|
limit = {
|
|
using_war_goal = {
|
|
type = wg_imperial_crusade
|
|
owner = event_target:gal_emperor
|
|
}
|
|
}
|
|
save_event_target_as = imperial_crusade_war
|
|
}
|
|
every_playable_country = {
|
|
limit = {
|
|
is_galactic_emperor = no
|
|
is_galactic_community_member = yes
|
|
NOR = {
|
|
is_in_federation_with = event_target:crusade_target
|
|
AND = {
|
|
exists = overlord
|
|
overlord = { is_same_value = event_target:crusade_target }
|
|
}
|
|
}
|
|
}
|
|
if = {
|
|
limit = {
|
|
any_war = {
|
|
any_war_participant = {
|
|
is_same_value = event_target:crusade_target
|
|
}
|
|
}
|
|
}
|
|
every_war = {
|
|
limit = {
|
|
any_war_participant = {
|
|
is_same_value = event_target:crusade_target
|
|
}
|
|
}
|
|
remove_war_participant = event_target:crusade_target
|
|
}
|
|
}
|
|
join_war_on_side = {
|
|
war = event_target:imperial_crusade_war
|
|
side = event_target:gal_emperor
|
|
}
|
|
}
|
|
event_target:crusade_target = {
|
|
country_event = { id = emperor.350 }
|
|
}
|
|
every_playable_country = {
|
|
limit = {
|
|
is_ai = no
|
|
has_communications = event_target:gal_emperor
|
|
has_communications = event_target:crusade_target
|
|
NOT = { is_same_value = event_target:crusade_target }
|
|
}
|
|
country_event = { id = emperor.351 }
|
|
}
|
|
}
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_normal
|
|
|
|
modifier = {
|
|
factor = 0.2
|
|
is_pacifist = yes
|
|
desc = ethic_pacifist
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.6
|
|
is_egalitarian = yes
|
|
desc = ethic_egalitarian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.4
|
|
is_militarist = yes
|
|
desc = ethic_militarist
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.4
|
|
is_part_of_galactic_council = yes
|
|
desc = gal_com_on_galatic_council
|
|
}
|
|
|
|
modifier = {
|
|
factor = 2
|
|
is_rival = from
|
|
desc = gal_com_proposer_is_rival
|
|
}
|
|
}
|
|
}
|
|
|
|
# United Front (Imperial version)
|
|
resolution_emperor_united_front = {
|
|
icon = "GFX_resolution_united_front"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
description = resolution_custodian_united_front_modifier_desc
|
|
damage_vs_country_type_synth_queen_mult = 0.2
|
|
damage_vs_country_type_swarm_mult = 0.2
|
|
damage_vs_country_type_extradimensional_mult = 0.2
|
|
damage_vs_country_type_extradimensional_2_mult = 0.2
|
|
damage_vs_country_type_extradimensional_3_mult = 0.2
|
|
damage_vs_country_type_ai_empire_mult = 0.2
|
|
damage_vs_country_type_gray_goo_mult = 0.2
|
|
damage_vs_player_crisis_mult = 0.2
|
|
country_energy_produces_mult = -0.03
|
|
}
|
|
|
|
allow = {
|
|
custom_tooltip = {
|
|
fail_text = "resolution_already_active"
|
|
NOT = { is_active_resolution = "resolution_emperor_united_front" }
|
|
}
|
|
}
|
|
|
|
effect = {
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_emperor = yes
|
|
any_country = { is_crisis_faction = yes }
|
|
}
|
|
|
|
active = {
|
|
has_galactic_emperor = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_disliked
|
|
|
|
modifier = {
|
|
factor = 12
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
desc = gal_com_neighboring_crisis_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.6
|
|
is_militarist = yes
|
|
desc = ethic_militarist
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
has_crisis_stage_1 = yes
|
|
desc = gal_com_crisis_stage_1
|
|
}
|
|
|
|
modifier = {
|
|
factor = 6
|
|
has_crisis_stage_2 = yes
|
|
desc = gal_com_crisis_stage_2
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_crisis_stage_3 = yes
|
|
desc = gal_com_crisis_stage_3
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
has_crisis_stage_4 = yes
|
|
desc = gal_com_crisis_stage_4
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
any_playable_country = { has_country_flag = crisis_sphere_revealed }
|
|
desc = gal_com_crisis_sphere_revealed
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
any_playable_country = { has_been_declared_crisis = yes }
|
|
desc = gal_com_someone_declared_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_global_flag = gray_goo_crisis_active
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_global_flag = marauder_crisis_ongoing
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.5
|
|
has_ai_personality = xenophobic_isolationists
|
|
NOT = {
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
}
|
|
desc = personality_xenophobic_isolationists
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
OR = {
|
|
has_ascension_perk = ap_become_the_crisis
|
|
has_ascension_perk = ap_cosmogenesis
|
|
}
|
|
desc = gal_com_we_have_crisis_perk
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
is_galactic_custodian = yes
|
|
desc = gal_com_is_the_custodian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
is_militarist = yes
|
|
is_galactic_custodian = yes
|
|
desc = gal_com_militarist_custodian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
is_subject = yes
|
|
overlord = {
|
|
OR = {
|
|
is_country_type = fallen_empire
|
|
is_country_type = awakened_fallen_empire
|
|
}
|
|
}
|
|
desc = gal_com_subject_of_fallen_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 10
|
|
any_country = { is_country_type = awakened_fallen_empire }
|
|
desc = gal_com_exists_awakened_fallen_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
has_global_flag = war_in_heaven_ongoing
|
|
desc = gal_com_ongoing_war_in_heaven
|
|
}
|
|
}
|
|
}
|
|
|
|
# Imperial Armada
|
|
resolution_emperor_imperial_armada = {
|
|
icon = "GFX_resolution_imperial_armada"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
resolution_custodian_gdf = 1
|
|
}
|
|
|
|
allow = {
|
|
custom_tooltip = {
|
|
fail_text = "resolution_already_active"
|
|
NOT = { is_active_resolution = "resolution_emperor_imperial_armada" }
|
|
}
|
|
}
|
|
|
|
effect = {
|
|
if = {
|
|
limit = { galactic_defense_force_exists = no } #e.g. Custodian becomes Emperor
|
|
set_galactic_defense_force = yes
|
|
}
|
|
hidden_effect = {
|
|
every_playable_country = {
|
|
limit = { is_galactic_community_member = yes }
|
|
country_event = { id = emperor.50 }
|
|
}
|
|
}
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_emperor = yes
|
|
}
|
|
|
|
active = {
|
|
has_galactic_emperor = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_unpopular
|
|
|
|
modifier = {
|
|
factor = 0.6
|
|
is_pacifist = yes
|
|
NOT = {
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
}
|
|
desc = ethic_pacifist
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.6
|
|
is_xenophobe = yes
|
|
NOT = {
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
}
|
|
desc = ethic_xenophobe
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.2
|
|
is_militarist = yes
|
|
desc = ethic_militarist
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
any_country = { is_crisis_faction = yes }
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 12
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
desc = gal_com_neighboring_crisis_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
has_crisis_stage_1 = yes
|
|
desc = gal_com_crisis_stage_1
|
|
}
|
|
|
|
modifier = {
|
|
factor = 6
|
|
has_crisis_stage_2 = yes
|
|
desc = gal_com_crisis_stage_2
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_crisis_stage_3 = yes
|
|
desc = gal_com_crisis_stage_3
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
has_crisis_stage_4 = yes
|
|
desc = gal_com_crisis_stage_4
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
any_playable_country = { has_country_flag = crisis_sphere_revealed }
|
|
desc = gal_com_crisis_sphere_revealed
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
any_playable_country = { has_been_declared_crisis = yes }
|
|
desc = gal_com_someone_declared_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_global_flag = gray_goo_crisis_active
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_global_flag = marauder_crisis_ongoing
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.4
|
|
is_part_of_galactic_council = yes
|
|
desc = gal_com_on_galatic_council
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
is_galactic_emperor = yes
|
|
desc = galactic_emperor
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
is_subject = yes
|
|
overlord = {
|
|
OR = {
|
|
is_country_type = fallen_empire
|
|
is_country_type = awakened_fallen_empire
|
|
}
|
|
}
|
|
desc = gal_com_subject_of_fallen_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 10
|
|
any_country = { is_country_type = awakened_fallen_empire }
|
|
desc = gal_com_exists_awakened_fallen_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
has_global_flag = war_in_heaven_ongoing
|
|
desc = gal_com_ongoing_war_in_heaven
|
|
}
|
|
}
|
|
}
|
|
|
|
# Expand Imperial Armada
|
|
resolution_emperor_expand_ia = {
|
|
icon = "GFX_resolution_expand_armada"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
allow = {
|
|
custom_tooltip = {
|
|
fail_text = "resolution_already_active"
|
|
NOT = { is_active_resolution = "resolution_emperor_expand_ia" }
|
|
}
|
|
}
|
|
|
|
modifier = {
|
|
resolution_custodian_gdf_2 = 1
|
|
country_community_gdf_naval_capacity = 400
|
|
}
|
|
|
|
effect = {
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_emperor = yes
|
|
is_active_resolution = "resolution_emperor_imperial_armada"
|
|
}
|
|
|
|
active = {
|
|
has_galactic_emperor = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_disliked
|
|
|
|
modifier = {
|
|
factor = 0.6
|
|
is_pacifist = yes
|
|
NOT = {
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
}
|
|
desc = ethic_pacifist
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.6
|
|
is_xenophobe = yes
|
|
NOT = {
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
}
|
|
desc = ethic_xenophobe
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.2
|
|
is_militarist = yes
|
|
desc = ethic_militarist
|
|
}
|
|
|
|
modifier = {
|
|
factor = 2
|
|
any_country = { is_crisis_faction = yes }
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 12
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
desc = gal_com_neighboring_crisis_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
has_crisis_stage_1 = yes
|
|
desc = gal_com_crisis_stage_1
|
|
}
|
|
|
|
modifier = {
|
|
factor = 6
|
|
has_crisis_stage_2 = yes
|
|
desc = gal_com_crisis_stage_2
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_crisis_stage_3 = yes
|
|
desc = gal_com_crisis_stage_3
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
has_crisis_stage_4 = yes
|
|
desc = gal_com_crisis_stage_4
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
any_playable_country = { has_country_flag = crisis_sphere_revealed }
|
|
desc = gal_com_crisis_sphere_revealed
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
any_playable_country = { has_been_declared_crisis = yes }
|
|
desc = gal_com_someone_declared_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_global_flag = gray_goo_crisis_active
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_global_flag = marauder_crisis_ongoing
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.4
|
|
is_part_of_galactic_council = yes
|
|
desc = gal_com_on_galatic_council
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
is_galactic_emperor = yes
|
|
desc = galactic_emperor
|
|
}
|
|
|
|
modifier = {
|
|
factor = 10
|
|
any_country = { is_country_type = awakened_fallen_empire }
|
|
desc = gal_com_exists_awakened_fallen_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
has_global_flag = war_in_heaven_ongoing
|
|
desc = gal_com_ongoing_war_in_heaven
|
|
}
|
|
}
|
|
}
|
|
|
|
# Imperial Legions
|
|
resolution_emperor_imperial_legions = {
|
|
icon = "GFX_resolution_imperial_legions"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
allow = {
|
|
custom_tooltip = {
|
|
fail_text = "resolution_already_active"
|
|
NOT = { is_active_resolution = "resolution_emperor_imperial_legions" }
|
|
}
|
|
}
|
|
|
|
modifier = {
|
|
}
|
|
|
|
effect = {
|
|
random_playable_country = {
|
|
limit = { is_galactic_emperor = yes }
|
|
custom_tooltip = resolution_emperor_imperial_legions_tooltip
|
|
}
|
|
hidden_effect = {
|
|
every_playable_country = {
|
|
limit = { is_galactic_community_member = yes }
|
|
country_event = { id = emperor.55 }
|
|
}
|
|
}
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_emperor = yes
|
|
}
|
|
|
|
active = {
|
|
has_galactic_emperor = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_unpopular
|
|
|
|
modifier = {
|
|
factor = 0.4
|
|
is_pacifist = yes
|
|
NOT = {
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
}
|
|
desc = ethic_pacifist
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.6
|
|
is_xenophobe = yes
|
|
NOT = {
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
}
|
|
desc = ethic_xenophobe
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.2
|
|
is_militarist = yes
|
|
desc = ethic_militarist
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
any_country = { is_crisis_faction = yes }
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 12
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
desc = gal_com_neighboring_crisis_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
has_crisis_stage_1 = yes
|
|
desc = gal_com_crisis_stage_1
|
|
}
|
|
|
|
modifier = {
|
|
factor = 6
|
|
has_crisis_stage_2 = yes
|
|
desc = gal_com_crisis_stage_2
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_crisis_stage_3 = yes
|
|
desc = gal_com_crisis_stage_3
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
has_crisis_stage_4 = yes
|
|
desc = gal_com_crisis_stage_4
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
any_playable_country = { has_country_flag = crisis_sphere_revealed }
|
|
desc = gal_com_crisis_sphere_revealed
|
|
}
|
|
|
|
modifier = {
|
|
factor = 14
|
|
any_playable_country = { has_been_declared_crisis = yes }
|
|
desc = gal_com_someone_declared_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 8
|
|
has_global_flag = gray_goo_crisis_active
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 14
|
|
has_global_flag = marauder_crisis_ongoing
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.4
|
|
is_part_of_galactic_council = yes
|
|
desc = gal_com_on_galatic_council
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
is_galactic_emperor = yes
|
|
desc = galactic_emperor
|
|
}
|
|
|
|
modifier = {
|
|
factor = 10
|
|
any_country = { is_country_type = awakened_fallen_empire }
|
|
desc = gal_com_exists_awakened_fallen_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
has_global_flag = war_in_heaven_ongoing
|
|
desc = gal_com_ongoing_war_in_heaven
|
|
}
|
|
}
|
|
}
|
|
|
|
# Imperial Navigation Agency
|
|
resolution_emperor_ina = {
|
|
icon = "GFX_resolution_form_ina"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
resolution_custodian_ina = 1
|
|
}
|
|
|
|
effect = {
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
allow = {
|
|
custom_tooltip = {
|
|
fail_text = "resolution_already_active"
|
|
NOT = { is_active_resolution = "resolution_emperor_ina" }
|
|
}
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_emperor = yes
|
|
}
|
|
|
|
active = {
|
|
has_galactic_emperor = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_normal
|
|
|
|
modifier = {
|
|
factor = 0.8
|
|
is_xenophobe = yes
|
|
desc = ethic_xenophobe
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.5
|
|
has_ai_personality = xenophobic_isolationists
|
|
desc = personality_xenophobic_isolationists
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.2
|
|
has_ai_personality = peaceful_traders
|
|
desc = personality_peaceful_traders
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.2
|
|
is_xenophile = yes
|
|
desc = ethic_xenophile
|
|
}
|
|
|
|
modifier = {
|
|
factor = 2
|
|
has_ai_personality = erudite_explorers
|
|
desc = personality_erudite_explorers
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
is_galactic_emperor = yes
|
|
desc = galactic_emperor
|
|
}
|
|
}
|
|
}
|
|
|
|
# Disband the Interstellar Navigation Agency
|
|
resolution_emperor_disband_ina = {
|
|
icon = "GFX_resolution_council_size"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
}
|
|
|
|
effect = {
|
|
cancel_resolution = "resolution_emperor_ina"
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_emperor = yes
|
|
is_active_resolution = "resolution_emperor_ina"
|
|
}
|
|
|
|
active = {
|
|
has_galactic_emperor = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_disliked
|
|
|
|
modifier = {
|
|
factor = 1.2
|
|
is_xenophobe = yes
|
|
desc = ethic_xenophobe
|
|
}
|
|
|
|
modifier = {
|
|
factor = 2
|
|
has_ai_personality = xenophobic_isolationists
|
|
desc = personality_xenophobic_isolationists
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.8
|
|
is_xenophile = yes
|
|
desc = ethic_xenophile
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.4
|
|
has_ai_personality = erudite_explorers
|
|
desc = personality_erudite_explorers
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
is_galactic_emperor = yes
|
|
desc = galactic_emperor
|
|
}
|
|
}
|
|
}
|
|
|
|
# Galactic Trade Organization
|
|
resolution_emperor_gto = {
|
|
icon = "GFX_resolution_form_gto"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
resolution_custodian_gto = 1
|
|
}
|
|
|
|
effect = {
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_emperor = yes
|
|
}
|
|
|
|
allow = {
|
|
custom_tooltip = {
|
|
fail_text = "resolution_already_active"
|
|
NOT = { is_active_resolution = resolution_emperor_gto }
|
|
}
|
|
}
|
|
|
|
active = {
|
|
has_galactic_emperor = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_normal
|
|
|
|
modifier = {
|
|
factor = 1.5
|
|
has_authority = auth_corporate
|
|
desc = auth_corporate
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.5
|
|
OR = {
|
|
has_ai_personality = peaceful_traders
|
|
has_ai_personality = ruthless_capitalists
|
|
}
|
|
desc = gal_com_trader_ai_personality
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.7
|
|
is_xenophobe = yes
|
|
desc = ethic_xenophobe
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.5
|
|
has_ai_personality = xenophobic_isolationists
|
|
desc = personality_xenophobic_isolationists
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.2
|
|
is_gestalt = yes
|
|
desc = ethic_gestalt_consciousness
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
is_galactic_emperor = yes
|
|
desc = galactic_emperor
|
|
}
|
|
}
|
|
}
|
|
|
|
# Disband the Galactic Trade Organization
|
|
resolution_emperor_disband_gto = {
|
|
icon = "GFX_resolution_council_size"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
}
|
|
|
|
effect = {
|
|
cancel_resolution = "resolution_emperor_gto"
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_emperor = yes
|
|
is_active_resolution = "resolution_emperor_gto"
|
|
}
|
|
|
|
active = {
|
|
has_galactic_emperor = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_disliked
|
|
|
|
modifier = {
|
|
factor = 0.6
|
|
has_authority = auth_corporate
|
|
desc = auth_corporate
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.6
|
|
OR = {
|
|
has_ai_personality = peaceful_traders
|
|
has_ai_personality = ruthless_capitalists
|
|
}
|
|
desc = gal_com_trader_ai_personality
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.3
|
|
is_xenophobe = yes
|
|
desc = ethic_xenophobe
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.8
|
|
has_ai_personality = xenophobic_isolationists
|
|
desc = personality_xenophobic_isolationists
|
|
}
|
|
|
|
modifier = {
|
|
factor = 2
|
|
is_gestalt = yes
|
|
desc = ethic_gestalt_consciousness
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
is_galactic_emperor = yes
|
|
desc = galactic_emperor
|
|
}
|
|
}
|
|
}
|
|
|
|
# Imperial Security Directorate
|
|
resolution_emperor_isd = {
|
|
icon = "GFX_resolution_imperial_security_directorate"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
allow = {
|
|
custom_tooltip = {
|
|
fail_text = "resolution_already_active"
|
|
NOT = { is_active_resolution = "resolution_emperor_isd" }
|
|
}
|
|
}
|
|
|
|
modifier = {
|
|
resolution_emperor_isd = 1
|
|
}
|
|
|
|
effect = {
|
|
random_playable_country = {
|
|
limit = { is_galactic_emperor = yes }
|
|
add_modifier = { modifier = "imperial_security_directorate" }
|
|
}
|
|
hidden_effect = {
|
|
every_playable_country = {
|
|
limit = { is_galactic_community_member = yes }
|
|
country_event = { id = emperor.70 }
|
|
}
|
|
}
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_emperor = yes
|
|
}
|
|
|
|
active = {
|
|
has_galactic_emperor = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_disliked
|
|
|
|
modifier = {
|
|
factor = 2
|
|
any_owned_planet = {
|
|
planet_crime > 40
|
|
}
|
|
desc = gal_com_owns_high_crime_planet
|
|
}
|
|
|
|
modifier = {
|
|
factor = 2
|
|
any_owned_planet = {
|
|
has_branch_office = yes
|
|
branch_office_owner = { is_criminal_syndicate = yes }
|
|
}
|
|
desc = gal_com_owns_planet_with_criminal_syndicate_branch_office
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
is_criminal_syndicate = yes
|
|
desc = gov_criminal_syndicate
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.6
|
|
is_egalitarian = yes
|
|
desc = ethic_egalitarian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.4
|
|
is_part_of_galactic_council = yes
|
|
desc = gal_com_on_galatic_council
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
is_galactic_emperor = yes
|
|
desc = galactic_emperor
|
|
}
|
|
}
|
|
}
|
|
|
|
# Imperial Charter
|
|
resolution_emperor_imperial_charter = {
|
|
icon = "GFX_resolution_imperial_trade_company"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
|
|
target = yes
|
|
harmful = no
|
|
|
|
allow = {
|
|
custom_tooltip = {
|
|
fail_text = "resolution_already_active"
|
|
NOT = { is_active_resolution = "resolution_emperor_imperial_charter" }
|
|
}
|
|
}
|
|
|
|
valid_target = {
|
|
is_country_type = default
|
|
is_galactic_community_member = yes
|
|
is_megacorp = yes
|
|
is_galactic_emperor = no
|
|
}
|
|
|
|
modifier = {
|
|
}
|
|
|
|
effect = {
|
|
custom_tooltip = resolution_emperor_imperial_charter_tooltip
|
|
hidden_effect = {
|
|
set_global_flag = imperial_charter_granted
|
|
add_modifier = { modifier = imperial_charter }
|
|
random_playable_country = {
|
|
limit = { is_galactic_emperor = yes }
|
|
set_variable = {
|
|
which = "imp_concession_ports"
|
|
value = 0
|
|
}
|
|
}
|
|
every_playable_country = {
|
|
limit = {
|
|
is_ai = no
|
|
NOT = { is_same_value = prev }
|
|
is_galactic_community_member = yes
|
|
is_galactic_emperor = no
|
|
}
|
|
country_event = { id = emperor.60 }
|
|
}
|
|
}
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_emperor = yes
|
|
NOR = {
|
|
has_civic = civic_galactic_sovereign_megacorp # Megacorp Emperors build their own concession ports
|
|
has_global_flag = imperial_charter_granted
|
|
}
|
|
}
|
|
|
|
active = {
|
|
has_galactic_emperor = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_disliked
|
|
|
|
modifier = {
|
|
factor = 1.4
|
|
is_part_of_galactic_council = yes
|
|
desc = gal_com_on_galatic_council
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
is_galactic_emperor = yes
|
|
desc = galactic_emperor
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
is_same_value = from
|
|
desc = gal_com_target_is_me
|
|
}
|
|
}
|
|
}
|
|
|
|
# Revoke Imperial Charter
|
|
resolution_emperor_revoke_imperial_charter = {
|
|
icon = "GFX_resolution_imperial_trade_company"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
|
|
target = yes
|
|
harmful = yes
|
|
|
|
valid_target = {
|
|
is_country_type = default
|
|
is_galactic_community_member = yes
|
|
is_megacorp = yes
|
|
is_galactic_emperor = no
|
|
has_modifier = imperial_charter
|
|
}
|
|
|
|
modifier = {
|
|
}
|
|
|
|
effect = {
|
|
hidden_effect = {
|
|
remove_global_flag = imperial_charter_granted
|
|
remove_modifier = imperial_charter
|
|
every_galaxy_planet = {
|
|
limit = { has_planet_flag = imp_concession_port }
|
|
remove_holding = {
|
|
holding = building_imperial_concession_port
|
|
owner = galactic_emperor
|
|
}
|
|
remove_planet_flag = imp_concession_port
|
|
}
|
|
random_playable_country = {
|
|
limit = { is_galactic_emperor = yes }
|
|
set_variable = {
|
|
which = "imp_concession_ports"
|
|
value = 0
|
|
}
|
|
add_imp_concession_ports_0 = yes
|
|
}
|
|
}
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_emperor = yes
|
|
has_global_flag = imperial_charter_granted
|
|
}
|
|
|
|
active = {
|
|
has_galactic_emperor = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_popular
|
|
|
|
modifier = {
|
|
factor = 1.4
|
|
is_part_of_galactic_council = yes
|
|
desc = gal_com_on_galatic_council
|
|
}
|
|
|
|
modifier = {
|
|
factor = 20
|
|
is_galactic_emperor = yes
|
|
OR = {
|
|
is_hostile_to = FROM
|
|
is_domineering_to = FROM
|
|
is_unfriendly_to = FROM
|
|
}
|
|
desc = gal_com_emperor_unfriendly_to_proposer
|
|
}
|
|
}
|
|
}
|
|
|
|
### IMPERIAL COUNCIL
|
|
|
|
# Abolish Imperial Council
|
|
resolution_emperor_abolish_council = {
|
|
icon = "GFX_resolution_abolish_imperial_council"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t5
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
}
|
|
|
|
effect = {
|
|
custom_tooltip = resolution_emperor_abolish_council_tooltip
|
|
hidden_effect = {
|
|
set_council_size = 0
|
|
set_timed_country_flag = { flag = galactic_community_resolution_passed_general days = @resolution_flag_timer }
|
|
add_modifier = {
|
|
modifier = resolution_passed_diplomatic_weight
|
|
days = 2200
|
|
}
|
|
}
|
|
}
|
|
|
|
fail_effects = {
|
|
hidden_effect = {
|
|
set_timed_country_flag = { flag = galactic_community_resolution_failed_general days = @resolution_flag_timer }
|
|
add_modifier = {
|
|
modifier = resolution_failed_diplomatic_weight
|
|
days = 2200
|
|
}
|
|
}
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_emperor = yes
|
|
is_galactic_council_established = yes
|
|
}
|
|
|
|
active = {
|
|
has_galactic_emperor = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_hated
|
|
|
|
modifier = {
|
|
factor = 0
|
|
is_part_of_galactic_council = yes
|
|
is_galactic_emperor = no
|
|
desc = gal_com_on_galatic_council
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.5
|
|
is_subject = yes
|
|
overlord = {
|
|
opinion_level = { who = prev level >= neutral }
|
|
is_part_of_galactic_council = yes
|
|
is_galactic_emperor = no
|
|
}
|
|
desc = gal_com_support_overlord_on_galatic_council
|
|
}
|
|
}
|
|
}
|
|
|
|
# Restore Imperial Council
|
|
resolution_emperor_restore_council = {
|
|
icon = "GFX_resolution_imperial_council"
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_emperor = yes
|
|
is_galactic_council_established = no
|
|
}
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t1
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
}
|
|
|
|
allow = {
|
|
}
|
|
|
|
active = {
|
|
has_galactic_emperor = yes
|
|
}
|
|
|
|
effect = {
|
|
custom_tooltip = resolution_emperor_restore_council_tooltip
|
|
hidden_effect = {
|
|
set_council_size = 3
|
|
set_council_veto = no
|
|
set_global_flag = galactic_community_resolution_passed
|
|
|
|
set_global_flag = resolution_with_breach_effect_passed # council denouncement
|
|
|
|
set_timed_country_flag = { flag = galactic_community_resolution_passed_general days = @resolution_flag_timer }
|
|
add_modifier = {
|
|
modifier = resolution_passed_diplomatic_weight
|
|
days = 2200
|
|
}
|
|
}
|
|
}
|
|
|
|
fail_effects = {
|
|
hidden_effect = {
|
|
set_timed_country_flag = { flag = galactic_community_resolution_failed_general days = @resolution_flag_timer }
|
|
add_modifier = {
|
|
modifier = resolution_failed_diplomatic_weight
|
|
days = 2200
|
|
}
|
|
}
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_loved
|
|
|
|
modifier = {
|
|
factor = 2
|
|
OR = {
|
|
has_civic = civic_diplomatic_corps
|
|
has_civic = civic_public_relations_specialists
|
|
has_civic = civic_hive_empath
|
|
has_civic = civic_machine_servitor
|
|
}
|
|
desc = gal_com_supporting_civics
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.5
|
|
OR = {
|
|
galactic_community_rank <= 3
|
|
AND = {
|
|
is_subject = yes
|
|
overlord = {
|
|
opinion_level = { who = prev level >= neutral }
|
|
galactic_community_rank <= 3
|
|
}
|
|
}
|
|
}
|
|
desc = gal_com_they_or_overlord_high_ranked
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.8
|
|
galactic_community_rank > 5
|
|
NAND = {
|
|
is_subject = yes
|
|
overlord = {
|
|
opinion_level = { who = prev level >= neutral }
|
|
galactic_community_rank <= 3
|
|
}
|
|
}
|
|
desc = gal_com_neither_they_or_overlord_high_ranked
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.1
|
|
is_xenophile = yes
|
|
desc = ethic_xenophile
|
|
}
|
|
}
|
|
}
|
|
|
|
resolution_emperor_council_size_1 = {
|
|
icon = "GFX_resolution_imperial_council_size"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
}
|
|
|
|
effect = {
|
|
set_council_size = 1
|
|
hidden_effect = {
|
|
set_timed_country_flag = { flag = galactic_community_resolution_passed_general days = @resolution_flag_timer }
|
|
add_modifier = {
|
|
modifier = resolution_passed_diplomatic_weight
|
|
days = 2200
|
|
}
|
|
}
|
|
}
|
|
|
|
fail_effects = {
|
|
hidden_effect = {
|
|
set_timed_country_flag = { flag = galactic_community_resolution_failed_general days = @resolution_flag_timer }
|
|
add_modifier = {
|
|
modifier = resolution_failed_diplomatic_weight
|
|
days = 2200
|
|
}
|
|
}
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_emperor = yes
|
|
is_galactic_council_established = yes
|
|
num_council_positions = 2
|
|
}
|
|
|
|
active = {
|
|
has_galactic_emperor = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_hated
|
|
|
|
modifier = {
|
|
factor = 3
|
|
OR = {
|
|
galactic_community_rank = 1
|
|
AND = {
|
|
is_subject = yes
|
|
overlord = {
|
|
opinion_level = { who = prev level >= neutral }
|
|
galactic_community_rank = 1
|
|
}
|
|
}
|
|
}
|
|
desc = gal_com_wants_to_reduce_council_size
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
galactic_community_rank = 2
|
|
desc = gal_com_second_rank
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.8
|
|
is_egalitarian = yes
|
|
desc = ethic_egalitarian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.2
|
|
is_authoritarian = yes
|
|
desc = ethic_authoritarian
|
|
}
|
|
}
|
|
}
|
|
|
|
resolution_emperor_council_size_2 = {
|
|
icon = "GFX_resolution_imperial_council_size"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
}
|
|
|
|
effect = {
|
|
set_council_size = 2
|
|
hidden_effect = {
|
|
set_timed_country_flag = { flag = galactic_community_resolution_passed_general days = @resolution_flag_timer }
|
|
add_modifier = {
|
|
modifier = resolution_passed_diplomatic_weight
|
|
days = 2200
|
|
}
|
|
}
|
|
}
|
|
|
|
fail_effects = {
|
|
hidden_effect = {
|
|
set_timed_country_flag = { flag = galactic_community_resolution_failed_general days = @resolution_flag_timer }
|
|
add_modifier = {
|
|
modifier = resolution_failed_diplomatic_weight
|
|
days = 2200
|
|
}
|
|
}
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_emperor = yes
|
|
is_galactic_council_established = yes
|
|
OR = {
|
|
num_council_positions = 1
|
|
num_council_positions = 3
|
|
}
|
|
}
|
|
|
|
active = {
|
|
has_galactic_emperor = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_disliked
|
|
|
|
modifier = { # raising the number of slots is more popular than lowering it
|
|
factor = 1.25
|
|
num_council_positions = 1
|
|
desc = gal_com_increase_council_size_positive
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
|
|
num_council_positions = 3
|
|
OR = {
|
|
galactic_community_rank = 3
|
|
AND = {
|
|
is_subject = yes
|
|
overlord = {
|
|
opinion_level = { who = prev level >= neutral }
|
|
galactic_community_rank = 3
|
|
}
|
|
}
|
|
}
|
|
desc = gal_com_they_or_overlord_would_be_removed_from_council
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
|
|
num_council_positions = 1
|
|
OR = {
|
|
galactic_community_rank = 1
|
|
AND = {
|
|
is_subject = yes
|
|
overlord = {
|
|
opinion_level = { who = prev level >= neutral }
|
|
galactic_community_rank = 1
|
|
}
|
|
}
|
|
}
|
|
desc = gal_com_alone_on_council_or_overlord
|
|
}
|
|
|
|
|
|
modifier = {
|
|
factor = 3
|
|
|
|
num_council_positions = 3
|
|
OR = {
|
|
galactic_community_rank <= 2
|
|
AND = {
|
|
is_subject = yes
|
|
overlord = {
|
|
opinion_level = { who = prev level >= neutral }
|
|
galactic_community_rank <= 2
|
|
}
|
|
}
|
|
}
|
|
desc = gal_com_wants_to_reduce_council_size
|
|
}
|
|
|
|
modifier = {
|
|
factor = 3
|
|
num_council_positions = 1
|
|
OR = {
|
|
galactic_community_rank = 2
|
|
AND = {
|
|
is_subject = yes
|
|
overlord = {
|
|
opinion_level = { who = prev level >= neutral }
|
|
galactic_community_rank = 2
|
|
}
|
|
}
|
|
}
|
|
desc = gal_com_wants_to_add_themselves_or_overlord_to_council
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.8
|
|
num_council_positions = 3
|
|
is_egalitarian = yes
|
|
desc = ethic_egalitarian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.8
|
|
num_council_positions = 1
|
|
is_authoritarian = yes
|
|
desc = ethic_authoritarian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.2
|
|
num_council_positions = 3
|
|
is_authoritarian = yes
|
|
desc = ethic_authoritarian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.2
|
|
num_council_positions = 1
|
|
is_egalitarian = yes
|
|
desc = ethic_egalitarian
|
|
}
|
|
}
|
|
}
|
|
|
|
resolution_emperor_council_size_3 = {
|
|
icon = "GFX_resolution_imperial_council_size"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
}
|
|
|
|
effect = {
|
|
set_council_size = 3
|
|
set_global_flag = galactic_council_formed
|
|
|
|
hidden_effect = {
|
|
set_timed_country_flag = { flag = galactic_community_resolution_passed_general days = @resolution_flag_timer }
|
|
add_modifier = {
|
|
modifier = resolution_passed_diplomatic_weight
|
|
days = 2200
|
|
}
|
|
}
|
|
}
|
|
|
|
fail_effects = {
|
|
hidden_effect = {
|
|
set_timed_country_flag = { flag = galactic_community_resolution_failed_general days = @resolution_flag_timer }
|
|
add_modifier = {
|
|
modifier = resolution_failed_diplomatic_weight
|
|
days = 2200
|
|
}
|
|
}
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_emperor = yes
|
|
is_galactic_council_established = yes
|
|
OR = {
|
|
num_council_positions = 2
|
|
num_council_positions = 4
|
|
}
|
|
}
|
|
|
|
active = {
|
|
has_galactic_emperor = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_unpopular
|
|
|
|
modifier = { # raising the number of slots is more popular than lowering it
|
|
factor = 1.25
|
|
num_council_positions = 2
|
|
desc = gal_com_increase_council_size_positive
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
|
|
num_council_positions = 4
|
|
OR = {
|
|
galactic_community_rank = 4
|
|
AND = {
|
|
is_subject = yes
|
|
overlord = {
|
|
opinion_level = { who = prev level >= neutral }
|
|
galactic_community_rank = 4
|
|
}
|
|
}
|
|
}
|
|
desc = gal_com_they_or_overlord_would_be_removed_from_council
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
|
|
num_council_positions = 2
|
|
OR = {
|
|
galactic_community_rank <= 2
|
|
AND = {
|
|
is_subject = yes
|
|
overlord = {
|
|
opinion_level = { who = prev level >= neutral }
|
|
galactic_community_rank <= 2
|
|
}
|
|
}
|
|
}
|
|
desc = gal_com_dont_let_others_in_on_the_council
|
|
}
|
|
|
|
modifier = {
|
|
factor = 3
|
|
|
|
num_council_positions = 4
|
|
OR = {
|
|
galactic_community_rank <= 3
|
|
AND = {
|
|
is_subject = yes
|
|
overlord = {
|
|
opinion_level = { who = prev level >= neutral }
|
|
galactic_community_rank <= 3
|
|
}
|
|
}
|
|
}
|
|
desc = gal_com_wants_to_reduce_council_size
|
|
}
|
|
|
|
modifier = {
|
|
factor = 3
|
|
AND = {
|
|
num_council_positions = 2
|
|
OR = {
|
|
galactic_community_rank = 3
|
|
AND = {
|
|
is_subject = yes
|
|
overlord = {
|
|
opinion_level = { who = prev level >= neutral }
|
|
galactic_community_rank = 3
|
|
}
|
|
}
|
|
}
|
|
}
|
|
desc = gal_com_wants_to_add_themselves_or_overlord_to_council
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.8
|
|
num_council_positions = 2
|
|
is_authoritarian = yes
|
|
desc = ethic_authoritarian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.8
|
|
num_council_positions = 4
|
|
is_egalitarian = yes
|
|
desc = ethic_egalitarian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.2
|
|
num_council_positions = 2
|
|
is_egalitarian = yes
|
|
desc = ethic_egalitarian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.2
|
|
num_council_positions = 4
|
|
is_authoritarian = yes
|
|
desc = ethic_authoritarian
|
|
}
|
|
}
|
|
}
|
|
|
|
resolution_emperor_council_size_4 = {
|
|
icon = "GFX_resolution_imperial_council_size"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
}
|
|
|
|
effect = {
|
|
set_council_size = 4
|
|
set_global_flag = galactic_council_formed
|
|
|
|
hidden_effect = {
|
|
set_timed_country_flag = { flag = galactic_community_resolution_passed_general days = @resolution_flag_timer }
|
|
add_modifier = {
|
|
modifier = resolution_passed_diplomatic_weight
|
|
days = 2200
|
|
}
|
|
}
|
|
}
|
|
|
|
fail_effects = {
|
|
hidden_effect = {
|
|
set_timed_country_flag = { flag = galactic_community_resolution_failed_general days = @resolution_flag_timer }
|
|
add_modifier = {
|
|
modifier = resolution_failed_diplomatic_weight
|
|
days = 2200
|
|
}
|
|
}
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_emperor = yes
|
|
is_galactic_council_established = yes
|
|
OR = {
|
|
num_council_positions = 3
|
|
num_council_positions = 5
|
|
}
|
|
}
|
|
|
|
active = {
|
|
has_galactic_emperor = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_normal
|
|
|
|
modifier = { # raising the number of slots is more popular than lowering it
|
|
factor = 1.25
|
|
num_council_positions = 3
|
|
desc = gal_com_increase_council_size_positive
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
|
|
num_council_positions = 5
|
|
OR = {
|
|
galactic_community_rank = 5
|
|
AND = {
|
|
is_subject = yes
|
|
overlord = {
|
|
opinion_level = { who = prev level >= neutral }
|
|
galactic_community_rank = 5
|
|
}
|
|
}
|
|
}
|
|
desc = gal_com_they_or_overlord_would_be_removed_from_council
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
|
|
num_council_positions = 3
|
|
OR = {
|
|
galactic_community_rank <= 3
|
|
AND = {
|
|
is_subject = yes
|
|
overlord = {
|
|
opinion_level = { who = prev level >= neutral }
|
|
galactic_community_rank <= 3
|
|
}
|
|
}
|
|
}
|
|
desc = gal_com_dont_let_others_in_on_the_council
|
|
}
|
|
|
|
modifier = {
|
|
factor = 3
|
|
|
|
num_council_positions = 5
|
|
OR = {
|
|
galactic_community_rank <= 4
|
|
AND = {
|
|
is_subject = yes
|
|
overlord = {
|
|
opinion_level = { who = prev level >= neutral }
|
|
galactic_community_rank <= 4
|
|
}
|
|
}
|
|
}
|
|
desc = gal_com_wants_to_reduce_council_size
|
|
}
|
|
|
|
modifier = {
|
|
factor = 3
|
|
|
|
num_council_positions = 3
|
|
OR = {
|
|
galactic_community_rank = 4
|
|
AND = {
|
|
is_subject = yes
|
|
overlord = {
|
|
opinion_level = { who = prev level >= neutral }
|
|
galactic_community_rank = 4
|
|
}
|
|
}
|
|
}
|
|
desc = gal_com_wants_to_add_themselves_or_overlord_to_council
|
|
}
|
|
|
|
|
|
modifier = {
|
|
factor = 0.8
|
|
num_council_positions = 5
|
|
is_egalitarian = yes
|
|
desc = ethic_egalitarian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.8
|
|
num_council_positions = 3
|
|
is_authoritarian = yes
|
|
desc = ethic_authoritarian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.2
|
|
num_council_positions = 5
|
|
is_authoritarian = yes
|
|
desc = ethic_authoritarian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.2
|
|
num_council_positions = 3
|
|
is_egalitarian = yes
|
|
desc = ethic_egalitarian
|
|
}
|
|
}
|
|
}
|
|
|
|
resolution_emperor_council_size_5 = {
|
|
icon = "GFX_resolution_imperial_council_size"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
}
|
|
|
|
effect = {
|
|
set_council_size = 5
|
|
set_global_flag = galactic_council_formed
|
|
|
|
hidden_effect = {
|
|
set_timed_country_flag = { flag = galactic_community_resolution_passed_general days = @resolution_flag_timer }
|
|
add_modifier = {
|
|
modifier = resolution_passed_diplomatic_weight
|
|
days = 2200
|
|
}
|
|
}
|
|
}
|
|
|
|
fail_effects = {
|
|
hidden_effect = {
|
|
set_timed_country_flag = { flag = galactic_community_resolution_failed_general days = @resolution_flag_timer }
|
|
add_modifier = {
|
|
modifier = resolution_failed_diplomatic_weight
|
|
days = 2200
|
|
}
|
|
}
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_emperor = yes
|
|
is_galactic_council_established = yes
|
|
num_council_positions = 4
|
|
}
|
|
|
|
active = {
|
|
has_galactic_emperor = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_popular
|
|
|
|
modifier = {
|
|
factor = 3
|
|
num_council_positions = 4
|
|
OR = {
|
|
galactic_community_rank = 5
|
|
AND = {
|
|
is_subject = yes
|
|
overlord = {
|
|
opinion_level = { who = prev level >= neutral }
|
|
galactic_community_rank = 5
|
|
}
|
|
}
|
|
}
|
|
desc = gal_com_wants_to_add_themselves_or_overlord_to_council
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.8
|
|
is_part_of_galactic_council = yes
|
|
desc = gal_com_on_galatic_council
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.8
|
|
is_authoritarian = yes
|
|
desc = ethic_authoritarian
|
|
}
|
|
|
|
modifier = {
|
|
factor = 1.2
|
|
is_egalitarian = yes
|
|
desc = ethic_egalitarian
|
|
}
|
|
}
|
|
}
|
|
|
|
# Permanent Seat
|
|
resolution_emperor_permanent_seat = {
|
|
icon = "GFX_resolution_imperial_council_member_permanent"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t5
|
|
}
|
|
}
|
|
|
|
target = yes
|
|
harmful = no
|
|
valid_target = {
|
|
is_country_type = default
|
|
is_galactic_community_member = yes
|
|
is_part_of_galactic_council = yes
|
|
is_permanent_councillor = no
|
|
is_galactic_emperor = no
|
|
}
|
|
|
|
effect = {
|
|
add_permanent_councillor = yes
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_emperor = yes
|
|
is_galactic_council_established = yes
|
|
NOR = {
|
|
is_active_resolution = "resolution_emperor_trial_of_advancement"
|
|
is_active_resolution = "resolution_emperor_by_appointment"
|
|
}
|
|
}
|
|
|
|
active = {
|
|
has_galactic_emperor = yes
|
|
}
|
|
|
|
allow = {
|
|
custom_tooltip = {
|
|
fail_text = "resolution_already_active"
|
|
NOT = { is_active_resolution = "resolution_emperor_permanent_seat" }
|
|
}
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_disliked
|
|
}
|
|
}
|
|
|
|
# Revoke Permanent Seat
|
|
resolution_emperor_revoke_permanent_seat = {
|
|
icon = "GFX_resolution_imperial_council_member_permanent"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t5
|
|
}
|
|
}
|
|
|
|
target = yes
|
|
harmful = yes
|
|
valid_target = {
|
|
is_country_type = default
|
|
is_galactic_community_member = yes
|
|
is_part_of_galactic_council = yes
|
|
is_permanent_councillor = yes
|
|
is_galactic_emperor = no
|
|
}
|
|
|
|
effect = {
|
|
remove_permanent_councillor = yes
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_emperor = yes
|
|
is_galactic_council_established = yes
|
|
NOR = {
|
|
is_active_resolution = "resolution_emperor_trial_of_advancement"
|
|
is_active_resolution = "resolution_emperor_by_appointment"
|
|
}
|
|
}
|
|
|
|
active = {
|
|
has_galactic_emperor = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_disliked
|
|
}
|
|
}
|
|
|
|
# Trial of Advancement
|
|
resolution_emperor_trial_of_advancement = {
|
|
icon = "GFX_resolution_imperial_council_trial"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
}
|
|
|
|
effect = {
|
|
custom_tooltip = resolution_emperor_trial_of_advancement_tooltip
|
|
hidden_effect = {
|
|
# Suspend Council Elections
|
|
every_playable_country = {
|
|
limit = {
|
|
is_galactic_community_member = yes
|
|
is_part_of_galactic_council = yes
|
|
is_galactic_emperor = no
|
|
}
|
|
add_permanent_councillor = yes
|
|
}
|
|
if = {
|
|
limit = { is_active_resolution = "resolution_emperor_by_appointment" }
|
|
cancel_resolution = "resolution_emperor_by_appointment"
|
|
}
|
|
else_if = {
|
|
limit = { is_active_resolution = "resolution_emperor_by_election" }
|
|
cancel_resolution = "resolution_emperor_by_election"
|
|
}
|
|
}
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_emperor = yes
|
|
}
|
|
|
|
active = {
|
|
has_galactic_emperor = yes
|
|
}
|
|
|
|
allow = {
|
|
custom_tooltip = {
|
|
fail_text = "resolution_already_active"
|
|
NOT = { is_active_resolution = "resolution_emperor_trial_of_advancement" }
|
|
}
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_disliked
|
|
|
|
modifier = {
|
|
weight = 10
|
|
is_part_of_galactic_council = no
|
|
any_playable_country = {
|
|
is_part_of_galactic_council = yes
|
|
is_galactic_emperor = no
|
|
relative_power = {
|
|
who = prev
|
|
category = fleet
|
|
value <= equivalent
|
|
}
|
|
}
|
|
desc = gal_com_stronger_than_council_member
|
|
}
|
|
|
|
modifier = {
|
|
weight = 0
|
|
is_pacifist = yes
|
|
desc = ethic_pacifist
|
|
}
|
|
|
|
modifier = {
|
|
weight = 1.6
|
|
is_militarist = yes
|
|
desc = ethic_militarist
|
|
}
|
|
|
|
modifier = {
|
|
weight = 4
|
|
has_ai_personality = honorbound_warriors
|
|
desc = personality_honorbound_warriors
|
|
}
|
|
|
|
modifier = {
|
|
weight = 4
|
|
has_civic = civic_warrior_culture
|
|
desc = civic_warrior_culture
|
|
}
|
|
|
|
modifier = {
|
|
weight = 0
|
|
is_part_of_galactic_council = yes
|
|
is_galactic_emperor = no
|
|
any_playable_country = {
|
|
is_part_of_galactic_council = no
|
|
relative_power = {
|
|
who = prev
|
|
category = fleet
|
|
value >= equivalent
|
|
}
|
|
}
|
|
desc = gal_com_weaker_than_non_council_member
|
|
}
|
|
}
|
|
}
|
|
|
|
# By Appointment
|
|
resolution_emperor_by_appointment = {
|
|
icon = "GFX_resolution_imperial_council_appointment"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
}
|
|
|
|
effect = {
|
|
custom_tooltip = resolution_emperor_by_appointment_tooltip
|
|
hidden_effect = {
|
|
every_playable_country = {
|
|
limit = {
|
|
is_galactic_community_member = yes
|
|
is_part_of_galactic_council = yes
|
|
is_galactic_emperor = no
|
|
}
|
|
add_permanent_councillor = yes
|
|
}
|
|
set_emperor_can_change_council_members = yes
|
|
if = {
|
|
limit = { is_active_resolution = "resolution_emperor_trial_of_advancement" }
|
|
cancel_resolution = "resolution_emperor_trial_of_advancement"
|
|
}
|
|
else_if = {
|
|
limit = { is_active_resolution = "resolution_emperor_by_election" }
|
|
cancel_resolution = "resolution_emperor_by_election"
|
|
}
|
|
}
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_emperor = yes
|
|
}
|
|
|
|
active = {
|
|
has_galactic_emperor = yes
|
|
}
|
|
|
|
allow = {
|
|
custom_tooltip = {
|
|
fail_text = "resolution_already_active"
|
|
NOT = { is_active_resolution = "resolution_emperor_by_appointment" }
|
|
}
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_hated
|
|
}
|
|
}
|
|
|
|
# By Election
|
|
resolution_emperor_by_election = {
|
|
icon = "GFX_resolution_imperial_council_diplomatic_weight"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
}
|
|
|
|
effect = {
|
|
custom_tooltip = resolution_emperor_by_election_tooltip
|
|
hidden_effect = {
|
|
# Restore Council Elections
|
|
every_playable_country = {
|
|
limit = {
|
|
is_galactic_community_member = yes
|
|
is_part_of_galactic_council = yes
|
|
is_galactic_emperor = no
|
|
is_permanent_councillor = yes
|
|
}
|
|
remove_permanent_councillor = yes
|
|
}
|
|
if = {
|
|
limit = { is_active_resolution = "resolution_emperor_trial_of_advancement" }
|
|
cancel_resolution = "resolution_emperor_trial_of_advancement"
|
|
}
|
|
else_if = {
|
|
limit = { is_active_resolution = "resolution_emperor_by_appointment" }
|
|
cancel_resolution = "resolution_emperor_by_appointment"
|
|
}
|
|
}
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_emperor = yes
|
|
}
|
|
|
|
active = {
|
|
has_galactic_emperor = yes
|
|
}
|
|
|
|
allow = {
|
|
custom_tooltip = {
|
|
fail_text = "resolution_already_active"
|
|
NOT = { is_active_resolution = "resolution_emperor_by_election" }
|
|
}
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_disliked
|
|
|
|
modifier = {
|
|
factor = 10
|
|
num_council_positions = 1
|
|
galactic_community_rank = 1
|
|
is_part_of_galactic_council = no
|
|
desc = gal_com_empire_council_candidate
|
|
}
|
|
|
|
modifier = {
|
|
factor = 10
|
|
num_council_positions = 2
|
|
galactic_community_rank = 2
|
|
is_part_of_galactic_council = no
|
|
desc = gal_com_empire_council_candidate
|
|
}
|
|
|
|
modifier = {
|
|
factor = 10
|
|
num_council_positions = 3
|
|
galactic_community_rank = 3
|
|
is_part_of_galactic_council = no
|
|
desc = gal_com_empire_council_candidate
|
|
}
|
|
|
|
modifier = {
|
|
factor = 10
|
|
num_council_positions = 4
|
|
galactic_community_rank = 4
|
|
is_part_of_galactic_council = no
|
|
desc = gal_com_empire_council_candidate
|
|
}
|
|
|
|
modifier = {
|
|
factor = 10
|
|
num_council_positions = 5
|
|
galactic_community_rank = 5
|
|
is_part_of_galactic_council = no
|
|
desc = gal_com_empire_council_candidate
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0
|
|
galactic_community_rank <= 2
|
|
is_part_of_galactic_council = no
|
|
desc = gal_com_top_two_rank
|
|
}
|
|
}
|
|
}
|
|
|
|
# Pax Galactica
|
|
resolution_emperor_pax_galactica = {
|
|
icon = "GFX_resolution_pax_galactica"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
}
|
|
|
|
effect = {
|
|
custom_tooltip = resolution_emperor_pax_galactica_tooltip
|
|
hidden_effect = {
|
|
every_war = {
|
|
limit = {
|
|
NOR = {
|
|
using_war_goal = {
|
|
type = wg_seize_council_seat
|
|
owner = attacker
|
|
}
|
|
using_war_goal = {
|
|
type = wg_seize_council_seat
|
|
owner = defender
|
|
}
|
|
using_war_goal = {
|
|
type = wg_declared_crisis
|
|
owner = attacker
|
|
}
|
|
}
|
|
any_attacker = { is_galactic_community_member = yes }
|
|
any_defender = { is_galactic_community_member = yes }
|
|
}
|
|
every_war_participant = {
|
|
limit = { is_galactic_community_member = yes }
|
|
prev = { remove_war_participant = prev }
|
|
country_event = { id = emperor.360 }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_emperor = yes
|
|
}
|
|
|
|
allow = {
|
|
imperial_authority >= 180
|
|
custom_tooltip = {
|
|
fail_text = "resolution_already_active"
|
|
NOT = { is_active_resolution = "resolution_emperor_pax_galactica" }
|
|
}
|
|
}
|
|
|
|
active = {
|
|
has_galactic_emperor = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_unpopular
|
|
|
|
modifier = {
|
|
factor = 4
|
|
is_pacifist = yes
|
|
desc = ethic_pacifist
|
|
}
|
|
|
|
modifier = {
|
|
factor = 0.2
|
|
is_militarist = yes
|
|
desc = ethic_militarist
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
any_country = { is_crisis_faction = yes }
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
any_neighbor_country = { is_crisis_faction = yes }
|
|
desc = gal_com_neighboring_crisis_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
has_crisis_stage_1 = yes
|
|
desc = gal_com_crisis_stage_1
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
has_crisis_stage_2 = yes
|
|
desc = gal_com_crisis_stage_2
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
has_crisis_stage_3 = yes
|
|
desc = gal_com_crisis_stage_3
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
has_crisis_stage_4 = yes
|
|
desc = gal_com_crisis_stage_4
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
any_playable_country = { has_country_flag = crisis_sphere_revealed }
|
|
desc = gal_com_crisis_sphere_revealed
|
|
}
|
|
|
|
modifier = {
|
|
factor = 2
|
|
any_playable_country = { has_been_declared_crisis = yes }
|
|
desc = gal_com_someone_declared_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
has_global_flag = gray_goo_crisis_active
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
has_global_flag = marauder_crisis_ongoing
|
|
desc = gal_com_someone_is_revealed_crisis
|
|
}
|
|
|
|
modifier = {
|
|
factor = 2
|
|
any_country = { is_country_type = awakened_fallen_empire }
|
|
desc = gal_com_exists_awakened_fallen_empire
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
has_global_flag = war_in_heaven_ongoing
|
|
desc = gal_com_ongoing_war_in_heaven
|
|
}
|
|
}
|
|
}
|
|
|
|
# Repeal Pax Galactica
|
|
resolution_emperor_repeal_pax_galactica = {
|
|
icon = "GFX_resolution_repeal_pax_galactica"
|
|
|
|
resources = {
|
|
category = resolutions
|
|
cost = {
|
|
influence = @resolution_cost_t3
|
|
}
|
|
}
|
|
target = no
|
|
|
|
modifier = {
|
|
}
|
|
|
|
effect = {
|
|
custom_tooltip = resolution_emperor_repeal_pax_galactica_tooltip
|
|
hidden_effect = {
|
|
cancel_resolution = "resolution_emperor_pax_galactica"
|
|
}
|
|
}
|
|
|
|
fail_effects = {
|
|
}
|
|
|
|
potential = {
|
|
has_nemesis = yes
|
|
is_galactic_emperor = yes
|
|
is_active_resolution = "resolution_emperor_pax_galactica"
|
|
}
|
|
|
|
active = {
|
|
has_galactic_emperor = yes
|
|
}
|
|
|
|
ai_weight = {
|
|
base = @resolution_weight_unpopular
|
|
|
|
modifier = {
|
|
factor = 0
|
|
is_pacifist = yes
|
|
desc = ethic_pacifist
|
|
}
|
|
|
|
modifier = {
|
|
factor = 4
|
|
is_militarist = yes
|
|
desc = ethic_militarist
|
|
}
|
|
}
|
|
}
|