2023-06-03 19:51:10 +08:00
|
|
|
rg_gray_govener_init = {
|
2023-06-08 13:11:05 +08:00
|
|
|
event_target:rg_gray_country = {
|
|
|
|
create_leader = {
|
2023-11-17 03:46:51 +08:00
|
|
|
class = official
|
2024-04-07 19:40:25 +08:00
|
|
|
species = event_target:gray_species
|
2023-06-08 13:11:05 +08:00
|
|
|
name = "NAME_Gray"
|
|
|
|
gender = female
|
|
|
|
immortal = yes
|
|
|
|
event_leader = yes
|
|
|
|
skip_background_generation = yes
|
2023-11-17 21:05:31 +08:00
|
|
|
randomize_traits = no
|
2023-06-08 13:11:05 +08:00
|
|
|
custom_catch_phrase = gray_catch_phrase
|
|
|
|
custom_description = gray_backstory
|
|
|
|
background_ethic = ethic_gestalt_consciousness
|
|
|
|
hide_age = yes
|
2024-09-23 09:10:21 +08:00
|
|
|
skill = 1
|
2023-06-08 13:11:05 +08:00
|
|
|
set_age = 18
|
|
|
|
traits = {
|
2023-11-17 03:56:22 +08:00
|
|
|
0 = RG_leader_trait_governor_gray
|
2023-06-08 13:11:05 +08:00
|
|
|
}
|
|
|
|
effect = {
|
|
|
|
save_global_event_target_as = gray_governor
|
2023-11-17 03:46:51 +08:00
|
|
|
save_global_event_target_as = gray_official
|
2023-06-08 13:11:05 +08:00
|
|
|
set_leader_flag = gray_governor
|
|
|
|
set_leader_flag = legendary_leader
|
|
|
|
set_leader_flag = immune_to_negative_traits
|
|
|
|
set_leader_flag = rg_gray_leader
|
|
|
|
if = {
|
|
|
|
limit = {
|
|
|
|
has_global_flag = has_wsg_mod
|
|
|
|
}
|
|
|
|
set_leader_flag = not_has_wg_affection_normal
|
|
|
|
}
|
|
|
|
if = {
|
|
|
|
limit = {
|
|
|
|
OR = {
|
|
|
|
has_global_flag = has_wsg_mod
|
|
|
|
has_global_flag = kdc_event_mod_active
|
|
|
|
}
|
|
|
|
}
|
2024-04-14 15:14:25 +08:00
|
|
|
set_leader_flag = "gray_leader"
|
2023-06-08 13:11:05 +08:00
|
|
|
set_leader_flag = gray_leader
|
|
|
|
add_trait_no_notify = leader_trait_governor_gray
|
|
|
|
add_trait_no_notify = RG_leader_trait_ruler_gray
|
2023-11-17 03:46:51 +08:00
|
|
|
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
|
2023-06-08 13:11:05 +08:00
|
|
|
if = {
|
|
|
|
limit = {
|
|
|
|
owner = {
|
|
|
|
has_country_flag = origin_gray_weaken
|
|
|
|
has_country_flag = origin_gray_country
|
|
|
|
}
|
|
|
|
}
|
|
|
|
remove_trait = leader_trait_governor_gray
|
|
|
|
add_trait_no_notify = leader_trait_governor_gray_weak
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else = {
|
|
|
|
add_trait_no_notify = RG_leader_trait_governor_gray
|
|
|
|
add_trait_no_notify = RG_leader_trait_ruler_gray
|
2023-11-17 03:46:51 +08:00
|
|
|
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
|
2023-06-08 13:11:05 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
last_created_leader = {
|
|
|
|
set_owner = event_target:gray_owner
|
|
|
|
}
|
|
|
|
}
|
|
|
|
last_created_leader = {
|
|
|
|
set_leader_flag = has_gained_level_trait
|
2024-09-23 10:24:32 +08:00
|
|
|
rg_gray_leader_experience_jar = yes
|
2023-06-08 13:11:05 +08:00
|
|
|
}
|
|
|
|
random_owned_leader = {
|
|
|
|
limit = {
|
|
|
|
has_leader_flag = gray_governor
|
|
|
|
}
|
|
|
|
if = {
|
|
|
|
limit = {
|
|
|
|
owner = {
|
|
|
|
OR = {
|
|
|
|
has_global_flag = has_wsg_mod
|
|
|
|
has_global_flag = kdc_event_mod_active
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-09-14 21:54:00 +08:00
|
|
|
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 }
|
2023-06-08 13:11:05 +08:00
|
|
|
}
|
2023-11-17 03:46:51 +08:00
|
|
|
# if = {
|
|
|
|
# limit = {
|
|
|
|
# owner = {
|
|
|
|
# has_country_flag = gray_encountered_the_loop
|
|
|
|
# }
|
|
|
|
# }
|
|
|
|
# add_trait_no_notify = leader_trait_governor_wg_the_loop
|
|
|
|
# }
|
2024-09-21 11:54:45 +08:00
|
|
|
rg_set_gray_portrait = yes
|
2023-06-08 13:11:05 +08:00
|
|
|
# add_special_leader_affection_trait = { LEADER = gray LEADER_CLASS = governor MARRIED_FLAG = married_gray }
|
|
|
|
}
|
|
|
|
else = {
|
|
|
|
rg_set_gray_portrait = yes
|
|
|
|
}
|
|
|
|
}
|
2023-06-15 22:40:33 +08:00
|
|
|
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
|
2023-11-17 03:46:51 +08:00
|
|
|
rg_gray_commander_init = {
|
2023-06-08 13:11:05 +08:00
|
|
|
event_target:rg_gray_country = {
|
|
|
|
create_leader = {
|
2023-11-17 03:46:51 +08:00
|
|
|
class = commander
|
2024-04-07 19:40:25 +08:00
|
|
|
species = event_target:gray_species
|
2023-06-08 13:11:05 +08:00
|
|
|
name = "NAME_Gray"
|
|
|
|
immortal = yes
|
|
|
|
event_leader = yes
|
|
|
|
skip_background_generation = yes
|
2023-11-17 21:05:31 +08:00
|
|
|
randomize_traits = no
|
2023-06-08 13:11:05 +08:00
|
|
|
custom_catch_phrase = gray_catch_phrase
|
|
|
|
custom_description = gray_backstory
|
|
|
|
background_ethic = ethic_gestalt_consciousness
|
|
|
|
hide_age = yes
|
|
|
|
gender = female
|
2024-09-23 09:10:21 +08:00
|
|
|
skill = 1
|
2023-06-08 13:11:05 +08:00
|
|
|
set_age = 18
|
|
|
|
traits = {
|
2023-11-17 03:46:51 +08:00
|
|
|
0 = RG_leader_trait_admiral_gray
|
2023-06-08 13:11:05 +08:00
|
|
|
}
|
|
|
|
effect = {
|
|
|
|
save_global_event_target_as = gray_leader_admiral
|
|
|
|
set_leader_flag = gray_admiral
|
2023-11-17 03:46:51 +08:00
|
|
|
save_global_event_target_as = gray_leader_general
|
|
|
|
set_leader_flag = gray_general
|
2023-06-08 13:11:05 +08:00
|
|
|
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 = {
|
|
|
|
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
|
2023-06-20 14:05:14 +08:00
|
|
|
add_trait_no_notify = RG_leader_trait_admiral_nanorebuild_gray
|
2023-11-20 20:39:13 +08:00
|
|
|
# add_trait_no_notify = RG_leader_trait_general_gray_skill
|
2023-06-08 13:11:05 +08:00
|
|
|
# 缺少特质RG_leader_trait_admiral_gray将导致小灰改造项目无法完成
|
2023-11-17 03:46:51 +08:00
|
|
|
add_trait_no_notify = subclass_commander_councilor
|
2023-06-08 13:11:05 +08:00
|
|
|
add_trait_no_notify = leader_trait_carrier_specialization
|
|
|
|
add_trait_no_notify = leader_trait_juryrigger_2
|
2023-11-17 03:46:51 +08:00
|
|
|
add_trait_no_notify = leader_trait_reinforcer_2
|
2023-06-08 13:11:05 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
last_created_leader = {
|
|
|
|
set_owner = event_target:gray_owner
|
|
|
|
}
|
|
|
|
}
|
|
|
|
last_created_leader = {
|
|
|
|
set_leader_flag = has_gained_level_trait
|
2024-09-23 10:24:32 +08:00
|
|
|
rg_gray_leader_experience_jar = yes
|
2023-06-08 13:11:05 +08:00
|
|
|
}
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-09-14 21:54:00 +08:00
|
|
|
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 }
|
2023-06-08 13:11:05 +08:00
|
|
|
}
|
|
|
|
# add_trait_no_notify = leader_trait_admiral_wg_gray_affection
|
2023-11-17 03:46:51 +08:00
|
|
|
# if = {
|
|
|
|
# limit = {
|
|
|
|
# owner = {
|
|
|
|
# has_country_flag = gray_encountered_the_loop
|
|
|
|
# }
|
|
|
|
# }
|
|
|
|
# add_trait_no_notify = leader_trait_admiral_wg_the_loop
|
|
|
|
# }
|
2024-09-21 11:54:45 +08:00
|
|
|
rg_set_gray_portrait = yes
|
2023-06-08 13:11:05 +08:00
|
|
|
# add_special_leader_affection_trait = { LEADER = gray LEADER_CLASS = governor MARRIED_FLAG = married_gray }
|
|
|
|
}
|
|
|
|
else = {
|
|
|
|
rg_set_gray_portrait = yes
|
|
|
|
}
|
|
|
|
}
|
2023-11-17 03:46:51 +08:00
|
|
|
RG_leader_trait_admiral_nanorebuild_gray_counter_init_effect = yes
|
|
|
|
RG_leader_trait_general_tempest_incoming_counter_init_effect = yes
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
2023-11-17 03:46:51 +08:00
|
|
|
#
|
|
|
|
# rg_gray_admiral_init = {
|
|
|
|
# event_target:rg_gray_country = {
|
|
|
|
# create_leader = {
|
|
|
|
# class = admiral
|
2024-04-07 19:23:23 +08:00
|
|
|
# species = root
|
2023-11-17 03:46:51 +08:00
|
|
|
# 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
|
2024-04-07 19:23:23 +08:00
|
|
|
# species = root
|
2023-11-17 03:46:51 +08:00
|
|
|
# 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
|
|
|
|
# }
|
|
|
|
#
|
|
|
|
# }
|
2023-05-23 11:11:33 +08:00
|
|
|
|
|
|
|
rg_gray_scientist_init = {
|
2023-06-08 13:11:05 +08:00
|
|
|
event_target:rg_gray_country = {
|
|
|
|
create_leader = {
|
|
|
|
class = scientist
|
2024-04-07 19:40:25 +08:00
|
|
|
species = event_target:gray_species
|
2023-06-08 13:11:05 +08:00
|
|
|
name = "NAME_Gray"
|
|
|
|
immortal = yes
|
|
|
|
event_leader = yes
|
|
|
|
skip_background_generation = yes
|
2023-11-17 21:05:31 +08:00
|
|
|
randomize_traits = no
|
2023-06-08 13:11:05 +08:00
|
|
|
custom_catch_phrase = gray_catch_phrase
|
|
|
|
custom_description = gray_backstory
|
|
|
|
background_ethic = ethic_gestalt_consciousness
|
|
|
|
hide_age = yes
|
|
|
|
gender = female
|
2024-09-23 09:10:21 +08:00
|
|
|
skill = 1
|
2023-06-08 13:11:05 +08:00
|
|
|
set_age = 18
|
|
|
|
traits = {
|
2023-11-17 03:56:22 +08:00
|
|
|
0 = RG_leader_trait_scientist_gray
|
|
|
|
1 = subclass_scientist_explorer
|
|
|
|
2 = leader_trait_engineering_focus_2
|
|
|
|
3 = leader_trait_salvager_3
|
2023-06-08 13:11:05 +08:00
|
|
|
}
|
|
|
|
effect = {
|
|
|
|
save_global_event_target_as = gray_leader_scientist
|
|
|
|
set_leader_flag = rg_gray_leader
|
|
|
|
set_leader_flag = gray_scientist
|
|
|
|
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 = {
|
2024-05-15 20:28:38 +08:00
|
|
|
OR = {
|
|
|
|
has_global_flag = has_wsg_mod
|
|
|
|
has_global_flag = kdc_event_mod_active
|
2023-06-08 13:11:05 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
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
|
2024-09-23 10:24:32 +08:00
|
|
|
rg_gray_leader_experience_jar = yes
|
2023-06-08 13:11:05 +08:00
|
|
|
}
|
|
|
|
random_owned_leader = {
|
|
|
|
limit = {
|
|
|
|
has_leader_flag = gray_scientist
|
|
|
|
}
|
|
|
|
if = {
|
|
|
|
limit = {
|
2024-05-15 20:28:38 +08:00
|
|
|
OR = {
|
|
|
|
has_global_flag = has_wsg_mod
|
|
|
|
has_global_flag = kdc_event_mod_active
|
2023-06-08 13:11:05 +08:00
|
|
|
}
|
|
|
|
}
|
2023-09-14 21:54:00 +08:00
|
|
|
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 }
|
2023-06-08 13:11:05 +08:00
|
|
|
}
|
2023-11-17 03:46:51 +08:00
|
|
|
# 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
|
|
|
|
# }
|
2024-09-21 11:54:45 +08:00
|
|
|
rg_set_gray_portrait = yes
|
2023-06-08 13:11:05 +08:00
|
|
|
# add_special_leader_affection_trait = { LEADER = gray LEADER_CLASS = governor MARRIED_FLAG = married_gray }
|
|
|
|
}
|
|
|
|
else = {
|
|
|
|
rg_set_gray_portrait = yes
|
|
|
|
}
|
|
|
|
}
|
2023-06-15 22:40:33 +08:00
|
|
|
|
2023-06-03 12:02:56 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
rg_gray_country_leader_init = {
|
2023-06-08 13:11:05 +08:00
|
|
|
create_leader = {
|
|
|
|
# 只用作看板娘
|
2023-11-17 03:46:51 +08:00
|
|
|
class = official
|
2024-04-07 19:28:01 +08:00
|
|
|
species = event_target:gray_species
|
2023-06-03 12:02:56 +08:00
|
|
|
name = "NAME_Gray"
|
|
|
|
gender = female
|
|
|
|
immortal = yes
|
|
|
|
event_leader = yes
|
|
|
|
skip_background_generation = yes
|
2023-11-17 21:05:31 +08:00
|
|
|
randomize_traits = no
|
2023-06-03 12:02:56 +08:00
|
|
|
custom_catch_phrase = gray_catch_phrase
|
|
|
|
custom_description = gray_backstory
|
|
|
|
background_ethic = ethic_gestalt_consciousness
|
|
|
|
hide_age = yes
|
2024-09-23 09:10:21 +08:00
|
|
|
skill = 1
|
2023-06-03 12:02:56 +08:00
|
|
|
set_age = 18
|
|
|
|
traits = {
|
2023-11-17 21:05:31 +08:00
|
|
|
0 = RG_leader_trait_governor_gray
|
2023-11-17 03:56:22 +08:00
|
|
|
1 = RG_leader_trait_ruler_gray
|
2023-06-03 12:02:56 +08:00
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
effect = {
|
|
|
|
save_global_event_target_as = rg_gray_country_leader
|
|
|
|
set_leader_flag = rg_gray_country_governor
|
|
|
|
set_leader_flag = legendary_leader
|
|
|
|
set_leader_flag = immune_to_negative_traits
|
|
|
|
# 暂时和小灰网络断开连接
|
2023-06-03 12:02:56 +08:00
|
|
|
# set_leader_flag = rg_gray_leader
|
2023-06-08 13:11:05 +08:00
|
|
|
if = {
|
|
|
|
limit = {
|
2024-05-15 20:28:38 +08:00
|
|
|
OR = {
|
|
|
|
has_global_flag = has_wsg_mod
|
|
|
|
has_global_flag = kdc_event_mod_active
|
2023-06-08 13:11:05 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
# 暂时和小灰网络断开连接
|
|
|
|
# set_leader_flag = "gray_leader"
|
|
|
|
# set_leader_flag = gray_leader
|
|
|
|
add_trait_no_notify = leader_trait_governor_gray
|
|
|
|
add_trait_no_notify = RG_leader_trait_ruler_gray
|
2023-11-17 03:46:51 +08:00
|
|
|
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
|
2023-06-08 13:11:05 +08:00
|
|
|
}
|
|
|
|
else = {
|
2023-11-17 21:05:31 +08:00
|
|
|
add_trait_no_notify = RG_leader_trait_governor_gray
|
2023-06-08 13:11:05 +08:00
|
|
|
add_trait_no_notify = RG_leader_trait_ruler_gray
|
2023-11-17 03:46:51 +08:00
|
|
|
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
|
2023-06-08 13:11:05 +08:00
|
|
|
}
|
|
|
|
}
|
2023-06-03 12:02:56 +08:00
|
|
|
}
|
|
|
|
last_created_leader = {
|
|
|
|
rg_set_gray_portrait = yes
|
2024-09-23 10:24:32 +08:00
|
|
|
rg_gray_leader_experience_jar = yes
|
2023-06-03 12:02:56 +08:00
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
}
|
2024-09-23 09:10:21 +08:00
|
|
|
|
|
|
|
rg_gray_leader_experience_jar = {
|
|
|
|
if = {
|
|
|
|
limit = {
|
2024-09-23 10:47:35 +08:00
|
|
|
owner = {
|
|
|
|
NOT = {
|
|
|
|
RG_has_gray_cluster_origin_trigger = yes
|
|
|
|
}
|
2024-09-23 09:10:21 +08:00
|
|
|
}
|
2024-09-23 10:24:32 +08:00
|
|
|
has_skill < 10
|
2024-09-23 09:10:21 +08:00
|
|
|
}
|
2024-09-23 10:24:32 +08:00
|
|
|
add_experience = 54000
|
|
|
|
event_target:gray_owner = {
|
|
|
|
rg_save_gray_leader_level_effect = yes
|
|
|
|
}
|
2024-09-23 09:10:21 +08:00
|
|
|
}
|
|
|
|
}
|