整合掉事件

This commit is contained in:
FA507RM-KALOSPA\Kalo 2023-06-08 11:13:54 +08:00
parent 8bfb0de02e
commit 4b46c0c531
3 changed files with 56 additions and 56 deletions

View File

@ -39,8 +39,8 @@ on_army_killed_in_combat = {
on_game_start_country = { on_game_start_country = {
events = { events = {
rg_cluster.8 # rg_cluster.8
# rg.1 rg.1
} }
} }

View File

@ -80,60 +80,6 @@ country_event = {
} }
} }
# Spawn L-Cluster
country_event = {
id = rg_cluster.8
hide_window = yes
is_triggered_only = yes
fire_only_once = yes
trigger = {
AND = {
has_origin = origin_rg_gray
NOT = { has_global_flag = rg_origin_l_cluster }
}
}
immediate = {
if = {
limit = {
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
rg_lcluster_spawn_effect = yes
}
else_if = {
limit = {
has_global_flag = origin_rg_gray_1st_global
}
set_country_flag = origin_gray_dragon_country
set_global_flag = has_origin_gray_dragon
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
}
}
}
}
# Move home system # Move home system
country_event = { country_event = {
id = rg_cluster.9 id = rg_cluster.9

View File

@ -46,6 +46,60 @@ namespace = rg
# } # }
# } # }
# Spawn L-Cluster
country_event = {
id = rg.1
hide_window = yes
is_triggered_only = yes
fire_only_once = yes
trigger = {
AND = {
has_origin = origin_rg_gray
NOT = { has_global_flag = rg_origin_l_cluster }
}
}
immediate = {
if = {
limit = {
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
rg_lcluster_spawn_effect = yes
}
else_if = {
limit = {
has_global_flag = origin_rg_gray_1st_global
}
set_country_flag = origin_gray_dragon_country
set_global_flag = has_origin_gray_dragon
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
}
}
}
}
country_event = { country_event = {
id = rg.2 id = rg.2