暂存
This commit is contained in:
34
common/agreement_presets/RG_agreement_presets.txt
Normal file
34
common/agreement_presets/RG_agreement_presets.txt
Normal file
@@ -0,0 +1,34 @@
|
||||
##############
|
||||
# SCION
|
||||
##############
|
||||
|
||||
preset_rg_scion = {
|
||||
icon = "GFX_diplomacy_status_is_scion"
|
||||
term_data = {
|
||||
discrete_terms = {
|
||||
{ key = specialist_type value = specialist_none }
|
||||
{ key = subject_integration value = subject_can_not_be_integrated }
|
||||
{ key = subject_diplomacy value = subject_can_do_diplomacy }
|
||||
{ key = subject_expand value = subject_can_expand }
|
||||
{ key = joins_overlord_wars value = joins_overlord_wars_all }
|
||||
{ key = joins_subject_wars value = joins_subject_wars_all }
|
||||
{ key = subject_holdings_limit value = subject_holdings_limit_0 }
|
||||
{ key = subject_sensors value = subject_is_not_protectorate }
|
||||
}
|
||||
resource_terms = {
|
||||
{ key = resource_subsidies_advanced value = -0.35 }
|
||||
{ key = resource_subsidies_strategic value = -0.35 }
|
||||
}
|
||||
}
|
||||
potential = {
|
||||
any_agreement = {
|
||||
agreement_preset = preset_rg_scion
|
||||
}
|
||||
from = {
|
||||
OR = {
|
||||
is_country_type = fallen_empire
|
||||
is_country_type = awakened_fallen_empire
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -307,4 +307,195 @@ rg_create_scion_wormhole_link = {
|
||||
}
|
||||
set_country_flag = encountered_first_wormhole
|
||||
add_seen_bypass_type = wormhole
|
||||
}
|
||||
|
||||
rg_lcluster_spawn_effect_scion = {
|
||||
set_global_flag = rg_origin_scion_l_cluster
|
||||
set_spawn_system_batch = begin
|
||||
no_scope = {
|
||||
# makes system positions originate from galactic core
|
||||
spawn_system = {
|
||||
min_distance >= 550
|
||||
max_distance <= 560
|
||||
min_orientation_angle = 44
|
||||
max_orientation_angle = 46
|
||||
initializer = rg_cluster_init_01
|
||||
hyperlane = no
|
||||
}
|
||||
random_system = {
|
||||
limit = {
|
||||
has_star_flag = lcluster1
|
||||
}
|
||||
save_global_event_target_as = lcluster1
|
||||
spawn_system = {
|
||||
min_distance >= 29
|
||||
max_distance <= 31
|
||||
min_orientation_angle = 24
|
||||
max_orientation_angle = 66
|
||||
initializer = rg_cluster_init_02
|
||||
}
|
||||
spawn_system = {
|
||||
min_distance >= 29
|
||||
max_distance <= 31
|
||||
min_orientation_angle = 114
|
||||
max_orientation_angle = 156
|
||||
initializer = rg_cluster_init_03
|
||||
}
|
||||
spawn_system = {
|
||||
min_distance >= 30
|
||||
max_distance <= 60
|
||||
min_orientation_angle = 340
|
||||
max_orientation_angle = 20
|
||||
initializer = rg_cluster_init_01b
|
||||
}
|
||||
}
|
||||
random_system = {
|
||||
limit = {
|
||||
has_star_flag = lcluster2
|
||||
}
|
||||
save_global_event_target_as = lcluster2
|
||||
spawn_system = {
|
||||
min_distance >= 30
|
||||
max_distance <= 60
|
||||
min_orientation_angle = 0
|
||||
max_orientation_angle = 40
|
||||
initializer = rg_cluster_init_02b
|
||||
}
|
||||
}
|
||||
random_system = {
|
||||
limit = {
|
||||
has_star_flag = lcluster3
|
||||
}
|
||||
save_global_event_target_as = lcluster3
|
||||
spawn_system = {
|
||||
min_distance >= 20
|
||||
max_distance <= 30
|
||||
min_orientation_angle = 24
|
||||
max_orientation_angle = 66
|
||||
initializer = rg_fallen_machine
|
||||
}
|
||||
spawn_system = {
|
||||
min_distance >= 10
|
||||
max_distance <= 50
|
||||
min_orientation_angle = 250
|
||||
max_orientation_angle = 290
|
||||
initializer = rg_cluster_init_03b
|
||||
}
|
||||
}
|
||||
random_system = {
|
||||
limit = {
|
||||
has_star_flag = lcluster4
|
||||
}
|
||||
save_global_event_target_as = lcluster4
|
||||
spawn_system = {
|
||||
min_distance >= 5
|
||||
max_distance <= 10
|
||||
min_orientation_angle = 250
|
||||
max_orientation_angle = 290
|
||||
initializer = rg_cluster_init_05
|
||||
}
|
||||
spawn_system = {
|
||||
min_distance >= 30
|
||||
max_distance <= 60
|
||||
min_orientation_angle = 20
|
||||
max_orientation_angle = 160
|
||||
initializer = rg_cluster_init_04b
|
||||
}
|
||||
}
|
||||
}
|
||||
random_system = {
|
||||
limit = {
|
||||
has_star_flag = lcluster5
|
||||
}
|
||||
save_global_event_target_as = lcluster5
|
||||
}
|
||||
random_system = {
|
||||
limit = {
|
||||
has_star_flag = lcluster1b
|
||||
}
|
||||
save_global_event_target_as = lcluster1b
|
||||
}
|
||||
random_system = {
|
||||
limit = {
|
||||
has_star_flag = lcluster2b
|
||||
}
|
||||
save_global_event_target_as = lcluster2b
|
||||
}
|
||||
random_system = {
|
||||
limit = {
|
||||
has_star_flag = lcluster3b
|
||||
}
|
||||
save_global_event_target_as = lcluster3b
|
||||
}
|
||||
random_system = {
|
||||
limit = {
|
||||
has_star_flag = lcluster4b
|
||||
}
|
||||
save_global_event_target_as = lcluster4b
|
||||
}
|
||||
# clear all hyperlanes to and within the cluster
|
||||
every_system = {
|
||||
limit = {
|
||||
has_star_flag = lcluster
|
||||
}
|
||||
isolate_system = yes
|
||||
}
|
||||
# add hyperlanes
|
||||
event_target:lcluster5 = {
|
||||
add_hyperlane = {
|
||||
from = event_target:lcluster5
|
||||
to = event_target:lcluster4
|
||||
}
|
||||
}
|
||||
event_target:lcluster4 = {
|
||||
add_hyperlane = {
|
||||
from = event_target:lcluster4
|
||||
to = event_target:lcluster3
|
||||
}
|
||||
add_hyperlane = {
|
||||
from = event_target:lcluster4
|
||||
to = event_target:lcluster2
|
||||
}
|
||||
add_hyperlane = {
|
||||
from = event_target:lcluster4
|
||||
to = event_target:lcluster4b
|
||||
}
|
||||
}
|
||||
event_target:lcluster3 = {
|
||||
add_hyperlane = {
|
||||
from = event_target:lcluster3
|
||||
to = event_target:lcluster1
|
||||
}
|
||||
add_hyperlane = {
|
||||
from = event_target:lcluster3
|
||||
to = event_target:lcluster3b
|
||||
}
|
||||
}
|
||||
event_target:lcluster2 = {
|
||||
add_hyperlane = {
|
||||
from = event_target:lcluster2
|
||||
to = event_target:lcluster1
|
||||
}
|
||||
add_hyperlane = {
|
||||
from = event_target:lcluster2
|
||||
to = event_target:lcluster3
|
||||
}
|
||||
add_hyperlane = {
|
||||
from = event_target:lcluster2
|
||||
to = event_target:lcluster2b
|
||||
}
|
||||
}
|
||||
event_target:lcluster1 = {
|
||||
add_hyperlane = {
|
||||
from = event_target:lcluster1
|
||||
to = event_target:lcluster1b
|
||||
}
|
||||
}
|
||||
event_target:lcluster1b = {
|
||||
add_hyperlane = {
|
||||
from = event_target:lcluster1b
|
||||
to = event_target:lcluster2b
|
||||
}
|
||||
}
|
||||
set_spawn_system_batch = end
|
||||
}
|
||||
@@ -1,10 +1,15 @@
|
||||
# Home System - Machine
|
||||
|
||||
rg_fallen_machine = {
|
||||
usage = fallen_empire_init
|
||||
name = 芬里尔III
|
||||
class = "rl_standard_stars"
|
||||
|
||||
flags = { ring_world_built }
|
||||
flags = {
|
||||
lcluster
|
||||
lcluster4
|
||||
ring_world_built
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = star
|
||||
@@ -143,15 +148,6 @@ rg_fallen_machine = {
|
||||
add_building = building_ancient_control_center
|
||||
add_building = building_nourishment_center
|
||||
add_building = building_nourishment_center
|
||||
add_building = building_ancient_cryo_chamber
|
||||
add_building = building_ancient_cryo_chamber
|
||||
add_building = building_ancient_cryo_chamber
|
||||
add_building = building_ancient_cryo_chamber
|
||||
add_building = building_ancient_cryo_chamber
|
||||
add_building = building_ancient_cryo_chamber
|
||||
add_building = building_ancient_cryo_chamber
|
||||
add_building = building_ancient_cryo_chamber
|
||||
add_building = building_ancient_cryo_chamber
|
||||
add_building = building_ancient_palace
|
||||
add_building = building_fe_stronghold
|
||||
add_building = building_fe_stronghold
|
||||
@@ -180,46 +176,6 @@ rg_fallen_machine = {
|
||||
}
|
||||
}
|
||||
|
||||
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_scion
|
||||
}
|
||||
add_opinion_modifier = {
|
||||
who = event_target:rg_scion_fe
|
||||
modifier = opinion_scion
|
||||
}
|
||||
country_event = { id = rg_origin.10 days = 3 }
|
||||
}
|
||||
}
|
||||
|
||||
while = {
|
||||
count = 94
|
||||
create_pop = {
|
||||
@@ -246,7 +202,7 @@ rg_fallen_machine = {
|
||||
orbit_angle = -90
|
||||
orbit_distance = 45
|
||||
}
|
||||
rg_create_fe_citadel = yes
|
||||
# rg_create_fe_citadel = yes
|
||||
}
|
||||
|
||||
planet = {
|
||||
@@ -376,10 +332,10 @@ rg_fallen_machine = {
|
||||
}
|
||||
}
|
||||
|
||||
spawn_megastructure = {
|
||||
type = lgate_base
|
||||
orbit_angle = 225
|
||||
orbit_distance = 30
|
||||
}
|
||||
# spawn_megastructure = {
|
||||
# type = lgate_base
|
||||
# orbit_angle = 225
|
||||
# orbit_distance = 30
|
||||
# }
|
||||
}
|
||||
|
||||
}
|
||||
@@ -498,7 +498,6 @@ rg_cluster_init_04 = {
|
||||
flags = {
|
||||
start_rg_cluster_gatebuilders
|
||||
ignore_startup_effect
|
||||
rw_spec_empire
|
||||
}
|
||||
init_effect = {
|
||||
prevent_anomaly = yes
|
||||
|
||||
@@ -22,6 +22,7 @@ special_project = {
|
||||
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 = {
|
||||
|
||||
Reference in New Issue
Block a user