diff --git a/common/scripted_effects/RG_combat_skill_effects.txt b/common/scripted_effects/RG_combat_skill_effects.txt index 5370f4e..f4218a7 100644 --- a/common/scripted_effects/RG_combat_skill_effects.txt +++ b/common/scripted_effects/RG_combat_skill_effects.txt @@ -286,3 +286,14 @@ RG_leader_trait_admiral_nanorebuild_gray_counter_init_effect = { value = 0 } } + +RG_leader_trait_general_tempest_incoming_counter_init_effect = { + set_variable = { + which = rg_general_skill_combat_daypassed_variable + value = 1 + } + set_variable = { + which = rg_general_skill_combat_killed_variable + value = 0 + } +} diff --git a/common/scripted_effects/RG_gray_goo_effects.txt b/common/scripted_effects/RG_gray_goo_effects.txt index 26d3fa3..57572d2 100644 --- a/common/scripted_effects/RG_gray_goo_effects.txt +++ b/common/scripted_effects/RG_gray_goo_effects.txt @@ -65,7 +65,10 @@ rg_global_gray_location_check = { } else_if = { limit = { - has_country_flag = gray_governor_active + OR = { + has_country_flag = gray_official_active + has_country_flag = gray_governor_active #旧版flag + } } if = { limit = { @@ -134,7 +137,10 @@ rg_global_gray_location_check = { rg_create_gray_governor = { if = { limit = { - has_country_flag = gray_governor_active + OR = { + has_country_flag = gray_official_active + has_country_flag = gray_governor_active #旧版flag + } } } else = { @@ -225,7 +231,8 @@ rg_create_gray_governor = { rg_gray_govener_init = yes } #设置总督已启用标识 - set_country_flag = gray_governor_active + set_country_flag = gray_official_active #新版flag + set_country_flag = gray_governor_active #旧版flag #更新灰风形态 remove_country_flag = gray_warship_active remove_country_flag = rg_kac_grayfleet_active @@ -337,7 +344,8 @@ rg_create_gray_governor_habitat = { } rg_juggernaut_habitat_init = yes #设置总督已启用标识 - set_country_flag = gray_governor_active + set_country_flag = gray_official_active #新版flag + set_country_flag = gray_governor_active #旧版flag set_country_flag = gray_habitat_active #更新灰风形态 remove_country_flag = gray_warship_active @@ -406,7 +414,7 @@ rg_create_gray_warship = { } } else = { - rg_gray_admiral_init = yes + rg_gray_commander_init = yes } set_country_flag = gray_warship_active if = { @@ -456,7 +464,8 @@ rg_create_gray_warship = { } } remove_country_flag = gray_constship_active - remove_country_flag = gray_governor_active + remove_country_flag = gray_governor_active #旧版flag + remove_country_flag = gray_official_active remove_country_flag = gray_army_active random_owned_leader = { limit = { @@ -518,7 +527,7 @@ rg_create_gray_army = { } } else = { - rg_gray_general_init = yes + rg_gray_commander_init = yes } create_ship_design = { design = "NAME_RG_armed_transport_ship" @@ -568,7 +577,8 @@ rg_create_gray_army = { } remove_country_flag = gray_warship_active remove_country_flag = rg_kac_grayfleet_active - remove_country_flag = gray_governor_active + remove_country_flag = gray_governor_active #旧版flag + remove_country_flag = gray_official_active remove_country_flag = gray_constship_active remove_ship_design = last_created_design random_owned_leader = { @@ -689,7 +699,8 @@ rg_create_gray_const = { remove_country_flag = gray_army_active remove_country_flag = gray_warship_active remove_country_flag = rg_kac_grayfleet_active - remove_country_flag = gray_governor_active + remove_country_flag = gray_governor_active #旧版flag + remove_country_flag = gray_official_active random_owned_leader = { limit = { has_leader_flag = gray_scientist diff --git a/common/scripted_effects/RG_gray_leader_init_effects.txt b/common/scripted_effects/RG_gray_leader_init_effects.txt index cacb3c7..028ebef 100644 --- a/common/scripted_effects/RG_gray_leader_init_effects.txt +++ b/common/scripted_effects/RG_gray_leader_init_effects.txt @@ -35,7 +35,7 @@ rg_gray_govener_init = { event_target:rg_gray_country = { create_leader = { - class = governor + class = official species = root name = "NAME_Gray" gender = female @@ -52,6 +52,7 @@ rg_gray_govener_init = { } effect = { save_global_event_target_as = gray_governor + save_global_event_target_as = gray_official set_leader_flag = gray_governor set_leader_flag = legendary_leader set_leader_flag = immune_to_negative_traits @@ -75,9 +76,9 @@ rg_gray_govener_init = { set_leader_flag = gray_leader add_trait_no_notify = leader_trait_governor_gray add_trait_no_notify = RG_leader_trait_ruler_gray - add_trait_no_notify = subclass_governor_economist - add_trait_no_notify = leader_trait_urbanist_3 - add_trait_no_notify = leader_trait_scrapper_2 + add_trait_no_notify = subclass_official_governor + add_trait_no_notify = trait_ruler_architectural_sense_3 + add_trait_no_notify = leader_trait_distribution_lines_2 if = { limit = { owner = { @@ -92,9 +93,9 @@ rg_gray_govener_init = { else = { add_trait_no_notify = RG_leader_trait_governor_gray add_trait_no_notify = RG_leader_trait_ruler_gray - add_trait_no_notify = subclass_governor_economis - add_trait_no_notify = leader_trait_urbanist_3 - add_trait_no_notify = leader_trait_scrapper_2 + add_trait_no_notify = subclass_official_governor + add_trait_no_notify = trait_ruler_architectural_sense_3 + add_trait_no_notify = leader_trait_distribution_lines_2 } } } @@ -130,14 +131,14 @@ rg_gray_govener_init = { } set_variable = { which = affection value = owner.wg_gray_affection } } - if = { - limit = { - owner = { - has_country_flag = gray_encountered_the_loop - } - } - add_trait_no_notify = leader_trait_governor_wg_the_loop - } + # if = { + # limit = { + # owner = { + # has_country_flag = gray_encountered_the_loop + # } + # } + # add_trait_no_notify = leader_trait_governor_wg_the_loop + # } set_gray_portrait = yes # add_special_leader_affection_trait = { LEADER = gray LEADER_CLASS = governor MARRIED_FLAG = married_gray } } @@ -148,10 +149,10 @@ rg_gray_govener_init = { } -rg_gray_admiral_init = { +rg_gray_commander_init = { event_target:rg_gray_country = { create_leader = { - class = admiral + class = commander species = root name = "NAME_Gray" immortal = yes @@ -165,11 +166,13 @@ rg_gray_admiral_init = { skill = 10 set_age = 18 traits = { - trait = RG_leader_trait_admiral_gray + 0 = RG_leader_trait_admiral_gray } effect = { save_global_event_target_as = gray_leader_admiral set_leader_flag = gray_admiral + save_global_event_target_as = gray_leader_general + set_leader_flag = gray_general set_leader_flag = legendary_leader set_leader_flag = immune_to_negative_traits if = { @@ -205,11 +208,12 @@ rg_gray_admiral_init = { set_leader_flag = rg_gray_leader add_trait_no_notify = RG_leader_trait_admiral_gray add_trait_no_notify = RG_leader_trait_admiral_nanorebuild_gray + add_trait_no_notify = RG_leader_trait_general_gray_skill # 缺少特质RG_leader_trait_admiral_gray将导致小灰改造项目无法完成 - add_trait_no_notify = subclass_admiral_aggressor + add_trait_no_notify = subclass_commander_councilor add_trait_no_notify = leader_trait_carrier_specialization - add_trait_no_notify = leader_trait_artillerist_2 add_trait_no_notify = leader_trait_juryrigger_2 + add_trait_no_notify = leader_trait_reinforcer_2 } } last_created_leader = { @@ -244,15 +248,15 @@ rg_gray_admiral_init = { } set_variable = { which = affection value = owner.wg_gray_affection } } - add_trait_no_notify = leader_trait_admiral_wg_gray_affection - if = { - limit = { - owner = { - has_country_flag = gray_encountered_the_loop - } - } - add_trait_no_notify = leader_trait_admiral_wg_the_loop - } + # add_trait_no_notify = leader_trait_admiral_wg_gray_affection + # if = { + # limit = { + # owner = { + # has_country_flag = gray_encountered_the_loop + # } + # } + # add_trait_no_notify = leader_trait_admiral_wg_the_loop + # } set_gray_portrait = yes # add_special_leader_affection_trait = { LEADER = gray LEADER_CLASS = governor MARRIED_FLAG = married_gray } } @@ -261,115 +265,231 @@ rg_gray_admiral_init = { } } RG_leader_trait_admiral_nanorebuild_gray_counter_init_effect = yes + RG_leader_trait_general_tempest_incoming_counter_init_effect = yes } - -rg_gray_general_init = { - event_target:rg_gray_country = { - create_leader = { - class = general - species = root - name = "NAME_Gray" - immortal = yes - event_leader = yes - skip_background_generation = yes - custom_catch_phrase = gray_catch_phrase - custom_description = gray_backstory - background_ethic = ethic_gestalt_consciousness - hide_age = yes - gender = female - skill = 10 - set_age = 18 - traits = { - trait = RG_leader_trait_general_gray - trait = RG_leader_trait_general_gray_skill - trait = subclass_general_marshall - trait = leader_trait_heavy_hitter_2 - trait = leader_trait_reinforcer_2 - } - effect = { - save_global_event_target_as = gray_leader_general - set_leader_flag = rg_gray_leader - set_leader_flag = gray_general - set_leader_flag = legendary_leader - set_leader_flag = immune_to_negative_traits - if = { - limit = { - has_global_flag = has_wsg_mod - } - set_leader_flag = not_has_wg_affection_normal - } - if = { - limit = { - owner = { - OR = { - has_global_flag = has_wsg_mod - has_global_flag = kdc_event_mod_active - } - } - } - set_leader_flag = "gray_leader" # "gray_leader"==rg_gray_leader - set_leader_flag = gray_leader - } - } - } - last_created_leader = { - set_owner = event_target:gray_owner - } - } - last_created_leader = { - set_leader_flag = has_gained_level_trait - } - random_owned_leader = { - limit = { - has_leader_flag = gray_general - } - if = { - limit = { - owner = { - OR = { - has_global_flag = has_wsg_mod - has_global_flag = kdc_event_mod_active - } - } - } - if = { - limit = { - has_leader_flag = has_wg_affection_wg_gray - } - if = { - limit = { - owner = { has_country_flag = married_gray } - } - set_leader_flag = married - } - set_variable = { which = affection value = owner.wg_gray_affection } - } - # add_trait_no_notify = leader_trait_admiral_wg_gray_affection - if = { - limit = { - owner = { - has_country_flag = gray_encountered_the_loop - } - } - add_trait_no_notify = leader_trait_admiral_wg_the_loop - } - set_gray_portrait = yes - # add_special_leader_affection_trait = { LEADER = gray LEADER_CLASS = governor MARRIED_FLAG = married_gray } - } - else = { - rg_set_gray_portrait = yes - } - } - set_variable = { - which = rg_general_skill_combat_daypassed_variable - value = 1 - } - set_variable = { - which = rg_general_skill_combat_killed_variable - value = 0 - } - -} +# +# rg_gray_admiral_init = { +# event_target:rg_gray_country = { +# create_leader = { +# class = admiral +# species = root +# name = "NAME_Gray" +# immortal = yes +# event_leader = yes +# skip_background_generation = yes +# custom_catch_phrase = gray_catch_phrase +# custom_description = gray_backstory +# background_ethic = ethic_gestalt_consciousness +# hide_age = yes +# gender = female +# skill = 10 +# set_age = 18 +# traits = { +# trait = RG_leader_trait_admiral_gray +# } +# effect = { +# save_global_event_target_as = gray_leader_admiral +# set_leader_flag = gray_admiral +# set_leader_flag = legendary_leader +# set_leader_flag = immune_to_negative_traits +# if = { +# limit = { +# has_global_flag = has_wsg_mod +# } +# set_leader_flag = not_has_wg_affection_normal +# } +# if = { +# limit = { +# owner = { +# OR = { +# has_global_flag = has_wsg_mod +# has_global_flag = kdc_event_mod_active +# } +# } +# } +# set_leader_flag = "gray_leader" # "gray_leader"==rg_gray_leader +# set_leader_flag = gray_leader +# add_trait_no_notify = gray_admiral +# if = { +# limit = { +# owner = { +# has_country_flag = origin_gray_weaken +# has_country_flag = origin_gray_country +# } +# } +# remove_trait = gray_admiral +# add_trait_no_notify = leader_trait_admiral_gray_weak +# # 缺少特质leader_trait_admiral_gray_weak将导致KDC故事包远星之歌起源研究纳米星球特殊项目无法完成 +# } +# } +# set_leader_flag = rg_gray_leader +# add_trait_no_notify = RG_leader_trait_admiral_gray +# add_trait_no_notify = RG_leader_trait_admiral_nanorebuild_gray +# # 缺少特质RG_leader_trait_admiral_gray将导致小灰改造项目无法完成 +# add_trait_no_notify = subclass_admiral_aggressor +# add_trait_no_notify = leader_trait_carrier_specialization +# add_trait_no_notify = leader_trait_artillerist_2 +# add_trait_no_notify = leader_trait_juryrigger_2 +# } +# } +# last_created_leader = { +# set_owner = event_target:gray_owner +# } +# } +# last_created_leader = { +# set_leader_flag = has_gained_level_trait +# } +# random_owned_leader = { +# limit = { +# has_leader_flag = gray_admiral +# } +# if = { +# limit = { +# owner = { +# OR = { +# has_global_flag = has_wsg_mod +# has_global_flag = kdc_event_mod_active +# } +# } +# } +# if = { +# limit = { +# has_leader_flag = has_wg_affection_wg_gray +# } +# if = { +# limit = { +# owner = { has_country_flag = married_gray } +# } +# set_leader_flag = married +# } +# set_variable = { which = affection value = owner.wg_gray_affection } +# } +# add_trait_no_notify = leader_trait_admiral_wg_gray_affection +# if = { +# limit = { +# owner = { +# has_country_flag = gray_encountered_the_loop +# } +# } +# add_trait_no_notify = leader_trait_admiral_wg_the_loop +# } +# set_gray_portrait = yes +# # add_special_leader_affection_trait = { LEADER = gray LEADER_CLASS = governor MARRIED_FLAG = married_gray } +# } +# else = { +# rg_set_gray_portrait = yes +# } +# } +# RG_leader_trait_admiral_nanorebuild_gray_counter_init_effect = yes +# } +# +# rg_gray_general_init = { +# event_target:rg_gray_country = { +# create_leader = { +# class = general +# species = root +# name = "NAME_Gray" +# immortal = yes +# event_leader = yes +# skip_background_generation = yes +# custom_catch_phrase = gray_catch_phrase +# custom_description = gray_backstory +# background_ethic = ethic_gestalt_consciousness +# hide_age = yes +# gender = female +# skill = 10 +# set_age = 18 +# traits = { +# trait = RG_leader_trait_general_gray +# trait = RG_leader_trait_general_gray_skill +# trait = subclass_general_marshall +# trait = leader_trait_heavy_hitter_2 +# trait = leader_trait_reinforcer_2 +# } +# effect = { +# save_global_event_target_as = gray_leader_general +# set_leader_flag = rg_gray_leader +# set_leader_flag = gray_general +# set_leader_flag = legendary_leader +# set_leader_flag = immune_to_negative_traits +# if = { +# limit = { +# has_global_flag = has_wsg_mod +# } +# set_leader_flag = not_has_wg_affection_normal +# } +# if = { +# limit = { +# owner = { +# OR = { +# has_global_flag = has_wsg_mod +# has_global_flag = kdc_event_mod_active +# } +# } +# } +# set_leader_flag = "gray_leader" # "gray_leader"==rg_gray_leader +# set_leader_flag = gray_leader +# } +# } +# } +# last_created_leader = { +# set_owner = event_target:gray_owner +# } +# } +# last_created_leader = { +# set_leader_flag = has_gained_level_trait +# } +# random_owned_leader = { +# limit = { +# has_leader_flag = gray_general +# } +# if = { +# limit = { +# owner = { +# OR = { +# has_global_flag = has_wsg_mod +# has_global_flag = kdc_event_mod_active +# } +# } +# } +# if = { +# limit = { +# has_leader_flag = has_wg_affection_wg_gray +# } +# if = { +# limit = { +# owner = { has_country_flag = married_gray } +# } +# set_leader_flag = married +# } +# set_variable = { which = affection value = owner.wg_gray_affection } +# } +# # add_trait_no_notify = leader_trait_admiral_wg_gray_affection +# if = { +# limit = { +# owner = { +# has_country_flag = gray_encountered_the_loop +# } +# } +# add_trait_no_notify = leader_trait_admiral_wg_the_loop +# } +# set_gray_portrait = yes +# # add_special_leader_affection_trait = { LEADER = gray LEADER_CLASS = governor MARRIED_FLAG = married_gray } +# } +# else = { +# rg_set_gray_portrait = yes +# } +# } +# set_variable = { +# which = rg_general_skill_combat_daypassed_variable +# value = 1 +# } +# set_variable = { +# which = rg_general_skill_combat_killed_variable +# value = 0 +# } +# +# } rg_gray_scientist_init = { event_target:rg_gray_country = { @@ -451,15 +571,15 @@ rg_gray_scientist_init = { } set_variable = { which = affection value = owner.wg_gray_affection } } - add_trait_no_notify = leader_trait_admiral_wg_gray_affection - if = { - limit = { - owner = { - has_country_flag = gray_encountered_the_loop - } - } - add_trait_no_notify = leader_trait_admiral_wg_the_loop - } + # add_trait_no_notify = leader_trait_admiral_wg_gray_affection + # if = { + # limit = { + # owner = { + # has_country_flag = gray_encountered_the_loop + # } + # } + # add_trait_no_notify = leader_trait_admiral_wg_the_loop + # } set_gray_portrait = yes # add_special_leader_affection_trait = { LEADER = gray LEADER_CLASS = governor MARRIED_FLAG = married_gray } } @@ -473,7 +593,7 @@ rg_gray_scientist_init = { rg_gray_country_leader_init = { create_leader = { # 只用作看板娘 - class = governor + class = official species = event_target:gray_species name = "NAME_Gray" gender = female @@ -487,7 +607,7 @@ rg_gray_country_leader_init = { skill = 10 set_age = 18 traits = { - trait = rg_leader_trait_governor_gray + trait = RG_leader_trait_offical_gray trait = RG_leader_trait_ruler_gray } effect = { @@ -511,16 +631,16 @@ rg_gray_country_leader_init = { # set_leader_flag = gray_leader add_trait_no_notify = leader_trait_governor_gray add_trait_no_notify = RG_leader_trait_ruler_gray - add_trait_no_notify = subclass_governor_economist - add_trait_no_notify = leader_trait_urbanist_3 - add_trait_no_notify = leader_trait_scrapper_2 + add_trait_no_notify = subclass_official_governor + add_trait_no_notify = trait_ruler_architectural_sense_3 + add_trait_no_notify = leader_trait_distribution_lines_2 } else = { - add_trait_no_notify = RG_leader_trait_governor_gray + add_trait_no_notify = RG_leader_trait_offical_gray add_trait_no_notify = RG_leader_trait_ruler_gray - add_trait_no_notify = subclass_governor_economis - add_trait_no_notify = leader_trait_urbanist_3 - add_trait_no_notify = leader_trait_scrapper_2 + add_trait_no_notify = subclass_official_governor + add_trait_no_notify = trait_ruler_architectural_sense_3 + add_trait_no_notify = leader_trait_distribution_lines_2 } } } diff --git a/common/scripted_effects/RG_scripted_effects.txt b/common/scripted_effects/RG_scripted_effects.txt index 3a979b6..e9f6f8d 100644 --- a/common/scripted_effects/RG_scripted_effects.txt +++ b/common/scripted_effects/RG_scripted_effects.txt @@ -663,7 +663,7 @@ rg_create_graygoo_roamers_7 = { rg_create_dessanu_roamers_1 = { event_target:graygoo_country = { create_leader = { - class = admiral + class = commander species = owner_main_species name = random skill = 3 @@ -734,7 +734,7 @@ rg_create_dessanu_roamers_1 = { rg_create_dessanu_roamers_2 = { event_target:graygoo_country = { create_leader = { - class = admiral + class = commander species = owner_main_species name = random skill = 3 @@ -805,7 +805,7 @@ rg_create_dessanu_roamers_2 = { rg_create_dessanu_roamers_3 = { event_target:graygoo_country = { create_leader = { - class = admiral + class = commander species = owner_main_species name = random skill = 3 @@ -876,7 +876,7 @@ rg_create_dessanu_roamers_3 = { rg_create_dessanu_roamers_4 = { event_target:graygoo_country = { create_leader = { - class = admiral + class = commander species = owner_main_species name = random skill = 3 @@ -947,7 +947,7 @@ rg_create_dessanu_roamers_4 = { rg_create_dessanu_roamers_5 = { event_target:graygoo_country = { create_leader = { - class = admiral + class = commander species = owner_main_species name = random skill = 3 @@ -1018,7 +1018,7 @@ rg_create_dessanu_roamers_5 = { rg_create_dessanu_roamers_6 = { event_target:graygoo_country = { create_leader = { - class = admiral + class = commander species = owner_main_species name = random skill = 3 @@ -1089,7 +1089,7 @@ rg_create_dessanu_roamers_6 = { rg_create_dessanu_roamers_7 = { event_target:graygoo_country = { create_leader = { - class = admiral + class = commander species = owner_main_species name = random skill = 3 diff --git a/common/scripted_effects/RG_special_effects.txt b/common/scripted_effects/RG_special_effects.txt index dddc472..9671a58 100644 --- a/common/scripted_effects/RG_special_effects.txt +++ b/common/scripted_effects/RG_special_effects.txt @@ -172,7 +172,7 @@ rg_create_fake_dragon = { } } create_leader = { - class = admiral + class = commander species = root name = "Name_rg_fake_dragon" event_leader = yes diff --git a/common/special_projects/!_RG_projects_distant_stars.txt b/common/special_projects/!_RG_projects_distant_stars.txt index 5c72361..3e25324 100644 --- a/common/special_projects/!_RG_projects_distant_stars.txt +++ b/common/special_projects/!_RG_projects_distant_stars.txt @@ -62,7 +62,7 @@ special_project = { event_scope = ship_event requirements = { shipclass_military = 1 - leader = admiral + leader = commander has_trait = RG_leader_trait_admiral_gray } on_start = { @@ -138,7 +138,7 @@ special_project = { event_scope = ship_event requirements = { shipclass_military = 1 - leader = admiral + leader = commander has_trait = RG_leader_trait_admiral_gray } on_start = { diff --git a/common/traits/!_RG_gray_goo_traits.txt b/common/traits/!_RG_gray_goo_traits.txt index 53809f5..51ea13a 100644 --- a/common/traits/!_RG_gray_goo_traits.txt +++ b/common/traits/!_RG_gray_goo_traits.txt @@ -1,12 +1,44 @@ ################### # Governor Traits # ################### -RG_leader_trait_governor_gray = { - #总督特质 +# leader_trait_governor_gray = { +# cost = 0 +# inline_script = { +# script = trait/icon_psionic +# CLASS = official +# ICON = "GFX_leader_trait_psionic_chosen_one" +# RARITY = paragon +# COUNCIL = no +# TIER = none +# } +# immortal_leaders = yes +# planet_modifier = { +# planet_buildings_cost_mult = -0.4 +# planet_building_build_speed_mult = 0.4 +# planet_jobs_energy_produces_mult = 0.15 +# planet_jobs_minerals_produces_mult = 0.15 +# deposit_blockers_cost_mult = -0.4 +# planet_clear_blocker_speed_mult = 0.4 +# } +# sector_modifier = { +# planet_buildings_cost_mult = -0.2 +# planet_building_build_speed_mult = 0.2 +# planet_jobs_energy_produces_mult = 0.075 +# planet_jobs_minerals_produces_mult = 0.075 +# deposit_blockers_cost_mult = -0.2 +# planet_clear_blocker_speed_mult = 0.2 +# } +# leader_class = { official } +# initial = no +# randomized = no +# } + +RG_leader_trait_offical_gray = { + #唯一特质 cost = 0 inline_script = { script = trait/icon_psionic - CLASS = governor + CLASS = leader ICON = "GFX_leader_trait_psionic_chosen_one" RARITY = paragon COUNCIL = no @@ -16,19 +48,83 @@ RG_leader_trait_governor_gray = { self_modifier = { species_leader_exp_gain = 1 } + councilor_modifier = { + all_technology_research_speed = 0.5 + } modifier = { + ship_archaeological_site_excavation_speed_mult = 0.5 + science_ship_survey_speed = 1 + ship_anomaly_generation_chance_mult = -1 + } + planet_modifier = { planet_buildings_cost_mult = -0.4 - planet_building_build_speed_mult = 0.8 - deposit_blockers_cost_mult = -0.4 - planet_clear_blocker_time_mult = -0.8 + planet_building_build_speed_mult = 0.6 planet_jobs_alloys_produces_mult = 0.25 planet_jobs_engineering_research_produces_mult = 0.25 + deposit_blockers_cost_mult = -0.4 + planet_clear_blocker_time_mult = -0.6 + } + sector_modifier = { + planet_buildings_cost_mult = -0.2 + planet_building_build_speed_mult = 0.2 + planet_jobs_alloys_produces_mult = 0.1 + planet_jobs_engineering_research_produces_mult = 0.1 + deposit_blockers_cost_mult = -0.2 + planet_clear_blocker_time_mult = -0.2 starbase_shipyard_build_cost_mult = -0.25 starbase_shipyard_build_speed_mult = -0.3 } - leader_class = { - governor + fleet_modifier = { + ship_armor_mult = 3.5 + ship_hull_mult = 3.5 + ships_upkeep_mult = -0.4 + ship_hull_regen_add_perc = 5 + ship_armor_regen_add_perc = 5 } + army_modifier = { + army_collateral_damage_mult = 0.15 + army_disengage_chance_mult = 0.5 + army_health = 0.35 + } + leader_class = { commander official scientist } + initial = no + randomized = no +} + +RG_leader_trait_governor_gray = { + #总督特质 + cost = 0 + inline_script = { + script = trait/icon_psionic + CLASS = official + ICON = "GFX_leader_trait_psionic_chosen_one" + RARITY = paragon + COUNCIL = no + TIER = none + } + immortal_leaders = yes + self_modifier = { + species_leader_exp_gain = 1 + } + planet_modifier = { + planet_buildings_cost_mult = -0.4 + planet_building_build_speed_mult = 0.6 + planet_jobs_alloys_produces_mult = 0.25 + planet_jobs_engineering_research_produces_mult = 0.25 + deposit_blockers_cost_mult = -0.4 + planet_clear_blocker_time_mult = -0.6 + } + sector_modifier = { + planet_buildings_cost_mult = -0.2 + planet_building_build_speed_mult = 0.2 + planet_jobs_alloys_produces_mult = 0.1 + planet_jobs_engineering_research_produces_mult = 0.1 + deposit_blockers_cost_mult = -0.2 + planet_clear_blocker_time_mult = -0.2 + starbase_shipyard_build_cost_mult = -0.25 + starbase_shipyard_build_speed_mult = -0.3 + } + leader_class = { official } initial = no randomized = no } @@ -38,7 +134,7 @@ RG_leader_trait_ruler_gray = { cost = 0 inline_script = { script = trait/icon_psionic - CLASS = governor + CLASS = official ICON = "GFX_leader_trait_legendary_spiritualist_two" RARITY = paragon COUNCIL = yes @@ -153,7 +249,7 @@ RG_leader_trait_ruler_gray = { mult = owner.rg_gray_level } leader_class = { - governor + official } initial = no randomized = no @@ -164,7 +260,7 @@ RG_leader_trait_admiral_gray_1 = { cost = 0 inline_script = { script = trait/icon_psionic - CLASS = admiral + CLASS = commander ICON = "GFX_leader_trait_psionic_chosen_one" RARITY = paragon COUNCIL = no @@ -174,15 +270,20 @@ RG_leader_trait_admiral_gray_1 = { species_leader_exp_gain = 1 } immortal_leaders = yes - modifier = { + fleet_modifier = { ship_armor_mult = 1 ship_hull_mult = 1 ships_upkeep_mult = -0.4 ship_hull_regen_add_perc = 1 ship_armor_regen_add_perc = 1 } + army_modifier = { + army_collateral_damage_mult = 0.05 + army_disengage_chance_mult = 0.3 + army_health = 0.15 + } leader_class = { - admiral + commander } initial = no randomized = no @@ -193,7 +294,7 @@ RG_leader_trait_admiral_gray_2 = { cost = 0 inline_script = { script = trait/icon_psionic - CLASS = admiral + CLASS = commander ICON = "GFX_leader_trait_psionic_chosen_one" RARITY = paragon COUNCIL = no @@ -203,15 +304,20 @@ RG_leader_trait_admiral_gray_2 = { species_leader_exp_gain = 1 } immortal_leaders = yes - modifier = { + fleet_modifier = { ship_armor_mult = 2 ship_hull_mult = 2 ships_upkeep_mult = -0.4 ship_hull_regen_add_perc = 2 ship_armor_regen_add_perc = 2 } + army_modifier = { + army_collateral_damage_mult = 0.1 + army_disengage_chance_mult = 0.4 + army_health = 0.25 + } leader_class = { - admiral + commander } initial = no randomized = no @@ -222,7 +328,7 @@ RG_leader_trait_admiral_gray = { cost = 0 inline_script = { script = trait/icon_psionic - CLASS = admiral + CLASS = commander ICON = "GFX_leader_trait_psionic_chosen_one" RARITY = paragon COUNCIL = no @@ -232,15 +338,20 @@ RG_leader_trait_admiral_gray = { species_leader_exp_gain = 1 } immortal_leaders = yes - modifier = { + fleet_modifier = { ship_armor_mult = 3.5 ship_hull_mult = 3.5 ships_upkeep_mult = -0.4 ship_hull_regen_add_perc = 5 ship_armor_regen_add_perc = 5 } + army_modifier = { + army_collateral_damage_mult = 0.15 + army_disengage_chance_mult = 0.5 + army_health = 0.35 + } leader_class = { - admiral + commander } initial = no randomized = no @@ -251,14 +362,14 @@ RG_leader_trait_admiral_nanorebuild_gray = { cost = 0 inline_script = { script = trait/icon_psionic - CLASS = admiral + CLASS = commander ICON = "GFX_leader_trait_nanorebuild" RARITY = paragon COUNCIL = no TIER = none } custom_tooltip_with_modifiers = RG_leader_trait_admiral_nanorebuild_effect - modifier = { + fleet_modifier = { ship_armor_mult = 0.5 ship_hull_mult = 0.5 ships_upkeep_mult = -0.1 @@ -266,7 +377,7 @@ RG_leader_trait_admiral_nanorebuild_gray = { ship_armor_regen_add_perc = 0.5 } leader_class = { - admiral + commander } initial = no randomized = no @@ -287,12 +398,14 @@ RG_leader_trait_scientist_gray = { species_leader_exp_gain = 1 } immortal_leaders = yes - modifier = { + councilor_modifier = { all_technology_research_speed = 0.5 + } + modifier = { ship_archaeological_site_excavation_speed_mult = 0.5 science_ship_survey_speed = 1 - ship_windup_mult = -1 - ship_speed_mult = 0.5 + # ship_windup_mult = -1 + # ship_speed_mult = 0.5 ship_anomaly_generation_chance_mult = -1 } leader_class = { @@ -302,38 +415,38 @@ RG_leader_trait_scientist_gray = { randomized = no } -RG_leader_trait_general_gray = { - #将军特质 - cost = 0 - inline_script = { - script = trait/icon_psionic - CLASS = general - ICON = "GFX_leader_trait_psionic_chosen_one" - RARITY = paragon - COUNCIL = no - TIER = none - } - self_modifier = { - species_leader_exp_gain = 1 - } - immortal_leaders = yes - modifier = { - army_collateral_damage_mult = 0.15 - army_disengage_chance_mult = 0.5 - army_health = 0.35 - } - leader_class = { - general - } - initial = no - randomized = no -} +# RG_leader_trait_general_gray = { +# #将军特质 +# cost = 0 +# inline_script = { +# script = trait/icon_psionic +# CLASS = general +# ICON = "GFX_leader_trait_psionic_chosen_one" +# RARITY = paragon +# COUNCIL = no +# TIER = none +# } +# self_modifier = { +# species_leader_exp_gain = 1 +# } +# immortal_leaders = yes +# modifier = { +# army_collateral_damage_mult = 0.15 +# army_disengage_chance_mult = 0.5 +# army_health = 0.35 +# } +# leader_class = { +# general +# } +# initial = no +# randomized = no +# } RG_leader_trait_general_gray_skill = { destiny_trait = yes inline_script = { script = trait/icon_psionic - CLASS = general + CLASS = commander ICON = "GFX_leader_trait_supreme_warrior" RARITY = paragon COUNCIL = no @@ -349,7 +462,7 @@ RG_leader_trait_general_gray_skill = { mult = owner.rg_general_skill_combat_daypassed_variable } leader_class = { - general + commander } initial = no randomized = no @@ -360,7 +473,7 @@ RG_leader_trait_admiral_fake_dragon = { cost = 0 inline_script = { script = trait/icon_psionic - CLASS = admiral + CLASS = commander ICON = "GFX_leader_trait_adaptable" RARITY = paragon COUNCIL = no @@ -370,13 +483,13 @@ RG_leader_trait_admiral_fake_dragon = { # 不知道什么时候专属特质加100%经验率已经变成国际公约力 species_leader_exp_gain = 1 } - modifier = { + fleet_modifier = { ship_armor_mult = 0.3 ship_hull_mult = 0.2 ship_weapon_damage = 0.2 } leader_class = { - admiral + commander } initial = no randomized = no @@ -386,7 +499,7 @@ RG_leader_trait_admiral_timed_life = { cost = 0 inline_script = { script = trait/icon_psionic - CLASS = admiral + CLASS = commander ICON = "GFX_leader_trait_ethereal" RARITY = paragon COUNCIL = no @@ -421,7 +534,7 @@ RG_leader_trait_admiral_timed_life = { custom_tooltip_with_modifiers = rg_timed_life_millennium } leader_class = { - admiral + commander } initial = no randomized = no @@ -431,7 +544,7 @@ RG_leader_trait_admiral_born_tobe_dragon = { cost = 0 inline_script = { script = trait/icon_psionic - CLASS = admiral + CLASS = commander ICON = "GFX_leader_trait_ethereal" RARITY = paragon COUNCIL = no @@ -467,7 +580,7 @@ RG_leader_trait_admiral_born_tobe_dragon = { custom_tooltip_with_modifiers = rg_timed_life_millennium_reborn } leader_class = { - admiral + commander } initial = no randomized = no diff --git a/common/traits/!_RG_wg_gray_leader_affection_traits_overwrite.txt b/common/traits/!_RG_wg_gray_leader_affection_traits_overwrite.txt index 38ff193..da45b29 100644 --- a/common/traits/!_RG_wg_gray_leader_affection_traits_overwrite.txt +++ b/common/traits/!_RG_wg_gray_leader_affection_traits_overwrite.txt @@ -1,387 +1,387 @@ -leader_trait_wg_gray_affection = { - cost = 0 - inline_script = { - script = trait/wg_new_leader_affection_trait - LEADER_TYPE = wg_gray - } - #governor - triggered_modifier = { - # lv2 - potential = { - leader_class = governor - check_variable = { - which = affection - value >= wg_leader_affection_to_lv2 - } - check_variable = { - which = affection - value < wg_leader_affection_to_lv3 - } - } - planet_district_city_build_speed_mult = 0.2 - planet_district_generator_build_speed_mult = 0.2 - planet_district_farming_build_speed_mult = 0.2 - planet_district_mining_build_speed_mult = 0.2 - planet_districts_minerals_cost_add = -100 - planet_stability_add = 5 - } - triggered_modifier = { - # lv3 - potential = { - leader_class = governor - check_variable = { - which = affection - value >= wg_leader_affection_to_lv3 - } - check_variable = { - which = affection - value < wg_leader_affection_to_lv4 - } - } - planet_researchers_physics_research_produces_mult = 0.04 - planet_researchers_society_research_produces_mult = 0.04 - planet_researchers_engineering_research_produces_mult = 0.04 - planet_district_city_build_speed_mult = 0.2 - planet_district_generator_build_speed_mult = 0.2 - planet_district_farming_build_speed_mult = 0.2 - planet_district_mining_build_speed_mult = 0.2 - planet_districts_minerals_cost_add = -100 - planet_stability_add = 5 - } - triggered_modifier = { - # lv4 - potential = { - leader_class = governor - if = { - limit = { - has_leader_flag = married - } - check_variable = { - which = affection - value >= wg_leader_affection_to_lv4 - } - check_variable = { - which = affection - value < wg_leader_affection_to_lv5 - } - } - else = { - check_variable = { - which = affection - value >= wg_leader_affection_to_lv4 - } - } - } - planet_researchers_physics_research_produces_mult = 0.08 - planet_researchers_society_research_produces_mult = 0.08 - planet_researchers_engineering_research_produces_mult = 0.08 - planet_district_city_build_speed_mult = 0.2 - planet_district_generator_build_speed_mult = 0.2 - planet_district_farming_build_speed_mult = 0.2 - planet_district_mining_build_speed_mult = 0.2 - planet_districts_minerals_cost_add = -100 - planet_stability_add = 5 - } - triggered_modifier = { - # lv5 - potential = { - leader_class = governor - check_variable = { - which = affection - value >= wg_leader_affection_to_lv5 - } - has_leader_flag = married - } - planet_researchers_physics_research_produces_mult = 0.15 - planet_researchers_society_research_produces_mult = 0.15 - planet_researchers_engineering_research_produces_mult = 0.15 - planet_district_city_build_speed_mult = 1 - planet_district_generator_build_speed_mult = 1 - planet_district_farming_build_speed_mult = 1 - planet_district_mining_build_speed_mult = 1 - planet_districts_minerals_cost_add = -150 - planet_stability_add = 5 - terraform_speed_mult = 0.3 - planet_decision_enact_speed_mult = 0.15 - } - #admiral - triggered_modifier = { - # lv2 - potential = { - leader_class = admiral - check_variable = { - which = affection - value >= wg_leader_affection_to_lv2 - } - check_variable = { - which = affection - value < wg_leader_affection_to_lv3 - } - } - ship_evasion_add = 5 - ship_tracking_add = 5 - ship_accuracy_add = 5 - ship_shield_mult = 0.5 - ship_hull_mult = 0.5 - ship_speed_mult = 0.2 - ship_hull_regen_add_static = 10 - ship_armor_regen_add_static = 10 - } - triggered_modifier = { - # lv3 - potential = { - leader_class = admiral - check_variable = { - which = affection - value >= wg_leader_affection_to_lv3 - } - check_variable = { - which = affection - value < wg_leader_affection_to_lv4 - } - } - ship_evasion_add = 5 - ship_accuracy_add = 5 - ship_tracking_add = 5 - ship_shield_mult = 1 - ship_hull_mult = 1 - ship_weapon_damage = 0.2 - ship_fire_rate_mult = 0.2 - ship_speed_mult = 0.25 - ship_hull_regen_add_static = 20 - ship_armor_regen_add_static = 20 - } - triggered_modifier = { - # lv4 - potential = { - leader_class = admiral - if = { - limit = { - has_leader_flag = married - } - check_variable = { - which = affection - value >= wg_leader_affection_to_lv4 - } - check_variable = { - which = affection - value < wg_leader_affection_to_lv5 - } - } - else = { - check_variable = { - which = affection - value >= wg_leader_affection_to_lv4 - } - } - } - ship_evasion_add = 10 - ship_accuracy_add = 10 - ship_tracking_add = 10 - ship_shield_mult = 1.5 - ship_hull_mult = 1.5 - ship_weapon_damage = 0.4 - ship_fire_rate_mult = 0.4 - ship_speed_mult = 0.3 - ship_hull_regen_add_static = 30 - ship_armor_regen_add_static = 30 - } - triggered_modifier = { - # lv5 - potential = { - leader_class = admiral - check_variable = { - which = affection - value >= wg_leader_affection_to_lv5 - } - has_leader_flag = married - } - ship_evasion_add = 15 - ship_accuracy_add = 15 - ship_tracking_add = 15 - ship_shield_mult = 2.5 - ship_hull_mult = 2.5 - ship_weapon_damage = 0.7 - ship_fire_rate_mult = 0.7 - ship_speed_mult = 0.5 - ship_hull_regen_add_static = 50 - ship_armor_regen_add_static = 50 - } - #scientist - triggered_modifier = { - # lv2 - potential = { - leader_class = scientist - check_variable = { - which = affection - value >= wg_leader_affection_to_lv2 - } - check_variable = { - which = affection - value < wg_leader_affection_to_lv3 - } - } - science_ship_survey_speed = 0.1 - ship_anomaly_research_speed_mult = 0.1 - ship_disengage_chance_mult = 0.3 - } - triggered_modifier = { - # lv3 - potential = { - leader_class = scientist - check_variable = { - which = affection - value >= wg_leader_affection_to_lv3 - } - check_variable = { - which = affection - value < wg_leader_affection_to_lv4 - } - } - science_ship_survey_speed = 0.2 - ship_anomaly_research_speed_mult = 0.25 - ship_shield_mult = 0.25 - ship_armor_mult = 0.25 - ship_disengage_chance_mult = 0.3 - } - triggered_modifier = { - # lv4 - potential = { - leader_class = scientist - if = { - limit = { - has_leader_flag = married - } - check_variable = { - which = affection - value >= wg_leader_affection_to_lv4 - } - check_variable = { - which = affection - value < wg_leader_affection_to_lv5 - } - } - else = { - check_variable = { - which = affection - value >= wg_leader_affection_to_lv4 - } - } - } - science_ship_survey_speed = 0.3 - ship_anomaly_research_speed_mult = 0.35 - ship_shield_mult = 0.35 - ship_armor_mult = 0.35 - ship_disengage_chance_mult = 0.35 - ship_anomaly_generation_chance_mult = 0.2 - } - triggered_modifier = { - # lv5 - potential = { - leader_class = scientist - check_variable = { - which = affection - value >= wg_leader_affection_to_lv5 - } - has_leader_flag = married - } - science_ship_survey_speed = 0.5 - ship_anomaly_research_speed_mult = 0.5 - ship_shield_mult = 0.5 - ship_armor_mult = 0.5 - ship_disengage_chance_mult = 0.5 - ship_anomaly_generation_chance_mult = 0.5 - } - #general - triggered_modifier = { - # lv2 - potential = { - leader_class = general - check_variable = { - which = affection - value >= wg_leader_affection_to_lv2 - } - check_variable = { - which = affection - value < wg_leader_affection_to_lv3 - } - } - army_experience_gain_mult = 0.1 - army_morale_damage_mult = 0.1 - army_disengage_chance_mult = 0.2 - } - triggered_modifier = { - # lv3 - potential = { - leader_class = general - check_variable = { - which = affection - value >= wg_leader_affection_to_lv3 - } - check_variable = { - which = affection - value < wg_leader_affection_to_lv4 - } - } - army_experience_gain_mult = 0.25 - army_morale_damage_mult = 0.25 - army_disengage_chance_mult = 0.4 - armies_upkeep_mult = -0.2 - army_collateral_damage_mult = -0.15 #"陆军连带伤害" - } - triggered_modifier = { - # lv4 - potential = { - leader_class = general - if = { - limit = { - has_leader_flag = married - } - check_variable = { - which = affection - value >= wg_leader_affection_to_lv4 - } - check_variable = { - which = affection - value < wg_leader_affection_to_lv5 - } - } - else = { - check_variable = { - which = affection - value >= wg_leader_affection_to_lv4 - } - } - } - army_experience_gain_mult = 0.5 - army_morale_damage_mult = 0.5 - army_disengage_chance_mult = 0.6 - armies_upkeep_mult = -0.4 - army_collateral_damage_mult = -0.3 #"陆军连带伤害" - } - triggered_modifier = { - # lv5 - potential = { - leader_class = general - check_variable = { - which = affection - value >= wg_leader_affection_to_lv5 - } - has_leader_flag = married - } - army_experience_gain_mult = 0.8 - army_morale_damage_mult = 0.8 - army_disengage_chance_mult = 1 - armies_upkeep_mult = -0.8 - army_collateral_damage_mult = -0.8 #"陆军连带伤害" - } - leader_class = { - governor - admiral - scientist - general - } - initial = no - randomized = no - notify_on_gained = no -} +# leader_trait_wg_gray_affection = { +# cost = 0 +# inline_script = { +# script = trait/wg_new_leader_affection_trait +# LEADER_TYPE = wg_gray +# } +# #official +# triggered_modifier = { +# # lv2 +# potential = { +# leader_class = official +# check_variable = { +# which = affection +# value >= wg_leader_affection_to_lv2 +# } +# check_variable = { +# which = affection +# value < wg_leader_affection_to_lv3 +# } +# } +# planet_district_city_build_speed_mult = 0.2 +# planet_district_generator_build_speed_mult = 0.2 +# planet_district_farming_build_speed_mult = 0.2 +# planet_district_mining_build_speed_mult = 0.2 +# planet_districts_minerals_cost_add = -100 +# planet_stability_add = 5 +# } +# triggered_modifier = { +# # lv3 +# potential = { +# leader_class = official +# check_variable = { +# which = affection +# value >= wg_leader_affection_to_lv3 +# } +# check_variable = { +# which = affection +# value < wg_leader_affection_to_lv4 +# } +# } +# planet_researchers_physics_research_produces_mult = 0.04 +# planet_researchers_society_research_produces_mult = 0.04 +# planet_researchers_engineering_research_produces_mult = 0.04 +# planet_district_city_build_speed_mult = 0.2 +# planet_district_generator_build_speed_mult = 0.2 +# planet_district_farming_build_speed_mult = 0.2 +# planet_district_mining_build_speed_mult = 0.2 +# planet_districts_minerals_cost_add = -100 +# planet_stability_add = 5 +# } +# triggered_modifier = { +# # lv4 +# potential = { +# leader_class = official +# if = { +# limit = { +# has_leader_flag = married +# } +# check_variable = { +# which = affection +# value >= wg_leader_affection_to_lv4 +# } +# check_variable = { +# which = affection +# value < wg_leader_affection_to_lv5 +# } +# } +# else = { +# check_variable = { +# which = affection +# value >= wg_leader_affection_to_lv4 +# } +# } +# } +# planet_researchers_physics_research_produces_mult = 0.08 +# planet_researchers_society_research_produces_mult = 0.08 +# planet_researchers_engineering_research_produces_mult = 0.08 +# planet_district_city_build_speed_mult = 0.2 +# planet_district_generator_build_speed_mult = 0.2 +# planet_district_farming_build_speed_mult = 0.2 +# planet_district_mining_build_speed_mult = 0.2 +# planet_districts_minerals_cost_add = -100 +# planet_stability_add = 5 +# } +# triggered_modifier = { +# # lv5 +# potential = { +# leader_class = official +# check_variable = { +# which = affection +# value >= wg_leader_affection_to_lv5 +# } +# has_leader_flag = married +# } +# planet_researchers_physics_research_produces_mult = 0.15 +# planet_researchers_society_research_produces_mult = 0.15 +# planet_researchers_engineering_research_produces_mult = 0.15 +# planet_district_city_build_speed_mult = 1 +# planet_district_generator_build_speed_mult = 1 +# planet_district_farming_build_speed_mult = 1 +# planet_district_mining_build_speed_mult = 1 +# planet_districts_minerals_cost_add = -150 +# planet_stability_add = 5 +# terraform_speed_mult = 0.3 +# planet_decision_enact_speed_mult = 0.15 +# } +# #admiral +# triggered_modifier = { +# # lv2 +# potential = { +# leader_class = admiral +# check_variable = { +# which = affection +# value >= wg_leader_affection_to_lv2 +# } +# check_variable = { +# which = affection +# value < wg_leader_affection_to_lv3 +# } +# } +# ship_evasion_add = 5 +# ship_tracking_add = 5 +# ship_accuracy_add = 5 +# ship_shield_mult = 0.5 +# ship_hull_mult = 0.5 +# ship_speed_mult = 0.2 +# ship_hull_regen_add_static = 10 +# ship_armor_regen_add_static = 10 +# } +# triggered_modifier = { +# # lv3 +# potential = { +# leader_class = admiral +# check_variable = { +# which = affection +# value >= wg_leader_affection_to_lv3 +# } +# check_variable = { +# which = affection +# value < wg_leader_affection_to_lv4 +# } +# } +# ship_evasion_add = 5 +# ship_accuracy_add = 5 +# ship_tracking_add = 5 +# ship_shield_mult = 1 +# ship_hull_mult = 1 +# ship_weapon_damage = 0.2 +# ship_fire_rate_mult = 0.2 +# ship_speed_mult = 0.25 +# ship_hull_regen_add_static = 20 +# ship_armor_regen_add_static = 20 +# } +# triggered_modifier = { +# # lv4 +# potential = { +# leader_class = admiral +# if = { +# limit = { +# has_leader_flag = married +# } +# check_variable = { +# which = affection +# value >= wg_leader_affection_to_lv4 +# } +# check_variable = { +# which = affection +# value < wg_leader_affection_to_lv5 +# } +# } +# else = { +# check_variable = { +# which = affection +# value >= wg_leader_affection_to_lv4 +# } +# } +# } +# ship_evasion_add = 10 +# ship_accuracy_add = 10 +# ship_tracking_add = 10 +# ship_shield_mult = 1.5 +# ship_hull_mult = 1.5 +# ship_weapon_damage = 0.4 +# ship_fire_rate_mult = 0.4 +# ship_speed_mult = 0.3 +# ship_hull_regen_add_static = 30 +# ship_armor_regen_add_static = 30 +# } +# triggered_modifier = { +# # lv5 +# potential = { +# leader_class = admiral +# check_variable = { +# which = affection +# value >= wg_leader_affection_to_lv5 +# } +# has_leader_flag = married +# } +# ship_evasion_add = 15 +# ship_accuracy_add = 15 +# ship_tracking_add = 15 +# ship_shield_mult = 2.5 +# ship_hull_mult = 2.5 +# ship_weapon_damage = 0.7 +# ship_fire_rate_mult = 0.7 +# ship_speed_mult = 0.5 +# ship_hull_regen_add_static = 50 +# ship_armor_regen_add_static = 50 +# } +# #scientist +# triggered_modifier = { +# # lv2 +# potential = { +# leader_class = scientist +# check_variable = { +# which = affection +# value >= wg_leader_affection_to_lv2 +# } +# check_variable = { +# which = affection +# value < wg_leader_affection_to_lv3 +# } +# } +# science_ship_survey_speed = 0.1 +# ship_anomaly_research_speed_mult = 0.1 +# ship_disengage_chance_mult = 0.3 +# } +# triggered_modifier = { +# # lv3 +# potential = { +# leader_class = scientist +# check_variable = { +# which = affection +# value >= wg_leader_affection_to_lv3 +# } +# check_variable = { +# which = affection +# value < wg_leader_affection_to_lv4 +# } +# } +# science_ship_survey_speed = 0.2 +# ship_anomaly_research_speed_mult = 0.25 +# ship_shield_mult = 0.25 +# ship_armor_mult = 0.25 +# ship_disengage_chance_mult = 0.3 +# } +# triggered_modifier = { +# # lv4 +# potential = { +# leader_class = scientist +# if = { +# limit = { +# has_leader_flag = married +# } +# check_variable = { +# which = affection +# value >= wg_leader_affection_to_lv4 +# } +# check_variable = { +# which = affection +# value < wg_leader_affection_to_lv5 +# } +# } +# else = { +# check_variable = { +# which = affection +# value >= wg_leader_affection_to_lv4 +# } +# } +# } +# science_ship_survey_speed = 0.3 +# ship_anomaly_research_speed_mult = 0.35 +# ship_shield_mult = 0.35 +# ship_armor_mult = 0.35 +# ship_disengage_chance_mult = 0.35 +# ship_anomaly_generation_chance_mult = 0.2 +# } +# triggered_modifier = { +# # lv5 +# potential = { +# leader_class = scientist +# check_variable = { +# which = affection +# value >= wg_leader_affection_to_lv5 +# } +# has_leader_flag = married +# } +# science_ship_survey_speed = 0.5 +# ship_anomaly_research_speed_mult = 0.5 +# ship_shield_mult = 0.5 +# ship_armor_mult = 0.5 +# ship_disengage_chance_mult = 0.5 +# ship_anomaly_generation_chance_mult = 0.5 +# } +# #general +# triggered_modifier = { +# # lv2 +# potential = { +# leader_class = general +# check_variable = { +# which = affection +# value >= wg_leader_affection_to_lv2 +# } +# check_variable = { +# which = affection +# value < wg_leader_affection_to_lv3 +# } +# } +# army_experience_gain_mult = 0.1 +# army_morale_damage_mult = 0.1 +# army_disengage_chance_mult = 0.2 +# } +# triggered_modifier = { +# # lv3 +# potential = { +# leader_class = general +# check_variable = { +# which = affection +# value >= wg_leader_affection_to_lv3 +# } +# check_variable = { +# which = affection +# value < wg_leader_affection_to_lv4 +# } +# } +# army_experience_gain_mult = 0.25 +# army_morale_damage_mult = 0.25 +# army_disengage_chance_mult = 0.4 +# armies_upkeep_mult = -0.2 +# army_collateral_damage_mult = -0.15 #"陆军连带伤害" +# } +# triggered_modifier = { +# # lv4 +# potential = { +# leader_class = general +# if = { +# limit = { +# has_leader_flag = married +# } +# check_variable = { +# which = affection +# value >= wg_leader_affection_to_lv4 +# } +# check_variable = { +# which = affection +# value < wg_leader_affection_to_lv5 +# } +# } +# else = { +# check_variable = { +# which = affection +# value >= wg_leader_affection_to_lv4 +# } +# } +# } +# army_experience_gain_mult = 0.5 +# army_morale_damage_mult = 0.5 +# army_disengage_chance_mult = 0.6 +# armies_upkeep_mult = -0.4 +# army_collateral_damage_mult = -0.3 #"陆军连带伤害" +# } +# triggered_modifier = { +# # lv5 +# potential = { +# leader_class = general +# check_variable = { +# which = affection +# value >= wg_leader_affection_to_lv5 +# } +# has_leader_flag = married +# } +# army_experience_gain_mult = 0.8 +# army_morale_damage_mult = 0.8 +# army_disengage_chance_mult = 1 +# armies_upkeep_mult = -0.8 +# army_collateral_damage_mult = -0.8 #"陆军连带伤害" +# } +# leader_class = { +# official +# admiral +# scientist +# general +# } +# initial = no +# randomized = no +# notify_on_gained = no +# } diff --git a/events/!_RG_gray_goo_events.txt b/events/!_RG_gray_goo_events.txt index b7d6b60..b1218b9 100644 --- a/events/!_RG_gray_goo_events.txt +++ b/events/!_RG_gray_goo_events.txt @@ -348,7 +348,10 @@ country_event = { is_same_value = event_target:gray_owner NOR = { has_country_flag = gray_constship_active - has_country_flag = gray_governor_active + OR = { + has_country_flag = gray_official_active + has_country_flag = gray_governor_active #旧版flag + } has_country_flag = gray_warship_active has_country_flag = gray_army_active has_country_flag = gray_reforming @@ -388,7 +391,10 @@ country_event = { } } is_same_value = event_target:gray_owner - has_country_flag = gray_governor_active + OR = { + has_country_flag = gray_official_active + has_country_flag = gray_governor_active #旧版flag + } NOR = { has_country_flag = gray_reforming has_country_flag = gray_diplomacy_engaged @@ -620,7 +626,10 @@ event = { } } AND = { - has_country_flag = gray_governor_active + OR = { + has_country_flag = gray_official_active + has_country_flag = gray_governor_active #旧版flag + } NOT = { exists = event_target:gray_governor } @@ -636,7 +645,10 @@ event = { } immediate = { event_target:gray_owner = { - remove_country_flag = gray_governor_active #总督 + OR = { + has_country_flag = gray_official_active + has_country_flag = gray_governor_active #旧版flag + } #总督 remove_country_flag = gray_warship_active #旗舰 remove_country_flag = gray_army_active #陆军 remove_country_flag = gray_constship_active #科舰 diff --git a/events/RG_gray_leader_event.txt b/events/RG_gray_leader_event.txt index cf912c2..1af3daf 100644 --- a/events/RG_gray_leader_event.txt +++ b/events/RG_gray_leader_event.txt @@ -35,7 +35,8 @@ country_event = { is_same_value = event_target:gray_owner NOR = { has_country_flag = gray_constship_active - has_country_flag = gray_governor_active + has_country_flag = gray_official_active + has_country_flag = gray_governor_active #旧版flag has_country_flag = gray_warship_active has_country_flag = gray_army_active has_country_flag = gray_reforming @@ -60,7 +61,10 @@ country_event = { } } is_same_value = event_target:gray_owner - has_country_flag = gray_governor_active + OR = { + has_country_flag = gray_official_active + has_country_flag = gray_governor_active #旧版flag + } NOR = { has_country_flag = gray_reforming has_country_flag = gray_diplomacy_engaged @@ -232,7 +236,8 @@ country_event = { is_same_value = event_target:gray_owner NOR = { has_country_flag = gray_constship_active - has_country_flag = gray_governor_active + has_country_flag = gray_official_active + has_country_flag = gray_governor_active #旧版flag has_country_flag = gray_warship_active has_country_flag = gray_army_active has_country_flag = gray_reforming @@ -244,8 +249,9 @@ country_event = { name = graygoo.500.a response_text = graygoo.500.a.response trigger = { - NOT = { - has_country_flag = gray_governor_active + NOR = { + has_country_flag = gray_official_active + has_country_flag = gray_governor_active #旧版flag } } hidden_effect = { @@ -356,7 +362,10 @@ country_event = { } } is_same_value = event_target:gray_owner - has_country_flag = gray_governor_active + OR = { + has_country_flag = gray_official_active + has_country_flag = gray_governor_active #旧版flag + } NOR = { has_country_flag = gray_reforming has_country_flag = gray_diplomacy_engaged diff --git a/events/RG_wsg_graygoo_event.txt b/events/RG_wsg_graygoo_event.txt index 360cd51..f3dfe85 100644 --- a/events/RG_wsg_graygoo_event.txt +++ b/events/RG_wsg_graygoo_event.txt @@ -36,7 +36,8 @@ country_event = { is_same_value = event_target:gray_owner NOR = { has_country_flag = gray_constship_active - has_country_flag = gray_governor_active + has_country_flag = gray_official_active + has_country_flag = gray_governor_active #旧版flag has_country_flag = gray_warship_active has_country_flag = gray_army_active has_country_flag = gray_reforming @@ -49,8 +50,9 @@ country_event = { name = graygoo.500.a response_text = graygoo.500.a.response trigger = { - NOT = { - has_country_flag = gray_governor_active + NOR = { + has_country_flag = gray_official_active + has_country_flag = gray_governor_active #旧版flag } } allow = { @@ -238,7 +240,10 @@ country_event = { } } is_same_value = event_target:gray_owner - has_country_flag = gray_governor_active + OR = { + has_country_flag = gray_official_active + has_country_flag = gray_governor_active #旧版flag + } NOR = { has_country_flag = gray_reforming has_country_flag = gray_diplomacy_engaged