2023-06-08 12:45:17 +08:00
|
|
|
namespace = rg_event
|
2023-06-08 01:02:26 +08:00
|
|
|
# 灰风起源创建灰风事件
|
2023-06-08 11:13:54 +08:00
|
|
|
# Spawn L-Cluster
|
|
|
|
country_event = {
|
2023-06-08 12:45:17 +08:00
|
|
|
id = rg_event.1
|
2023-06-08 11:13:54 +08:00
|
|
|
hide_window = yes
|
|
|
|
is_triggered_only = yes
|
|
|
|
trigger = {
|
|
|
|
AND = {
|
|
|
|
has_origin = origin_rg_gray
|
2023-06-08 12:22:22 +08:00
|
|
|
# NOT = { has_global_flag = rg_origin_l_cluster }
|
2023-06-08 11:13:54 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
immediate = {
|
|
|
|
if = {
|
|
|
|
limit = {
|
|
|
|
NOT = {
|
2023-06-08 12:22:22 +08:00
|
|
|
has_global_flag = origin_rg_gray_1st_global
|
2023-06-08 11:13:54 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
set_global_flag = origin_rg_gray_1st_global
|
|
|
|
set_country_flag = origin_rg_gray_1st
|
|
|
|
set_country_flag = rg_gray_level_1
|
2023-06-08 13:11:05 +08:00
|
|
|
country_event = {
|
2023-06-21 12:39:36 +08:00
|
|
|
id = rg_event.2
|
2023-06-08 13:11:05 +08:00
|
|
|
days = 30
|
|
|
|
}
|
2023-06-08 11:13:54 +08:00
|
|
|
add_modifier = {
|
|
|
|
modifier = rg_distant_stars_modifier
|
|
|
|
}
|
|
|
|
save_global_event_target_as = origin_rg_gray_country
|
|
|
|
rg_lcluster_spawn_effect = yes
|
2024-05-15 12:28:15 +08:00
|
|
|
country_event = {
|
|
|
|
id = rg_cluster
|
|
|
|
years = 10
|
|
|
|
}
|
2023-06-08 11:13:54 +08:00
|
|
|
}
|
2023-06-08 12:22:22 +08:00
|
|
|
else = {
|
2023-06-08 11:13:54 +08:00
|
|
|
set_country_flag = origin_gray_dragon_country
|
|
|
|
set_global_flag = has_origin_gray_dragon
|
|
|
|
rg_create_fake_dragon = yes
|
2023-06-08 12:22:22 +08:00
|
|
|
random_owned_leader = {
|
|
|
|
limit = {
|
|
|
|
has_leader_flag = rg_fake_dragon
|
|
|
|
}
|
|
|
|
remove_trait = RG_leader_trait_admiral_timed_life
|
|
|
|
add_trait = RG_leader_trait_admiral_born_tobe_dragon
|
|
|
|
set_leader_flag = rg_fake_dragon_reborn
|
|
|
|
set_age = 0
|
|
|
|
}
|
|
|
|
set_country_flag = rg_fake_dragon_reborn_country
|
2023-06-08 13:11:05 +08:00
|
|
|
set_variable = {
|
|
|
|
which = rg_fake_dragon_timedlife_counter
|
|
|
|
value = 0
|
|
|
|
}
|
2023-06-08 11:13:54 +08:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-23 11:11:33 +08:00
|
|
|
country_event = {
|
2023-06-08 12:45:17 +08:00
|
|
|
id = rg_event.2
|
2023-06-21 12:39:36 +08:00
|
|
|
title = graygoo.500.title
|
|
|
|
desc = RG_realgray.desc
|
|
|
|
diplomatic = yes
|
|
|
|
picture_event_data = {
|
|
|
|
portrait = event_target:rg_gray_country_leader
|
|
|
|
room = "ethic_spaceship_room"
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
is_triggered_only = yes
|
|
|
|
immediate = {
|
2023-06-21 12:39:36 +08:00
|
|
|
rg_gray_country_init = yes
|
2023-06-08 13:11:05 +08:00
|
|
|
country_event = {
|
|
|
|
id = graygoo.499
|
|
|
|
}
|
2023-06-21 12:39:36 +08:00
|
|
|
give_technology = {
|
|
|
|
tech = tech_minilaser_gray_1
|
|
|
|
message = no
|
|
|
|
}
|
|
|
|
give_technology = {
|
|
|
|
tech = tech_object_gray_5
|
|
|
|
message = no
|
|
|
|
}
|
|
|
|
}
|
|
|
|
option = {
|
|
|
|
name = rg_event.2.a
|
|
|
|
default_hide_option = yes
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
country_event = {
|
2023-06-08 12:45:17 +08:00
|
|
|
id = rg_event.3
|
2023-05-23 11:11:33 +08:00
|
|
|
title = "graygoo.500.title"
|
|
|
|
desc = {
|
2023-06-08 13:11:05 +08:00
|
|
|
trigger = {
|
|
|
|
has_country_flag = RG_realgray
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
text = "RG_realgray.desc"
|
|
|
|
}
|
|
|
|
desc = {
|
2023-06-08 13:11:05 +08:00
|
|
|
trigger = {
|
|
|
|
has_country_flag = RG_sleepinggray
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
text = "RG_sleepinggray.desc"
|
|
|
|
}
|
|
|
|
desc = {
|
2023-06-08 13:11:05 +08:00
|
|
|
trigger = {
|
|
|
|
has_country_flag = RG_whitenoise
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
text = "RG_whitenoise.desc"
|
|
|
|
}
|
|
|
|
desc = {
|
2023-06-08 13:11:05 +08:00
|
|
|
trigger = {
|
|
|
|
has_country_flag = RG_dragon
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
text = "RG_dragon.desc"
|
|
|
|
}
|
|
|
|
desc = {
|
2023-06-08 13:11:05 +08:00
|
|
|
trigger = {
|
|
|
|
has_country_flag = RG_desanau
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
text = "RG_desanau.desc"
|
|
|
|
}
|
|
|
|
desc = {
|
2023-06-08 13:11:05 +08:00
|
|
|
trigger = {
|
|
|
|
has_country_flag = RG_pirate
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
text = "RG_pirate.desc"
|
|
|
|
}
|
|
|
|
desc = {
|
2023-06-08 13:11:05 +08:00
|
|
|
trigger = {
|
|
|
|
has_country_flag = RG_alienpoem
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
text = "RG_alienpoem.desc"
|
|
|
|
}
|
|
|
|
desc = {
|
2023-06-08 13:11:05 +08:00
|
|
|
trigger = {
|
|
|
|
has_country_flag = RG_gift
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
text = "RG_gift.desc"
|
|
|
|
}
|
|
|
|
desc = {
|
2023-06-08 13:11:05 +08:00
|
|
|
trigger = {
|
|
|
|
has_country_flag = RG_biggift
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
text = "RG_biggift.desc"
|
|
|
|
}
|
|
|
|
diplomatic = yes
|
|
|
|
picture_event_data = {
|
2023-06-03 17:46:32 +08:00
|
|
|
portrait = event_target:rg_gray_country_leader
|
2023-05-23 11:11:33 +08:00
|
|
|
room = "ethic_spaceship_room"
|
|
|
|
}
|
|
|
|
is_triggered_only = yes
|
|
|
|
immediate = {
|
2023-06-03 20:17:15 +08:00
|
|
|
rg_gray_country_init = yes
|
2023-05-23 11:11:33 +08:00
|
|
|
random_list = {
|
|
|
|
# Real Gray!
|
|
|
|
100 = {
|
|
|
|
modifier = {
|
|
|
|
factor = 0
|
|
|
|
any_playable_country = {
|
|
|
|
has_country_flag = gray_owner
|
|
|
|
}
|
|
|
|
}
|
|
|
|
set_country_flag = RG_realgray
|
|
|
|
}
|
|
|
|
# Sleeping Beauty
|
|
|
|
0 = {
|
|
|
|
modifier = {
|
|
|
|
factor = 0
|
|
|
|
any_playable_country = {
|
|
|
|
has_country_flag = gray_owner
|
|
|
|
}
|
|
|
|
}
|
|
|
|
set_country_flag = RG_sleepinggray
|
|
|
|
}
|
|
|
|
# in fact..Empty
|
|
|
|
0 = {
|
|
|
|
random_list = {
|
|
|
|
200 = {
|
|
|
|
modifier = {
|
|
|
|
factor = 100
|
|
|
|
any_playable_country = {
|
|
|
|
has_country_flag = gray_owner
|
|
|
|
}
|
|
|
|
}
|
|
|
|
set_country_flag = RG_whitenoise
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
100 = {
|
|
|
|
set_country_flag = RG_dragon
|
|
|
|
}
|
|
|
|
100 = {
|
|
|
|
set_country_flag = RG_desanau
|
|
|
|
}
|
|
|
|
100 = {
|
|
|
|
set_country_flag = RG_pirate
|
|
|
|
}
|
|
|
|
100 = {
|
|
|
|
set_country_flag = RG_alienpoem
|
|
|
|
}
|
|
|
|
50 = {
|
|
|
|
set_country_flag = RG_gift
|
|
|
|
}
|
|
|
|
10 = {
|
|
|
|
set_country_flag = RG_biggift
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
after = {
|
|
|
|
hidden_effect = {
|
|
|
|
switch = {
|
|
|
|
trigger = has_country_flag
|
2023-06-08 13:11:05 +08:00
|
|
|
RG_realgray = {
|
|
|
|
remove_country_flag = RG_realgray
|
|
|
|
}
|
|
|
|
RG_sleepinggray = {
|
|
|
|
remove_country_flag = RG_sleepinggray
|
|
|
|
}
|
|
|
|
RG_whitenoise = {
|
|
|
|
remove_country_flag = RG_whitenoise
|
|
|
|
}
|
|
|
|
RG_dragon = {
|
|
|
|
remove_country_flag = RG_dragon
|
|
|
|
}
|
|
|
|
RG_desanau = {
|
|
|
|
remove_country_flag = RG_desanau
|
|
|
|
}
|
|
|
|
RG_pirate = {
|
|
|
|
remove_country_flag = RG_pirate
|
|
|
|
}
|
|
|
|
RG_alienpoem = {
|
|
|
|
remove_country_flag = RG_alienpoem
|
|
|
|
}
|
|
|
|
RG_gift = {
|
|
|
|
remove_country_flag = RG_gift
|
|
|
|
}
|
|
|
|
RG_biggift = {
|
|
|
|
remove_country_flag = RG_biggift
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
option = {
|
|
|
|
custom_gui = "enclave_caravaneer_option"
|
|
|
|
name = OK
|
2023-06-08 13:11:05 +08:00
|
|
|
hidden_effect = {
|
2023-05-23 11:11:33 +08:00
|
|
|
switch = {
|
|
|
|
trigger = has_country_flag
|
|
|
|
RG_realgray = {
|
|
|
|
custom_tooltip = "RG_realgray"
|
2023-06-08 13:11:05 +08:00
|
|
|
country_event = {
|
2023-06-21 12:39:36 +08:00
|
|
|
id = graygoo.499
|
2023-06-08 13:11:05 +08:00
|
|
|
days = 30
|
|
|
|
}
|
|
|
|
give_technology = {
|
2023-05-23 11:11:33 +08:00
|
|
|
tech = tech_minilaser_gray_1
|
2023-06-08 13:11:05 +08:00
|
|
|
message = no
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
give_technology = {
|
|
|
|
tech = tech_object_gray_5
|
2023-06-08 13:11:05 +08:00
|
|
|
message = no
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
RG_sleepinggray = {
|
|
|
|
custom_tooltip = "RG_sleepinggray"
|
2023-06-08 13:11:05 +08:00
|
|
|
country_event = {
|
2023-06-21 12:39:36 +08:00
|
|
|
id = graygoo.499
|
2023-06-08 13:11:05 +08:00
|
|
|
days = 360
|
|
|
|
}
|
|
|
|
give_technology = {
|
2023-05-23 11:11:33 +08:00
|
|
|
tech = tech_minilaser_gray_1
|
2023-06-08 13:11:05 +08:00
|
|
|
message = no
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
give_technology = {
|
|
|
|
tech = tech_object_gray_5
|
2023-06-08 13:11:05 +08:00
|
|
|
message = no
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
RG_whitenoise = {
|
|
|
|
custom_tooltip = "RG_whitenoise"
|
2023-06-08 13:11:05 +08:00
|
|
|
country_event = {
|
2023-06-21 12:39:36 +08:00
|
|
|
id = graygoo.499
|
2023-06-08 13:11:05 +08:00
|
|
|
days = 360
|
|
|
|
}
|
|
|
|
give_technology = {
|
2023-05-23 11:11:33 +08:00
|
|
|
tech = tech_minilaser_gray_1
|
2023-06-08 13:11:05 +08:00
|
|
|
message = no
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
give_technology = {
|
|
|
|
tech = tech_object_gray_5
|
2023-06-08 13:11:05 +08:00
|
|
|
message = no
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
RG_dragon = {
|
|
|
|
custom_tooltip = "RG_dragon"
|
2023-06-08 13:11:05 +08:00
|
|
|
country_event = {
|
2023-06-21 12:39:36 +08:00
|
|
|
id = graygoo.499
|
2023-06-08 13:11:05 +08:00
|
|
|
days = 360
|
|
|
|
}
|
|
|
|
give_technology = {
|
|
|
|
tech = tech_object_gray_5
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
add_monthly_resource_mult = {
|
|
|
|
resource = society_research
|
|
|
|
value = 24
|
|
|
|
min = 2000
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
give_technology = {
|
|
|
|
tech = tech_minilaser_gray_1
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
tooltip = {
|
2023-06-08 13:11:05 +08:00
|
|
|
give_technology = {
|
|
|
|
tech = tech_object_gray_5
|
|
|
|
}
|
|
|
|
give_technology = {
|
|
|
|
tech = tech_minilaser_gray_1
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
add_monthly_resource_mult = {
|
|
|
|
resource = society_research
|
|
|
|
value = 24
|
|
|
|
min = 2000
|
|
|
|
}
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
give_technology = {
|
|
|
|
tech = tech_minilaser_gray_1
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
RG_desanau = {
|
|
|
|
custom_tooltip = "RG_desanau"
|
2023-06-08 13:11:05 +08:00
|
|
|
country_event = {
|
2023-06-21 12:39:36 +08:00
|
|
|
id = graygoo.499
|
2023-06-08 13:11:05 +08:00
|
|
|
days = 360
|
|
|
|
}
|
|
|
|
give_technology = {
|
|
|
|
tech = tech_object_gray_5
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
add_monthly_resource_mult = {
|
|
|
|
resource = society_research
|
|
|
|
value = 24
|
|
|
|
min = 2000
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
give_technology = {
|
|
|
|
tech = tech_minilaser_gray_1
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
tooltip = {
|
|
|
|
add_monthly_resource_mult = {
|
|
|
|
resource = society_research
|
|
|
|
value = 24
|
|
|
|
min = 2000
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
give_technology = {
|
|
|
|
tech = tech_minilaser_gray_1
|
|
|
|
}
|
|
|
|
give_technology = {
|
|
|
|
tech = tech_object_gray_5
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
RG_pirate = {
|
|
|
|
custom_tooltip = "RG_pirate"
|
2023-06-08 13:11:05 +08:00
|
|
|
country_event = {
|
2023-06-21 12:39:36 +08:00
|
|
|
id = graygoo.499
|
2023-06-08 13:11:05 +08:00
|
|
|
days = 360
|
|
|
|
}
|
|
|
|
give_technology = {
|
|
|
|
tech = tech_object_gray_5
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
add_monthly_resource_mult = {
|
|
|
|
resource = society_research
|
|
|
|
value = 24
|
|
|
|
min = 2000
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
give_technology = {
|
|
|
|
tech = tech_minilaser_gray_1
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
tooltip = {
|
|
|
|
add_monthly_resource_mult = {
|
|
|
|
resource = society_research
|
|
|
|
value = 24
|
|
|
|
min = 2000
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
give_technology = {
|
|
|
|
tech = tech_minilaser_gray_1
|
|
|
|
}
|
|
|
|
give_technology = {
|
|
|
|
tech = tech_object_gray_5
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
RG_alienpoem = {
|
|
|
|
custom_tooltip = "RG_alienpoem"
|
2023-06-08 13:11:05 +08:00
|
|
|
country_event = {
|
2023-06-21 12:39:36 +08:00
|
|
|
id = graygoo.499
|
2023-06-08 13:11:05 +08:00
|
|
|
days = 360
|
|
|
|
}
|
|
|
|
give_technology = {
|
|
|
|
tech = tech_object_gray_5
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
add_monthly_resource_mult = {
|
|
|
|
resource = society_research
|
|
|
|
value = 24
|
|
|
|
min = 2000
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
give_technology = {
|
|
|
|
tech = tech_minilaser_gray_1
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
tooltip = {
|
|
|
|
add_monthly_resource_mult = {
|
|
|
|
resource = society_research
|
|
|
|
value = 24
|
|
|
|
min = 2000
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
give_technology = {
|
|
|
|
tech = tech_minilaser_gray_1
|
|
|
|
}
|
|
|
|
give_technology = {
|
|
|
|
tech = tech_object_gray_5
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
RG_gift = {
|
|
|
|
custom_tooltip = "RG_gift"
|
2023-06-08 13:11:05 +08:00
|
|
|
country_event = {
|
2023-06-21 12:39:36 +08:00
|
|
|
id = graygoo.499
|
2023-06-08 13:11:05 +08:00
|
|
|
days = 360
|
|
|
|
}
|
|
|
|
give_technology = {
|
|
|
|
tech = tech_object_gray_5
|
|
|
|
}
|
|
|
|
add_resource = {
|
|
|
|
minerals = 10000
|
|
|
|
}
|
|
|
|
give_technology = {
|
|
|
|
tech = tech_minilaser_gray_1
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
tooltip = {
|
2023-06-08 13:11:05 +08:00
|
|
|
add_resource = {
|
|
|
|
minerals = 10000
|
|
|
|
}
|
|
|
|
give_technology = {
|
|
|
|
tech = tech_minilaser_gray_1
|
|
|
|
}
|
|
|
|
give_technology = {
|
|
|
|
tech = tech_object_gray_5
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
RG_biggift = {
|
|
|
|
custom_tooltip = "RG_biggift"
|
2023-06-08 13:11:05 +08:00
|
|
|
country_event = {
|
2023-06-21 12:39:36 +08:00
|
|
|
id = graygoo.499
|
2023-06-08 13:11:05 +08:00
|
|
|
days = 360
|
|
|
|
}
|
|
|
|
give_technology = {
|
|
|
|
tech = tech_object_gray_5
|
|
|
|
}
|
|
|
|
give_technology = {
|
|
|
|
tech = tech_minilaser_gray_1
|
|
|
|
}
|
|
|
|
add_resource = {
|
|
|
|
minerals = 1000000
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
tooltip = {
|
2023-06-08 13:11:05 +08:00
|
|
|
give_technology = {
|
|
|
|
tech = tech_object_gray_5
|
|
|
|
}
|
|
|
|
give_technology = {
|
|
|
|
tech = tech_minilaser_gray_1
|
|
|
|
}
|
|
|
|
add_resource = {
|
|
|
|
minerals = 1000000
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
country_event = {
|
2023-06-08 12:45:17 +08:00
|
|
|
id = rg_event.7
|
2023-05-23 11:11:33 +08:00
|
|
|
hide_window = yes
|
|
|
|
is_triggered_only = yes
|
|
|
|
immediate = {
|
|
|
|
remove_country_flag = gray_alreadybegged
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
country_event = {
|
|
|
|
###月中
|
2023-06-08 12:45:17 +08:00
|
|
|
id = rg_event.8
|
2023-05-23 11:11:33 +08:00
|
|
|
hide_window = yes
|
|
|
|
is_triggered_only = yes
|
|
|
|
trigger = {
|
|
|
|
has_country_flag = gray_owner
|
|
|
|
}
|
|
|
|
immediate = {
|
|
|
|
every_owned_leader = {
|
|
|
|
if = {
|
|
|
|
###等级检测
|
|
|
|
limit = {
|
|
|
|
has_leader_flag = rg_gray_leader
|
|
|
|
}
|
|
|
|
export_trigger_value_to_variable = {
|
|
|
|
trigger = has_skill
|
|
|
|
variable = rg_gray_level_temp
|
|
|
|
}
|
|
|
|
owner = {
|
|
|
|
set_variable = {
|
|
|
|
which = rg_gray_level
|
|
|
|
value = prev.rg_gray_level_temp
|
|
|
|
}
|
|
|
|
}
|
|
|
|
clear_variable = rg_gray_level_temp
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# 开始改造
|
|
|
|
country_event = {
|
2023-06-08 12:45:17 +08:00
|
|
|
id = rg_event.9
|
2023-06-11 12:36:05 +08:00
|
|
|
title = rg_event.9.title
|
|
|
|
desc = rg_event.9.desc
|
|
|
|
picture = GFX_evt_gray_goo_ships
|
2023-05-23 11:11:33 +08:00
|
|
|
is_triggered_only = yes
|
|
|
|
trigger = {
|
|
|
|
NOR = {
|
|
|
|
has_country_flag = rg_gray_level_2
|
|
|
|
has_country_flag = rg_gray_level_3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
immediate = {
|
2023-06-08 13:11:05 +08:00
|
|
|
event_target:gray_warship = {
|
|
|
|
set_event_locked = yes
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
event_target:gray_owner = {
|
|
|
|
set_country_flag = rg_modifing_gray
|
|
|
|
}
|
|
|
|
}
|
2023-06-11 12:36:05 +08:00
|
|
|
option = {
|
|
|
|
name = rg_event.9.a
|
|
|
|
default_hide_option = yes
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
# 取消改造项目1
|
|
|
|
country_event = {
|
2023-06-08 12:45:17 +08:00
|
|
|
id = rg_event.10
|
2023-06-11 14:02:13 +08:00
|
|
|
title = rg_event.10.title
|
|
|
|
desc = rg_event.10.desc
|
|
|
|
picture = GFX_evt_gray_goo_ships
|
2023-05-23 11:11:33 +08:00
|
|
|
is_triggered_only = yes
|
|
|
|
immediate = {
|
|
|
|
if = {
|
2023-06-08 13:11:05 +08:00
|
|
|
limit = {
|
|
|
|
exists = event_target:gray_warship
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
event_target:gray_warship = {
|
|
|
|
set_event_locked = no
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
}
|
|
|
|
else = {
|
2023-05-23 11:11:33 +08:00
|
|
|
every_controlled_fleet = {
|
2023-06-08 13:11:05 +08:00
|
|
|
limit = {
|
|
|
|
has_fleet_flag = gray_fleet
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
set_event_locked = no
|
|
|
|
}
|
|
|
|
}
|
|
|
|
remove_country_flag = rg_modifing_gray
|
2023-06-08 13:11:05 +08:00
|
|
|
abort_special_project = {
|
|
|
|
type = RG_GRAY_MOD1
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
2023-06-11 14:02:13 +08:00
|
|
|
option = {
|
|
|
|
name = rg_event.10.a
|
|
|
|
default_hide_option = yes
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
# mod1完成改造
|
|
|
|
country_event = {
|
2023-06-08 12:45:17 +08:00
|
|
|
id = rg_event.11
|
|
|
|
title = rg_event.11.title
|
|
|
|
desc = rg_event.11.desc
|
2023-05-23 11:11:33 +08:00
|
|
|
picture = GFX_evt_gray_goo_ships
|
|
|
|
is_triggered_only = yes
|
|
|
|
immediate = {
|
2023-06-08 13:11:05 +08:00
|
|
|
remove_country_flag = rg_modifing_gray
|
2023-05-23 11:11:33 +08:00
|
|
|
remove_country_flag = rg_gray_level_1
|
|
|
|
set_country_flag = rg_gray_level_2
|
|
|
|
every_controlled_fleet = {
|
2023-06-08 13:11:05 +08:00
|
|
|
limit = {
|
|
|
|
has_fleet_flag = gray_fleet
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
delete_fleet = {
|
|
|
|
target = this
|
|
|
|
kill_leader = no
|
|
|
|
destroy_template = yes
|
|
|
|
}
|
|
|
|
}
|
2023-06-12 15:14:31 +08:00
|
|
|
create_ship_design = {
|
|
|
|
design = "NAME_Gray_Warship_rg"
|
|
|
|
}
|
|
|
|
add_ship_design = last_created_design
|
2023-06-11 17:39:48 +08:00
|
|
|
rg_warship_init_mod1 = yes
|
2023-06-11 15:56:54 +08:00
|
|
|
random_situation = {
|
|
|
|
limit = {
|
|
|
|
is_situation_type = situation_rg_gray_mod1
|
|
|
|
}
|
|
|
|
remove_situation_flag = rg_stage6_locked
|
|
|
|
set_situation_locked = no
|
|
|
|
remove_situation_flag = locked
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
option = {
|
|
|
|
name = OK
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# mod2完成改造
|
|
|
|
country_event = {
|
2023-06-08 12:45:17 +08:00
|
|
|
id = rg_event.12
|
|
|
|
title = rg_event.12.title
|
|
|
|
desc = rg_event.12.desc
|
2023-05-23 11:11:33 +08:00
|
|
|
picture = GFX_evt_gray_goo_ships
|
|
|
|
is_triggered_only = yes
|
|
|
|
immediate = {
|
2023-06-08 13:11:05 +08:00
|
|
|
remove_country_flag = rg_modifing_gray
|
2023-05-23 11:11:33 +08:00
|
|
|
remove_country_flag = rg_gray_level_1
|
|
|
|
remove_country_flag = rg_gray_level_2
|
|
|
|
set_country_flag = rg_gray_level_3
|
|
|
|
every_controlled_fleet = {
|
2023-06-08 13:11:05 +08:00
|
|
|
limit = {
|
|
|
|
has_fleet_flag = gray_fleet
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
delete_fleet = {
|
|
|
|
target = this
|
|
|
|
kill_leader = no
|
|
|
|
destroy_template = yes
|
|
|
|
}
|
|
|
|
}
|
2023-06-12 19:50:07 +08:00
|
|
|
give_technology = {
|
|
|
|
tech = tech_gray_juggernaut_8
|
|
|
|
}
|
2023-06-11 17:39:48 +08:00
|
|
|
create_ship_design = {
|
|
|
|
design = "NAME_gray_capitalship"
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
2023-06-11 17:39:48 +08:00
|
|
|
add_ship_design = last_created_design
|
|
|
|
rg_warship_init_mod2 = yes
|
2023-06-12 10:30:34 +08:00
|
|
|
random_situation = {
|
|
|
|
limit = {
|
|
|
|
is_situation_type = situation_rg_gray_mod2
|
|
|
|
}
|
|
|
|
remove_situation_flag = rg_stage6_locked
|
|
|
|
set_situation_locked = no
|
|
|
|
remove_situation_flag = locked
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
option = {
|
|
|
|
name = OK
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# 取消改造项目2
|
|
|
|
country_event = {
|
2023-06-08 12:45:17 +08:00
|
|
|
id = rg_event.13
|
2023-05-23 11:11:33 +08:00
|
|
|
hide_window = yes
|
|
|
|
is_triggered_only = yes
|
|
|
|
immediate = {
|
|
|
|
if = {
|
2023-06-08 13:11:05 +08:00
|
|
|
limit = {
|
|
|
|
exists = event_target:gray_warship
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
event_target:gray_warship = {
|
|
|
|
set_event_locked = no
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
}
|
|
|
|
else = {
|
2023-05-23 11:11:33 +08:00
|
|
|
every_controlled_fleet = {
|
2023-06-08 13:11:05 +08:00
|
|
|
limit = {
|
|
|
|
has_fleet_flag = gray_fleet
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
set_event_locked = no
|
|
|
|
}
|
|
|
|
}
|
|
|
|
remove_country_flag = rg_modifing_gray
|
2023-06-08 13:11:05 +08:00
|
|
|
abort_special_project = {
|
|
|
|
type = RG_GRAY_MOD2
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# 取消改造项目3
|
|
|
|
country_event = {
|
2023-06-08 12:45:17 +08:00
|
|
|
id = rg_event.14
|
2023-05-23 11:11:33 +08:00
|
|
|
hide_window = yes
|
|
|
|
is_triggered_only = yes
|
|
|
|
immediate = {
|
|
|
|
if = {
|
2023-06-08 13:11:05 +08:00
|
|
|
limit = {
|
|
|
|
exists = event_target:gray_warship
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
event_target:gray_warship = {
|
|
|
|
set_event_locked = no
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
}
|
|
|
|
else = {
|
2023-05-23 11:11:33 +08:00
|
|
|
every_controlled_fleet = {
|
2023-06-08 13:11:05 +08:00
|
|
|
limit = {
|
|
|
|
has_fleet_flag = gray_fleet
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
set_event_locked = no
|
|
|
|
}
|
|
|
|
}
|
|
|
|
remove_country_flag = rg_modifing_gray
|
2023-06-08 13:11:05 +08:00
|
|
|
abort_special_project = {
|
|
|
|
type = RG_GRAY_MOD3
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# mod3完成改造
|
|
|
|
country_event = {
|
2023-06-08 12:45:17 +08:00
|
|
|
id = rg_event.15
|
|
|
|
title = rg_event.15.title
|
|
|
|
desc = rg_event.15.desc
|
2023-05-23 11:11:33 +08:00
|
|
|
picture = GFX_evt_gray_goo_ships
|
|
|
|
is_triggered_only = yes
|
|
|
|
immediate = {
|
2023-06-08 13:11:05 +08:00
|
|
|
remove_country_flag = rg_modifing_gray
|
2023-05-23 11:11:33 +08:00
|
|
|
set_country_flag = rg_juggernaut_fired
|
2023-06-12 15:03:29 +08:00
|
|
|
create_ship_design = {
|
|
|
|
design = "NAME_gray_juggernautship"
|
|
|
|
}
|
|
|
|
add_ship_design = last_created_design
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
option = {
|
|
|
|
name = OK
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# 小灰陆军入侵完成替换回压制舰
|
|
|
|
country_event = {
|
2023-06-08 12:45:17 +08:00
|
|
|
id = rg_event.16
|
2023-05-23 11:11:33 +08:00
|
|
|
hide_window = yes
|
|
|
|
is_triggered_only = yes
|
|
|
|
trigger = {
|
|
|
|
has_country_flag = gray_army_active
|
|
|
|
any_owned_army = {
|
|
|
|
army_type = gray_army
|
|
|
|
fleet = {
|
|
|
|
NOT = {
|
|
|
|
is_ship_size = RG_armed_transport_ship
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
NOT = {
|
|
|
|
any_owned_army = {
|
|
|
|
army_type = gray_army
|
|
|
|
exists = planet
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
immediate = {
|
|
|
|
every_owned_army = {
|
2023-06-08 13:11:05 +08:00
|
|
|
limit = {
|
|
|
|
army_type = gray_army
|
|
|
|
}
|
|
|
|
fleet = {
|
|
|
|
save_event_target_as = gray_transport_location
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
create_ship_design = {
|
|
|
|
design = "NAME_RG_armed_transport_ship"
|
|
|
|
}
|
|
|
|
add_ship_design = last_created_design
|
|
|
|
create_fleet = {
|
|
|
|
name = "NAME_Gray"
|
|
|
|
effect = {
|
|
|
|
set_owner = prev
|
|
|
|
create_army_transport = {
|
|
|
|
ship_name = "NAME_Gray"
|
|
|
|
army_name = "NAME_Gray"
|
|
|
|
army_type = "gray_army"
|
|
|
|
}
|
|
|
|
set_location = {
|
|
|
|
target = event_target:gray_transport_location
|
|
|
|
distance = 0
|
2023-06-08 13:11:05 +08:00
|
|
|
angle = random
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
set_fleet_stance = aggressive
|
|
|
|
}
|
|
|
|
}
|
|
|
|
last_created_army = {
|
|
|
|
assign_leader = event_target:gray_leader_general
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
remove_ship_design = last_created_design
|
2023-05-23 11:11:33 +08:00
|
|
|
every_owned_army = {
|
2023-06-08 13:11:05 +08:00
|
|
|
limit = {
|
2023-05-23 11:11:33 +08:00
|
|
|
army_type = gray_army
|
|
|
|
fleet = {
|
2023-06-08 13:11:05 +08:00
|
|
|
NOT = {
|
|
|
|
is_ship_size = RG_armed_transport_ship
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
if = {
|
2023-06-08 13:11:05 +08:00
|
|
|
limit = {
|
|
|
|
exists = leader
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
unassign_leader = leader
|
|
|
|
}
|
|
|
|
remove_army = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
country_event = {
|
|
|
|
# 年检补开门
|
2023-06-08 12:45:17 +08:00
|
|
|
id = rg_event.17
|
2023-05-23 11:11:33 +08:00
|
|
|
hide_window = yes
|
|
|
|
is_triggered_only = yes
|
|
|
|
trigger = {
|
|
|
|
any_megastructure = {
|
|
|
|
is_megastructure_type = lgate_base
|
|
|
|
has_megastructure_flag = lgate_activated
|
|
|
|
}
|
|
|
|
}
|
|
|
|
immediate = {
|
|
|
|
every_megastructure = {
|
|
|
|
limit = {
|
|
|
|
is_megastructure_type = lgate_base
|
2023-06-08 13:11:05 +08:00
|
|
|
NOT = {
|
|
|
|
has_megastructure_flag = lgate_activated
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
activate_gateway = this
|
|
|
|
set_megastructure_flag = lgate_activated
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
country_event = {
|
|
|
|
# 中期开门
|
2023-06-08 12:45:17 +08:00
|
|
|
id = rg_event.18
|
|
|
|
title = rg_event.18.title
|
|
|
|
desc = rg_event.18.desc
|
2023-05-23 11:11:33 +08:00
|
|
|
is_triggered_only = yes
|
|
|
|
fire_only_once = yes
|
|
|
|
picture = GFX_evt_drifting_gateway
|
|
|
|
trigger = {
|
2023-06-08 11:09:55 +08:00
|
|
|
NOT = {
|
|
|
|
has_global_flag = has_origin_gray_dragon
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
has_country_flag = origin_rg_gray
|
|
|
|
OR = {
|
|
|
|
any_system_megastructure = {
|
|
|
|
is_megastructure_type = lgate_base
|
2023-06-08 13:11:05 +08:00
|
|
|
NOT = {
|
|
|
|
has_megastructure_flag = lgate_activated
|
|
|
|
}
|
|
|
|
}
|
|
|
|
NOT = {
|
|
|
|
has_special_project = RG_LCLUSTER_PROJECT
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
has_special_project = LCLUSTER_PROJECT
|
|
|
|
}
|
|
|
|
}
|
|
|
|
immediate = {
|
2023-06-12 19:50:07 +08:00
|
|
|
give_technology = {
|
|
|
|
tech = tech_lgate_activation
|
|
|
|
}
|
2023-06-03 18:08:09 +08:00
|
|
|
if = {
|
2023-05-23 11:11:33 +08:00
|
|
|
limit = {
|
2023-06-03 18:08:09 +08:00
|
|
|
any_system_within_border = {
|
|
|
|
OR = {
|
|
|
|
has_star_flag = lcluster_lgate
|
|
|
|
has_star_flag = lgate_originating_system
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
any_system_megastructure = {
|
2023-06-03 18:08:09 +08:00
|
|
|
is_megastructure_type = l_gate_base
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
2023-06-03 18:08:09 +08:00
|
|
|
}
|
|
|
|
every_system_within_border = {
|
|
|
|
limit = {
|
|
|
|
OR = {
|
|
|
|
has_star_flag = lcluster_lgate
|
|
|
|
has_star_flag = lgate_originating_system
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
any_system_megastructure = {
|
2023-06-03 18:08:09 +08:00
|
|
|
is_megastructure_type = l_gate_base
|
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
2023-06-03 18:08:09 +08:00
|
|
|
save_event_target_as = candidate_gateway
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
country_event = {
|
|
|
|
id = distar.10905
|
|
|
|
} # enable project
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
2023-06-03 18:08:09 +08:00
|
|
|
else = {
|
|
|
|
country_event = {
|
2023-06-08 13:11:05 +08:00
|
|
|
id = rg_event.21
|
|
|
|
days = 120
|
2023-06-03 18:08:09 +08:00
|
|
|
}
|
2023-05-23 11:11:33 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-06-14 17:15:05 +08:00
|
|
|
|
|
|
|
|
|
|
|
country_event = {
|
|
|
|
id = rg_event.19
|
|
|
|
hide_window = yes
|
|
|
|
is_triggered_only = yes
|
|
|
|
fire_only_once = yes
|
|
|
|
trigger = {
|
|
|
|
is_ai = no
|
|
|
|
}
|
|
|
|
immediate = {
|
|
|
|
set_global_flag = has_rg_mod
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
country_event = {
|
|
|
|
# 年检模拟龙年龄
|
|
|
|
id = rg_event.20
|
|
|
|
hide_window = yes
|
|
|
|
is_triggered_only = yes
|
|
|
|
trigger = {
|
|
|
|
has_country_flag = rg_fake_dragon_owner
|
|
|
|
}
|
|
|
|
immediate = {
|
|
|
|
if = {
|
|
|
|
limit = {
|
|
|
|
NOT = {
|
|
|
|
has_country_flag = rg_fake_dragon_reborn_country
|
|
|
|
}
|
|
|
|
}
|
|
|
|
change_variable = {
|
|
|
|
which = rg_fake_dragon_timedlife_counter
|
|
|
|
value = 12
|
|
|
|
}
|
|
|
|
}
|
|
|
|
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 = {
|
|
|
|
limit = {
|
|
|
|
has_leader_flag = rg_fake_dragon
|
|
|
|
}
|
|
|
|
set_age = owner.rg_fake_dragon_timedlife_counter
|
|
|
|
}
|
|
|
|
random_owned_fleet = {
|
|
|
|
limit = {
|
|
|
|
NOT = {
|
|
|
|
has_fleet_flag = rg_fake_dragon_fleet
|
|
|
|
}
|
|
|
|
leader = {
|
|
|
|
has_leader_flag = rg_fake_dragon
|
|
|
|
NOT = {
|
|
|
|
has_leader_flag = rg_fake_dragon_reborn
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
unassign_leader = this
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# looping check for owning gateway, once every two months
|
|
|
|
country_event = {
|
|
|
|
id = rg_event.21
|
|
|
|
hide_window = yes
|
|
|
|
is_triggered_only = yes
|
|
|
|
trigger = {
|
|
|
|
NOR = {
|
|
|
|
has_global_flag = l_cluster_opened
|
|
|
|
has_special_project = RG_LCLUSTER_PROJECT
|
|
|
|
}
|
|
|
|
}
|
|
|
|
immediate = {
|
|
|
|
if = {
|
|
|
|
limit = {
|
|
|
|
any_owned_megastructure = {
|
|
|
|
is_megastructure_type = lgate_base
|
|
|
|
}
|
|
|
|
has_technology = tech_lgate_activation
|
|
|
|
}
|
|
|
|
random_owned_megastructure = {
|
|
|
|
limit = {
|
|
|
|
is_megastructure_type = lgate_base
|
|
|
|
}
|
|
|
|
save_event_target_as = candidate_gateway
|
|
|
|
}
|
|
|
|
country_event = {
|
|
|
|
id = distar.10905
|
|
|
|
}
|
|
|
|
# enable project
|
|
|
|
}
|
|
|
|
else = {
|
|
|
|
country_event = {
|
|
|
|
id = rg_event.21
|
|
|
|
days = 120
|
|
|
|
}
|
|
|
|
# *THIS* looping check
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-05-15 22:50:36 +08:00
|
|
|
# # looping check for grayreforming
|
|
|
|
# country_event = {
|
|
|
|
# id = rg_event.22
|
|
|
|
# hide_window = yes
|
|
|
|
# is_triggered_only = yes
|
|
|
|
# trigger = {
|
|
|
|
# is_same_value = event_target:gray_owner
|
|
|
|
# has_country_flag = gray_reforming
|
|
|
|
# }
|
|
|
|
# immediate = {
|
|
|
|
# if = {
|
|
|
|
# limit = {
|
|
|
|
# NOT = {
|
|
|
|
# has_modifier = "gray_scattered"
|
|
|
|
# }
|
|
|
|
# }
|
|
|
|
# country_event = {
|
|
|
|
# id = graygoo.512
|
|
|
|
# }
|
|
|
|
# }
|
|
|
|
# else = {
|
|
|
|
# country_event = {
|
|
|
|
# id = rg_event.22
|
|
|
|
# years = 1
|
|
|
|
# }
|
|
|
|
# # *THIS* looping check
|
|
|
|
# }
|
|
|
|
# }
|
|
|
|
# }
|
2023-06-14 17:15:05 +08:00
|
|
|
|
|
|
|
# 拆毁工厂小灰通讯
|
|
|
|
country_event = {
|
|
|
|
id = rg_event.200
|
|
|
|
title = "rg_event.200.name"
|
|
|
|
trigger = {
|
|
|
|
NOT = {
|
|
|
|
any_playable_country = {
|
|
|
|
has_country_flag = gray_owner
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
desc = {
|
|
|
|
trigger = {
|
|
|
|
owner = {
|
|
|
|
is_synthetic_empire = no
|
|
|
|
}
|
|
|
|
}
|
|
|
|
text = "rg_event.200.a.desc"
|
|
|
|
}
|
|
|
|
desc = {
|
|
|
|
trigger = {
|
|
|
|
owner = {
|
|
|
|
is_synthetic_empire = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
text = "rg_event.200.b.desc"
|
|
|
|
}
|
|
|
|
picture = GFX_evt_ship_in_orbit_2
|
|
|
|
show_sound = event_radio_chatter
|
|
|
|
is_triggered_only = yes
|
|
|
|
#immediate = {
|
|
|
|
# from = { save_event_target_as = gray_homeworld }
|
|
|
|
#}
|
|
|
|
option = {
|
|
|
|
name = rg_event.200.a
|
|
|
|
hidden_effect = {
|
|
|
|
create_fleet = {
|
|
|
|
effect = {
|
|
|
|
set_owner = event_target:graygoo_country
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "NAME_Gray_Warship"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
}
|
|
|
|
set_location = {
|
|
|
|
target = event_target:main_star
|
|
|
|
distance = 55
|
|
|
|
angle = 270
|
|
|
|
}
|
|
|
|
save_event_target_as = aggressive_gray
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
option = {
|
|
|
|
name = rg_event.200.b
|
|
|
|
hidden_effect = {
|
|
|
|
owner = {
|
|
|
|
country_event = {
|
|
|
|
id = rg_event.400
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# L星龙暴毙小灰通讯
|
|
|
|
country_event = {
|
|
|
|
id = rg_event.201
|
|
|
|
title = "rg_event.201.name"
|
|
|
|
trigger = {
|
|
|
|
NOT = {
|
|
|
|
any_playable_country = {
|
|
|
|
has_country_flag = gray_owner
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
desc = {
|
|
|
|
text = "rg_event.201.desc"
|
|
|
|
}
|
|
|
|
picture = GFX_evt_ship_in_orbit_2
|
|
|
|
show_sound = event_radio_chatter
|
|
|
|
is_triggered_only = yes
|
|
|
|
#immediate = {
|
|
|
|
# from = { save_event_target_as = gray_homeworld }
|
|
|
|
#}
|
|
|
|
option = {
|
|
|
|
name = rg_event.201.a
|
|
|
|
hidden_effect = {
|
|
|
|
create_fleet = {
|
|
|
|
effect = {
|
|
|
|
set_owner = event_target:graygoo_country
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "NAME_Gray_Warship"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
}
|
|
|
|
set_location = {
|
|
|
|
target = event_target:main_star
|
|
|
|
distance = 55
|
|
|
|
angle = 270
|
|
|
|
}
|
|
|
|
save_event_target_as = aggressive_gray
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
option = {
|
|
|
|
name = rg_event.201.b
|
|
|
|
hidden_effect = {
|
|
|
|
owner = {
|
|
|
|
country_event = {
|
|
|
|
id = rg_event.402
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# 灰色风暴线小灰通讯
|
|
|
|
country_event = {
|
|
|
|
id = rg_event.400
|
|
|
|
title = "TRANSMISSION"
|
|
|
|
trigger = {
|
|
|
|
NOT = {
|
|
|
|
any_playable_country = {
|
|
|
|
has_country_flag = gray_owner
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
desc = {
|
|
|
|
trigger = {
|
|
|
|
NOT = {
|
|
|
|
has_authority = auth_machine_intelligence
|
|
|
|
}
|
|
|
|
}
|
|
|
|
text = "rg_event.400.a.desc"
|
|
|
|
}
|
|
|
|
desc = {
|
|
|
|
trigger = {
|
|
|
|
has_authority = auth_machine_intelligence
|
|
|
|
}
|
|
|
|
text = "rg_event.400.b.desc"
|
|
|
|
}
|
|
|
|
diplomatic = yes
|
|
|
|
picture_event_data = {
|
|
|
|
portrait = root.species
|
|
|
|
room = "ethic_spaceship_room"
|
|
|
|
}
|
|
|
|
is_triggered_only = yes
|
|
|
|
option = {
|
|
|
|
name = rg_event.400.a
|
|
|
|
trigger = {
|
|
|
|
NOR = {
|
|
|
|
has_authority = auth_machine_intelligence
|
|
|
|
has_authority = auth_hive_mind
|
|
|
|
}
|
|
|
|
}
|
|
|
|
hidden_effect = {
|
|
|
|
country_event = {
|
|
|
|
id = graygoo.406
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
option = {
|
|
|
|
name = rg_event.400.b
|
|
|
|
trigger = {
|
|
|
|
has_authority = auth_machine_intelligence
|
|
|
|
}
|
|
|
|
hidden_effect = {
|
|
|
|
country_event = {
|
|
|
|
id = graygoo.406
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
option = {
|
|
|
|
name = rg_event.400.c
|
|
|
|
trigger = {
|
|
|
|
has_authority = auth_hive_mind
|
|
|
|
}
|
|
|
|
hidden_effect = {
|
|
|
|
country_event = {
|
|
|
|
id = graygoo.406
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
option = {
|
|
|
|
name = rg_event.400.d
|
|
|
|
hidden_effect = {
|
|
|
|
country_event = {
|
|
|
|
id = rg_event.401
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
country_event = {
|
|
|
|
id = rg_event.401
|
|
|
|
title = "TRANSMISSION"
|
|
|
|
desc = "rg_event.401.desc"
|
|
|
|
diplomatic = yes
|
|
|
|
picture_event_data = {
|
|
|
|
portrait = root.species
|
|
|
|
room = "ethic_spaceship_room"
|
|
|
|
}
|
|
|
|
is_triggered_only = yes
|
|
|
|
option = {
|
|
|
|
name = rg_event.401.a
|
|
|
|
response_text = rg_event.401.a.response
|
|
|
|
}
|
|
|
|
option = {
|
|
|
|
name = rg_event.401.b
|
|
|
|
hidden_effect = {
|
|
|
|
create_fleet = {
|
|
|
|
effect = {
|
|
|
|
set_owner = event_target:graygoo_country
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "NAME_Gray_Warship"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
}
|
|
|
|
set_location = {
|
|
|
|
target = event_target:main_star
|
|
|
|
distance = 55
|
|
|
|
angle = 270
|
|
|
|
}
|
|
|
|
save_event_target_as = aggressive_gray
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# L星龙线小灰通讯
|
|
|
|
country_event = {
|
|
|
|
id = rg_event.402
|
|
|
|
title = "TRANSMISSION"
|
|
|
|
desc = {
|
|
|
|
text = "rg_event.402.a.desc"
|
|
|
|
}
|
|
|
|
diplomatic = yes
|
|
|
|
picture_event_data = {
|
|
|
|
portrait = root.species
|
|
|
|
room = "ethic_spaceship_room"
|
|
|
|
}
|
|
|
|
is_triggered_only = yes
|
|
|
|
option = {
|
|
|
|
name = rg_event.402.a
|
|
|
|
hidden_effect = {
|
|
|
|
country_event = {
|
|
|
|
id = rg_event.403
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
option = {
|
|
|
|
name = rg_event.402.b
|
|
|
|
hidden_effect = {
|
|
|
|
country_event = {
|
|
|
|
id = rg_event.401
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# L星龙线小灰通讯回答
|
|
|
|
country_event = {
|
|
|
|
id = rg_event.403
|
|
|
|
title = "TRANSMISSION"
|
|
|
|
desc = "rg_event.403.desc"
|
|
|
|
diplomatic = yes
|
|
|
|
picture_event_data = {
|
|
|
|
portrait = root.species
|
|
|
|
room = "ethic_spaceship_room"
|
|
|
|
}
|
|
|
|
is_triggered_only = yes
|
|
|
|
option = {
|
|
|
|
name = rg_event.403.a
|
|
|
|
response_text = rg_event.403.a.response
|
|
|
|
default_hide_option = yes
|
|
|
|
hidden_effect = {
|
|
|
|
country_event = {
|
|
|
|
id = graygoo.499
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
country_event = {
|
|
|
|
id = rg_event.404
|
|
|
|
hide_window = yes
|
|
|
|
is_triggered_only = yes
|
|
|
|
immediate = {
|
|
|
|
random_owned_ship = {
|
|
|
|
limit = {
|
|
|
|
is_ship_size = graygoo_factory
|
|
|
|
}
|
|
|
|
save_event_target_as = graygoo_factory
|
|
|
|
}
|
|
|
|
create_fleet = {
|
|
|
|
name = "NAME_Tempest_Fleet"
|
|
|
|
effect = {
|
|
|
|
set_owner = root
|
|
|
|
rg_emergency_fleet_defence = yes
|
|
|
|
set_formation_scale = 2
|
|
|
|
set_fleet_stance = aggressive
|
|
|
|
set_aggro_range_measure_from = self
|
|
|
|
set_aggro_range = 250
|
|
|
|
set_location = {
|
|
|
|
target = event_target:graygoo_factory
|
|
|
|
distance = 10
|
|
|
|
angle = random
|
|
|
|
}
|
|
|
|
fleet_event = {
|
|
|
|
id = rg_event.406
|
|
|
|
days = 30
|
|
|
|
random = 5
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if = {
|
|
|
|
limit = {
|
|
|
|
num_fleets < 60
|
|
|
|
}
|
|
|
|
create_fleet = {
|
|
|
|
name = "NAME_Tempest_Fleet"
|
|
|
|
effect = {
|
|
|
|
set_owner = root
|
|
|
|
rg_emergency_fleet_defence = yes
|
|
|
|
set_formation_scale = 2
|
|
|
|
set_fleet_stance = aggressive
|
|
|
|
set_aggro_range_measure_from = self
|
|
|
|
set_aggro_range = 250
|
|
|
|
set_location = {
|
|
|
|
target = event_target:graygoo_factory
|
|
|
|
distance = 10
|
|
|
|
angle = random
|
|
|
|
}
|
|
|
|
fleet_event = {
|
|
|
|
id = rg_event.406
|
|
|
|
days = 30
|
|
|
|
random = 5
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if = {
|
|
|
|
limit = {
|
|
|
|
num_fleets < 30
|
|
|
|
}
|
|
|
|
create_fleet = {
|
|
|
|
name = "NAME_Tempest_Fleet"
|
|
|
|
effect = {
|
|
|
|
set_owner = root
|
|
|
|
rg_emergency_fleet_defence = yes
|
|
|
|
set_formation_scale = 2
|
|
|
|
set_fleet_stance = aggressive
|
|
|
|
set_aggro_range_measure_from = self
|
|
|
|
set_aggro_range = 250
|
|
|
|
set_location = {
|
|
|
|
target = event_target:graygoo_factory
|
|
|
|
distance = 10
|
|
|
|
angle = random
|
|
|
|
}
|
|
|
|
fleet_event = {
|
|
|
|
id = rg_event.406
|
|
|
|
days = 30
|
|
|
|
random = 5
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
country_event = {
|
|
|
|
id = rg_event.405
|
|
|
|
hide_window = yes
|
|
|
|
trigger = {
|
|
|
|
is_country_type = gray_goo
|
|
|
|
}
|
|
|
|
mean_time_to_happen = {
|
|
|
|
days = 180
|
|
|
|
}
|
|
|
|
immediate = {
|
|
|
|
every_owned_fleet = {
|
|
|
|
limit = {
|
|
|
|
any_ship = {
|
|
|
|
is_ship_size = graygoo_mothership
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fleet_event = {
|
|
|
|
id = rg_event.406
|
|
|
|
days = 4
|
|
|
|
random = 3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fleet_event = {
|
|
|
|
id = rg_event.406
|
|
|
|
hide_window = yes
|
|
|
|
is_triggered_only = yes
|
|
|
|
immediate = {
|
|
|
|
if = {
|
|
|
|
limit = {
|
|
|
|
end_game_years_passed >= -10
|
|
|
|
num_ships < 20
|
|
|
|
}
|
|
|
|
random_list = {
|
|
|
|
20 = {
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "NAME_Nanite_Mothership"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
upgradable = no
|
|
|
|
}
|
|
|
|
}
|
|
|
|
10 = {
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "RG_aircruiser_Interdictor"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
upgradable = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
10 = {
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "RG_carrier_Interdictor"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
upgradable = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
10 = {
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "RG_battleship_Interdictor"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
upgradable = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
10 = {
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "RG_titan_interdictor"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
upgradable = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
10 = {
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "RG_torpedo_interdictor"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
upgradable = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
10 = {
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "RG_AA_interdictor"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
upgradable = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
10 = {
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "RG_Arsenal_Interdictor"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
upgradable = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
10 = {
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "RG_torpedocruiser_interdictor"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
upgradable = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else_if = {
|
|
|
|
limit = {
|
|
|
|
end_game_years_passed < -10
|
|
|
|
mid_game_years_passed >= -10
|
|
|
|
num_ships < 15
|
|
|
|
}
|
|
|
|
random_list = {
|
|
|
|
10 = {
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "RG_aircruiser_Interdictor"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
upgradable = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
10 = {
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "RG_carrier_Interdictor"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
upgradable = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
10 = {
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "RG_battleship_Interdictor"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
upgradable = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
10 = {
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "RG_titan_interdictor"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
upgradable = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
10 = {
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "RG_torpedo_interdictor"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
upgradable = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
10 = {
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "RG_AA_interdictor"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
upgradable = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
10 = {
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "RG_Arsenal_Interdictor"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
upgradable = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
10 = {
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "RG_torpedocruiser_interdictor"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
upgradable = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
5 = {
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "NAME_Nanite_Mothership"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
upgradable = no
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else_if = {
|
|
|
|
limit = {
|
|
|
|
mid_game_years_passed < -10
|
|
|
|
num_ships < 10
|
|
|
|
}
|
|
|
|
random_list = {
|
|
|
|
55 = {
|
|
|
|
}
|
|
|
|
5 = {
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "NAME_Nanite_Mothership"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
upgradable = no
|
|
|
|
}
|
|
|
|
}
|
|
|
|
5 = {
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "RG_aircruiser_Interdictor"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
upgradable = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
5 = {
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "RG_carrier_Interdictor"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
upgradable = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
5 = {
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "RG_battleship_Interdictor"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
upgradable = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
5 = {
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "RG_titan_interdictor"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
upgradable = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
5 = {
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "RG_torpedo_interdictor"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
upgradable = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
5 = {
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "RG_AA_interdictor"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
upgradable = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
5 = {
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "RG_Arsenal_Interdictor"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
upgradable = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
5 = {
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "RG_torpedocruiser_interdictor"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
upgradable = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
country_event = {
|
|
|
|
id = rg_event.407
|
|
|
|
hide_window = yes
|
|
|
|
trigger = {
|
|
|
|
is_country = event_target:global_event_country
|
|
|
|
end_game_years_passed < -10
|
|
|
|
mid_game_years_passed >= -10
|
|
|
|
has_global_flag = active_gray_goo
|
|
|
|
any_system = {
|
|
|
|
has_star_flag = graygoo_factory_system
|
|
|
|
any_fleet_in_system = {
|
|
|
|
is_ship_size = graygoo_factory
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
mean_time_to_happen = {
|
|
|
|
months = 20
|
|
|
|
}
|
|
|
|
immediate = {
|
|
|
|
random_country = {
|
|
|
|
limit = {
|
|
|
|
is_country_type = gray_goo
|
|
|
|
}
|
|
|
|
save_event_target_as = graygoo_country
|
|
|
|
}
|
|
|
|
if = {
|
|
|
|
limit = {
|
|
|
|
any_system = {
|
|
|
|
has_star_flag = lcluster
|
|
|
|
any_fleet_in_system = {
|
|
|
|
owner = {
|
|
|
|
NOT = {
|
|
|
|
is_country = event_target:graygoo_country
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
random_country = {
|
|
|
|
limit = {
|
|
|
|
is_country = event_target:graygoo_country
|
|
|
|
}
|
|
|
|
country_event = {
|
|
|
|
id = rg_event.405
|
|
|
|
days = 10
|
|
|
|
random = 5
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else_if = {
|
|
|
|
limit = {
|
|
|
|
event_target:graygoo_country = {
|
|
|
|
num_fleets < 30
|
|
|
|
}
|
|
|
|
}
|
|
|
|
every_system = {
|
|
|
|
limit = {
|
|
|
|
NOR = {
|
|
|
|
has_star_flag = lcluster_lgate
|
|
|
|
has_star_flag = lgate_originating_system
|
|
|
|
}
|
|
|
|
any_system_megastructure = {
|
|
|
|
is_megastructure_type = l_gate_base
|
|
|
|
}
|
|
|
|
}
|
|
|
|
random_system_megastructure = {
|
|
|
|
limit = {
|
|
|
|
is_megastructure_type = l_gate_base
|
|
|
|
}
|
|
|
|
create_ambient_object = {
|
|
|
|
type = "horror_spawn_object"
|
|
|
|
location = THIS
|
|
|
|
use_3d_location = yes
|
|
|
|
duration = 10
|
|
|
|
}
|
|
|
|
create_fleet = {
|
|
|
|
name = "NAME_Tempest_Fleet"
|
|
|
|
effect = {
|
|
|
|
set_owner = event_target:graygoo_country
|
|
|
|
rg_create_graygoo_fleet_random = yes
|
|
|
|
set_formation_scale = 2
|
|
|
|
set_fleet_stance = aggressive
|
|
|
|
set_aggro_range_measure_from = self
|
|
|
|
set_aggro_range = 250
|
|
|
|
set_location = {
|
|
|
|
target = prev
|
|
|
|
distance = 0
|
|
|
|
angle = 0
|
|
|
|
}
|
|
|
|
fleet_event = {
|
|
|
|
id = rg_event.406
|
|
|
|
days = 30
|
|
|
|
random = 5
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
country_event = {
|
|
|
|
id = rg_event.408
|
|
|
|
hide_window = yes
|
|
|
|
trigger = {
|
|
|
|
is_country = event_target:global_event_country
|
|
|
|
end_game_years_passed >= -10
|
|
|
|
has_global_flag = active_gray_goo
|
|
|
|
any_system = {
|
|
|
|
has_star_flag = graygoo_factory_system
|
|
|
|
any_fleet_in_system = {
|
|
|
|
is_ship_size = graygoo_factory
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
mean_time_to_happen = {
|
|
|
|
months = 20
|
|
|
|
}
|
|
|
|
immediate = {
|
|
|
|
random_country = {
|
|
|
|
limit = {
|
|
|
|
is_country_type = gray_goo
|
|
|
|
}
|
|
|
|
save_event_target_as = graygoo_country
|
|
|
|
}
|
|
|
|
if = {
|
|
|
|
limit = {
|
|
|
|
any_system = {
|
|
|
|
has_star_flag = lcluster
|
|
|
|
any_fleet_in_system = {
|
|
|
|
owner = {
|
|
|
|
NOT = {
|
|
|
|
is_country = event_target:graygoo_country
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
random_country = {
|
|
|
|
limit = {
|
|
|
|
is_country = event_target:graygoo_country
|
|
|
|
}
|
|
|
|
country_event = {
|
|
|
|
id = rg_event.405
|
|
|
|
days = 10
|
|
|
|
random = 5
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if = {
|
|
|
|
limit = {
|
|
|
|
event_target:graygoo_country = {
|
|
|
|
num_fleets < 60
|
|
|
|
}
|
|
|
|
}
|
|
|
|
every_system = {
|
|
|
|
limit = {
|
|
|
|
NOR = {
|
|
|
|
has_star_flag = lcluster_lgate
|
|
|
|
has_star_flag = lgate_originating_system
|
|
|
|
}
|
|
|
|
any_system_megastructure = {
|
|
|
|
is_megastructure_type = l_gate_base
|
|
|
|
}
|
|
|
|
}
|
|
|
|
random_system_megastructure = {
|
|
|
|
limit = {
|
|
|
|
is_megastructure_type = l_gate_base
|
|
|
|
}
|
|
|
|
create_ambient_object = {
|
|
|
|
type = "horror_spawn_object"
|
|
|
|
location = THIS
|
|
|
|
use_3d_location = yes
|
|
|
|
duration = 10
|
|
|
|
}
|
|
|
|
while = {
|
|
|
|
count = 2
|
|
|
|
create_fleet = {
|
|
|
|
name = "NAME_Tempest_Fleet"
|
|
|
|
effect = {
|
|
|
|
set_owner = event_target:graygoo_country
|
|
|
|
rg_create_graygoo_fleet_random = yes
|
|
|
|
set_formation_scale = 2
|
|
|
|
set_fleet_stance = aggressive
|
|
|
|
set_aggro_range_measure_from = self
|
|
|
|
set_aggro_range = 250
|
|
|
|
set_location = {
|
|
|
|
target = prev
|
|
|
|
distance = 0
|
|
|
|
angle = 0
|
|
|
|
}
|
|
|
|
fleet_event = {
|
|
|
|
id = rg_event.406
|
|
|
|
days = 30
|
|
|
|
random = 5
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|