This commit is contained in:
ProjectKoi-Kalo\Kalo
2024-04-10 19:39:38 +08:00
parent 7b126497c6
commit 37fd3e1b58
8 changed files with 560 additions and 153 deletions

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

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

View File

@@ -4,11 +4,11 @@ rg_create_fallen_empire_reinforcements = {
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 +60,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 +102,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 +117,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 +132,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 +144,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 +155,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 +166,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 +174,136 @@ 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 = {
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
}

View File

@@ -6,16 +6,6 @@ rg_fallen_machine = {
flags = { ring_world_built }
init_effect = {
spawn_megastructure = {
type = "ring_world_ruined"
orbit_angle = -90
orbit_distance = 45
}
create_fe_citadel = yes
}
planet = {
class = star
orbit_distance = 0
@@ -54,10 +44,100 @@ 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
}
}
}
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
@@ -72,6 +152,18 @@ rg_fallen_machine = {
add_building = building_ancient_cryo_chamber
add_building = building_ancient_cryo_chamber
add_building = building_ancient_cryo_chamber
add_building = building_ancient_palace
add_building = building_fe_stronghold
add_building = building_fe_stronghold
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_dimensional_fabricator
add_building = building_dimensional_fabricator
add_building = building_nano_forge
add_building = building_nano_forge
while = {
count = 5
@@ -83,24 +175,81 @@ rg_fallen_machine = {
}
while = {
count = 105
create_pop = {
species = event_target:rg_scion_slave.species
}
}
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_gate
}
set_country_flag = rg_scion_master
save_event_target_as = rg_scion_master
add_opinion_modifier = {
who = event_target:rg_scion_gate
modifier = opinion_scion
}
# country_event = { id = origin.20 days = 9000 random = 9000 }
event_target:rg_scion_gate = {
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
}
}
create_fallen_empire_starting_navy = yes
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 +259,7 @@ rg_fallen_machine = {
planet = {
class = "pc_ringworld_seam"
name = 面包机
name = 面包机
orbit_angle = 30
orbit_distance = 0
}
@@ -124,9 +273,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
@@ -154,8 +304,7 @@ rg_fallen_machine = {
count = 20
create_army = {
name = random
owner = root
species = root
owner = event_target:rg_scion_fe
type = "gray_army"
}
}
@@ -187,7 +336,7 @@ 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
@@ -209,28 +358,17 @@ rg_fallen_machine = {
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"
}
neighbor_system = {
distance = { min = 0 max = 50 }
initializer = "fallen_machine_3"
}
neighbor_system = {
distance = { min = 0 max = 50 }
initializer = "fallen_machine_4"
}
neighbor_system = {
distance = { min = 0 max = 50 }
initializer = "fallen_machine_5"
spawn_megastructure = {
type = lgate_base
orbit_angle = 225
orbit_distance = 30
}
}