Compare commits
11 Commits
2a465219a1
...
3.11.x
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9a4cff17b8 | ||
|
|
578a91552f | ||
|
|
e540e3fb2e | ||
|
|
930cc8e4e1 | ||
|
|
36a8a68c92 | ||
|
|
df1e219f51 | ||
|
|
97ea859c6c | ||
|
|
c0f8d6f8da | ||
|
|
0d5bb8d4a6 | ||
|
|
2f5ca904a9 | ||
|
|
93f9eff48b |
@@ -1,9 +1,2 @@
|
||||
# Real-Gray
|
||||
Stellaris mod real gray page.
|
||||
3.12卫星
|
||||
单槽虚空辉光舰 高射速不间断T槽武器
|
||||
灰风堕落帝国
|
||||
灰风狗开
|
||||
灰风机仆
|
||||
绑定银河机仆数量的灰风意识完整度系统
|
||||
终局天灾纳迪沙协议
|
||||
Stellaris mod real gray page.
|
||||
37
common/agreement_presets/RG_agreement_presets.txt
Normal file
37
common/agreement_presets/RG_agreement_presets.txt
Normal file
@@ -0,0 +1,37 @@
|
||||
##############
|
||||
# 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_does_not_get_sensors }
|
||||
}
|
||||
resource_terms = {
|
||||
{ key = resource_subsidies_basic value = -0.5 }
|
||||
{ key = resource_subsidies_advanced value = -0.5 }
|
||||
{ key = resource_subsidies_strategic value = -0.5 }
|
||||
# { key = resource_subsidies_research value = -0.35 }
|
||||
}
|
||||
}
|
||||
potential = {
|
||||
# any_agreement = {
|
||||
# agreement_preset = preset_rg_scion
|
||||
# }
|
||||
from = {
|
||||
OR = {
|
||||
is_country_type = fallen_empire
|
||||
is_country_type = awakened_fallen_empire
|
||||
has_country_flag = rg_scion_master
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
103
common/leader_classes/RG_leader_classes.txt
Normal file
103
common/leader_classes/RG_leader_classes.txt
Normal file
@@ -0,0 +1,103 @@
|
||||
# example_class = {
|
||||
# name = <name_key>
|
||||
# name_plural = <name_plural_key>
|
||||
# description = <description_key>
|
||||
#
|
||||
# #all the following default to no
|
||||
# can_lead_army = yes/no # Applies skill_<class_id>_army scaled by level to armies
|
||||
# can_lead_navy = yes/no # Applies skill_<class_id>_navy scaled by level to fleets
|
||||
# can_govern_planet = yes/no # Applies skill_<class_id>_planet_governor scaled by level to governed planet
|
||||
# Applies skill_<class_id>_sector_governor scaled by level to governed sector, if governing the sector capital
|
||||
# Applies skill_<class_id>_background_planet_governor scaled by level togoverned planet, if governing their homeworld
|
||||
# can_be_envoy = yes/no
|
||||
# can_research_tech = yes/no
|
||||
# can_research_special_projects = yes/no
|
||||
# can_crew_science_ship = yes/no
|
||||
# can_research_anomalies = yes/no
|
||||
# can_research_archaeology_site = yes/no
|
||||
# can_survey = yes/no
|
||||
# can_boost_cloaking_detection = yes/no
|
||||
# can_explore_rifts = yes/no
|
||||
# can_conduct_active_reconnaissance = yes/no
|
||||
# can_govern_planet = yes/no
|
||||
# can_have_traits = yes/no # defaults to yes, if no this class will not gain LEADER_ASSIGNED_MONTHLY_EXPERIENCE when assigned
|
||||
# can_rule_empire = yes/no # defaults to yes
|
||||
# recruitable = yes/no # defaults to yes
|
||||
# max_trait_points = <num>
|
||||
# leader_capacity = <num> # maximum number of leader of this type before you get maluses, 0 means no cap
|
||||
# replaces_old_class = "old_class" # used for backwards compatibility. When "old_class" appears in an old save, it is converted to this class at loading
|
||||
# # can appear multiple times
|
||||
#
|
||||
# resources = { #upkeep
|
||||
# category = leader_scientists/etc
|
||||
# cost = {
|
||||
# ...
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# ai_weight = { # used to determine which type of leader the AI prefers (frex: commanders for warlike leaders, and governor for pacifists)
|
||||
# base = <num>
|
||||
# modifier = {}
|
||||
# }
|
||||
#
|
||||
# ai_location_weight = { # used to evaluate a specific leader for an assignment to a specific location (right now only used for fleet),
|
||||
# # scope is the leader, from is the leader location (can be a planet, a fleet, an army etc)
|
||||
# # if the score is 0 or less, the leader will not be assigned to that location
|
||||
# base = <num>
|
||||
# modifier = {}
|
||||
# }
|
||||
#
|
||||
# minimum_ai_target = <num>
|
||||
#
|
||||
# leader_background_job_weight = {
|
||||
# job_name = <weight>
|
||||
# # etc
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# icon = 1 # 1-based index in the icon file. might be replaced by an icon name later
|
||||
#
|
||||
# paragon_background_selector = <name of an asset_selector>, used to display a background behind paragon portraits
|
||||
#
|
||||
#
|
||||
# How the AI assigns leaders now:
|
||||
#
|
||||
# Step 1: Sort all possible location using the NDefines::NAI::LOCATION_WEIGHT_* values (all of them are multipliers except the galactic community which is a flat value)
|
||||
# Step 2: Sort all available leaders by skill
|
||||
# Step 3: for each leader in order, calculate a location weight based on the ai_location_weight of their class
|
||||
# Step 4: Assign the highest leader/location pair based on the weight
|
||||
# Step 5: if no leader was assigned, see if hiring a leader is possible repeating the same steps
|
||||
|
||||
rg_nanite_leader = {
|
||||
name = rg_nanite_leader
|
||||
name_plural = rg_nanite_leader_plural
|
||||
description = rg_nanite_leader_description
|
||||
|
||||
can_lead_army = yes
|
||||
can_lead_navy = yes
|
||||
can_govern_planet = yes
|
||||
can_be_envoy = yes
|
||||
can_research_tech = yes
|
||||
can_research_special_projects = yes
|
||||
can_crew_science_ship = yes
|
||||
can_research_anomalies = yes
|
||||
can_research_archaeology_site = yes
|
||||
can_survey = yes
|
||||
can_boost_cloaking_detection = yes
|
||||
can_explore_rifts = yes
|
||||
can_conduct_active_reconnaissance = yes
|
||||
can_govern_planet = yes
|
||||
can_have_traits = yes
|
||||
can_rule_empire = yes
|
||||
recruitable = no
|
||||
max_trait_points = 3
|
||||
leader_capacity = 3
|
||||
|
||||
ai_weight = {
|
||||
modifier = {
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
icon = 4
|
||||
paragon_background_selector = "paragon_background_selector"
|
||||
}
|
||||
@@ -1,3 +1,99 @@
|
||||
rg_create_fallen_empire_species_effect = {
|
||||
create_species = {
|
||||
name = 纳米构造体
|
||||
class = RG_MACHINE
|
||||
portrait = "rg_machine_maid"
|
||||
traits = {
|
||||
trait = trait_machine_unit
|
||||
trait = rg_machine_maid_trait
|
||||
trait = trait_robot_mass_produced
|
||||
trait = ramdom_trait
|
||||
}
|
||||
extra_trait_points = 3
|
||||
allow_negative_traits = no
|
||||
namelist = MACHINE3
|
||||
effect = {
|
||||
save_event_target_as = rg_fallen_maid_species
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
rg_create_fallen_empire_country_effect = {
|
||||
create_country = {
|
||||
name = 德萨努-纳迪沙协议
|
||||
type = fallen_empire
|
||||
flag = {
|
||||
icon = {
|
||||
category = "special"
|
||||
file = "gray_goo.dds"
|
||||
}
|
||||
background = {
|
||||
category = "backgrounds"
|
||||
file = "sinus.dds"
|
||||
}
|
||||
colors = {
|
||||
"grey"
|
||||
"dark_grey"
|
||||
"null"
|
||||
"null"
|
||||
}
|
||||
}
|
||||
ignore_initial_colony_error = yes
|
||||
authority = auth_machine_intelligence
|
||||
civics = {
|
||||
civic = civic_machine_remnants
|
||||
civic = civic_custodian_directives
|
||||
}
|
||||
species = last_created_species
|
||||
ethos = {
|
||||
ethic = ethic_gestalt_consciousness
|
||||
}
|
||||
origin = "origin_fallen_empire"
|
||||
effect = {
|
||||
set_built_species = last_created_species
|
||||
save_global_event_target_as = rg_scion_fe
|
||||
set_country_flag = rg_fallen_empire_machine
|
||||
add_resource = {
|
||||
minerals = 10000
|
||||
energy = 10000
|
||||
food = 1000
|
||||
influence = 500
|
||||
}
|
||||
if = {
|
||||
limit = { host_has_dlc = "Apocalypse" }
|
||||
give_technology = {
|
||||
tech = tech_colossus
|
||||
message = no
|
||||
}
|
||||
}
|
||||
# must initialize global designs here
|
||||
add_global_ship_design = "NAME_Gray_Omega"
|
||||
add_global_ship_design = "NAME_Gray_Alpha"
|
||||
add_global_ship_design = "NAME_Gray_Beta"
|
||||
add_global_ship_design = "NAME_Gray_Gamma"
|
||||
add_global_ship_design = "NAME_Gray_Theta"
|
||||
add_global_ship_design = "NAME_Gray_Tau"
|
||||
add_global_ship_design = "NAME_Gray_Sigma"
|
||||
add_global_ship_design = "NAME_Gray_FE_Starbase"
|
||||
if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
exist = event_target:rg_gray_country_leader
|
||||
}
|
||||
}
|
||||
rg_gray_country_leader_init = yes
|
||||
set_leader = last_created_leader
|
||||
}
|
||||
else = {
|
||||
set_leader = last_created_leader
|
||||
}
|
||||
ruler = {
|
||||
add_skill = 9
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
rg_create_fallen_empire_reinforcements = {
|
||||
create_fleet = {
|
||||
effect = {
|
||||
@@ -307,4 +403,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
|
||||
}
|
||||
@@ -480,7 +480,7 @@ rg_create_gray_warship = {
|
||||
rg_create_gray_army = {
|
||||
if = {
|
||||
limit = {
|
||||
has_leader_flag = gray_army_active
|
||||
has_country_flag = gray_army_active
|
||||
}
|
||||
}
|
||||
else = {
|
||||
|
||||
@@ -1,37 +1,3 @@
|
||||
# 避免代码复用原则:
|
||||
# 如果你需要在不同的地方重复调用同一套代码,你应当把他们封装在这样的函数里。
|
||||
# 避免需要修改代码时需要重复修改n次,或是发生修改了A处忘记修改B处导致bug发生的问题。
|
||||
# 当然,这种分块需要到什么程度,我也不知道
|
||||
#灰风
|
||||
################################
|
||||
# 舰R 灰风领袖好感度设定块部分:采样时间戳:2023/6/1 8:17
|
||||
# 仅用于留档比对不进行改动
|
||||
# wg_affection_wg_gray_system_launch = {
|
||||
# if = {
|
||||
# limit = { has_leader_flag = gray_leader }
|
||||
# set_leader_flag = has_wg_affection
|
||||
# set_leader_flag = has_wg_affection_wg_gray
|
||||
# set_leader_flag = wg_affection_auto_change_no
|
||||
# add_trait_no_notify = leader_trait_wg_gray_affection
|
||||
# set_variable = { which = affection value = owner.wg_gray_affection }
|
||||
# set_variable = { which = wg_leader_affection_to_lv2 value = @wg_gray_affection_to_lv2 }
|
||||
# set_variable = { which = wg_leader_affection_to_lv3 value = @wg_gray_affection_to_lv3 }
|
||||
# set_variable = { which = wg_leader_affection_to_lv4 value = @wg_gray_affection_to_lv4 }
|
||||
# set_variable = { which = wg_leader_affection_to_lv5 value = @wg_gray_affection_to_lv5 }
|
||||
# set_variable = { which = wg_leader_affection_reduce value = @wg_gray_affection_reduce }
|
||||
# set_variable = { which = wg_leader_affection_increase value = @wg_gray_affection_increase }
|
||||
# }
|
||||
#
|
||||
# }
|
||||
# wg_affection_wg_gray_system_check = {
|
||||
# if = {
|
||||
# limit = {
|
||||
# has_leader_flag = has_wg_affection_wg_gray
|
||||
# }
|
||||
# set_variable = { which = affection value = owner.wg_gray_affection }
|
||||
# }
|
||||
# }
|
||||
################################
|
||||
rg_gray_govener_init = {
|
||||
event_target:rg_gray_country = {
|
||||
create_leader = {
|
||||
@@ -74,7 +40,7 @@ rg_gray_govener_init = {
|
||||
}
|
||||
}
|
||||
}
|
||||
set_leader_flag = "gray_leader" #某个mod新旧flag混用,我不说是谁。嗯嘿嘿
|
||||
set_leader_flag = "gray_leader"
|
||||
set_leader_flag = gray_leader
|
||||
add_trait_no_notify = leader_trait_governor_gray
|
||||
add_trait_no_notify = RG_leader_trait_ruler_gray
|
||||
|
||||
@@ -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
|
||||
@@ -44,96 +49,9 @@ rg_fallen_machine = {
|
||||
center = this.solar_system
|
||||
}
|
||||
|
||||
create_species = {
|
||||
name = 纳米构造体
|
||||
class = RG_MACHINE
|
||||
portrait = "rg_machine_maid"
|
||||
traits = {
|
||||
trait = trait_machine_unit
|
||||
trait = rg_machine_maid_trait
|
||||
trait = trait_robot_mass_produced
|
||||
trait = ramdom_trait
|
||||
}
|
||||
extra_trait_points = 3
|
||||
allow_negative_traits = no
|
||||
namelist = MACHINE3
|
||||
effect = {
|
||||
save_event_target_as = rg_fallen_maid_species
|
||||
}
|
||||
}
|
||||
create_country = {
|
||||
name = 德萨努-纳迪沙协议
|
||||
type = fallen_empire
|
||||
flag = {
|
||||
icon = {
|
||||
category = "special"
|
||||
file = "gray_goo.dds"
|
||||
}
|
||||
background = {
|
||||
category = "backgrounds"
|
||||
file = "sinus.dds"
|
||||
}
|
||||
colors = {
|
||||
"grey"
|
||||
"dark_grey"
|
||||
"null"
|
||||
"null"
|
||||
}
|
||||
}
|
||||
ignore_initial_colony_error = yes
|
||||
authority = auth_machine_intelligence
|
||||
civics = {
|
||||
civic = civic_machine_remnants
|
||||
civic = civic_custodian_directives
|
||||
}
|
||||
species = last_created_species
|
||||
ethos = {
|
||||
ethic = ethic_gestalt_consciousness
|
||||
}
|
||||
origin = "origin_fallen_empire"
|
||||
effect = {
|
||||
set_built_species = last_created_species
|
||||
save_global_event_target_as = rg_scion_fe
|
||||
set_country_flag = rg_fallen_empire_machine
|
||||
add_resource = {
|
||||
minerals = 10000
|
||||
energy = 10000
|
||||
food = 1000
|
||||
influence = 500
|
||||
}
|
||||
if = {
|
||||
limit = { host_has_dlc = "Apocalypse" }
|
||||
give_technology = {
|
||||
tech = tech_colossus
|
||||
message = no
|
||||
}
|
||||
}
|
||||
# must initialize global designs here
|
||||
add_global_ship_design = "NAME_Gray_Omega"
|
||||
add_global_ship_design = "NAME_Gray_Alpha"
|
||||
add_global_ship_design = "NAME_Gray_Beta"
|
||||
add_global_ship_design = "NAME_Gray_Gamma"
|
||||
add_global_ship_design = "NAME_Gray_Theta"
|
||||
add_global_ship_design = "NAME_Gray_Tau"
|
||||
add_global_ship_design = "NAME_Gray_Sigma"
|
||||
add_global_ship_design = "NAME_Gray_FE_Starbase"
|
||||
if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
exist = event_target:rg_gray_country_leader
|
||||
}
|
||||
}
|
||||
rg_gray_country_leader_init = yes
|
||||
set_leader = last_created_leader
|
||||
}
|
||||
else = {
|
||||
set_leader = last_created_leader
|
||||
}
|
||||
ruler = {
|
||||
add_skill = 9
|
||||
}
|
||||
}
|
||||
}
|
||||
rg_create_fallen_empire_species_effect = yes
|
||||
rg_create_fallen_empire_country_effect = yes
|
||||
|
||||
set_planet_flag = fallen_empire_world
|
||||
prevent_anomaly = yes
|
||||
set_owner = event_target:rg_scion_fe
|
||||
@@ -143,27 +61,15 @@ 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_nourishment_center
|
||||
add_building = building_nourishment_center
|
||||
add_building = building_ancient_palace
|
||||
add_building = building_fe_stronghold
|
||||
add_building = building_fe_stronghold
|
||||
add_building = building_affluence_center
|
||||
add_building = building_affluence_center
|
||||
add_building = building_nourishment_center
|
||||
add_building = building_nourishment_center
|
||||
add_building = building_class_4_singularity
|
||||
add_building = building_affluence_center
|
||||
add_building = building_affluence_center
|
||||
add_building = building_dimensional_fabricator
|
||||
add_building = building_dimensional_fabricator
|
||||
add_building = building_nano_forge
|
||||
add_building = building_nano_forge
|
||||
|
||||
while = {
|
||||
count = 5
|
||||
@@ -180,50 +86,10 @@ 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 = {
|
||||
species = owner_main_species
|
||||
species = event_target:rg_scion_slave.species
|
||||
}
|
||||
}
|
||||
|
||||
@@ -246,6 +112,268 @@ rg_fallen_machine = {
|
||||
orbit_angle = -90
|
||||
orbit_distance = 45
|
||||
}
|
||||
# rg_create_fe_citadel = yes
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = "pc_ringworld_tech"
|
||||
name = 中环
|
||||
orbit_angle = 30
|
||||
orbit_distance = 0
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = "pc_ringworld_seam"
|
||||
name = 烤面包机
|
||||
orbit_angle = 30
|
||||
orbit_distance = 0
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = "pc_ringworld_habitable"
|
||||
name = 可颂工厂
|
||||
orbit_angle = 30
|
||||
orbit_distance = 0
|
||||
deposit_blockers = none
|
||||
modifiers = none
|
||||
|
||||
init_effect = {
|
||||
|
||||
set_planet_flag = fallen_empire_world
|
||||
prevent_anomaly = yes
|
||||
set_owner = event_target:rg_scion_fe
|
||||
|
||||
add_building = building_ancient_control_center
|
||||
add_building = building_dimensional_fabricator
|
||||
add_building = building_dimensional_fabricator
|
||||
add_building = building_dimensional_fabricator
|
||||
add_building = building_dimensional_fabricator
|
||||
add_building = building_dimensional_fabricator
|
||||
add_building = building_nano_forge
|
||||
add_building = building_nano_forge
|
||||
add_building = building_nano_forge
|
||||
add_building = building_nano_forge
|
||||
add_building = building_nano_forge
|
||||
|
||||
while = {
|
||||
count = 5
|
||||
add_district = district_rw_nexus
|
||||
}
|
||||
while = {
|
||||
count = 50
|
||||
create_pop = {
|
||||
species = owner_main_species
|
||||
}
|
||||
}
|
||||
while = {
|
||||
count = 20
|
||||
create_pop = {
|
||||
species = event_target:rg_scion_slave.species
|
||||
}
|
||||
}
|
||||
while = {
|
||||
count = 20
|
||||
create_army = {
|
||||
name = random
|
||||
owner = event_target:rg_scion_fe
|
||||
type = "gray_army"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = "pc_ringworld_tech"
|
||||
name = 内环
|
||||
orbit_angle = 30
|
||||
orbit_distance = 0
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = "pc_ringworld_seam"
|
||||
name = 奶油核心
|
||||
orbit_angle = 30
|
||||
orbit_distance = 0
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = "pc_ringworld_habitable"
|
||||
name = 糖霜工厂
|
||||
orbit_angle = 30
|
||||
orbit_distance = 0
|
||||
deposit_blockers = none
|
||||
modifiers = none
|
||||
|
||||
init_effect = {
|
||||
set_planet_flag = fallen_empire_world
|
||||
prevent_anomaly = yes
|
||||
set_owner = event_target:rg_scion_fe
|
||||
|
||||
add_building = building_ancient_control_center
|
||||
add_building = building_class_4_singularity
|
||||
add_building = building_class_4_singularity
|
||||
add_building = building_class_4_singularity
|
||||
add_building = building_class_4_singularity
|
||||
add_building = building_nano_forge
|
||||
add_building = building_nano_forge
|
||||
add_building = building_nano_forge
|
||||
add_building = building_nano_forge
|
||||
add_building = building_nano_forge
|
||||
add_building = building_nano_forge
|
||||
|
||||
while = {
|
||||
count = 5
|
||||
add_district = district_rw_generator
|
||||
}
|
||||
while = {
|
||||
count = 22
|
||||
create_pop = {
|
||||
species = owner_main_species
|
||||
}
|
||||
}
|
||||
while = {
|
||||
count = 10
|
||||
create_pop = {
|
||||
species = event_target:rg_scion_slave.species
|
||||
}
|
||||
}
|
||||
while = {
|
||||
count = 10
|
||||
create_army = {
|
||||
name = random
|
||||
owner = event_target:rg_scion_fe
|
||||
type = "gray_army"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# spawn_megastructure = {
|
||||
# type = lgate_base
|
||||
# orbit_angle = 225
|
||||
# orbit_distance = 30
|
||||
# }
|
||||
}
|
||||
|
||||
|
||||
rg_fallen_machine_1 = {
|
||||
usage = fallen_empire_init
|
||||
name = 芬里尔III
|
||||
class = "rl_standard_stars"
|
||||
|
||||
flags = {
|
||||
ring_world_built
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = star
|
||||
orbit_distance = 0
|
||||
orbit_angle = 0
|
||||
}
|
||||
|
||||
change_orbit = 45
|
||||
|
||||
planet = {
|
||||
class = "pc_ringworld_tech"
|
||||
name = 外环
|
||||
orbit_angle = -30
|
||||
orbit_distance = 0
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = "pc_ringworld_seam"
|
||||
name = 泡芙碗
|
||||
orbit_angle = 30
|
||||
orbit_distance = 0
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = "pc_ringworld_habitable"
|
||||
name = 菠萝包工厂
|
||||
orbit_angle = 30
|
||||
orbit_distance = 0
|
||||
deposit_blockers = none
|
||||
modifiers = none
|
||||
|
||||
init_effect = {
|
||||
|
||||
create_cluster = {
|
||||
id = fe_mach_cluster
|
||||
radius = 80
|
||||
center = this.solar_system
|
||||
}
|
||||
|
||||
rg_create_fallen_empire_species_effect = yes
|
||||
rg_create_fallen_empire_country_effect = yes
|
||||
|
||||
set_planet_flag = fallen_empire_world
|
||||
prevent_anomaly = yes
|
||||
set_owner = event_target:rg_scion_fe
|
||||
set_controller = event_target:rg_scion_fe
|
||||
set_capital = yes
|
||||
|
||||
add_building = building_ancient_control_center
|
||||
add_building = building_nourishment_center
|
||||
add_building = building_nourishment_center
|
||||
add_building = building_nourishment_center
|
||||
add_building = building_nourishment_center
|
||||
add_building = building_ancient_palace
|
||||
add_building = building_affluence_center
|
||||
add_building = building_affluence_center
|
||||
add_building = building_affluence_center
|
||||
add_building = building_affluence_center
|
||||
add_building = building_dimensional_fabricator
|
||||
add_building = building_dimensional_fabricator
|
||||
|
||||
while = {
|
||||
count = 5
|
||||
add_district = district_rw_science
|
||||
}
|
||||
while = {
|
||||
count = 5
|
||||
add_district = district_rw_nexus
|
||||
}
|
||||
while = {
|
||||
count = 105
|
||||
create_pop = {
|
||||
species = owner_main_species
|
||||
}
|
||||
}
|
||||
|
||||
while = {
|
||||
count = 94
|
||||
create_pop = {
|
||||
species = event_target:rg_scion_slave.species
|
||||
}
|
||||
}
|
||||
|
||||
rg_create_fallen_empire_starting_navy = yes
|
||||
|
||||
while = {
|
||||
count = 40
|
||||
create_army = {
|
||||
name = random
|
||||
owner = event_target:rg_scion_fe
|
||||
type = "gray_army"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
init_effect = {
|
||||
spawn_megastructure = {
|
||||
type = "ring_world_ruined"
|
||||
orbit_angle = -90
|
||||
orbit_distance = 45
|
||||
}
|
||||
# rg_create_fe_citadel = yes
|
||||
set_star_flag = lgate
|
||||
spawn_megastructure = {
|
||||
type = lgate_base
|
||||
orbit_angle = 225
|
||||
orbit_distance = 30
|
||||
}
|
||||
|
||||
rg_create_fe_citadel = yes
|
||||
}
|
||||
|
||||
@@ -299,6 +427,12 @@ rg_fallen_machine = {
|
||||
species = owner_main_species
|
||||
}
|
||||
}
|
||||
while = {
|
||||
count = 20
|
||||
create_pop = {
|
||||
species = event_target:rg_scion_slave.species
|
||||
}
|
||||
}
|
||||
while = {
|
||||
count = 20
|
||||
create_army = {
|
||||
@@ -319,14 +453,14 @@ rg_fallen_machine = {
|
||||
|
||||
planet = {
|
||||
class = "pc_ringworld_seam"
|
||||
name = 蔗糖核心
|
||||
name = 奶油核心
|
||||
orbit_angle = 30
|
||||
orbit_distance = 0
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = "pc_ringworld_habitable"
|
||||
name = 霜糖工厂
|
||||
name = 糖霜工厂
|
||||
orbit_angle = 30
|
||||
orbit_distance = 0
|
||||
deposit_blockers = none
|
||||
@@ -342,6 +476,12 @@ rg_fallen_machine = {
|
||||
add_building = building_class_4_singularity
|
||||
add_building = building_class_4_singularity
|
||||
add_building = building_class_4_singularity
|
||||
add_building = building_nano_forge
|
||||
add_building = building_nano_forge
|
||||
add_building = building_nano_forge
|
||||
add_building = building_nano_forge
|
||||
add_building = building_nano_forge
|
||||
add_building = building_nano_forge
|
||||
|
||||
while = {
|
||||
count = 5
|
||||
@@ -353,6 +493,12 @@ rg_fallen_machine = {
|
||||
species = owner_main_species
|
||||
}
|
||||
}
|
||||
while = {
|
||||
count = 10
|
||||
create_pop = {
|
||||
species = event_target:rg_scion_slave.species
|
||||
}
|
||||
}
|
||||
while = {
|
||||
count = 10
|
||||
create_army = {
|
||||
@@ -364,10 +510,398 @@ rg_fallen_machine = {
|
||||
}
|
||||
}
|
||||
|
||||
spawn_megastructure = {
|
||||
type = lgate_base
|
||||
orbit_angle = 225
|
||||
orbit_distance = 30
|
||||
init_effect = {
|
||||
spawn_system = {
|
||||
min_distance >= 10
|
||||
max_distance <= 50
|
||||
initializer = rg_fallen_machine_01b
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
# EXTRAS
|
||||
rg_fallen_machine_01b = {
|
||||
class = "rl_trinary_stars"
|
||||
|
||||
asteroid_belt = {
|
||||
type = rocky_asteroid_belt
|
||||
radius = 140
|
||||
}
|
||||
init_effect = {
|
||||
rg_create_fe_citadel = yes
|
||||
}
|
||||
|
||||
planet = {
|
||||
count = 1
|
||||
class = star
|
||||
orbit_distance = 25
|
||||
orbit_angle = 0
|
||||
size = {
|
||||
min = 20
|
||||
max = 30
|
||||
}
|
||||
has_ring = no
|
||||
}
|
||||
planet = {
|
||||
count = 1
|
||||
class = star
|
||||
orbit_distance = {
|
||||
min = 0
|
||||
max = 20
|
||||
}
|
||||
orbit_angle = 120
|
||||
size = {
|
||||
min = 25
|
||||
max = 30
|
||||
}
|
||||
has_ring = no
|
||||
}
|
||||
planet = {
|
||||
count = 1
|
||||
class = star
|
||||
orbit_distance = {
|
||||
min = 0
|
||||
max = 20
|
||||
}
|
||||
orbit_angle = 120
|
||||
size = {
|
||||
min = 25
|
||||
max = 30
|
||||
}
|
||||
has_ring = no
|
||||
}
|
||||
change_orbit = 92
|
||||
planet = {
|
||||
count = {
|
||||
min = 3
|
||||
max = 6
|
||||
}
|
||||
class = pc_asteroid
|
||||
orbit_distance = 0
|
||||
orbit_angle = {
|
||||
min = 90
|
||||
max = 270
|
||||
}
|
||||
}
|
||||
planet = {
|
||||
count = 1
|
||||
class = pc_asteroid
|
||||
orbit_distance = 0
|
||||
orbit_angle = {
|
||||
min = 90
|
||||
max = 270
|
||||
}
|
||||
init_effect = {
|
||||
set_deposit = d_rare_crystals_2
|
||||
}
|
||||
}
|
||||
change_orbit = -60
|
||||
planet = {
|
||||
class = pc_gray_goo
|
||||
orbit_distance = 0
|
||||
orbit_angle = {
|
||||
min = 90
|
||||
max = 270
|
||||
}
|
||||
}
|
||||
planet = {
|
||||
class = pc_broken
|
||||
orbit_distance = 25
|
||||
orbit_angle = {
|
||||
min = 90
|
||||
max = 270
|
||||
}
|
||||
}
|
||||
change_orbit = 80
|
||||
planet = {
|
||||
class = pc_shattered
|
||||
orbit_distance = 0
|
||||
orbit_angle = {
|
||||
min = 90
|
||||
max = 270
|
||||
}
|
||||
}
|
||||
planet = {
|
||||
class = pc_shattered
|
||||
orbit_distance = 25
|
||||
orbit_angle = {
|
||||
min = 90
|
||||
max = 270
|
||||
}
|
||||
}
|
||||
|
||||
init_effect = {
|
||||
spawn_system = {
|
||||
min_distance >= 10
|
||||
max_distance <= 50
|
||||
initializer = rg_fallen_machine_02b
|
||||
}
|
||||
|
||||
add_hyperlane = {
|
||||
from = this
|
||||
to = prev
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
rg_fallen_machine_02b = {
|
||||
class = "rl_standard_stars"
|
||||
|
||||
asteroid_belt = {
|
||||
type = rocky_asteroid_belt
|
||||
radius = 135
|
||||
}
|
||||
|
||||
init_effect = {
|
||||
rg_create_fe_citadel = yes
|
||||
}
|
||||
|
||||
planet = {
|
||||
count = 1
|
||||
class = star
|
||||
orbit_distance = 0
|
||||
orbit_angle = 0
|
||||
size = {
|
||||
min = 30
|
||||
max = 35
|
||||
}
|
||||
has_ring = no
|
||||
}
|
||||
change_orbit = 135
|
||||
planet = {
|
||||
count = {
|
||||
min = 3
|
||||
max = 6
|
||||
}
|
||||
class = pc_asteroid
|
||||
orbit_distance = 0
|
||||
orbit_angle = {
|
||||
min = 90
|
||||
max = 270
|
||||
}
|
||||
}
|
||||
change_orbit = -80
|
||||
planet = {
|
||||
class = pc_gray_goo
|
||||
orbit_distance = 30
|
||||
orbit_angle = {
|
||||
min = 90
|
||||
max = 270
|
||||
}
|
||||
}
|
||||
change_orbit = 90
|
||||
planet = {
|
||||
class = pc_shattered
|
||||
orbit_distance = 0
|
||||
orbit_angle = {
|
||||
min = 90
|
||||
max = 270
|
||||
}
|
||||
}
|
||||
planet = {
|
||||
class = pc_broken
|
||||
orbit_distance = 30
|
||||
orbit_angle = {
|
||||
min = 90
|
||||
max = 270
|
||||
}
|
||||
}
|
||||
|
||||
init_effect = {
|
||||
spawn_system = {
|
||||
min_distance >= 10
|
||||
max_distance <= 50
|
||||
initializer = rg_fallen_machine_03b
|
||||
}
|
||||
|
||||
add_hyperlane = {
|
||||
from = this
|
||||
to = prev
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
rg_fallen_machine_03b = {
|
||||
class = "rl_standard_stars"
|
||||
|
||||
asteroid_belt = {
|
||||
type = rocky_asteroid_belt
|
||||
radius = 120
|
||||
}
|
||||
|
||||
init_effect = {
|
||||
rg_create_fe_citadel = yes
|
||||
}
|
||||
|
||||
planet = {
|
||||
count = 1
|
||||
class = star
|
||||
orbit_distance = 0
|
||||
orbit_angle = 1
|
||||
size = {
|
||||
min = 20
|
||||
max = 30
|
||||
}
|
||||
has_ring = no
|
||||
}
|
||||
change_orbit = 120
|
||||
planet = {
|
||||
count = {
|
||||
min = 3
|
||||
max = 5
|
||||
}
|
||||
class = pc_asteroid
|
||||
orbit_distance = 0
|
||||
orbit_angle = {
|
||||
min = 90
|
||||
max = 270
|
||||
}
|
||||
}
|
||||
planet = {
|
||||
count = 1
|
||||
class = pc_asteroid
|
||||
orbit_distance = 0
|
||||
orbit_angle = {
|
||||
min = 90
|
||||
max = 270
|
||||
}
|
||||
init_effect = {
|
||||
set_deposit = d_volatile_motes_2
|
||||
}
|
||||
}
|
||||
change_orbit = -70
|
||||
planet = {
|
||||
class = pc_shattered
|
||||
orbit_distance = 0
|
||||
orbit_angle = {
|
||||
min = 90
|
||||
max = 270
|
||||
}
|
||||
}
|
||||
planet = {
|
||||
class = pc_broken
|
||||
orbit_distance = 25
|
||||
orbit_angle = {
|
||||
min = 90
|
||||
max = 270
|
||||
}
|
||||
}
|
||||
change_orbit = 70
|
||||
planet = {
|
||||
class = pc_gray_goo
|
||||
orbit_distance = 25
|
||||
orbit_angle = {
|
||||
min = 90
|
||||
max = 270
|
||||
}
|
||||
}
|
||||
planet = {
|
||||
class = pc_gas_giant
|
||||
orbit_distance = 25
|
||||
orbit_angle = {
|
||||
min = 90
|
||||
max = 270
|
||||
}
|
||||
}
|
||||
planet = {
|
||||
class = pc_gray_goo
|
||||
orbit_distance = 25
|
||||
orbit_angle = {
|
||||
min = 90
|
||||
max = 270
|
||||
}
|
||||
}
|
||||
|
||||
init_effect = {
|
||||
spawn_system = {
|
||||
min_distance >= 10
|
||||
max_distance <= 50
|
||||
initializer = rg_fallen_machine_04b
|
||||
}
|
||||
|
||||
add_hyperlane = {
|
||||
from = this
|
||||
to = prev
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
rg_fallen_machine_04b = {
|
||||
class = "rl_standard_stars"
|
||||
|
||||
init_effect = {
|
||||
rg_create_fe_citadel = yes
|
||||
}
|
||||
|
||||
planet = {
|
||||
count = 1
|
||||
class = star
|
||||
orbit_distance = 0
|
||||
orbit_angle = 1
|
||||
size = {
|
||||
min = 20
|
||||
max = 30
|
||||
}
|
||||
has_ring = no
|
||||
}
|
||||
change_orbit = 50
|
||||
planet = {
|
||||
class = pc_broken
|
||||
orbit_distance = 0
|
||||
orbit_angle = {
|
||||
min = 90
|
||||
max = 270
|
||||
}
|
||||
}
|
||||
planet = {
|
||||
class = pc_shattered
|
||||
orbit_distance = 25
|
||||
orbit_angle = {
|
||||
min = 90
|
||||
max = 270
|
||||
}
|
||||
}
|
||||
planet = {
|
||||
class = pc_shattered
|
||||
orbit_distance = 25
|
||||
orbit_angle = {
|
||||
min = 90
|
||||
max = 270
|
||||
}
|
||||
}
|
||||
planet = {
|
||||
class = pc_gray_goo
|
||||
orbit_distance = 30
|
||||
orbit_angle = {
|
||||
min = 90
|
||||
max = 270
|
||||
}
|
||||
}
|
||||
planet = {
|
||||
class = pc_barren_cold
|
||||
orbit_distance = 25
|
||||
orbit_angle = {
|
||||
min = 90
|
||||
max = 270
|
||||
}
|
||||
change_orbit = @base_moon_distance
|
||||
moon = {
|
||||
class = "pc_frozen"
|
||||
orbit_angle = {
|
||||
min = 90
|
||||
max = 270
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
init_effect = {
|
||||
add_hyperlane = {
|
||||
from = this
|
||||
to = prev
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -47,3 +47,77 @@ gray_affection_warship_lv5 = {
|
||||
ship_ftl_jumpdrive_range_mult = 0.5
|
||||
force_disparity_fire_rate_mult = 3
|
||||
}
|
||||
|
||||
skill_rg_nanite_leader_navy = {
|
||||
ship_weapon_range_mult = 0.05
|
||||
ship_hull_mult = 0.05
|
||||
ship_fire_rate_mult = 0.1
|
||||
}
|
||||
|
||||
skill_rg_nanite_leader_army = {
|
||||
army_damage_mult = 0.1
|
||||
army_morale_damage_mult = 0.1
|
||||
army_health = 0.1
|
||||
army_morale = 0.1
|
||||
}
|
||||
|
||||
skill_rg_nanite_leader = {
|
||||
custom_tooltip = skill_official_delegate_tt
|
||||
science_ship_survey_speed = 0.10
|
||||
ship_archaeological_site_clues_add = 1
|
||||
ship_astral_rift_clues_add = 1
|
||||
}
|
||||
|
||||
skill_rg_nanite_leader_planet_governor = {
|
||||
custom_tooltip = skill_official_planet_governor_tt
|
||||
planet_jobs_energy_produces_mult = @planet_job_mult
|
||||
planet_jobs_minerals_produces_mult = @planet_job_mult
|
||||
planet_jobs_food_produces_mult = @planet_job_mult
|
||||
planet_jobs_alloys_produces_mult = @planet_job_mult
|
||||
planet_jobs_consumer_goods_produces_mult = @planet_job_mult
|
||||
planet_jobs_exotic_gases_produces_mult = @planet_job_mult
|
||||
planet_jobs_rare_crystals_produces_mult = @planet_job_mult
|
||||
planet_jobs_volatile_motes_produces_mult = @planet_job_mult
|
||||
|
||||
# planet_jobs_ruler_produces_mult = @negative_planet_job_mult
|
||||
# planet_jobs_specialist_produces_mult = @negative_planet_job_mult
|
||||
planet_jobs_worker_produces_mult = @planet_job_mult
|
||||
planet_jobs_slave_produces_mult = @planet_job_mult
|
||||
job_soldier_or_warrior_add = 1
|
||||
planet_crime_add = -1
|
||||
|
||||
planet_jobs_physics_research_produces_mult = @planet_job_mult
|
||||
planet_jobs_society_research_produces_mult = @planet_job_mult
|
||||
planet_jobs_engineering_research_produces_mult = @planet_job_mult
|
||||
species_empire_size_mult = @planet_empire_size
|
||||
}
|
||||
|
||||
skill_rg_nanite_leader_sector_governor = {
|
||||
custom_tooltip = skill_official_sector_governor_tt
|
||||
planet_jobs_energy_produces_mult = @sector_job_mult
|
||||
planet_jobs_minerals_produces_mult = @sector_job_mult
|
||||
planet_jobs_food_produces_mult = @sector_job_mult
|
||||
planet_jobs_alloys_produces_mult = @sector_job_mult
|
||||
planet_jobs_consumer_goods_produces_mult = @sector_job_mult
|
||||
planet_jobs_exotic_gases_produces_mult = @sector_job_mult
|
||||
planet_jobs_rare_crystals_produces_mult = @sector_job_mult
|
||||
planet_jobs_volatile_motes_produces_mult = @sector_job_mult
|
||||
|
||||
# planet_jobs_ruler_produces_mult = @negative_sector_job_mult
|
||||
# planet_jobs_specialist_produces_mult = @negative_sector_job_mult
|
||||
planet_jobs_worker_produces_mult = @sector_job_mult
|
||||
planet_jobs_slave_produces_mult = @sector_job_mult
|
||||
job_soldier_or_warrior_add = 0.5
|
||||
planet_crime_add = -0.5
|
||||
|
||||
planet_jobs_physics_research_produces_mult = @sector_job_mult
|
||||
planet_jobs_society_research_produces_mult = @sector_job_mult
|
||||
planet_jobs_engineering_research_produces_mult = @sector_job_mult
|
||||
species_empire_size_mult = @sector_empire_size
|
||||
}
|
||||
|
||||
skill_rg_nanite_leader_background_planet_governor = {
|
||||
planet_amenities_add = 2
|
||||
planet_stability_add = 0.5
|
||||
planet_jobs_upkeep_mult = -0.01
|
||||
}
|
||||
@@ -33,65 +33,78 @@
|
||||
# randomized = no
|
||||
# }
|
||||
|
||||
# RG_leader_trait_offical_gray = {
|
||||
# #唯一特质
|
||||
# cost = 0
|
||||
# inline_script = {
|
||||
# script = trait/icon_psionic
|
||||
# CLASS = leader
|
||||
# ICON = "GFX_leader_trait_psionic_chosen_one"
|
||||
# RARITY = paragon
|
||||
# COUNCIL = no
|
||||
# TIER = none
|
||||
# }
|
||||
# immortal_leaders = yes
|
||||
# triggered_self_modifier = {
|
||||
# potential = {
|
||||
# always = yes
|
||||
# }
|
||||
# leader_skill_levels = 1
|
||||
# mult = trigger:has_skill
|
||||
# }
|
||||
# self_modifier = {
|
||||
# species_leader_exp_gain = 1
|
||||
# }
|
||||
# councilor_modifier = {
|
||||
# all_technology_research_speed = 0.5
|
||||
# }
|
||||
# planet_modifier = {
|
||||
# planet_buildings_cost_mult = -0.4
|
||||
# planet_building_build_speed_mult = 0.6
|
||||
# planet_jobs_alloys_produces_mult = 0.25
|
||||
# planet_jobs_engineering_research_produces_mult = 0.25
|
||||
# deposit_blockers_cost_mult = -0.4
|
||||
# planet_clear_blocker_time_mult = -0.6
|
||||
# }
|
||||
# sector_modifier = {
|
||||
# planet_buildings_cost_mult = -0.2
|
||||
# planet_building_build_speed_mult = 0.2
|
||||
# planet_jobs_alloys_produces_mult = 0.1
|
||||
# planet_jobs_engineering_research_produces_mult = 0.1
|
||||
# deposit_blockers_cost_mult = -0.2
|
||||
# planet_clear_blocker_time_mult = -0.2
|
||||
# starbase_shipyard_build_cost_mult = -0.25
|
||||
# starbase_shipyard_build_speed_mult = -0.3
|
||||
# }
|
||||
# fleet_modifier = {
|
||||
# ship_armor_mult = 3.5
|
||||
# ship_hull_mult = 3.5
|
||||
# ships_upkeep_mult = -0.4
|
||||
# ship_hull_regen_add_perc = 5
|
||||
# ship_armor_regen_add_perc = 5
|
||||
# }
|
||||
# army_modifier = {
|
||||
# army_collateral_damage_mult = 0.15
|
||||
# army_disengage_chance_mult = 0.5
|
||||
# army_health = 0.35
|
||||
# }
|
||||
# leader_class = all
|
||||
# initial = no
|
||||
# randomized = no
|
||||
# }
|
||||
RG_leader_trait_offical_gray = {
|
||||
#唯一特质
|
||||
cost = 0
|
||||
inline_script = {
|
||||
script = trait/icon_psionic
|
||||
CLASS = leader
|
||||
ICON = "GFX_leader_trait_psionic_chosen_one"
|
||||
RARITY = paragon
|
||||
COUNCIL = no
|
||||
TIER = none
|
||||
}
|
||||
immortal_leaders = yes
|
||||
triggered_self_modifier = {
|
||||
potential = {
|
||||
always = yes
|
||||
}
|
||||
leader_skill_levels = 1
|
||||
mult = trigger:has_skill
|
||||
}
|
||||
self_modifier = {
|
||||
species_leader_exp_gain = 1
|
||||
}
|
||||
councilor_modifier = {
|
||||
all_technology_research_speed = 0.5
|
||||
}
|
||||
planet_modifier = {
|
||||
planet_buildings_cost_mult = -0.4
|
||||
planet_building_build_speed_mult = 0.6
|
||||
planet_jobs_alloys_produces_mult = 0.25
|
||||
planet_jobs_engineering_research_produces_mult = 0.25
|
||||
deposit_blockers_cost_mult = -0.4
|
||||
planet_clear_blocker_time_mult = -0.6
|
||||
}
|
||||
sector_modifier = {
|
||||
planet_buildings_cost_mult = -0.2
|
||||
planet_building_build_speed_mult = 0.2
|
||||
planet_jobs_alloys_produces_mult = 0.1
|
||||
planet_jobs_engineering_research_produces_mult = 0.1
|
||||
deposit_blockers_cost_mult = -0.2
|
||||
planet_clear_blocker_time_mult = -0.2
|
||||
starbase_shipyard_build_cost_mult = -0.25
|
||||
starbase_shipyard_build_speed_mult = -0.3
|
||||
}
|
||||
fleet_modifier = {
|
||||
ship_armor_mult = 3.5
|
||||
ship_hull_mult = 3.5
|
||||
ships_upkeep_mult = -0.4
|
||||
ship_hull_regen_add_perc = 5
|
||||
ship_armor_regen_add_perc = 5
|
||||
}
|
||||
army_modifier = {
|
||||
army_collateral_damage_mult = 0.15
|
||||
army_disengage_chance_mult = 0.5
|
||||
army_health = 0.35
|
||||
}
|
||||
modifier = {
|
||||
ship_archaeological_site_excavation_speed_mult = 0.5
|
||||
science_ship_survey_speed = 1
|
||||
# ship_windup_mult = -1
|
||||
# ship_speed_mult = 0.5
|
||||
ship_anomaly_generation_chance_mult = -1
|
||||
}
|
||||
triggered_modifier = {
|
||||
potential = {
|
||||
has_astral_planes_dlc = yes
|
||||
}
|
||||
country_astral_rift_speed_mult = 0.5
|
||||
}
|
||||
leader_class = { rg_nanite_leader }
|
||||
initial = no
|
||||
randomized = no
|
||||
}
|
||||
|
||||
RG_leader_trait_governor_gray = {
|
||||
#总督特质
|
||||
@@ -143,7 +156,7 @@ RG_leader_trait_ruler_gray = {
|
||||
cost = 0
|
||||
inline_script = {
|
||||
script = trait/icon_psionic
|
||||
CLASS = official
|
||||
CLASS = leader
|
||||
ICON = "GFX_leader_trait_legendary_spiritualist_two"
|
||||
RARITY = paragon
|
||||
COUNCIL = yes
|
||||
@@ -257,7 +270,7 @@ RG_leader_trait_ruler_gray = {
|
||||
country_base_influence_produces_add = 1
|
||||
mult = trigger:has_skill
|
||||
}
|
||||
leader_class = { official }
|
||||
leader_class = { official rg_nanite_leader }
|
||||
initial = no
|
||||
randomized = no
|
||||
}
|
||||
@@ -383,7 +396,7 @@ RG_leader_trait_admiral_nanorebuild_gray = {
|
||||
cost = 0
|
||||
inline_script = {
|
||||
script = trait/icon_psionic
|
||||
CLASS = commander
|
||||
CLASS = leader
|
||||
ICON = "GFX_leader_trait_nanorebuild"
|
||||
RARITY = paragon
|
||||
COUNCIL = no
|
||||
@@ -405,7 +418,7 @@ RG_leader_trait_admiral_nanorebuild_gray = {
|
||||
army_health = 0.05
|
||||
mult = owner.rg_general_skill_combat_daypassed_variable
|
||||
}
|
||||
leader_class = { commander }
|
||||
leader_class = { commander rg_nanite_leader }
|
||||
initial = no
|
||||
randomized = no
|
||||
}
|
||||
|
||||
@@ -123,6 +123,7 @@ country_event = {
|
||||
save_event_target_as = rg_cluster_previous_home_planet
|
||||
solar_system = {
|
||||
save_event_target_as = rg_cluster_previous_home_system
|
||||
set_star_flag = lgate
|
||||
spawn_megastructure = {
|
||||
type = lgate_base
|
||||
orbit_angle = 225
|
||||
|
||||
@@ -31,8 +31,8 @@ country_event = {
|
||||
is_triggered_only = yes
|
||||
|
||||
immediate = {
|
||||
set_country_flag = first_contact_event
|
||||
set_country_flag = Story2 # Already encountered spacefarers
|
||||
# set_country_flag = first_contact_event
|
||||
# set_country_flag = Story2 # Already encountered spacefarers
|
||||
# Spawn mini-FE if player turned off Fallen Empires but picked this Origin anyway...
|
||||
if = {
|
||||
limit = {
|
||||
@@ -41,19 +41,74 @@ country_event = {
|
||||
}
|
||||
}
|
||||
set_country_flag = rg_scion_needs_fe
|
||||
random_system = {
|
||||
limit = { has_owner = no }
|
||||
spawn_system = { initializer = "rg_fallen_machine" }
|
||||
if = {
|
||||
limit ={
|
||||
any_playable_country = {
|
||||
AND = {
|
||||
has_origin = origin_rg_gray
|
||||
# NOT = { has_global_flag = rg_origin_l_cluster }
|
||||
}
|
||||
}
|
||||
}
|
||||
random_system = {
|
||||
limit = { has_owner = no }
|
||||
spawn_system = { initializer = "rg_fallen_machine_1" }
|
||||
}
|
||||
add_extra_hyperlane_to_spawned_system_effect = yes
|
||||
}
|
||||
add_extra_hyperlane_to_spawned_system_effect = yes
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = event_target:rg_scion_master
|
||||
else = {
|
||||
rg_lcluster_spawn_effect_scion = yes
|
||||
every_system = {
|
||||
limit = {
|
||||
has_star_flag = lcluster
|
||||
}
|
||||
rg_create_fe_citadel = 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 }
|
||||
}
|
||||
}
|
||||
rg_create_scion_wormhole_link = yes
|
||||
capital_scope = {
|
||||
solar_system = {
|
||||
set_star_flag = lgate
|
||||
spawn_megastructure = {
|
||||
type = lgate_base
|
||||
orbit_angle = 225
|
||||
@@ -61,6 +116,7 @@ country_event = {
|
||||
}
|
||||
}
|
||||
}
|
||||
# add_extra_hyperlane_to_spawned_system_effect = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,6 +28,20 @@
|
||||
RG_leader_trait_admiral_nanorebuild_gray_desc:0 "灰色风暴在L星团中席卷无数纪元。\n创造与解构,纳米机器席卷之处我们无所不能。"
|
||||
RG_leader_trait_admiral_nanorebuild_effect:0 "$FLEET_EFFECTS_TXT$:\n$t$每摧毁一艘敌军舰船:\n$tt$§Y重塑计数器层数§!: §G+1§!\n$t$这位领袖所在舰队损失舰船时:\n$tt$消耗§Y重塑计数器层数§!立即重建舰船。\n$t$当前§Y重塑计数器层数§!: §Y[owner.rg_nanorebuild_counter]§!\n$t$§Y$NAME_Gray$§!无法被该技能重建。\n\n$RG_leader_trait_tempest_incoming_effect$"
|
||||
|
||||
preset_rg_scion: "§Y誓约计划国§!"
|
||||
preset_rg_scion_desc: "出于某种不可告人的目的,远古堕落帝国将其视若己出。他们的远古宗主不会允许其誓约国受到任何外部干扰。"
|
||||
|
||||
rg_nanite_leader:0"§Y纳米机器个体§!"
|
||||
rg_nanite_leader_plural:0"§Y纳米机器个体§!"
|
||||
rg_nanite_leader_description:0"§Y本质上是由千千万万纳米机械所组成的个体。因为能做到,所以将无所不能。§!"
|
||||
rg_nanite_leader_plural_with_icon:0"£offical£ $rg_nanite_leader_plural$"
|
||||
|
||||
concept_rg_scion: "$preset_rg_scion$"
|
||||
concept_rg_scion_desc: "$preset_rg_scion_desc$"
|
||||
|
||||
concept_rg_gray: "$NAME_Gray$"
|
||||
concept_rg_gray_desc: "$gray_backstory$"
|
||||
|
||||
RG_leader_trait_ruler_gray_tt:0 "§E随每技能等级提升的效果:§!"
|
||||
RG_leader_trait_variable_tt:0 "§E随变量层数提升的效果:§!"
|
||||
|
||||
@@ -48,10 +62,10 @@
|
||||
RG_gatebuilder_thruster:0 "§Y「漫步星海」§!"
|
||||
origin_rg_gray:0 "§Y遥远约定§!"
|
||||
origin_rg_gray_desc:0 "你偷偷说服了$NAME_Gray$从遥远的L星团前来看望你"
|
||||
origin_tooltip_rg_gray_effects:0 "开局时拥有$NAME_Gray$,并在一个孤立的L-星团中开始你的冒险。你将很难有重见银河的机会。\n\n§R<但...代价是什么?>§!\n§Y- 为防止重复选择,该起源被重复选择时将被替换成隐藏起源§!§H<你也事龙>§!§Y并开局获得全部L星门认知。§!\n§R- 多人游戏中存在重复龙开起源国家,L星团国家将无法触发中期开门事件。§!\n§R- 该起源被AI帝国占用时L-星团将被AI帝国占用。唔,你懂的。§!"
|
||||
origin_tooltip_rg_gray_effects:0 "—开局时获得['concept_rg_gray']的帮助\n—母星系:一个孤立的L-星团中开始你的冒险\n—原$HOME_SYSTEM$通过一个['concept_l_gates']连接到['concept_l_gates']网络中。\n\n§R<但...你将很难有重见银河的机会。>§!\n§Y—该起源无法重复选择。§!\n§Y—该起源被AI帝国占用时L-星团将被AI帝国占用。唔,你懂的§!"
|
||||
rg_origin_scion:0 "§Y未来追迹§!"
|
||||
rg_origin_scion_desc:0 "剧本疑似被什么人改写了。你将在$NAME_Gray$无微不至的监护下成长。"
|
||||
origin_tooltip_rg_scion_effects:0 "开局时将作为$NAME_Gray$堕落帝国的附属国。$NAME_Gray$将保护你的国家不受外敌侵犯,有时候还会给予你一定的帮助...但这同样会成为阻碍你发展的障碍...\n§Y- 这是一个未完成的起源。仅供测试使用。§!"
|
||||
origin_tooltip_rg_scion_effects:0 "开局时将作为['concept_rg_gray']['concept_fallen_empire']的附属国。['concept_rg_gray']将保护你的国家不受外敌侵犯,有时候还会给予你一定的帮助。\n—['concept_rg_gray']['concept_fallen_empire']宗主的['concept_rg_scion', £scion£誓约计划国]\n—$HOME_SYSTEM$通过一个['concept_l_gates']连接到['concept_l_gates']网络中。\n—['concept_rg_gray']['concept_fallen_empire']无视星系设置必定出现在一个孤立的L星团中\n—将会受到['concept_rg_gray']视若己出的保护。\n\n§R<但这同样会成为阻碍你发展的障碍...>§!\n§Y—这是一个未完成的起源。仅供开发测试使用。请不要在正式游戏中使用。§!"
|
||||
RG_SHIP_AURA_NANOBOT_CLOUD:0 "§Y「漫播飞尘」§!"
|
||||
RG_SHIP_AURA_NANOBOT_CLOUD_DESC:0 "§Y散播希望,还有绝望。§!\n多用途微型纳米机器。$NAME_Gray$可以通过布置一个高浓度纳米机器人场来维修同星系内的友方舰船。"
|
||||
RG_BOMBER_HANGAR_AP_BOMB:0 "§Y「落光」§!"
|
||||
|
||||
Reference in New Issue
Block a user