测试星团改动

This commit is contained in:
FA507RM-KALOSPA\Kalo 2023-06-07 23:56:22 +08:00
parent b7ecd5b299
commit 4d8d762c32
2 changed files with 50 additions and 8 deletions

View File

@ -90,7 +90,8 @@ country_event = {
trigger = {
AND = {
has_origin = origin_rg_gray
has_country_flag = origin_rg_gray_1st
#has_origin = origin_rg_gray
NOT = { has_global_flag = rg_origin_l_cluster }
}
}
@ -282,7 +283,10 @@ country_event = {
immediate = {
random_system = {
limit = {
has_star_flag = lcluster4
has_star_flag = lcluster
NOT = {
has_star_flag = lcluster_lgate
}
}
save_event_target_as = rg_cluster_home_system
@ -364,6 +368,7 @@ country_event = {
# Planet setup
event_target:rg_cluster_home_planet = {
change_pc = pc_gaia
set_owner = root
set_controller = root
set_capital = yes

View File

@ -6,19 +6,43 @@ country_event = {
hide_window = yes
is_triggered_only = yes
fire_only_once = yes
trigger = {
has_country_flag = origin_rg_gray
}
immediate = {
set_country_flag = rg_gray_level_1
country_event = { id = rg.3 days = 30 }
add_modifier = {
modifier = rg_distant_stars_modifier
if = {
NOT = {
has_global_flag = origin_rg_gray_1st
}
set_global_flag = origin_rg_gray_1st_global
set_country_flag = origin_rg_gray_1st
set_country_flag = rg_gray_level_1
country_event = { id = rg.3 days = 30 }
add_modifier = {
modifier = rg_distant_stars_modifier
}
save_global_event_target_as = origin_rg_gray_country
}
else_if = {
limit = {
has_global_flag = origin_rg_gray_1st_global
}
set_country_flag = origin_gray_dragon_country
rg_create_fake_dragon = yes
start_lcluster_chain = yes
add_event_chain_counter = {
event_chain = l_cluster_chain
counter = clues
amount = 7
}
# increment variable
change_variable = {
which = num_lcluster_clues
value = 7
}
}
save_global_event_target_as = origin_rg_gray_country
}
}
@ -775,12 +799,25 @@ country_event = {
else_if = {
limit = {
has_country_flag = rg_fake_dragon_reborn_country
NOT = {
has_country_flag = origin_gray_dragon_country
}
}
change_variable = {
which = rg_fake_dragon_timedlife_counter
value = 1
}
}
else_if = {
limit = {
has_country_flag = rg_fake_dragon_reborn_country
has_country_flag = origin_gray_dragon_country
}
change_variable = {
which = rg_fake_dragon_timedlife_counter
value = 12
}
}
#等级导入,把存储的领袖等级赋予到领袖身上
random_owned_leader = {