13 Commits

Author SHA1 Message Date
ProjectKoi-Kalo\Kalo
9a4cff17b8 ZC 2024-04-14 19:59:07 +08:00
ProjectKoi-Kalo\Kalo
578a91552f sa 2024-04-14 18:22:51 +08:00
ProjectKoi-Kalo\Kalo
e540e3fb2e 暂存 2024-04-14 15:14:25 +08:00
ProjectKoi-Kalo\Kalo
930cc8e4e1 Merge branch 'master' of https://cloud.armorrush.com/Kalospacer/realgray-stellaris-mod 2024-04-14 15:11:15 +08:00
ProjectKoi-Kalo\Kalo
36a8a68c92 Revert "暂存"
This reverts commit c0f8d6f8da.
2024-04-14 15:08:27 +08:00
ProjectKoi-Kalo\Kalo
df1e219f51 Revert "暂存"
This reverts commit c0f8d6f8da.
2024-04-14 03:49:31 +08:00
ProjectKoi-Kalo\Kalo
97ea859c6c 三合一,不知道哪改烂了,舰R兼容大概也寄了 暂存 2024-04-13 22:07:02 +08:00
ProjectKoi-Kalo\Kalo
c0f8d6f8da 暂存 2024-04-11 14:03:44 +08:00
ProjectKoi-Kalo\Kalo
0d5bb8d4a6 暂存 2024-04-11 13:54:57 +08:00
ProjectKoi-Kalo\Kalo
2f5ca904a9 暂存 2024-04-11 13:18:04 +08:00
ProjectKoi-Kalo\Kalo
93f9eff48b 暂存 2024-04-10 20:29:21 +08:00
ProjectKoi-Kalo\Kalo
2a465219a1 暂存堕落起源 2024-04-10 20:23:08 +08:00
ProjectKoi-Kalo\Kalo
37fd3e1b58 暂存 2024-04-10 19:39:38 +08:00
20 changed files with 1764 additions and 271 deletions

View File

@@ -1,9 +1,2 @@
# Real-Gray
Stellaris mod real gray page.
3.12卫星
单槽虚空辉光舰 高射速不间断T槽武器
灰风堕落帝国
灰风狗开
灰风机仆
绑定银河机仆数量的灰风意识完整度系统
终局天灾纳迪沙协议
Stellaris mod real gray page.

View 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
}
}
}
}

View File

@@ -1,104 +1,109 @@
# Machine
rg_fallen_gray_empire = {
graphical_culture = "fallen_machine_empire_01"
initializer = "rg_fallen_gray_empire"
weight_modifier = {
base = 1000000
}
possible = {
host_has_dlc = "Synthetic Dawn Story Pack"
}
create_country_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
}
}
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_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_fallen_gray_empire = {
# graphical_culture = "fallen_machine_empire_01"
# initializer = "rg_fallen_machine"
#
# weight_modifier = {
# base = 1
# modifier = {
# factor = 100000
# has_origin = rg_origin_scion
# }
# }
#
# possible = {
# host_has_dlc = "Synthetic Dawn Story Pack"
# }
#
# create_country_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
# }
# }
# 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 = {
# save_global_event_target_as = rg_fe_country
# 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
# }
# }
# }
# }
# }

View File

@@ -8,6 +8,7 @@ origin_rg_gray = {
non_colonizable_planet_class_neighbor = yes
description = "origin_tooltip_rg_gray_effects"
advanced_start = yes
max_once_global = yes
random_weight = {
base = 0
}
@@ -15,3 +16,35 @@ origin_rg_gray = {
host_has_dlc = "Distant Stars Story Pack"
}
}
rg_origin_scion = {
is_origin = yes
icon = "gfx/interface/icons/origins/origins_scion_1.dds"
picture = GFX_origin_rg_scion
advanced_start = yes
max_once_global = yes
playable = {
host_has_dlc = Federations
}
# possible = {
# ethics = {
# NOR = {
# value = ethic_gestalt_consciousness
# #value = ethic_xenophobe
# value = ethic_fanatic_xenophobe
# }
# }
# civics = {
# NOT = { value = civic_pompous_purists }
# }
# }
description = "origin_tooltip_rg_scion_effects"
flags = { custom_start_screen }
random_weight = {
base = 0
}
}

View 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"
}

View File

@@ -38,6 +38,7 @@ on_game_start_country = {
events = {
# rg_cluster.8
rg_event.1
rg_origin.1
rg_event.19
}
}

View File

@@ -1,14 +1,110 @@
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 = {
set_owner = prev.owner
while = {
count = 4
create_fallen_empire_large_ship = yes
rg_create_fallen_empire_large_ship = yes
}
while = {
count = 8
create_fallen_empire_small_ship = yes
rg_create_fallen_empire_small_ship = yes
}
random_list = {
25 = {
@@ -60,11 +156,11 @@ rg_create_fallen_empire_fleet = {
set_owner = prev.owner
while = {
count = 8
create_fallen_empire_large_ship = yes
rg_create_fallen_empire_large_ship = yes
}
while = {
count = 18
create_fallen_empire_small_ship = yes
rg_create_fallen_empire_small_ship = yes
}
random_list = {
25 = {
@@ -102,11 +198,11 @@ rg_create_fallen_empire_fleet = {
}
rg_create_fallen_empire_starting_navy = {
create_fallen_empire_fleet = yes
create_fallen_empire_fleet = yes
rg_create_fallen_empire_fleet = yes
rg_create_fallen_empire_fleet = yes
random = {
chance = 33
create_fallen_empire_fleet = yes
rg_create_fallen_empire_fleet = yes
}
if = {
limit = {
@@ -117,7 +213,7 @@ rg_create_fallen_empire_starting_navy = {
create_fleet = {
effect = {
set_owner = prev.owner
create_fallen_empire_colossus = yes
rg_create_fallen_empire_colossus = yes
set_location = {
target = prev
distance = 30
@@ -132,7 +228,7 @@ rg_create_fallen_empire_starting_navy = {
create_fleet = {
effect = {
set_owner = prev.owner
create_fallen_empire_titan = yes
rg_create_fallen_empire_titan = yes
set_location = {
target = prev
distance = 20
@@ -144,7 +240,7 @@ rg_create_fallen_empire_starting_navy = {
create_fleet = {
effect = {
set_owner = prev.owner
create_fallen_empire_construction_ship = yes
rg_create_fallen_empire_construction_ship = yes
set_location = {
target = prev
distance = 60
@@ -155,7 +251,7 @@ rg_create_fallen_empire_starting_navy = {
create_fleet = {
effect = {
set_owner = prev.owner
create_fallen_empire_construction_ship = yes
rg_create_fallen_empire_construction_ship = yes
set_location = {
target = prev
distance = 80
@@ -166,7 +262,7 @@ rg_create_fallen_empire_starting_navy = {
create_fleet = {
effect = {
set_owner = prev.owner
create_fallen_empire_construction_ship = yes
rg_create_fallen_empire_construction_ship = yes
set_location = {
target = prev
distance = 100
@@ -174,4 +270,328 @@ rg_create_fallen_empire_starting_navy = {
}
}
}
}
rg_create_fallen_empire_platform = {
if = {
limit = {
owner = { has_authority = auth_machine_intelligence }
}
create_ship = {
name = random
design = "NAME_Gray_Sigma"
graphical_culture = owner
}
}
}
rg_create_fallen_empire_colossus = {
if = {
limit = {
owner = { has_authority = auth_machine_intelligence }
}
create_ship = {
name = random
design = "NAME_Gray_Omega"
graphical_culture = owner
}
}
}
rg_create_fallen_empire_titan = {
if = {
limit = {
owner = { has_authority = auth_machine_intelligence }
}
create_ship = {
name = random
design = "NAME_Gray_Alpha"
graphical_culture = owner
}
}
}
rg_create_fallen_empire_large_ship = {
if = {
limit = {
owner = { has_authority = auth_machine_intelligence }
}
create_ship = {
name = random
design = "NAME_Gray_Beta"
graphical_culture = owner
}
}
}
rg_create_fallen_empire_small_ship = {
if = {
limit = {
owner = { has_authority = auth_machine_intelligence }
}
create_ship = {
name = random
design = "NAME_Gray_Gamma"
graphical_culture = owner
}
}
}
rg_create_fallen_empire_construction_ship = {
if = {
limit = {
owner = { has_authority = auth_machine_intelligence }
}
create_ship = {
name = random
design = "NAME_Gray_Theta"
graphical_culture = owner
}
}
}
rg_create_fe_citadel = {
create_starbase = {
size = "starbase_citadel"
module = "shipyard"
module = "anchorage"
module = "anchorage"
module = "hangar_bay"
module = "gun_battery"
module = "gun_battery"
building = "crew_quarters"
building = "command_center"
building = "target_uplink_computer"
building = "dark_matter_listening_post"
effect = {
set_owner = event_target:rg_scion_fe
while = {
count = 4
rg_create_fallen_empire_platform = yes
}
}
}
}
#scope = scion
rg_create_scion_wormhole_link = {
capital_scope = {
solar_system = { save_event_target_as = home_system }
}
event_target:rg_scion_master = {
random_system_within_border = { save_event_target_as = fe_target_system }
}
event_target:home_system = {
event_target:fe_target_system = {
prev = { # done this way to ensure we don't spawn "orphan wormholes (wormholes that aren't linked to anything)
spawn_natural_wormhole = {
bypass_type = wormhole
random_pos = no
orbit_angle = 360
}
}
spawn_natural_wormhole = {
bypass_type = wormhole
random_pos = no
orbit_angle = 270
}
link_wormholes = prev
}
}
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
}

View File

@@ -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 = {

View File

@@ -1,37 +1,3 @@
# 避免代码复用原则:
# 如果你需要在不同的地方重复调用同一套代码,你应当把他们封装在这样的函数里。
# 避免需要修改代码时需要重复修改n次或是发生修改了A处忘记修改B处导致bug发生的问题。
# 当然,这种分块需要到什么程度,我也不知道
#灰风
################################
# 舰R 灰风领袖好感度设定块部分采样时间戳2023/6/1 817
# 仅用于留档比对不进行改动
# 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

View File

@@ -1,19 +1,14 @@
# Home System - Machine
rg_fallen_machine = {
usage = fallen_empire_init
name = 芬里尔III
class = "rl_standard_stars"
flags = { ring_world_built }
init_effect = {
spawn_megastructure = {
type = "ring_world_ruined"
orbit_angle = -90
orbit_distance = 45
}
create_fe_citadel = yes
flags = {
lcluster
lcluster4
ring_world_built
}
planet = {
@@ -54,24 +49,27 @@ rg_fallen_machine = {
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 = root
set_controller = root
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_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_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
@@ -87,20 +85,36 @@ rg_fallen_machine = {
species = owner_main_species
}
}
create_fallen_empire_starting_navy = yes
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 = root
species = root
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
}
planet = {
class = "pc_ringworld_tech"
name = 中环
@@ -110,7 +124,7 @@ rg_fallen_machine = {
planet = {
class = "pc_ringworld_seam"
name = 面包机
name = 面包机
orbit_angle = 30
orbit_distance = 0
}
@@ -124,9 +138,10 @@ rg_fallen_machine = {
modifiers = none
init_effect = {
set_planet_flag = fallen_empire_world
prevent_anomaly = yes
set_owner = ROOT
set_owner = event_target:rg_scion_fe
add_building = building_ancient_control_center
add_building = building_dimensional_fabricator
@@ -150,12 +165,17 @@ rg_fallen_machine = {
species = owner_main_species
}
}
while = {
count = 20
create_pop = {
species = event_target:rg_scion_slave.species
}
}
while = {
count = 20
create_army = {
name = random
owner = root
species = root
owner = event_target:rg_scion_fe
type = "gray_army"
}
}
@@ -171,14 +191,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
@@ -187,13 +207,19 @@ rg_fallen_machine = {
init_effect = {
set_planet_flag = fallen_empire_world
prevent_anomaly = yes
set_owner = ROOT
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
@@ -205,32 +231,677 @@ rg_fallen_machine = {
species = owner_main_species
}
}
while = {
count = 10
create_pop = {
species = event_target:rg_scion_slave.species
}
}
while = {
count = 10
create_army = {
name = random
owner = root
species = root
owner = event_target:rg_scion_fe
type = "gray_army"
}
}
}
}
neighbor_system = {
distance = { min = 0 max = 50 }
initializer = "fallen_machine_2"
# 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
}
neighbor_system = {
distance = { min = 0 max = 50 }
initializer = "fallen_machine_3"
planet = {
class = star
orbit_distance = 0
orbit_angle = 0
}
neighbor_system = {
distance = { min = 0 max = 50 }
initializer = "fallen_machine_4"
change_orbit = 45
planet = {
class = "pc_ringworld_tech"
name = 外环
orbit_angle = -30
orbit_distance = 0
}
neighbor_system = {
distance = { min = 0 max = 50 }
initializer = "fallen_machine_5"
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
}
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"
}
}
}
}
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
}
}
}

View File

@@ -498,7 +498,6 @@ rg_cluster_init_04 = {
flags = {
start_rg_cluster_gatebuilders
ignore_startup_effect
rw_spec_empire
}
init_effect = {
prevent_anomaly = yes

View File

@@ -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 = {

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -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

150
events/RG_origin_event.txt Normal file
View File

@@ -0,0 +1,150 @@
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 = {
# 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 = {
NOT = {
exist = event_target:rg_scion_fe
}
}
set_country_flag = rg_scion_needs_fe
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
}
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 }
}
}
capital_scope = {
solar_system = {
set_star_flag = lgate
spawn_megastructure = {
type = lgate_base
orbit_angle = 225
orbit_distance = 30
}
}
}
# add_extra_hyperlane_to_spawned_system_effect = yes
}
}
}
# 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
}
}

Binary file not shown.

View File

@@ -0,0 +1,9 @@
spriteTypes = {
spriteType = {
name = "GFX_origin_rg_scion"
texturefile = "gfx/event_pictures/origins/origin_rg_scion.dds"
alwaystransparent = yes
}
}

View File

@@ -15,7 +15,7 @@
rg_event.401.desc:0 "什么?不!不,至少……至少……\n\n至少这次放我一马如果你放过我我大概会在荒芜星球庞大的地下洞穴中四处游荡……或是去一些田园牧歌的生活……绝不会对你和你的银河造成任何威胁真的绝不就至少……这次就放过我"
rg_event.401.a:0 "好吧"
rg_event.401.b:0 "绝不!"
rg_event.401.a.response:0 "那!那就这样!您妈的见!"
rg_event.401.a.response:0 "那!那就这样!您妈的见!"
rg_event.201.name:0 "第二次生命"
rg_event.201.desc:0 "在我们杀死了纳米机器人伪装的L星龙之后对某个纳米机器人星球进行的探测器扫描中发现其毫无生机的表面又一个奇怪的能源信号。它似乎正试图和我们交流。"
rg_event.201.a:0 "大不了再来一次!"

View File

@@ -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,7 +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 "开局时将作为['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「落光」§!"