2023-05-29 20:45:32 +08:00
|
|
|
############################
|
|
|
|
#
|
|
|
|
# Gray Goo Events
|
|
|
|
#
|
|
|
|
# Written by Henrik Thyrwall
|
|
|
|
#
|
|
|
|
############################
|
|
|
|
namespace = graygoo
|
|
|
|
# Entering Empty Cluster
|
|
|
|
ship_event = {
|
|
|
|
id = graygoo.550
|
|
|
|
title = "graygoo.550.name"
|
|
|
|
desc = "graygoo.550.desc"
|
|
|
|
picture = GFX_evt_ruined_system
|
|
|
|
show_sound = event_radio_chatter
|
|
|
|
is_triggered_only = yes
|
|
|
|
trigger = {
|
|
|
|
NOR = {
|
|
|
|
has_global_flag = gray_goo_crisis_set
|
|
|
|
has_global_flag = dragon_season
|
|
|
|
has_global_flag = gray_goo_empire_set
|
|
|
|
has_global_flag = rg_l_cluster
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
from = {
|
|
|
|
has_star_flag = lcluster1
|
|
|
|
}
|
|
|
|
owner = {
|
|
|
|
NOT = {
|
|
|
|
has_country_flag = origin_gray_country
|
|
|
|
}
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
}
|
|
|
|
option = {
|
|
|
|
name = graygoo.550.a
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# Invasion begins
|
|
|
|
country_event = {
|
|
|
|
id = graygoo.1
|
|
|
|
hide_window = yes
|
|
|
|
is_triggered_only = yes
|
|
|
|
immediate = {
|
|
|
|
set_update_modifiers_batch = begin
|
|
|
|
awaken_guardians_of_the_galaxy = yes
|
|
|
|
set_global_flag = gray_goo_crisis_active
|
|
|
|
every_megastructure = {
|
|
|
|
limit = {
|
|
|
|
is_megastructure_type = lgate_base
|
|
|
|
}
|
|
|
|
activate_gateway = this
|
|
|
|
set_megastructure_flag = lgate_activated
|
|
|
|
}
|
|
|
|
event_target:graygoo_factory_system = {
|
|
|
|
random_system_planet = {
|
2023-06-08 13:11:05 +08:00
|
|
|
limit = {
|
|
|
|
has_planet_flag = main_star
|
|
|
|
}
|
2024-09-17 13:32:31 +08:00
|
|
|
save_global_event_target_as = rg_main_star
|
2023-05-29 20:45:32 +08:00
|
|
|
save_event_target_as = main_star
|
|
|
|
}
|
|
|
|
create_country = {
|
|
|
|
name = "NAME_Gray_Goo"
|
|
|
|
type = "gray_goo"
|
|
|
|
name_list = "graygoo"
|
|
|
|
flag = {
|
2023-06-08 13:11:05 +08:00
|
|
|
icon = {
|
2023-05-29 20:45:32 +08:00
|
|
|
category = "special"
|
|
|
|
file = "gray_goo.dds"
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
background = {
|
2023-05-29 20:45:32 +08:00
|
|
|
category = "backgrounds"
|
|
|
|
file = "sinus.dds"
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
colors = {
|
2023-05-29 20:45:32 +08:00
|
|
|
"grey"
|
|
|
|
"dark_grey"
|
|
|
|
"null"
|
|
|
|
"null"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
effect = {
|
2024-09-17 13:32:31 +08:00
|
|
|
save_global_event_target_as = rg_graygoo_country
|
2023-05-29 20:45:32 +08:00
|
|
|
save_event_target_as = graygoo_country
|
|
|
|
create_ship_design = {
|
|
|
|
design = "NAME_RG_armed_transport_ship"
|
|
|
|
}
|
|
|
|
add_ship_design = last_created_design
|
|
|
|
create_ship_design = {
|
|
|
|
design = "NAME_RG_GRAY_scienceship"
|
|
|
|
}
|
|
|
|
add_ship_design = last_created_design
|
|
|
|
create_ship_design = {
|
|
|
|
design = "NAME_RG_GRAY_constructor"
|
|
|
|
}
|
|
|
|
add_ship_design = last_created_design
|
|
|
|
create_ship_design = {
|
|
|
|
design = "NAME_Gatebuilder_Starbase"
|
|
|
|
}
|
|
|
|
add_ship_design = last_created_design
|
|
|
|
}
|
|
|
|
}
|
|
|
|
create_fleet = {
|
|
|
|
effect = {
|
|
|
|
set_owner = event_target:graygoo_country
|
|
|
|
create_ship = {
|
|
|
|
name = random
|
|
|
|
design = "NAME_Nanite_Factory"
|
|
|
|
graphical_culture = "pirate_01"
|
|
|
|
}
|
|
|
|
set_location = {
|
|
|
|
target = event_target:main_star
|
|
|
|
distance = 55
|
|
|
|
angle = 270
|
|
|
|
}
|
|
|
|
save_event_target_as = nanite_factory
|
|
|
|
}
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
every_country = {
|
|
|
|
establish_communications_no_message = event_target:graygoo_country
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
create_fleet = {
|
|
|
|
name = "NAME_Tempest_Fleet"
|
|
|
|
effect = {
|
|
|
|
set_owner = event_target:graygoo_country
|
|
|
|
rg_create_graygoo_ships_1 = yes
|
|
|
|
set_formation_scale = 2
|
|
|
|
set_fleet_stance = aggressive
|
|
|
|
set_aggro_range_measure_from = self
|
|
|
|
set_aggro_range = 250
|
|
|
|
set_location = {
|
|
|
|
target = event_target:nanite_factory
|
|
|
|
distance = 80
|
|
|
|
angle = 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
settings = {
|
|
|
|
garrison = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
create_fleet = {
|
|
|
|
name = "NAME_Tempest_Fleet"
|
|
|
|
effect = {
|
|
|
|
set_owner = event_target:graygoo_country
|
|
|
|
rg_create_graygoo_ships_1 = yes
|
|
|
|
set_formation_scale = 2
|
|
|
|
set_fleet_stance = aggressive
|
|
|
|
set_aggro_range_measure_from = self
|
|
|
|
set_aggro_range = 250
|
|
|
|
set_location = {
|
|
|
|
target = event_target:nanite_factory
|
|
|
|
distance = 80
|
|
|
|
angle = 90
|
|
|
|
}
|
|
|
|
}
|
|
|
|
settings = {
|
|
|
|
garrison = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
create_fleet = {
|
|
|
|
name = "NAME_Tempest_Fleet"
|
|
|
|
effect = {
|
|
|
|
set_owner = event_target:graygoo_country
|
|
|
|
rg_create_graygoo_ships_1 = yes
|
|
|
|
set_formation_scale = 2
|
|
|
|
set_fleet_stance = aggressive
|
|
|
|
set_aggro_range_measure_from = self
|
|
|
|
set_aggro_range = 250
|
|
|
|
set_location = {
|
|
|
|
target = event_target:nanite_factory
|
|
|
|
distance = 80
|
|
|
|
angle = 180
|
|
|
|
}
|
|
|
|
}
|
|
|
|
settings = {
|
|
|
|
garrison = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
create_fleet = {
|
|
|
|
name = "NAME_Tempest_Fleet"
|
|
|
|
effect = {
|
|
|
|
set_owner = event_target:graygoo_country
|
|
|
|
rg_create_graygoo_ships_1 = yes
|
|
|
|
set_formation_scale = 2
|
|
|
|
set_fleet_stance = aggressive
|
|
|
|
set_aggro_range_measure_from = self
|
|
|
|
set_aggro_range = 250
|
|
|
|
set_location = {
|
|
|
|
target = event_target:nanite_factory
|
|
|
|
distance = 80
|
|
|
|
angle = 270
|
|
|
|
}
|
|
|
|
}
|
|
|
|
settings = {
|
|
|
|
garrison = yes
|
|
|
|
}
|
|
|
|
}
|
2024-09-15 13:38:32 +08:00
|
|
|
every_system = {
|
|
|
|
limit = {
|
|
|
|
has_star_flag = lgate
|
|
|
|
}
|
|
|
|
system_event = {
|
|
|
|
id = rg_storms.1
|
|
|
|
}
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
every_system = {
|
2023-06-08 13:11:05 +08:00
|
|
|
limit = {
|
|
|
|
has_star_flag = lcluster
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
every_system_planet = {
|
2023-06-08 13:11:05 +08:00
|
|
|
limit = {
|
|
|
|
is_planet_class = pc_gray_goo
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
create_fleet = {
|
|
|
|
name = "NAME_Tempest_Fleet"
|
|
|
|
effect = {
|
|
|
|
set_owner = event_target:graygoo_country
|
|
|
|
rg_create_graygoo_ships_1 = yes
|
|
|
|
set_formation_scale = 2
|
|
|
|
set_fleet_stance = aggressive
|
|
|
|
set_aggro_range_measure_from = self
|
|
|
|
set_aggro_range = 250
|
|
|
|
set_location = {
|
|
|
|
target = prev
|
|
|
|
distance = 15
|
|
|
|
angle = random
|
|
|
|
}
|
|
|
|
}
|
|
|
|
settings = {
|
|
|
|
garrison = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
event_target:lcluster1 = {
|
|
|
|
random_system_planet = {
|
2023-06-08 13:11:05 +08:00
|
|
|
limit = {
|
|
|
|
is_planet_class = pc_gray_goo
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
save_event_target_as = start_1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
event_target:lcluster2 = {
|
|
|
|
random_system_planet = {
|
2023-06-08 13:11:05 +08:00
|
|
|
limit = {
|
|
|
|
is_planet_class = pc_gray_goo
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
save_event_target_as = start_2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
event_target:lcluster3 = {
|
|
|
|
random_system_planet = {
|
2023-06-08 13:11:05 +08:00
|
|
|
limit = {
|
|
|
|
is_planet_class = pc_gray_goo
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
save_event_target_as = start_3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
event_target:lcluster4 = {
|
|
|
|
random_system_planet = {
|
2023-06-08 13:11:05 +08:00
|
|
|
limit = {
|
|
|
|
is_planet_class = pc_gray_goo
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
save_event_target_as = start_4
|
|
|
|
}
|
|
|
|
}
|
|
|
|
event_target:lcluster5 = {
|
|
|
|
random_system_planet = {
|
2023-06-08 13:11:05 +08:00
|
|
|
limit = {
|
|
|
|
is_planet_class = pc_gray_goo
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
save_event_target_as = start_5
|
|
|
|
}
|
|
|
|
}
|
|
|
|
event_target:lcluster1b = {
|
|
|
|
random_system_planet = {
|
2023-06-08 13:11:05 +08:00
|
|
|
limit = {
|
|
|
|
is_planet_class = pc_gray_goo
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
save_event_target_as = start_6
|
|
|
|
}
|
|
|
|
}
|
|
|
|
rg_create_graygoo_roamers_1 = yes
|
|
|
|
rg_create_graygoo_roamers_2 = yes
|
|
|
|
rg_create_graygoo_roamers_3 = yes
|
|
|
|
rg_create_graygoo_roamers_4 = yes
|
|
|
|
rg_create_graygoo_roamers_5 = yes
|
|
|
|
rg_create_graygoo_roamers_6 = yes
|
|
|
|
rg_create_graygoo_roamers_7 = yes
|
|
|
|
}
|
|
|
|
event_target:graygoo_country = {
|
2023-06-08 13:11:05 +08:00
|
|
|
country_event = {
|
|
|
|
id = graygoo.3
|
|
|
|
days = 3600
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
}
|
|
|
|
every_megastructure = {
|
|
|
|
limit = {
|
|
|
|
is_megastructure_type = lgate_base
|
|
|
|
solar_system = {
|
|
|
|
NOR = {
|
|
|
|
has_star_flag = lcluster_lgate
|
|
|
|
has_star_flag = lgate_originating_system
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
create_fleet = {
|
|
|
|
name = "NAME_Tempest_Fleet"
|
|
|
|
effect = {
|
|
|
|
set_owner = event_target:graygoo_country
|
|
|
|
rg_create_graygoo_ships_1 = 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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
set_update_modifiers_batch = end
|
2023-06-08 13:11:05 +08:00
|
|
|
country_event = {
|
|
|
|
id = graygoo.10
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
every_playable_country = {
|
|
|
|
limit = {
|
|
|
|
NOR = {
|
|
|
|
has_event_chain = l_cluster_chain
|
|
|
|
has_special_project = RG_LCLUSTER_PROJECT
|
|
|
|
is_same_value = root
|
|
|
|
}
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
country_event = {
|
|
|
|
id = graygoo.13
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
}
|
|
|
|
every_playable_country = {
|
|
|
|
limit = {
|
|
|
|
OR = {
|
|
|
|
has_event_chain = l_cluster_chain
|
|
|
|
has_special_project = RG_LCLUSTER_PROJECT
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
NOT = {
|
|
|
|
is_same_value = root
|
|
|
|
}
|
|
|
|
}
|
|
|
|
country_event = {
|
|
|
|
id = graygoo.11
|
2023-05-29 20:45:32 +08:00
|
|
|
}
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
observer_event = {
|
|
|
|
id = observer.64
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# The Dessanu Consonance
|
|
|
|
country_event = {
|
|
|
|
id = graygoo.110
|
|
|
|
title = "distar.10951.name"
|
|
|
|
desc = "graygoo.110.desc"
|
|
|
|
picture = GFX_evt_l-gateway
|
|
|
|
show_sound = event_radio_chatter
|
|
|
|
is_triggered_only = yes
|
|
|
|
after = {
|
|
|
|
hidden_effect = {
|
|
|
|
every_playable_country = {
|
|
|
|
limit = {
|
|
|
|
OR = {
|
|
|
|
has_special_project = RG_LCLUSTER_PROJECT
|
|
|
|
has_event_chain = l_cluster_chain
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
NOT = {
|
|
|
|
is_same_value = root
|
|
|
|
}
|
|
|
|
}
|
|
|
|
country_event = {
|
|
|
|
id = graygoo.111
|
2023-05-29 20:45:32 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
every_playable_country = {
|
|
|
|
limit = {
|
|
|
|
NOR = {
|
|
|
|
has_event_chain = l_cluster_chain
|
|
|
|
has_special_project = RG_LCLUSTER_PROJECT
|
|
|
|
is_same_value = root
|
|
|
|
}
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
country_event = {
|
|
|
|
id = graygoo.112
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
option = {
|
|
|
|
name = graygoo.10.a
|
|
|
|
hidden_effect = {
|
2023-06-08 13:11:05 +08:00
|
|
|
country_event = {
|
|
|
|
id = graygoo.115
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# Reinforcements 1
|
|
|
|
country_event = {
|
|
|
|
id = graygoo.3
|
|
|
|
hide_window = yes
|
|
|
|
is_triggered_only = yes
|
|
|
|
trigger = {
|
|
|
|
event_target:graygoo_factory_system = {
|
2023-06-08 13:11:05 +08:00
|
|
|
any_fleet_in_system = {
|
|
|
|
is_ship_size = graygoo_factory
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
immediate = {
|
|
|
|
if = {
|
|
|
|
limit = {
|
|
|
|
any_system = {
|
|
|
|
has_star_flag = lcluster
|
|
|
|
any_fleet_in_system = {
|
|
|
|
owner = {
|
2023-06-08 13:11:05 +08:00
|
|
|
NOT = {
|
|
|
|
is_same_value = root
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
# Reinforce at factory if someone else is in the cluster...
|
2023-06-08 13:11:05 +08:00
|
|
|
country_event = {
|
|
|
|
id = graygoo.4
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
# Else spawn reinforcements...
|
|
|
|
}
|
|
|
|
else = {
|
|
|
|
every_megastructure = {
|
|
|
|
limit = {
|
|
|
|
is_megastructure_type = lgate_base
|
|
|
|
solar_system = {
|
|
|
|
NOR = {
|
|
|
|
has_star_flag = lcluster_lgate
|
|
|
|
has_star_flag = lgate_originating_system
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
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_roamers_1 = 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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
create_fleet = {
|
|
|
|
name = "NAME_Tempest_Fleet"
|
|
|
|
effect = {
|
|
|
|
set_owner = event_target:graygoo_country
|
|
|
|
rg_create_graygoo_roamers_2 = 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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
create_fleet = {
|
|
|
|
name = "NAME_Tempest_Fleet"
|
|
|
|
effect = {
|
|
|
|
set_owner = event_target:graygoo_country
|
|
|
|
rg_create_graygoo_roamers_3 = 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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
create_fleet = {
|
|
|
|
name = "NAME_Tempest_Fleet"
|
|
|
|
effect = {
|
|
|
|
set_owner = event_target:graygoo_country
|
|
|
|
rg_create_graygoo_roamers_4 = 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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
create_fleet = {
|
|
|
|
name = "NAME_Tempest_Fleet"
|
|
|
|
effect = {
|
|
|
|
set_owner = event_target:graygoo_country
|
|
|
|
rg_create_graygoo_roamers_5 = 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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
create_fleet = {
|
|
|
|
name = "NAME_Tempest_Fleet"
|
|
|
|
effect = {
|
|
|
|
set_owner = event_target:graygoo_country
|
|
|
|
rg_create_graygoo_roamers_6 = 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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
create_fleet = {
|
|
|
|
name = "NAME_Tempest_Fleet"
|
|
|
|
effect = {
|
|
|
|
set_owner = event_target:graygoo_country
|
|
|
|
rg_create_graygoo_roamers_7 = 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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
country_event = {
|
|
|
|
id = graygoo.3
|
|
|
|
days = 3600
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# Reinforcements 2
|
|
|
|
country_event = {
|
|
|
|
id = graygoo.4
|
|
|
|
hide_window = yes
|
|
|
|
is_triggered_only = yes
|
|
|
|
immediate = {
|
|
|
|
random_owned_ship = {
|
2023-06-08 13:11:05 +08:00
|
|
|
limit = {
|
|
|
|
is_ship_size = graygoo_factory
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
save_event_target_as = graygoo_factory
|
|
|
|
}
|
|
|
|
create_fleet = {
|
|
|
|
name = "NAME_Tempest_Fleet"
|
|
|
|
effect = {
|
|
|
|
set_owner = event_target:graygoo_country
|
|
|
|
rg_create_graygoo_roamers_1 = 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 = 0
|
|
|
|
angle = 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
create_fleet = {
|
|
|
|
name = "NAME_Tempest_Fleet"
|
|
|
|
effect = {
|
|
|
|
set_owner = event_target:graygoo_country
|
|
|
|
rg_create_graygoo_roamers_2 = 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 = 0
|
|
|
|
angle = 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
create_fleet = {
|
|
|
|
name = "NAME_Tempest_Fleet"
|
|
|
|
effect = {
|
|
|
|
set_owner = event_target:graygoo_country
|
|
|
|
rg_create_graygoo_roamers_3 = 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 = 0
|
|
|
|
angle = 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
create_fleet = {
|
|
|
|
name = "NAME_Tempest_Fleet"
|
|
|
|
effect = {
|
|
|
|
set_owner = event_target:graygoo_country
|
|
|
|
rg_create_graygoo_roamers_4 = 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 = 0
|
|
|
|
angle = 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
create_fleet = {
|
|
|
|
name = "NAME_Tempest_Fleet"
|
|
|
|
effect = {
|
|
|
|
set_owner = event_target:graygoo_country
|
|
|
|
rg_create_graygoo_roamers_5 = 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 = 0
|
|
|
|
angle = 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
create_fleet = {
|
|
|
|
name = "NAME_Tempest_Fleet"
|
|
|
|
effect = {
|
|
|
|
set_owner = event_target:graygoo_country
|
|
|
|
rg_create_graygoo_roamers_6 = 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 = 0
|
|
|
|
angle = 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
create_fleet = {
|
|
|
|
name = "NAME_Tempest_Fleet"
|
|
|
|
effect = {
|
|
|
|
set_owner = event_target:graygoo_country
|
|
|
|
rg_create_graygoo_roamers_7 = 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 = 0
|
|
|
|
angle = 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
country_event = {
|
|
|
|
id = graygoo.3
|
|
|
|
days = 3600
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# Factory Destroyed
|
|
|
|
country_event = {
|
|
|
|
id = graygoo.6
|
|
|
|
hide_window = yes
|
|
|
|
is_triggered_only = yes
|
|
|
|
trigger = {
|
|
|
|
is_country_type = gray_goo
|
2023-06-08 13:11:05 +08:00
|
|
|
fromfrom = {
|
|
|
|
is_ship_size = graygoo_factory
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
}
|
|
|
|
immediate = {
|
|
|
|
remove_global_flag = active_gray_goo
|
|
|
|
remove_global_flag = gray_goo_crisis_active
|
2023-06-08 13:11:05 +08:00
|
|
|
fromfromfrom = {
|
|
|
|
save_event_target_as = goo_slayer_ship
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
from = {
|
|
|
|
save_event_target_as = goo_slayer
|
2023-06-08 13:11:05 +08:00
|
|
|
country_event = {
|
|
|
|
id = graygoo.15
|
|
|
|
}
|
|
|
|
country_event = {
|
2023-06-10 17:35:23 +08:00
|
|
|
id = rg_event.200
|
2023-06-08 13:11:05 +08:00
|
|
|
days = 80
|
|
|
|
random = 120
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
}
|
|
|
|
every_playable_country = {
|
|
|
|
limit = {
|
|
|
|
is_ai = no
|
2023-06-08 13:11:05 +08:00
|
|
|
NOT = {
|
|
|
|
is_same_value = event_target:goo_slayer
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
country_event = {
|
|
|
|
id = graygoo.16
|
|
|
|
}
|
|
|
|
}
|
|
|
|
observer_event = {
|
|
|
|
id = observer.65
|
2023-05-29 20:45:32 +08:00
|
|
|
}
|
|
|
|
every_galaxy_planet = {
|
2023-06-08 13:11:05 +08:00
|
|
|
limit = {
|
|
|
|
is_planet_class = pc_gray_goo
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
add_modifier = {
|
|
|
|
modifier = "terraforming_candidate"
|
|
|
|
days = -1
|
|
|
|
}
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
every_owned_fleet = {
|
|
|
|
destroy_fleet = this
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
destroy_country = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# Factory Destroyed (Dessanu)
|
|
|
|
country_event = {
|
|
|
|
id = graygoo.180
|
|
|
|
hide_window = yes
|
|
|
|
is_triggered_only = yes
|
|
|
|
trigger = {
|
|
|
|
is_country_type = gate_builders
|
2023-06-08 13:11:05 +08:00
|
|
|
fromfrom = {
|
|
|
|
is_ship_size = graygoo_factory
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
}
|
|
|
|
immediate = {
|
2023-06-08 13:11:05 +08:00
|
|
|
fromfromfrom = {
|
|
|
|
save_event_target_as = goo_slayer_ship
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
from = {
|
|
|
|
save_event_target_as = goo_slayer
|
2023-06-08 13:11:05 +08:00
|
|
|
country_event = {
|
|
|
|
id = graygoo.181
|
|
|
|
}
|
|
|
|
country_event = {
|
2023-06-10 17:35:23 +08:00
|
|
|
id = rg_event.200
|
2023-06-08 13:11:05 +08:00
|
|
|
days = 80
|
|
|
|
random = 120
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
}
|
|
|
|
every_playable_country = {
|
|
|
|
limit = {
|
|
|
|
is_ai = no
|
2023-06-08 13:11:05 +08:00
|
|
|
NOT = {
|
|
|
|
is_same_value = event_target:goo_slayer
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
country_event = {
|
|
|
|
id = graygoo.182
|
|
|
|
}
|
|
|
|
}
|
|
|
|
observer_event = {
|
|
|
|
id = observer.67
|
2023-05-29 20:45:32 +08:00
|
|
|
}
|
|
|
|
every_owned_planet = {
|
2023-06-08 13:11:05 +08:00
|
|
|
limit = {
|
|
|
|
is_planet_class = pc_gaia
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
change_pc = pc_gray_goo
|
|
|
|
reroll_planet = yes
|
|
|
|
destroy_colony = yes
|
|
|
|
add_modifier = {
|
|
|
|
modifier = "terraforming_candidate"
|
|
|
|
days = -1
|
|
|
|
}
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
every_owned_fleet = {
|
|
|
|
destroy_fleet = this
|
|
|
|
}
|
2023-05-29 20:45:32 +08:00
|
|
|
destroy_country = yes
|
|
|
|
}
|
2023-06-08 13:11:05 +08:00
|
|
|
}
|