2024-04-10 19:39:38 +08:00
|
|
|
namespace = rg_origin
|
|
|
|
|
|
|
|
########
|
|
|
|
# SCION
|
|
|
|
########
|
|
|
|
|
|
|
|
country_event = {
|
|
|
|
id = rg_origin.1
|
|
|
|
hide_window = yes
|
|
|
|
|
|
|
|
is_triggered_only = yes
|
|
|
|
trigger = {
|
|
|
|
AND = {
|
|
|
|
has_origin = rg_origin_scion
|
|
|
|
# NOT = { has_global_flag = rg_origin_l_cluster }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
immediate = {
|
|
|
|
# Scion
|
|
|
|
country_event = { id = rg_origin.5 }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# Setup
|
|
|
|
country_event = {
|
|
|
|
id = rg_origin.5
|
|
|
|
hide_window = yes
|
|
|
|
|
|
|
|
is_triggered_only = yes
|
|
|
|
|
|
|
|
immediate = {
|
2024-04-11 13:18:04 +08:00
|
|
|
# set_country_flag = first_contact_event
|
|
|
|
# set_country_flag = Story2 # Already encountered spacefarers
|
2024-04-10 19:39:38 +08:00
|
|
|
# Spawn mini-FE if player turned off Fallen Empires but picked this Origin anyway...
|
|
|
|
if = {
|
|
|
|
limit = {
|
|
|
|
NOT = {
|
|
|
|
exist = event_target:rg_scion_fe
|
|
|
|
}
|
|
|
|
}
|
|
|
|
set_country_flag = rg_scion_needs_fe
|
2024-04-11 13:18:04 +08:00
|
|
|
rg_lcluster_spawn_effect_scion = yes
|
|
|
|
event_target:rg_scion_fe = {
|
|
|
|
set_policy = {
|
|
|
|
policy = artificial_intelligence_policy
|
|
|
|
option = ai_servitude
|
|
|
|
cooldown = no
|
|
|
|
}
|
|
|
|
set_policy = {
|
|
|
|
policy = robot_pop_policy
|
|
|
|
option = robot_pops_allowed
|
|
|
|
cooldown = no
|
|
|
|
}
|
|
|
|
random_playable_country = {
|
|
|
|
limit = {
|
|
|
|
has_origin = rg_origin_scion
|
|
|
|
has_country_flag = rg_scion_needs_fe
|
|
|
|
}
|
|
|
|
remove_country_flag = rg_scion_needs_fe
|
|
|
|
save_event_target_as = rg_scion_slave
|
|
|
|
}
|
|
|
|
set_country_flag = rg_scion_master
|
|
|
|
save_event_target_as = rg_scion_master
|
|
|
|
add_opinion_modifier = {
|
|
|
|
who = event_target:rg_scion_slave
|
|
|
|
modifier = opinion_scion
|
|
|
|
}
|
|
|
|
# country_event = { id = origin.20 days = 9000 random = 9000 }
|
|
|
|
event_target:rg_scion_slave = {
|
|
|
|
establish_communications_no_message = event_target:rg_scion_fe
|
|
|
|
set_subject_of = {
|
|
|
|
who = event_target:rg_scion_fe
|
|
|
|
preset = preset_rg_scion
|
|
|
|
}
|
|
|
|
overlord = {
|
|
|
|
add_opinion_modifier = {
|
|
|
|
modifier = opinion_scion
|
|
|
|
who = rg_scion_fe
|
|
|
|
}
|
|
|
|
}
|
|
|
|
country_event = { id = rg_origin.10 days = 3 }
|
|
|
|
}
|
2024-04-10 19:39:38 +08:00
|
|
|
}
|
|
|
|
capital_scope = {
|
|
|
|
solar_system = {
|
|
|
|
spawn_megastructure = {
|
|
|
|
type = lgate_base
|
|
|
|
orbit_angle = 225
|
|
|
|
orbit_distance = 30
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-04-11 13:18:04 +08:00
|
|
|
every_system = {
|
|
|
|
limit = {
|
|
|
|
has_star_flag = lcluster
|
|
|
|
}
|
|
|
|
rg_create_fe_citadel = yes
|
|
|
|
}
|
|
|
|
# add_extra_hyperlane_to_spawned_system_effect = yes
|
2024-04-10 19:39:38 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# Intro Diplomatic Message
|
|
|
|
country_event = {
|
|
|
|
id = rg_origin.10
|
|
|
|
title = TRANSMISSION
|
|
|
|
|
|
|
|
desc = {
|
|
|
|
text = "origin.10.b.desc"
|
|
|
|
}
|
|
|
|
diplomatic = yes
|
|
|
|
is_triggered_only = yes
|
|
|
|
|
|
|
|
picture_event_data = {
|
|
|
|
portrait = event_target:rg_scion_master
|
|
|
|
planet_background = event_target:rg_scion_master
|
|
|
|
graphical_culture = event_target:rg_scion_master
|
|
|
|
city_level = event_target:rg_scion_master
|
|
|
|
room = event_target:rg_scion_master
|
|
|
|
}
|
|
|
|
|
|
|
|
immediate = {
|
|
|
|
overlord = { save_event_target_as = rg_scion_master }
|
|
|
|
}
|
|
|
|
|
|
|
|
option = {
|
|
|
|
name = origin.10.b
|
|
|
|
}
|
|
|
|
}
|