23 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
ProjectKoi-Kalo\Kalo
7b126497c6 暂存 2024-04-10 16:07:38 +08:00
ProjectKoi-Kalo\Kalo
abf233e1e8 暂存 2024-04-09 23:39:58 +08:00
ProjectKoi-Kalo\Kalo
1eb492a2f0 暂时不需要了 2024-04-07 21:43:26 +08:00
ProjectKoi-Kalo\Kalo
267a06b2fa maid暂存 2024-04-07 21:39:00 +08:00
ProjectKoi-Kalo\Kalo
32b9a5680b 修好了 2024-04-07 19:40:25 +08:00
ProjectKoi-Kalo\Kalo
f320c739a8 revert 3.11 2024-04-07 19:28:01 +08:00
ProjectKoi-Kalo\Kalo
aa9e81fc89 烂了 尝试修 2024-04-07 19:23:23 +08:00
ProjectKoi-Kalo\Kalo
c00c1a8917 暂存 2024-04-07 19:05:28 +08:00
ProjectKoi-Kalo\Kalo
2935da199d 暂存 2024-04-07 13:02:04 +08:00
ProjectKoi-Kalo\Kalo
f4fe568fa3 3.11暂存 2024-04-07 07:56:10 +08:00
44 changed files with 3889 additions and 140 deletions

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

@@ -450,7 +450,6 @@ weapon_component_template = {
prerequisites = { prerequisites = {
"tech_gray_juggernaut_8" "tech_gray_juggernaut_8"
} }
hidden = yes
ship_limit = 1 ship_limit = 1
ai_weight = { ai_weight = {
weight = 0 weight = 0

View File

@@ -0,0 +1,109 @@
# Machine
# 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

@@ -0,0 +1,591 @@
#############################
### Fallen Machine Empire ###
#############################
# Planet Destroyer
ship_design = {
name = "NAME_Gray_Omega"
ship_size = colossus
section = {
template = "SHIP_COLOSSUS_SECTION"
slot = "ship"
component = {
slot = "PLANET_KILLER_GUN_01"
template = "RG_PLANET_KILLER"
}
component = {
slot = "LARGE_UTILITY_1"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_2"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_3"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_4"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_5"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_6"
template = "LARGE_GRAY_MIX_ARMOR"
}
}
required_component="SENSOR_4"
required_component="JUMP_DRIVE_1"
required_component="COLOSSUS_DARK_MATTER_REACTOR"
required_component="COLOSSUS_SHIP_THRUSTER_5"
# For special buildable
is_special_buildable = yes
allow_buildable_trigger = is_fallen_empire_machine
}
# Massive Ship
ship_design = {
name = "NAME_Gray_Alpha"
ship_size = massive_ship_fallen_empire
section = {
template = "fallen_empire_massive_warship_key"
slot = "mid"
component = {
slot = "TITANIC_01"
template = "GRAY_BEAM_STATIC_EX"
}
component = {
slot = "STRIKE_CRAFT_01"
template = "RG_FIGHTER_HANGAR_BEAM"
}
component = {
slot = "STRIKE_CRAFT_02"
template = "RG_FIGHTER_HANGAR_BEAM"
}
component = {
slot = "STRIKE_CRAFT_03"
template = "RG_FIGHTER_HANGAR_BEAM"
}
component = {
slot = "STRIKE_CRAFT_04"
template = "RG_FIGHTER_HANGAR_BEAM"
}
component = {
slot = "LARGE_GUN_01"
template = "LARGE_GRAY_WEAPON_LANCE"
}
component = {
slot = "LARGE_GUN_02"
template = "LARGE_GRAY_WEAPON_LANCE"
}
component = {
slot = "LARGE_GUN_03"
template = "LARGE_GRAY_WEAPON_LANCE"
}
component = {
slot = "LARGE_GUN_04"
template = "LARGE_GRAY_WEAPON_LANCE"
}
component = {
slot = "LARGE_GUN_05"
template = "LARGE_GRAY_WEAPON_LANCE"
}
component = {
slot = "LARGE_GUN_06"
template = "LARGE_GRAY_WEAPON_LANCE"
}
component = {
slot = "LARGE_GUN_07"
template = "LARGE_GRAY_WEAPON_LANCE"
}
component = {
slot = "LARGE_GUN_08"
template = "LARGE_GRAY_WEAPON_LANCE"
}
component = {
slot = "MEDIUM_GUN_01"
template = "MEDIUM_GRAY_WEAPON_LANCE"
}
component = {
slot = "MEDIUM_GUN_02"
template = "MEDIUM_GRAY_WEAPON_LANCE"
}
component = {
slot = "MEDIUM_GUN_03"
template = "MEDIUM_GRAY_WEAPON_LANCE"
}
component = {
slot = "MEDIUM_GUN_04"
template = "MEDIUM_GRAY_WEAPON_LANCE"
}
component = {
slot = "LARGE_UTILITY_1"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_2"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_3"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_4"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_5"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_6"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_7"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_8"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_9"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_10"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_11"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_12"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_13"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_14"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_15"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_16"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_17"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_18"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_19"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_20"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "AUX_UTILITY_1"
template = "SHIELD_BOOSTER"
}
component = {
slot = "AUX_UTILITY_2"
template = "SHIELD_BOOSTER"
}
component = {
slot = "AUX_UTILITY_3"
template = "SHIELD_BOOSTER"
}
}
required_component="SENSOR_4"
required_component="JUMP_DRIVE_1"
required_component="COMBAT_COMPUTER_ARTILLERY_SAPIENT"
required_component="TITAN_DARK_MATTER_REACTOR"
required_component="TITAN_SHIP_THRUSTER_5"
# For special buildable
is_special_buildable = yes
allow_buildable_trigger = is_fallen_empire_machine
}
# Large Ship
ship_design = {
name = "NAME_Gray_Beta"
ship_size = large_ship_fallen_empire
section = {
template = "fallen_empire_large_warship_key"
slot = "mid"
component = {
slot = "STRIKE_CRAFT_01"
template = "RG_FIGHTER_HANGAR_BEAM"
}
component = {
slot = "STRIKE_CRAFT_02"
template = "RG_FIGHTER_HANGAR_BEAM"
}
component = {
slot = "EXTRA_LARGE_01"
template = "GRAY_BEAM_STATIC_X"
}
component = {
slot = "LARGE_GUN_01"
template = "LARGE_GRAY_WEAPON_LANCE"
}
component = {
slot = "LARGE_GUN_02"
template = "LARGE_GRAY_WEAPON_LANCE"
}
component = {
slot = "MEDIUM_GUN_01"
template = "MEDIUM_GRAY_WEAPON_LANCE"
}
component = {
slot = "MEDIUM_GUN_02"
template = "MEDIUM_GRAY_WEAPON_LANCE"
}
component = {
slot = "MEDIUM_GUN_03"
template = "MEDIUM_GRAY_WEAPON_LANCE"
}
component = {
slot = "MEDIUM_GUN_04"
template = "MEDIUM_GRAY_WEAPON_LANCE"
}
component = {
slot = "LARGE_UTILITY_1"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_2"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_3"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_4"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_5"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_6"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_7"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_8"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "AUX_UTILITY_1"
template = "SHIELD_BOOSTER"
}
component = {
slot = "AUX_UTILITY_2"
template = "SHIELD_BOOSTER"
}
}
required_component="SENSOR_4"
required_component="JUMP_DRIVE_1"
required_component="COMBAT_COMPUTER_LINE_SAPIENT"
required_component="BATTLESHIP_DARK_MATTER_REACTOR"
required_component="BATTLESHIP_SHIP_THRUSTER_5"
# For special buildable
is_special_buildable = yes
allow_buildable_trigger = is_fallen_empire_machine
}
# Small Ship
ship_design = {
name = "NAME_Gray_Gamma"
ship_size = small_ship_fallen_empire
section = {
template = "fallen_empire_warship_small_key"
slot = "mid"
component = {
slot = "LARGE_GUN_01"
template = "LARGE_GRAY_WEAPON_LANCE"
}
component = {
slot = "SMALL_GUN_01"
template = "SMALL_GRAY_WEAPON_LANCE"
}
component = {
slot = "SMALL_GUN_02"
template = "SMALL_GRAY_WEAPON_LANCE"
}
component = {
slot = "SMALL_GUN_03"
template = "SMALL_GRAY_WEAPON_LANCE"
}
component = {
slot = "SMALL_GUN_04"
template = "SMALL_GRAY_WEAPON_LANCE"
}
component = {
slot = "PD_01"
template = "RG_FLAK_BATTERY"
}
component = {
slot = "PD_02"
template = "RG_FLAK_BATTERY"
}
component = {
slot = "PD_03"
template = "RG_FLAK_BATTERY"
}
component = {
slot = "PD_04"
template = "RG_FLAK_BATTERY"
}
component = {
slot = "MEDIUM_UTILITY_1"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "MEDIUM_UTILITY_2"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "MEDIUM_UTILITY_3"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "MEDIUM_UTILITY_4"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "MEDIUM_UTILITY_5"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "MEDIUM_UTILITY_6"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "AUX_UTILITY_1"
template = "SHIELD_BOOSTER"
}
}
required_component="SENSOR_4"
required_component="JUMP_DRIVE_1"
required_component="COMBAT_COMPUTER_PICKET_SAPIENT"
required_component="DESTROYER_DARK_MATTER_REACTOR"
required_component="DESTROYER_SHIP_THRUSTER_5"
# For special buildable
is_special_buildable = yes
allow_buildable_trigger = is_fallen_empire_machine
}
# Defense Platform
ship_design = {
name = "NAME_Gray_Sigma"
ship_size = military_station_small_fallen_empire
section = {
template = "fallen_empire_station_small_key"
slot = "mid"
component = {
slot = "LARGE_GUN_01"
template = "LARGE_GRAY_WEAPON_LANCE"
}
component = {
slot = "LARGE_GUN_02"
template = "LARGE_GRAY_WEAPON_LANCE"
}
component = {
slot = "MEDIUM_GUN_01"
template = "MEDIUM_GRAY_WEAPON_LANCE"
}
component = {
slot = "MEDIUM_GUN_02"
template = "MEDIUM_GRAY_WEAPON_LANCE"
}
component = {
slot = "MEDIUM_GUN_03"
template = "MEDIUM_GRAY_WEAPON_LANCE"
}
component = {
slot = "MEDIUM_GUN_04"
template = "MEDIUM_GRAY_WEAPON_LANCE"
}
component = {
slot = "MEDIUM_GUN_05"
template = "MEDIUM_GRAY_WEAPON_LANCE"
}
component = {
slot = "PD_01"
template = "RG_FLAK_BATTERY"
}
component = {
slot = "PD_02"
template = "RG_FLAK_BATTERY"
}
component = {
slot = "LARGE_UTILITY_1"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_2"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_3"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_4"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_5"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "LARGE_UTILITY_6"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "AUX_UTILITY_1"
template = "SHIELD_BOOSTER"
}
component = {
slot = "AUX_UTILITY_2"
template = "SHIELD_BOOSTER"
}
}
required_component="SENSOR_4"
required_component="COMBAT_COMPUTER_PLATFORM_SAPIENT"
required_component="PLATFORM_DARK_MATTER_REACTOR"
# For special buildable
is_special_buildable = yes
allow_buildable_trigger = is_fallen_empire_machine
}
# Construction Ship
ship_design = {
name = "NAME_Gray_Theta"
ship_size = constructor
section = {
template = "DEFAULT_CONSTRUCTION_SECTION"
slot = "mid"
component = {
slot = "SMALL_UTILITY_1"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "SMALL_UTILITY_2"
template = "LARGE_GRAY_MIX_ARMOR"
}
}
required_component="JUMP_DRIVE_1"
required_component="SHIP_THRUSTER_5"
required_component="SENSOR_4"
required_component="CORVETTE_DARK_MATTER_REACTOR"
# For special buildable
is_special_buildable = yes
allow_buildable_trigger = is_fallen_empire_machine
}
# Colony Ship
ship_design = {
name = "NAME_Gray_Tau"
ship_size = colonizer
section = {
template = "DEFAULT_COLONIZATION_SECTION"
slot = "mid"
component = {
slot = "SMALL_UTILITY_1"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "SMALL_UTILITY_2"
template = "LARGE_GRAY_MIX_ARMOR"
}
component = {
slot = "SMALL_UTILITY_3"
template = "LARGE_GRAY_MIX_ARMOR"
}
}
required_component="JUMP_DRIVE_1"
required_component="SHIP_THRUSTER_5"
required_component="SENSOR_4"
required_component="CORVETTE_DARK_MATTER_REACTOR"
# For special buildable
is_special_buildable = yes
allow_buildable_trigger = is_fallen_empire_machine
}
# Awakened Fallen Empire Starbase
ship_design = {
name = "NAME_Gray_FE_Starbase"
ship_size = starbase_fe_outpost
section = {
template = "station_generic_01_key"
slot = "mid"
component = {
slot = "SMALL_GUN_01"
template = "SMALL_GRAY_WEAPON_LANCE"
}
component = {
slot = "SMALL_GUN_02"
template = "SMALL_GRAY_WEAPON_LANCE"
}
component = {
slot = "SMALL_GUN_03"
template = "SMALL_GRAY_WEAPON_LANCE"
}
component = {
slot = "MEDIUM_GUN_01"
template = "MEDIUM_GRAY_WEAPON_LANCE"
}
component = {
slot = "MEDIUM_GUN_02"
template = "MEDIUM_GRAY_WEAPON_LANCE"
}
component = {
slot = "LARGE_GUN_01"
template = "LARGE_GRAY_WEAPON_LANCE"
}
}
required_component="SENSOR_2"
}

View File

@@ -8,6 +8,7 @@ origin_rg_gray = {
non_colonizable_planet_class_neighbor = yes non_colonizable_planet_class_neighbor = yes
description = "origin_tooltip_rg_gray_effects" description = "origin_tooltip_rg_gray_effects"
advanced_start = yes advanced_start = yes
max_once_global = yes
random_weight = { random_weight = {
base = 0 base = 0
} }
@@ -15,3 +16,35 @@ origin_rg_gray = {
host_has_dlc = "Distant Stars Story Pack" 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 = { events = {
# rg_cluster.8 # rg_cluster.8
rg_event.1 rg_event.1
rg_origin.1
rg_event.19 rg_event.19
} }
} }

View File

@@ -0,0 +1,597 @@
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
rg_create_fallen_empire_large_ship = yes
}
while = {
count = 8
rg_create_fallen_empire_small_ship = yes
}
random_list = {
25 = {
set_location = {
target = prev
distance = 30
angle = random
}
}
25 = {
set_location = {
target = prev
distance = 45
angle = random
}
}
25 = {
set_location = {
target = prev
distance = 60
angle = random
}
}
25 = {
set_location = {
target = prev
distance = 75
angle = random
}
}
}
}
}
}
rg_create_fallen_empire_fleet = {
owner = {
create_leader = {
class = commander
species = owner_main_species
name = random
skill = 10
leader_age_min = 25
leader_age_max = 45
}
}
create_fleet = {
effect = {
set_owner = prev.owner
while = {
count = 8
rg_create_fallen_empire_large_ship = yes
}
while = {
count = 18
rg_create_fallen_empire_small_ship = yes
}
random_list = {
25 = {
set_location = {
target = prev
distance = 30
angle = random
}
}
25 = {
set_location = {
target = prev
distance = 45
angle = random
}
}
25 = {
set_location = {
target = prev
distance = 60
angle = random
}
}
25 = {
set_location = {
target = prev
distance = 75
angle = random
}
}
}
}
}
last_created_fleet = { assign_leader = last_created_leader }
}
rg_create_fallen_empire_starting_navy = {
rg_create_fallen_empire_fleet = yes
rg_create_fallen_empire_fleet = yes
random = {
chance = 33
rg_create_fallen_empire_fleet = yes
}
if = {
limit = {
host_has_dlc = "Apocalypse"
}
random = {
chance = 10
create_fleet = {
effect = {
set_owner = prev.owner
rg_create_fallen_empire_colossus = yes
set_location = {
target = prev
distance = 30
angle = random
}
}
}
}
}
random = {
chance = 25
create_fleet = {
effect = {
set_owner = prev.owner
rg_create_fallen_empire_titan = yes
set_location = {
target = prev
distance = 20
angle = random
}
}
}
}
create_fleet = {
effect = {
set_owner = prev.owner
rg_create_fallen_empire_construction_ship = yes
set_location = {
target = prev
distance = 60
angle = random
}
}
}
create_fleet = {
effect = {
set_owner = prev.owner
rg_create_fallen_empire_construction_ship = yes
set_location = {
target = prev
distance = 80
angle = random
}
}
}
create_fleet = {
effect = {
set_owner = prev.owner
rg_create_fallen_empire_construction_ship = yes
set_location = {
target = prev
distance = 100
angle = random
}
}
}
}
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 = { rg_create_gray_army = {
if = { if = {
limit = { limit = {
has_leader_flag = gray_army_active has_country_flag = gray_army_active
} }
} }
else = { else = {

View File

@@ -1,42 +1,8 @@
# 避免代码复用原则:
# 如果你需要在不同的地方重复调用同一套代码,你应当把他们封装在这样的函数里。
# 避免需要修改代码时需要重复修改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 = { rg_gray_govener_init = {
event_target:rg_gray_country = { event_target:rg_gray_country = {
create_leader = { create_leader = {
class = official class = official
species = root species = event_target:gray_species
name = "NAME_Gray" name = "NAME_Gray"
gender = female gender = female
immortal = yes immortal = yes
@@ -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 set_leader_flag = gray_leader
add_trait_no_notify = leader_trait_governor_gray add_trait_no_notify = leader_trait_governor_gray
add_trait_no_notify = RG_leader_trait_ruler_gray add_trait_no_notify = RG_leader_trait_ruler_gray
@@ -155,7 +121,7 @@ rg_gray_commander_init = {
event_target:rg_gray_country = { event_target:rg_gray_country = {
create_leader = { create_leader = {
class = commander class = commander
species = root species = event_target:gray_species
name = "NAME_Gray" name = "NAME_Gray"
immortal = yes immortal = yes
event_leader = yes event_leader = yes
@@ -498,7 +464,7 @@ rg_gray_scientist_init = {
event_target:rg_gray_country = { event_target:rg_gray_country = {
create_leader = { create_leader = {
class = scientist class = scientist
species = root species = event_target:gray_species
name = "NAME_Gray" name = "NAME_Gray"
immortal = yes immortal = yes
event_leader = yes event_leader = yes

View File

@@ -116,7 +116,7 @@ RG_graygoo_capitalship = {
icon = ship_size_military_16 icon = ship_size_military_16
base_buildtime = @titan_build_time base_buildtime = @titan_build_time
can_have_federation_design = yes can_have_federation_design = yes
enable_default_design = no #if yes, countries will have an auto-generated design at start enable_default_design = yes #if yes, countries will have an auto-generated design at start
enable_3dview_in_ship_browser = yes #if yes, ship design will have a 3d view in the ship browser enable_3dview_in_ship_browser = yes #if yes, ship design will have a 3d view in the ship browser
is_designable = yes is_designable = yes
default_behavior = colossus default_behavior = colossus
@@ -151,6 +151,114 @@ RG_graygoo_capitalship = {
} }
} }
RG_gray_juggernaut = {
max_speed = 100
entity = "grey_tempesttw_juggernaut_entity"
acceleration = 0.2
rotation_speed = 0.15
collision_radius = @juggernaut_collision_radius
modifier = {
ship_evasion_add = 100
ship_armor_add = 108000
ship_shield_add = 108000
ship_weapon_damage = 2
starbase_shipyard_capacity_add = 12
ship_cloaking_detection_add = 5
}
ship_modifier = {
ship_disengage_chance_reduction = 8
ships_upkeep_mult = -1
ship_shield_hardening_add = 2
ship_armor_hardening_add = 2
}
max_hitpoints = 108000
base_buildtime = @juggernaut_build_time
combat_size_multiplier = 5
size_multiplier = 32
fleet_slot_size = 32
section_slots = {
"core" = {
locator = "part1"
}
"behind" = {
locator = "part2"
}
}
num_target_locators = 16
can_have_federation_design = no
enable_default_design = yes #if yes, countries will have an auto-generated design at start
enable_3dview_in_ship_browser = yes #if yes, ship design will have a 3d view in the ship browser
icon_frame = 7 #probably unused, but mobile starbases are special
icon = ship_size_military_64
ship_class_icon_frame = 35
default_behavior = colossus
is_designable = yes
prerequisites = {
"tech_gray_juggernaut_8"
}
class = shipclass_starbase
construction_type = starbase_shipyard
potential_construction = {
OR = {
is_scope_type = starbase
AND = {
is_scope_type = megastructure
OR = {
is_megastructure_type = mega_shipyard_3
is_megastructure_type = mega_shipyard_restored
}
}
}
}
possible_construction = {
custom_tooltip = {
fail_text = starbase_citadel_trigger
OR = {
AND = {
is_scope_type = megastructure
OR = {
is_megastructure_type = mega_shipyard_3
is_megastructure_type = mega_shipyard_restored
}
}
AND = {
is_scope_type = starbase
has_starbase_size >= starbase_citadel
}
}
}
custom_tooltip = {
fail_text = starbase_colossal_yards_trigger
OR = {
AND = {
is_scope_type = megastructure
OR = {
is_megastructure_type = mega_shipyard_3
is_megastructure_type = mega_shipyard_restored
}
}
AND = {
is_scope_type = starbase
has_starbase_building = colossus_yards
}
}
}
}
required_component_set = "power_core"
required_component_set = "sensor_components"
required_component_set = "combat_computers"
required_component_set = "ftl_components"
required_component_set = "thruster_components"
required_component_set = "science_cloaking_components"
required_component_set = "ship_aura_components"
required_component_set = "ship_aura_components"
required_component_set = "ship_aura_components"
required_component_set = "ship_aura_components"
empire_limit = 1
}
RG_armed_constructor_ship = { RG_armed_constructor_ship = {
max_speed = 150 max_speed = 150
acceleration = 0.1 acceleration = 0.1
@@ -522,6 +630,324 @@ RG_graygoo_Buff = {
} }
} }
# Armed Transport
RG_armed_transport_ship = {
max_speed = 150
acceleration = 0.1
rotation_speed = 0.2
max_hitpoints = 20000
entity = "grey_tempesttw_colonizer_entity"
modifier = {
ship_evasion_add = 10
ship_armor_add = 12800
ship_shield_add = 12800
}
ship_modifier = {
ship_hyperlane_range_add = 3
ship_piracy_suppression_add = 100
ships_upkeep_mult = -1
ship_shield_hardening_add = 1
ship_armor_hardening_add = 1
}
size_multiplier = 1
fleet_slot_size = 1
section_slots = {
"mid" = {
locator = "part1"
}
}
num_target_locators = 2
is_space_station = no
icon = ship_size_transport
is_designable = no
class = shipclass_transport
required_component_set = "power_core"
required_component_set = "ftl_components"
required_component_set = "sensor_components"
required_component_set = "thruster_components"
required_component_set = "combat_computers"
required_component_set = "science_cloaking_components"
components_add_to_cost = no
resources = {
category = ships
cost = {
food = @salvagecostmedium
}
}
}
# Armed Colonizer
RG_armed_colony_ship = {
max_speed = 150
acceleration = 0.1
rotation_speed = 0.2
max_hitpoints = 20000
entity = "grey_tempesttw_colonizer_entity"
modifier = {
ship_evasion_add = 10
ship_armor_add = 12800
ship_shield_add = 12800
}
ship_modifier = {
ship_hyperlane_range_add = 3
ship_piracy_suppression_add = 100
ships_upkeep_mult = -1
ship_shield_hardening_add = 1
ship_armor_hardening_add = 1
}
size_multiplier = 1
fleet_slot_size = 1
section_slots = {
"mid" = {
locator = "part1"
}
}
num_target_locators = 2
is_space_station = no
icon = ship_size_colonizer
is_civilian = yes
is_designable = no
class = shipclass_colonizer
required_component_set = "ftl_components"
required_component_set = "sensor_components"
required_component_set = "thruster_components"
components_add_to_cost = no
resources = {
category = ships
cost = {
food = @salvagecostmedium
}
}
}
RG_orbital_ring_tier_1 = {
max_speed = 0
acceleration = 0
rotation_speed = 0
modifier = {
ship_evasion_mult = -1
ship_armor_add = 125000
ship_shield_add = 125000
starbase_defense_platform_capacity_add = 12
starbase_module_capacity_add = 12
starbase_building_capacity_add = 12
starbase_shipyard_capacity_add = 12
ship_cloaking_detection_add = 5
}
ship_modifier = {
ship_fire_rate_mult = 1
ship_weapon_range_mult = 1
}
max_hitpoints = 125000
base_buildtime = 720
resources = {
category = starbase_stations
cost = {
alloys = 1000
influence = 50
}
upkeep = {
energy = 2
}
}
combat_size_multiplier = 5
size_multiplier = 4
fleet_slot_size = 2
section_slots = {
"core" = {
locator = "part1"
}
"1" = {
locator = "part2"
}
"2" = {
locator = "part3"
}
}
potential_construction = {
# This is build through a megastructure
always = no
}
possible_construction = {
always = no
}
is_designable = yes
num_target_locators = 0
is_space_station = no
can_have_federation_design = no
is_civilian = no
components_add_to_cost = no
can_disable = yes
flip_control_on_disable = yes
enable_default_design = yes #if yes, countries will have an auto-generated design at start
prerequisites = {
"tech_object_gray_6"
}
class = shipclass_starbase
required_component_set = "power_core"
required_component_set = "sensor_components"
required_component_set = "combat_computers"
required_component_set = "science_cloaking_components"
required_component_set = "ship_aura_components"
build_block_radius = @build_block_orbital_ring
formation_priority = @orbital_ring_formation_priority
icon_frame = 7
scales_with_planet = yes
graphical_culture = yes
}
#reloadable with 'reload stats'
# This file is where you start when you want to configure something new, then go to sections
####################
# NOTE FOR MODDERS #
####################
# modifier = { } only takes the following modifiers
# hull, shield & armor add/mult and regen add perc/static
# evasion add/mult
# speed/base speed mult
# weapon damage mult
# upkeep mult
# for other modifiers, use ship_modifier = { }
# use_shipnames_from = other_size # allows a ship size to use names from another size
# icon = ship_size_military_1
#ship_size_military_1 is default. The following sprite keys are generated from it:
#GFX_text_<key>
#GFX_<key>
#GFX_<key>_top
#GFX_<key>_top_damaged
# icon_frame: now only used for starbases. Value of 2 or more means it shows up on the galaxy map, 1-5 denote which icon it uses on starbase sprite sheets (e.g. gfx/interface/icons/starbase_ship_sizes.dds)
####################
# Gray Goo Mothership
RG_graygoo_mothership = {
graphical_culture = no
entity = "gatebuilder_01_mothership_entity"
max_speed = 100
acceleration = 0.2
rotation_speed = 0.15
collision_radius = 5
modifier = {
ship_evasion_add = 50
ship_armor_add = 25600
ship_shield_add = 25600
}
ship_modifier = {
ship_disengage_chance_reduction = 8
ships_upkeep_mult = -1
ship_shield_hardening_add = 1
ship_armor_hardening_add = 1
}
max_hitpoints = 25600
size_multiplier = 16
fleet_slot_size = 16
section_slots = {
"mid" = {
locator = "part1"
}
}
num_target_locators = 12
is_space_station = no
icon = ship_size_military_16
base_buildtime = @titan_build_time
can_have_federation_design = yes
enable_default_design = yes #if yes, countries will have an auto-generated design at start
enable_3dview_in_ship_browser = yes #if yes, ship design will have a 3d view in the ship browser
is_designable = yes
default_behavior = colossus
prerequisites = {
"tech_object_gray_5"
}
combat_disengage_chance = 1.25
class = shipclass_military
construction_type = starbase_shipyard
required_component_set = "power_core"
required_component_set = "ftl_components"
required_component_set = "combat_computers"
required_component_set = "thruster_components"
required_component_set = "sensor_components"
required_component_set = "science_cloaking_components"
required_component_set = "ship_aura_components"
resources = {
category = ships
upkeep = {
energy = @battleship_upkeep_energy
alloys = @battleship_upkeep_alloys
}
}
min_upgrade_cost = {
alloys = 8
}
}
RG_graygoo_capitalship = {
graphical_culture = no
entity = "grey_tempesttw_juggernaut_entity"
max_speed = 100
acceleration = 0.2
rotation_speed = 0.15
collision_radius = 5
modifier = {
ship_evasion_add = 100
ship_armor_add = 128000
ship_shield_add = 128000
ship_weapon_damage = 2
ship_cloaking_detection_add = 5
}
ship_modifier = {
ship_disengage_chance_reduction = 8
ships_upkeep_mult = -1
ship_shield_hardening_add = 2
ship_armor_hardening_add = 2
}
max_hitpoints = 128000
size_multiplier = 32
fleet_slot_size = 32
section_slots = {
"core" = {
locator = "part1"
}
"behind" = {
locator = "part2"
}
}
num_target_locators = 16
is_space_station = no
icon = ship_size_military_16
base_buildtime = @titan_build_time
can_have_federation_design = yes
enable_default_design = yes #if yes, countries will have an auto-generated design at start
enable_3dview_in_ship_browser = yes #if yes, ship design will have a 3d view in the ship browser
is_designable = yes
default_behavior = colossus
combat_disengage_chance = 1.25
class = shipclass_military
construction_type = starbase_shipyard
possible_construction = {
always = no
}
combat_size_multiplier = 4
prerequisites = {
"tech_gray_juggernaut_8"
}
required_component_set = "power_core"
required_component_set = "ftl_components"
required_component_set = "combat_computers"
required_component_set = "thruster_components"
required_component_set = "sensor_components"
required_component_set = "science_cloaking_components"
required_component_set = "ship_aura_components"
required_component_set = "ship_aura_components"
required_component_set = "ship_aura_components"
resources = {
category = ships
upkeep = {
energy = @battleship_upkeep_energy
alloys = @battleship_upkeep_alloys
}
}
min_upgrade_cost = {
alloys = 8
}
}
RG_gray_juggernaut = { RG_gray_juggernaut = {
max_speed = 100 max_speed = 100
entity = "grey_tempesttw_juggernaut_entity" entity = "grey_tempesttw_juggernaut_entity"
@@ -557,7 +983,7 @@ RG_gray_juggernaut = {
} }
num_target_locators = 16 num_target_locators = 16
can_have_federation_design = no can_have_federation_design = no
enable_default_design = no #if yes, countries will have an auto-generated design at start enable_default_design = yes #if yes, countries will have an auto-generated design at start
enable_3dview_in_ship_browser = yes #if yes, ship design will have a 3d view in the ship browser enable_3dview_in_ship_browser = yes #if yes, ship design will have a 3d view in the ship browser
icon_frame = 7 #probably unused, but mobile starbases are special icon_frame = 7 #probably unused, but mobile starbases are special
icon = ship_size_military_64 icon = ship_size_military_64
@@ -569,8 +995,52 @@ RG_gray_juggernaut = {
} }
class = shipclass_starbase class = shipclass_starbase
construction_type = starbase_shipyard construction_type = starbase_shipyard
potential_construction = {
OR = {
is_scope_type = starbase
AND = {
is_scope_type = megastructure
OR = {
is_megastructure_type = mega_shipyard_3
is_megastructure_type = mega_shipyard_restored
}
}
}
}
possible_construction = { possible_construction = {
always = no custom_tooltip = {
fail_text = starbase_citadel_trigger
OR = {
AND = {
is_scope_type = megastructure
OR = {
is_megastructure_type = mega_shipyard_3
is_megastructure_type = mega_shipyard_restored
}
}
AND = {
is_scope_type = starbase
has_starbase_size >= starbase_citadel
}
}
}
custom_tooltip = {
fail_text = starbase_colossal_yards_trigger
OR = {
AND = {
is_scope_type = megastructure
OR = {
is_megastructure_type = mega_shipyard_3
is_megastructure_type = mega_shipyard_restored
}
}
AND = {
is_scope_type = starbase
has_starbase_building = colossus_yards
}
}
}
} }
required_component_set = "power_core" required_component_set = "power_core"
required_component_set = "sensor_components" required_component_set = "sensor_components"
@@ -582,6 +1052,379 @@ RG_gray_juggernaut = {
required_component_set = "ship_aura_components" required_component_set = "ship_aura_components"
required_component_set = "ship_aura_components" required_component_set = "ship_aura_components"
required_component_set = "ship_aura_components" required_component_set = "ship_aura_components"
empire_limit = 1
}
RG_armed_constructor_ship = {
max_speed = 150
acceleration = 0.1
rotation_speed = 0.2
max_hitpoints = 20000
entity = "grey_tempesttw_constructor_entity"
modifier = {
ship_evasion_add = 10
ship_armor_add = 12800
ship_shield_add = 12800
}
ship_modifier = {
ship_hyperlane_range_add = 3
ship_piracy_suppression_add = 100
ships_upkeep_mult = -1
ship_shield_hardening_add = 1
ship_armor_hardening_add = 1
}
size_multiplier = 1
fleet_slot_size = 1
section_slots = {
"mid" = {
locator = "part1"
}
}
num_target_locators = 2
is_space_station = no
combat_disengage_chance = 2
enable_default_design = no #if yes, countries will have an auto-generated design at start
components_add_to_cost = no
is_designable = no
is_civilian = yes
class = shipclass_constructor
icon = ship_size_constructor
valid_target_aggressive_stance = no
required_component_set = "power_core"
required_component_set = "ftl_components"
required_component_set = "thruster_components"
required_component_set = "sensor_components"
required_component_set = "combat_computers"
required_component_set = "science_cloaking_components"
}
RG_armed_science_ship = {
max_speed = 200
acceleration = 0.35
rotation_speed = 0.2
max_hitpoints = 12000
entity = "grey_tempesttw_science_entity"
modifier = {
ship_evasion_add = 100
ship_armor_add = 12000
ship_shield_add = 12000
}
ship_modifier = {
ship_hyperlane_range_add = 3
ship_piracy_suppression_add = 100
ships_upkeep_mult = -1
ship_shield_hardening_add = 1
ship_armor_hardening_add = 1
}
size_multiplier = 1
fleet_slot_size = 1
section_slots = {
"mid" = {
locator = "part1"
}
}
num_target_locators = 2
is_space_station = no
combat_size_multiplier = 1
combat_disengage_chance = 2
enable_default_design = no #if yes, countries will have an auto-generated design at start
components_add_to_cost = no
is_designable = no
is_civilian = yes
class = shipclass_science_ship
valid_target_aggressive_stance = no
required_component_set = "power_core"
required_component_set = "ftl_components"
required_component_set = "thruster_components"
required_component_set = "sensor_components"
required_component_set = "combat_computers"
required_component_set = "science_cloaking_components"
required_component_set = "ship_aura_components"
}
# Gray Goo Interdictor
RG_graygoo_interdictor = {
graphical_culture = no
entity = "gatebuilder_01_cruiser_entity"
max_speed = 150
acceleration = 0.25
rotation_speed = 0.175
collision_radius = 4
modifier = {
ship_evasion_add = 20
ships_upkeep_mult = -1
ship_piracy_suppression_add = 4
ship_armor_add = 2800
ship_shield_add = 2800
}
max_hitpoints = 5000
size_multiplier = 8
fleet_slot_size = 4
section_slots = {
"mid" = {
locator = "part1"
}
}
num_target_locators = 4
is_space_station = no
icon = ship_size_military_4
base_buildtime = @battleship_build_time
can_have_federation_design = yes
enable_default_design = yes #if yes, countries will have an auto-generated design at start
enable_3dview_in_ship_browser = yes #if yes, ship design will have a 3d view in the ship browser
is_designable = yes
default_behavior = line
prerequisites = {
"tech_gray_interdictor_4"
}
combat_disengage_chance = 1.25
class = shipclass_military
construction_type = starbase_shipyard
required_component_set = "power_core"
required_component_set = "ftl_components"
required_component_set = "combat_computers"
required_component_set = "thruster_components"
required_component_set = "sensor_components"
resources = {
category = ships
upkeep = {
energy = @battleship_upkeep_energy
alloys = @battleship_upkeep_alloys
}
}
min_upgrade_cost = {
alloys = 8
}
}
# Gray Goo destroyer
RG_graygoo_destroyer = {
graphical_culture = no
entity = "grey_tempesttw_colonizer_entity"
max_speed = 220
acceleration = 0.25
rotation_speed = 0.175
collision_radius = 4
modifier = {
ship_evasion_add = 40
ships_upkeep_mult = -1
ship_piracy_suppression_add = 4
ship_armor_add = 1100
ship_shield_add = 1100
}
max_hitpoints = 2000
size_multiplier = 2
fleet_slot_size = 2
section_slots = {
"mid" = {
locator = "part1"
}
}
num_target_locators = 2
is_space_station = no
icon = ship_size_military_2
base_buildtime = @battleship_build_time
can_have_federation_design = yes
enable_default_design = yes #if yes, countries will have an auto-generated design at start
enable_3dview_in_ship_browser = yes #if yes, ship design will have a 3d view in the ship browser
is_designable = yes
default_behavior = line
prerequisites = {
"tech_gray_interdictor_4"
}
ship_roles = { screen gunship artillery brawler }
triggered_ship_roles = {
{
name = artillery_stealth
trigger = { has_technology = tech_cloaking_2 }
}
}
combat_disengage_chance = 1.25
class = shipclass_military
construction_type = starbase_shipyard
required_component_set = "power_core"
required_component_set = "ftl_components"
required_component_set = "combat_computers"
required_component_set = "thruster_components"
required_component_set = "sensor_components"
resources = {
category = ships
upkeep = {
energy = @destroyer_upkeep_energy
alloys = @destroyer_upkeep_alloys
}
}
min_upgrade_cost = {
alloys = 8
}
}
# Gray Goo Icebreaker
RG_graygoo_icebreaker_interdictor = {
graphical_culture = no
entity = "gatebuilder_01_cruiser_entity"
max_speed = 200
acceleration = 0.25
rotation_speed = 0.175
collision_radius = 4
modifier = {
ship_evasion_add = 20
ships_upkeep_mult = -1
ship_piracy_suppression_add = 4
ship_armor_add = 4800
ship_shield_add = 4800
}
max_hitpoints = 10000
size_multiplier = 8
fleet_slot_size = 4
section_slots = {
"mid" = {
locator = "part1"
}
}
num_target_locators = 4
is_space_station = no
icon = ship_size_military_4
base_buildtime = @battleship_build_time
can_have_federation_design = yes
enable_default_design = yes #if yes, countries will have an auto-generated design at start
enable_3dview_in_ship_browser = yes #if yes, ship design will have a 3d view in the ship browser
is_designable = yes
default_behavior = colossus
prerequisites = {
"tech_gray_buffnut_6"
}
combat_disengage_chance = 1.25
class = shipclass_military
construction_type = starbase_shipyard
required_component_set = "power_core"
required_component_set = "ftl_components"
required_component_set = "combat_computers"
required_component_set = "thruster_components"
required_component_set = "sensor_components"
required_component_set = "science_cloaking_components"
resources = {
category = ships
upkeep = {
energy = @battleship_upkeep_energy
alloys = @battleship_upkeep_alloys
}
}
min_upgrade_cost = {
alloys = 8
}
}
# Gray Goo Arsenal
RG_graygoo_Arsenal = {
graphical_culture = no
entity = "gatebuilder_01_cruiser_entity"
max_speed = 150
acceleration = 0.25
rotation_speed = 0.175
collision_radius = 4
modifier = {
ship_evasion_add = 20
ships_upkeep_mult = -1
ship_piracy_suppression_add = 4
ship_armor_add = 2800
ship_shield_add = 2800
}
max_hitpoints = 5000
size_multiplier = 8
fleet_slot_size = 4
section_slots = {
"mid" = {
locator = "part1"
}
}
num_target_locators = 64
is_space_station = no
icon = ship_size_military_4
base_buildtime = @battleship_build_time
can_have_federation_design = yes
enable_default_design = yes #if yes, countries will have an auto-generated design at start
enable_3dview_in_ship_browser = yes #if yes, ship design will have a 3d view in the ship browser
is_designable = yes
default_behavior = line
prerequisites = {
"tech_gray_matter_spray_5"
}
combat_disengage_chance = 1.25
class = shipclass_military
construction_type = starbase_shipyard
required_component_set = "power_core"
required_component_set = "ftl_components"
required_component_set = "combat_computers"
required_component_set = "thruster_components"
required_component_set = "sensor_components"
resources = {
category = ships
upkeep = {
energy = @battleship_upkeep_energy
alloys = @battleship_upkeep_alloys
}
}
min_upgrade_cost = {
alloys = 8
}
}
RG_graygoo_Buff = {
graphical_culture = no
entity = "gatebuilder_01_cruiser_entity"
max_speed = 100
acceleration = 0.25
rotation_speed = 0.175
collision_radius = 4
modifier = {
ship_evasion_add = 20
ships_upkeep_mult = -1
ship_piracy_suppression_add = 4
ship_armor_add = 12800
ship_shield_add = 12800
}
max_hitpoints = 20000
size_multiplier = 8
fleet_slot_size = 4
section_slots = {
"mid" = {
locator = "part1"
}
}
num_target_locators = 4
is_space_station = no
icon = ship_size_military_4
base_buildtime = @battleship_build_time
can_have_federation_design = yes
enable_default_design = yes #if yes, countries will have an auto-generated design at start
enable_3dview_in_ship_browser = yes #if yes, ship design will have a 3d view in the ship browser
is_designable = yes
default_behavior = colossus
prerequisites = {
"tech_gray_buffnut_6"
}
combat_disengage_chance = 1.25
class = shipclass_military
construction_type = starbase_shipyard
required_component_set = "power_core"
required_component_set = "ftl_components"
required_component_set = "combat_computers"
required_component_set = "thruster_components"
required_component_set = "sensor_components"
required_component_set = "ship_aura_components"
required_component_set = "science_cloaking_components"
resources = {
category = ships
upkeep = {
energy = @battleship_upkeep_energy
alloys = @battleship_upkeep_alloys
}
}
min_upgrade_cost = {
alloys = 8
}
} }
# Armed Transport # Armed Transport

View File

@@ -0,0 +1,907 @@
# Home System - Machine
rg_fallen_machine = {
usage = fallen_empire_init
name = 芬里尔III
class = "rl_standard_stars"
flags = {
lcluster
lcluster4
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
}
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
}
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 = { flags = {
start_rg_cluster_gatebuilders start_rg_cluster_gatebuilders
ignore_startup_effect ignore_startup_effect
rw_spec_empire
} }
init_effect = { init_effect = {
prevent_anomaly = yes prevent_anomaly = yes

View File

@@ -22,6 +22,7 @@ special_project = {
has_global_flag = l_cluster_origin # l-cluster plus has_global_flag = l_cluster_origin # l-cluster plus
has_global_flag = rg_origin_l_cluster # 遥远约定 has_global_flag = rg_origin_l_cluster # 遥远约定
has_global_flag = gray_origin_activate # 远星之歌 has_global_flag = gray_origin_activate # 远星之歌
has_global_flag = rg_origin_scion_l_cluster # 未来追迹
} }
} }
country_event = { country_event = {

View File

@@ -0,0 +1,21 @@
# species_trait_points: base number of species trait points available for this species class
# species_max_traits: maximum number of traits that species of this class can have (doesn't count those with cost == 0)
#EXAMPLE OF MODDED SPECIES ARCHETYPE
#Will be able to use traits valid for BIOLOGICAL, ROBOT and BIOLOGICAL2
#Has the exact same trait points as BIOLOGICAL
#BIOLOGICAL2 = {
# inherit_trait_points_from = BIOLOGICAL
# inherit_traits_from = { BIOLOGICAL ROBOT }
# robotic: is this archetype's species robotic? Governs various things:
# - does the species count as robotic (for is_robotic = yes, and various hardcoded checks)
# - notably can the species grow, or is just assembled?
# uses_modifiers: should modifiers be generated for this archetype at all?
#}
RG_MACHINE = {
species_trait_points = 10
species_max_traits = 6
robotic = yes
}

View File

@@ -0,0 +1,57 @@
# The Portraits defined here are generally not available to the character creator, but will instead appear in AI empires across the galaxy.
# 'graphical_culture' is connected to the looks used for ships and cities; see "common/graphical_culture/".
# These may be overwitten in an "extendable" manner, meaning (for example) you can create a second "HUM" with extra portraits in it.
# playable = yes/no/trigger (default: yes) if this species class can is playable
# randomized = yes/no/trigger (default: yes) if this species class is randomized
# custom_portraits = {}
# randomized = yes/no/trigger (default: yes) to specify if portraits are randomized
# playable = yes/no/trigger (default: yes) to specify if portraits are playable
# portraits = list portrait keys
# species_trait_points base number of species trait points available for this species class
# species_max_traits maximum number of traits that species of this class can have (doesn't count those with cost == 0)
# possible ethics/government requirements; see common/governments/readme_requirements.txt
# gender = yes/no (default: yes) whether the species has a gender
# portrait_modding yes/no (default: yes) whether the portrait can be modified with e.g. genemodding or robomodding
GRAY_SPECIES = {
archetype = OTHER
playable = { always = no }
randomized = no
gender = female
portraits = {
"Gray"
}
move_pop_sound_effect = "moving_pop_confirmation"
}
RG_MACHINE = {
archetype = MACHINE
playable = no
randomized = no
# possible = { always = yes }
# possible_secondary = { always = no text = SECONDARY_SPECIES_CLASS_INVALID }
gender = no
use_climate_preference = no
portrait_modding = yes
leader_age_min = 2
leader_age_max = 10
custom_portraits = { # use custom_portraits instead of portraits so we can put them after the custom_portraits above
portraits = {
"rg_machine_maid"
}
}
graphical_culture = mammalian_01
move_pop_sound_effect = "robot_pops_move"
resources = {}
}

View File

@@ -47,3 +47,77 @@ gray_affection_warship_lv5 = {
ship_ftl_jumpdrive_range_mult = 0.5 ship_ftl_jumpdrive_range_mult = 0.5
force_disparity_fire_rate_mult = 3 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

@@ -385,6 +385,23 @@ tech_object_gray_6 = {
} }
} }
tech_gray_machine = {
area = society
cost = 2000
tier = 5
is_rare = yes
category = {
biology
}
weight = 0
## unlock
ai_weight = {
factor = 0
}
}
tech_gray_noway = { tech_gray_noway = {
cost = 2000 cost = 2000
area = physics area = physics

View File

@@ -33,65 +33,78 @@
# randomized = no # randomized = no
# } # }
# RG_leader_trait_offical_gray = { RG_leader_trait_offical_gray = {
# #唯一特质 #唯一特质
# cost = 0 cost = 0
# inline_script = { inline_script = {
# script = trait/icon_psionic script = trait/icon_psionic
# CLASS = leader CLASS = leader
# ICON = "GFX_leader_trait_psionic_chosen_one" ICON = "GFX_leader_trait_psionic_chosen_one"
# RARITY = paragon RARITY = paragon
# COUNCIL = no COUNCIL = no
# TIER = none TIER = none
# } }
# immortal_leaders = yes immortal_leaders = yes
# triggered_self_modifier = { triggered_self_modifier = {
# potential = { potential = {
# always = yes always = yes
# } }
# leader_skill_levels = 1 leader_skill_levels = 1
# mult = trigger:has_skill mult = trigger:has_skill
# } }
# self_modifier = { self_modifier = {
# species_leader_exp_gain = 1 species_leader_exp_gain = 1
# } }
# councilor_modifier = { councilor_modifier = {
# all_technology_research_speed = 0.5 all_technology_research_speed = 0.5
# } }
# planet_modifier = { planet_modifier = {
# planet_buildings_cost_mult = -0.4 planet_buildings_cost_mult = -0.4
# planet_building_build_speed_mult = 0.6 planet_building_build_speed_mult = 0.6
# planet_jobs_alloys_produces_mult = 0.25 planet_jobs_alloys_produces_mult = 0.25
# planet_jobs_engineering_research_produces_mult = 0.25 planet_jobs_engineering_research_produces_mult = 0.25
# deposit_blockers_cost_mult = -0.4 deposit_blockers_cost_mult = -0.4
# planet_clear_blocker_time_mult = -0.6 planet_clear_blocker_time_mult = -0.6
# } }
# sector_modifier = { sector_modifier = {
# planet_buildings_cost_mult = -0.2 planet_buildings_cost_mult = -0.2
# planet_building_build_speed_mult = 0.2 planet_building_build_speed_mult = 0.2
# planet_jobs_alloys_produces_mult = 0.1 planet_jobs_alloys_produces_mult = 0.1
# planet_jobs_engineering_research_produces_mult = 0.1 planet_jobs_engineering_research_produces_mult = 0.1
# deposit_blockers_cost_mult = -0.2 deposit_blockers_cost_mult = -0.2
# planet_clear_blocker_time_mult = -0.2 planet_clear_blocker_time_mult = -0.2
# starbase_shipyard_build_cost_mult = -0.25 starbase_shipyard_build_cost_mult = -0.25
# starbase_shipyard_build_speed_mult = -0.3 starbase_shipyard_build_speed_mult = -0.3
# } }
# fleet_modifier = { fleet_modifier = {
# ship_armor_mult = 3.5 ship_armor_mult = 3.5
# ship_hull_mult = 3.5 ship_hull_mult = 3.5
# ships_upkeep_mult = -0.4 ships_upkeep_mult = -0.4
# ship_hull_regen_add_perc = 5 ship_hull_regen_add_perc = 5
# ship_armor_regen_add_perc = 5 ship_armor_regen_add_perc = 5
# } }
# army_modifier = { army_modifier = {
# army_collateral_damage_mult = 0.15 army_collateral_damage_mult = 0.15
# army_disengage_chance_mult = 0.5 army_disengage_chance_mult = 0.5
# army_health = 0.35 army_health = 0.35
# } }
# leader_class = all modifier = {
# initial = no ship_archaeological_site_excavation_speed_mult = 0.5
# randomized = no 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 = { RG_leader_trait_governor_gray = {
#总督特质 #总督特质
@@ -143,7 +156,7 @@ RG_leader_trait_ruler_gray = {
cost = 0 cost = 0
inline_script = { inline_script = {
script = trait/icon_psionic script = trait/icon_psionic
CLASS = official CLASS = leader
ICON = "GFX_leader_trait_legendary_spiritualist_two" ICON = "GFX_leader_trait_legendary_spiritualist_two"
RARITY = paragon RARITY = paragon
COUNCIL = yes COUNCIL = yes
@@ -257,7 +270,7 @@ RG_leader_trait_ruler_gray = {
country_base_influence_produces_add = 1 country_base_influence_produces_add = 1
mult = trigger:has_skill mult = trigger:has_skill
} }
leader_class = { official } leader_class = { official rg_nanite_leader }
initial = no initial = no
randomized = no randomized = no
} }
@@ -383,7 +396,7 @@ RG_leader_trait_admiral_nanorebuild_gray = {
cost = 0 cost = 0
inline_script = { inline_script = {
script = trait/icon_psionic script = trait/icon_psionic
CLASS = commander CLASS = leader
ICON = "GFX_leader_trait_nanorebuild" ICON = "GFX_leader_trait_nanorebuild"
RARITY = paragon RARITY = paragon
COUNCIL = no COUNCIL = no
@@ -405,7 +418,7 @@ RG_leader_trait_admiral_nanorebuild_gray = {
army_health = 0.05 army_health = 0.05
mult = owner.rg_general_skill_combat_daypassed_variable mult = owner.rg_general_skill_combat_daypassed_variable
} }
leader_class = { commander } leader_class = { commander rg_nanite_leader }
initial = no initial = no
randomized = no randomized = no
} }

View File

@@ -0,0 +1,56 @@
rg_machine_maid_trait = {
cost = {
base = 0
}
# custom_tooltip = rg_machine_maid_trait_effect
initial = no
species_potential_add = { always = no }
species_possible_remove = { always = no }
species_possible_merge_add = { always = no }
species_possible_merge_remove = { always = no }
randomized = no
allowed_archetypes = { MACHINE }
sorting_priority = 20
potential_crossbreeding_chance = 1.0
opposites = {
}
assembling_modifier = {
planet_pop_assemblers_nanites_upkeep_add = 0.1
}
# 在灰风主人国家工作提供加成
triggered_pop_modifier = {
potential = {
exists = owner
owner = { is_same_value = event_target:gray_owner }
}
planet_jobs_produces_mult = 1.1
}
ai_weight = {
weight = 0
}
assembly_score = {
modifier = {
add = 3
from.owner = { is_same_value = event_target:gray_owner }
}
modifier = {
mult = 0
from.owner = {
NOT = {
is_same_value = event_target:gray_owner
}
}
}
}
slave_cost = {
energy = 1000
}
}

View File

@@ -8,5 +8,5 @@ tags={
} }
name="Real Gray" name="Real Gray"
picture="thumbnail.png" picture="thumbnail.png"
supported_version="3.10.*" supported_version="3.11.*"
remote_file_id="2136166095" remote_file_id="2136166095"

View File

@@ -212,11 +212,6 @@ country_event = {
room = "ethic_spaceship_room" room = "ethic_spaceship_room"
} }
is_triggered_only = yes is_triggered_only = yes
immediate = {
event_target:gray_governor = {
set_owner = event_target:rg_gray_country
}
}
option = { option = {
name = graygoo.405.a name = graygoo.405.a
hidden_effect = { hidden_effect = {

View File

@@ -123,6 +123,7 @@ country_event = {
save_event_target_as = rg_cluster_previous_home_planet save_event_target_as = rg_cluster_previous_home_planet
solar_system = { solar_system = {
save_event_target_as = rg_cluster_previous_home_system save_event_target_as = rg_cluster_previous_home_system
set_star_flag = lgate
spawn_megastructure = { spawn_megastructure = {
type = lgate_base type = lgate_base
orbit_angle = 225 orbit_angle = 225

View File

@@ -0,0 +1,38 @@
namespace = rg_maid
country_event = {
id = rg_maid.1
hide_window = yes
is_triggered_only = yes
immediate = {
if = {
limit = {
NOT = {
exist = event_target:rg_maid_species
}
}
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
}
can_be_modified = yes
namelist = root.species
effect = {
save_event_target_as = rg_maid_species
}
}
}
capital_scope = {
while = {
count = 5
create_pop = {
species = event_target:rg_maid_species
}
}
}
}
}

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

View File

@@ -2,23 +2,23 @@ namespace = wg_affection
# 3.9引用空事件崩溃问题占位 # 3.9引用空事件崩溃问题占位
# 3.10已弃用 # 3.10已弃用
country_event = { # country_event = {
id = wg_affection.30000 # id = wg_affection.30000
title = wg_affection.30000.name # title = wg_affection.30000.name
desc = wg_affection.30000.desc # desc = wg_affection.30000.desc
is_triggered_only = yes # is_triggered_only = yes
diplomatic = yes # diplomatic = yes
show_sound = event_wg_wedding # show_sound = event_wg_wedding
custom_gui = wg_gray_commu_window # custom_gui = wg_gray_commu_window
custom_gui_option = wg_gray_commu_option # custom_gui_option = wg_gray_commu_option
#
immediate = { # immediate = {
set_country_flag = married_gray # set_country_flag = married_gray
} # }
#
option = { # option = {
name = wg_affection.30000.a # name = wg_affection.30000.a
response_text = wg_affection.30000.response # response_text = wg_affection.30000.response
change_variable = { which = rankpts value = 2 } # change_variable = { which = rankpts value = 2 }
} # }
} # }

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 219 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 KiB

View File

@@ -2,10 +2,121 @@ portraits = {
Gray = { Gray = {
texturefile = "gfx/models/portraits/Gray.png" texturefile = "gfx/models/portraits/Gray.png"
} }
Gray01 = { rg_machine_maid01 = {
texturefile = "gfx/models/portraits/Gray01.png" texturefile = "gfx/models/portraits/mamaid01.png"
}
rg_machine_maid02 = {
texturefile = "gfx/models/portraits/mamaid02.png"
}
rg_machine_maid03 = {
texturefile = "gfx/models/portraits/mamaid03.png"
}
rg_machine_maid04 = {
texturefile = "gfx/models/portraits/mamaid04.png"
}
rg_machine_maid05 = {
texturefile = "gfx/models/portraits/mamaid05.png"
}
rg_machine_maid06 = {
texturefile = "gfx/models/portraits/mamaid06.png"
}
rg_machine_maid07 = {
texturefile = "gfx/models/portraits/mamaid07.png"
}
rg_machine_maid08 = {
texturefile = "gfx/models/portraits/mamaid08.png"
}
rg_machine_maid09 = {
texturefile = "gfx/models/portraits/mamaid09.png"
}
}
portrait_groups = {
rg_machine_maid = {
default = rg_machine_maid01
game_setup = { #will run with a limited country scope. species and government is set but the country does not actually exist
add = {
portraits = {
rg_machine_maid01
rg_machine_maid02
rg_machine_maid03
rg_machine_maid04
rg_machine_maid05
rg_machine_maid06
rg_machine_maid07
rg_machine_maid08
rg_machine_maid09
}
}
}
#species scope
species = { #generic portrait for a species
add = {
portraits = {
rg_machine_maid01
rg_machine_maid02
rg_machine_maid03
rg_machine_maid04
rg_machine_maid05
rg_machine_maid06
rg_machine_maid07
rg_machine_maid08
rg_machine_maid09
}
}
}
#pop scope
pop = { #for a specific pop
add = {
portraits = {
rg_machine_maid01
rg_machine_maid02
rg_machine_maid03
rg_machine_maid04
rg_machine_maid05
rg_machine_maid06
rg_machine_maid07
rg_machine_maid08
rg_machine_maid09
}
}
}
#leader scope
leader = { #scientists, generals, admirals, governor
add = {
portraits = {
rg_machine_maid01
rg_machine_maid02
rg_machine_maid03
rg_machine_maid04
rg_machine_maid05
rg_machine_maid06
rg_machine_maid07
rg_machine_maid08
rg_machine_maid09
}
}
}
#leader scope
ruler = {
add = {
portraits = {
rg_machine_maid01
rg_machine_maid02
rg_machine_maid03
rg_machine_maid04
rg_machine_maid05
rg_machine_maid06
rg_machine_maid07
rg_machine_maid08
rg_machine_maid09
}
}
} }
Gray02 = {
texturefile = "gfx/models/portraits/Gray02.png"
} }
} }

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

View File

@@ -1,6 +1,10 @@
l_simp_chinese: l_simp_chinese:
NAME_Gray:0 "灰风" NAME_Gray:0 "灰风"
GRAY_SPECIES:0 "$NAME_Gray$"
RG_MACHINE:0 "§Y纳米构造体§!"
gray_army_desc:0 "$NAME_Gray$和她的纳米作战母舰,可以轻易扫平一颗星球" gray_army_desc:0 "$NAME_Gray$和她的纳米作战母舰,可以轻易扫平一颗星球"
rg_machine_maid_trait:0 "§Y菠萝包网络§!"
rg_machine_maid_trait_desc:0 "这种机械体似乎是由纳米机械所构造的。她们只有有限的个体智能,但每个个体似乎都将心智互相链接组成了一个强大的意识网络。个体的数量越多她们的意识就越强大。"
RG_leader_trait_admiral_gray:0 "§Y纳米机器个体§!" RG_leader_trait_admiral_gray:0 "§Y纳米机器个体§!"
RG_leader_trait_admiral_gray_desc:0 "$NAME_Gray$本质上是由千千万万纳米机械所组成的个体,这让她可以自由变换形态重组或快速修复自身。可不要让她做奇怪的事情哦?" RG_leader_trait_admiral_gray_desc:0 "$NAME_Gray$本质上是由千千万万纳米机械所组成的个体,这让她可以自由变换形态重组或快速修复自身。可不要让她做奇怪的事情哦?"
RG_leader_trait_admiral_gray_1:0 "§Y纳米机器个体§!" RG_leader_trait_admiral_gray_1:0 "§Y纳米机器个体§!"
@@ -24,6 +28,20 @@
RG_leader_trait_admiral_nanorebuild_gray_desc:0 "灰色风暴在L星团中席卷无数纪元。\n创造与解构纳米机器席卷之处我们无所不能。" 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$" 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_ruler_gray_tt:0 "§E随每技能等级提升的效果:§!"
RG_leader_trait_variable_tt:0 "§E随变量层数提升的效果:§!" RG_leader_trait_variable_tt:0 "§E随变量层数提升的效果:§!"
@@ -44,7 +62,10 @@
RG_gatebuilder_thruster:0 "§Y「漫步星海」§!" RG_gatebuilder_thruster:0 "§Y「漫步星海」§!"
origin_rg_gray:0 "§Y遥远约定§!" origin_rg_gray:0 "§Y遥远约定§!"
origin_rg_gray_desc:0 "你偷偷说服了$NAME_Gray$从遥远的L星团前来看望你" 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:0 "§Y「漫播飞尘」§!"
RG_SHIP_AURA_NANOBOT_CLOUD_DESC:0 "§Y散播希望还有绝望。§!\n多用途微型纳米机器。$NAME_Gray$可以通过布置一个高浓度纳米机器人场来维修同星系内的友方舰船。" RG_SHIP_AURA_NANOBOT_CLOUD_DESC:0 "§Y散播希望还有绝望。§!\n多用途微型纳米机器。$NAME_Gray$可以通过布置一个高浓度纳米机器人场来维修同星系内的友方舰船。"
RG_BOMBER_HANGAR_AP_BOMB:0 "§Y「落光」§!" RG_BOMBER_HANGAR_AP_BOMB:0 "§Y「落光」§!"