2024-09-16 21:47:30 +08:00
|
|
|
rg_event_effect_event1_dragon = {
|
|
|
|
set_country_flag = origin_gray_dragon_country
|
|
|
|
set_global_flag = has_origin_gray_dragon
|
|
|
|
rg_create_fake_dragon = yes
|
|
|
|
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
|
|
|
|
set_variable = {
|
|
|
|
which = rg_fake_dragon_timedlife_counter
|
|
|
|
value = 0
|
|
|
|
}
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rg_event_effect_event1_cluster = {
|
|
|
|
if = {
|
|
|
|
limit = {
|
|
|
|
NOT = {
|
|
|
|
has_global_flag = origin_rg_gray_1st_global
|
|
|
|
}
|
|
|
|
}
|
|
|
|
rg_event_effect_event1_gray_cluster = yes
|
|
|
|
}
|
|
|
|
else = {
|
|
|
|
rg_event_effect_event1_dragon = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
rg_event_effect_event1_cluster_galaxy = {
|
|
|
|
if = {
|
|
|
|
limit = {
|
|
|
|
NOT = {
|
|
|
|
has_global_flag = origin_rg_gray_1st_global
|
|
|
|
}
|
|
|
|
}
|
|
|
|
rg_event_effect_event1_gray_galaxy = yes
|
|
|
|
}
|
|
|
|
else = {
|
|
|
|
rg_event_effect_event1_dragon = yes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
rg_event_effect_event1_gray_cluster = {
|
|
|
|
set_global_flag = origin_rg_gray_1st_global
|
|
|
|
set_country_flag = origin_rg_gray_cluster
|
|
|
|
set_country_flag = origin_rg_gray_1st
|
|
|
|
set_country_flag = rg_gray_level_1
|
2024-09-25 09:10:35 +08:00
|
|
|
rg_event_effect_event1_to_event2_effect = yes
|
2024-09-17 05:18:40 +08:00
|
|
|
add_resource = {
|
|
|
|
energy = 1000
|
|
|
|
minerals = 1000
|
|
|
|
alloys = 1000
|
|
|
|
consumer_goods = 1000
|
|
|
|
}
|
2024-09-16 21:47:30 +08:00
|
|
|
add_modifier = {
|
|
|
|
modifier = rg_distant_stars_modifier
|
|
|
|
}
|
|
|
|
save_global_event_target_as = origin_rg_gray_country
|
|
|
|
rg_lcluster_spawn_effect = yes
|
|
|
|
country_event = {
|
|
|
|
id = rg_event.18
|
|
|
|
days = 3600
|
|
|
|
random = 12800
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
rg_event_effect_event1_gray_galaxy = {
|
|
|
|
set_global_flag = origin_rg_gray_1st_global
|
|
|
|
set_country_flag = origin_rg_gray_galaxy
|
|
|
|
set_country_flag = origin_rg_gray_1st
|
|
|
|
set_country_flag = rg_gray_level_1
|
2024-09-25 09:10:35 +08:00
|
|
|
rg_event_effect_event1_to_event2_effect = yes
|
2024-09-16 21:47:30 +08:00
|
|
|
save_global_event_target_as = origin_rg_gray_country
|
|
|
|
rg_lcluster_spawn_effect = yes
|
|
|
|
}
|
2024-09-25 09:10:35 +08:00
|
|
|
|
|
|
|
rg_event_effect_event1_to_event2_effect = {
|
2024-09-25 10:32:49 +08:00
|
|
|
country_event = {
|
|
|
|
id = rg_event.2
|
|
|
|
days = 30
|
2024-09-25 09:10:35 +08:00
|
|
|
}
|
|
|
|
}
|
2024-09-16 21:47:30 +08:00
|
|
|
rg_event_effect_lcluster_spawn_selecter = {
|
|
|
|
if = {
|
|
|
|
limit = {
|
|
|
|
event_target:origin_rg_gray_country = {
|
|
|
|
OR = {
|
|
|
|
has_civic = civic_rg_gray_cluster
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
country_event = {
|
|
|
|
id = rg_cluster.9
|
|
|
|
days = -1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else_if = {
|
|
|
|
limit = {
|
|
|
|
event_target:origin_rg_gray_country = {
|
2024-09-17 01:04:53 +08:00
|
|
|
has_civic = civic_rg_gray_non_cluster
|
2024-09-16 21:47:30 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
rg_event_effect_lcluster_open = yes
|
|
|
|
}
|
|
|
|
else = {
|
|
|
|
country_event = {
|
|
|
|
id = rg_cluster.9
|
|
|
|
days = -1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
rg_event_effect_lcluster_open = {
|
|
|
|
if = {
|
|
|
|
limit = {
|
|
|
|
OR = {
|
|
|
|
has_global_flag = l_cluster_origin # l-cluster plus
|
|
|
|
has_global_flag = rg_origin_l_cluster # 遥远约定
|
|
|
|
has_global_flag = gray_origin_activate # 远星之歌
|
|
|
|
has_global_flag = rg_origin_scion_l_cluster # 未来追迹
|
|
|
|
}
|
|
|
|
}
|
|
|
|
country_event = {
|
|
|
|
id = rg_cluster.2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else = {
|
|
|
|
country_event = {
|
|
|
|
id = distar.10950
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-09-17 02:27:18 +08:00
|
|
|
#Species
|
|
|
|
rg_event_effect_planet2027_spawn_maid_species = {
|
|
|
|
modify_species = {
|
|
|
|
effect = {
|
|
|
|
create_species = {
|
|
|
|
is_mod = yes
|
|
|
|
name = "RG_MACHINE"
|
|
|
|
plural = this
|
|
|
|
class = RG_MACHINE
|
|
|
|
portrait = "rg_machine_maid"
|
2024-09-17 13:48:36 +08:00
|
|
|
can_be_modified = no
|
2024-09-17 02:27:18 +08:00
|
|
|
homeworld = this
|
|
|
|
namelist = this
|
|
|
|
gender = this
|
|
|
|
traits = {
|
|
|
|
trait = trait_machine_unit
|
|
|
|
trait = rg_machine_maid_trait
|
2024-09-17 13:32:31 +08:00
|
|
|
trait = trait_auto_mod_robotic
|
|
|
|
trait = trait_robot_streamlined_protocols
|
|
|
|
trait = trait_robot_luxurious
|
2024-09-17 02:27:18 +08:00
|
|
|
}
|
|
|
|
effect = {
|
2024-09-17 13:37:01 +08:00
|
|
|
save_global_event_target_as = rg_owner_main_maid_species
|
2024-09-17 02:27:18 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-09-24 20:06:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#Species
|
|
|
|
rg_event_effect_planet2027_spawn_maid_species_non_gray = {
|
|
|
|
modify_species = {
|
|
|
|
effect = {
|
|
|
|
create_species = {
|
|
|
|
is_mod = yes
|
|
|
|
name = "RG_MACHINE"
|
|
|
|
plural = this
|
|
|
|
class = RG_MACHINE
|
|
|
|
portrait = "rg_machine_maid"
|
|
|
|
can_be_modified = no
|
|
|
|
homeworld = this
|
|
|
|
namelist = this
|
|
|
|
gender = this
|
|
|
|
traits = {
|
|
|
|
trait = trait_machine_unit
|
|
|
|
trait = rg_machine_maid_trait
|
|
|
|
trait = trait_auto_mod_robotic
|
|
|
|
trait = trait_robot_streamlined_protocols
|
|
|
|
trait = trait_robot_luxurious
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-09-25 09:10:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
rg_event_effect_event2_gray_origin_init = {
|
|
|
|
rg_gray_country_init = yes
|
|
|
|
country_event = {
|
|
|
|
id = graygoo.499
|
|
|
|
}
|
|
|
|
give_technology = {
|
|
|
|
tech = tech_minilaser_gray_1
|
|
|
|
message = no
|
|
|
|
}
|
|
|
|
give_technology = {
|
|
|
|
tech = tech_object_gray_5
|
|
|
|
message = no
|
|
|
|
}
|
2024-09-17 02:27:18 +08:00
|
|
|
}
|