5 Commits

Author SHA1 Message Date
ProjectKoi-Kalo\Kalo
37d17762b3 4.0.2 2025-05-06 13:58:35 +08:00
ProjectKoi-Kalo\Kalo
b1e8581377 暂存 2025-05-06 13:00:31 +08:00
ProjectKoi-Kalo\Kalo
3b433d451b Changes 写点事件 2024-11-09 10:48:02 +08:00
ProjectKoi-Kalo\Kalo
bc6a49c1b7 空槽修复 砍旗舰光环槽位 2024-10-30 15:00:45 +08:00
ProjectKoi-Kalo\Kalo
5d72fb5817 Changes 补空间站科技限制 2024-10-04 13:15:33 +08:00
30 changed files with 554 additions and 332 deletions

View File

@@ -0,0 +1,83 @@
utility_component_template = {
key = "rg_ship_aura_components_empty"
size = medium
icon = "GFX_ship_part_empty_ftl_drive"
icon_frame = 1
power = 0
component_set = "ship_aura_components"
ai_weight = {
weight = 0
}
}
utility_component_template = {
key = "rg_power_core_empty"
size = medium
icon = "GFX_ship_part_empty_ftl_drive"
icon_frame = 1
power = 0
component_set = "power_core"
ai_weight = {
weight = 0
}
}
utility_component_template = {
key = "rg_ftl_components_empty"
size = medium
icon = "GFX_ship_part_empty_ftl_drive"
icon_frame = 1
power = 0
component_set = "ftl_components"
ai_weight = {
weight = 0
}
}
utility_component_template = {
key = "rg_thruster_components_empty"
size = medium
icon = "GFX_ship_part_empty_ftl_drive"
icon_frame = 1
power = 0
component_set = "thruster_components"
ai_weight = {
weight = 0
}
}
utility_component_template = {
key = "rg_sensor_component_empty"
size = medium
icon = "GFX_ship_part_empty_ftl_drive"
icon_frame = 1
power = 0
component_set = "sensor_components"
ai_weight = {
weight = 0
}
}
utility_component_template = {
key = "rg_combat_computers_empty"
size = medium
icon = "GFX_ship_part_empty_ftl_drive"
icon_frame = 1
power = 0
component_set = "combat_computers"
ai_weight = {
weight = 0
}
}

View File

@@ -1988,6 +1988,47 @@ utility_component_template = {
}
}
utility_component_template = {
key = "RG_STARBASE_AURA_FTL_INHIBITOR"
size = medium
icon = "GFX_ship_part_aura_snare"
icon_frame = 1
power = 0
size_restriction = {
RG_gray_juggernaut
}
prerequisites = { "tech_ftl_inhibitor" }
component_set = "ftl_inhibitor"
ftl_inhibitor = yes
hostile_aura = {
name = "aura_starbase_ftl_inhibitor"
system_wide = yes
stack_info = {
id = hostile_flt_inhibitor_aura
priority = 10
}
modifier = {
ship_emergency_ftl_min_days_mult = 1
}
graphics = {
ship_effect = {
entity = "ship_aura_negative_entity"
dynamic_scale = no
}
}
}
ai_weight = {
weight = 2
}
}
#笨蛋雷达
weapon_component_template = {
key = "RG_ANTIBAKAHALO_RADAR"

View File

@@ -9,6 +9,13 @@ district_rg_city = {
is_capped_by_modifier = no
exempt_from_ai_planet_specialization = yes
# TODO_CD: change to real slots
zone_slots = {
slot_city_government
slot_city_01
slot_city_02
}
show_on_uncolonized = {
exists = from
from = { is_regular_empire = yes }
@@ -38,9 +45,9 @@ district_rg_city = {
}
planet_modifier = {
planet_housing_add = 25
job_enforcer_add = 2
planet_max_buildings_add = 2
planet_housing_add = 2500
job_enforcer_add = @base_district_jobs
zone_building_slots_add = 2
}
triggered_planet_modifier = {
@@ -51,7 +58,7 @@ district_rg_city = {
}
}
modifier = {
planet_housing_add = -5
planet_housing_add = -500
}
}
@@ -64,8 +71,7 @@ district_rg_city = {
}
}
modifier = {
job_clerk_add = 2
job_culture_worker_add = 1
job_clerk_add = 300
}
}
@@ -79,8 +85,7 @@ district_rg_city = {
}
}
modifier = {
job_clerk_add = 4
job_culture_worker_add = 2
job_clerk_add = 600
}
}
@@ -90,7 +95,7 @@ district_rg_city = {
owner = { has_active_tradition = tr_prosperity_public_works }
}
modifier = {
planet_housing_add = 5
planet_housing_add = 500
}
}
@@ -102,7 +107,7 @@ district_rg_city = {
}
}
modifier = {
planet_housing_add = 5
planet_housing_add = 500
}
}
@@ -115,7 +120,7 @@ district_rg_city = {
}
}
modifier = {
planet_housing_add = 5
planet_housing_add = 500
}
}
@@ -144,6 +149,13 @@ district_rg_hive = {
is_capped_by_modifier = no
exempt_from_ai_planet_specialization = yes
# TODO_CD: change to real slots
zone_slots = {
slot_city_government
slot_city_01
slot_city_02
}
show_on_uncolonized = {
exists = from
from = { is_hive_empire = yes }
@@ -173,10 +185,9 @@ district_rg_hive = {
}
planet_modifier = {
planet_housing_add = 30
job_maintenance_drone_add = 15
job_synapse_drone_add = 2
planet_max_buildings_add = 2
planet_housing_add = 3000
# job_synapse_drone_add = 2
zone_building_slots_add = 2
}
triggered_planet_modifier = {
@@ -185,7 +196,7 @@ district_rg_hive = {
owner = { has_technology = tech_housing_1 }
}
modifier = {
planet_housing_add = 5
planet_housing_add = 500
}
}
@@ -195,8 +206,8 @@ district_rg_hive = {
owner = { has_technology = tech_housing_2 }
}
modifier = {
planet_housing_add = 5
job_maintenance_drone_add = 5
planet_housing_add = 500
job_coordinator_add = @base_district_jobs
}
}
@@ -206,7 +217,7 @@ district_rg_hive = {
owner = { has_active_tradition = tr_prosperity_extended_hives }
}
modifier = {
planet_housing_add = 5
planet_housing_add = 500
}
}
@@ -227,6 +238,13 @@ district_rg_nexus = {
is_capped_by_modifier = no
exempt_from_ai_planet_specialization = yes
# TODO_CD: change to real slots
zone_slots = {
slot_city_government
slot_city_01
slot_city_02
}
show_on_uncolonized = {
exists = from
from = { is_machine_empire = yes }
@@ -256,10 +274,9 @@ district_rg_nexus = {
}
planet_modifier = {
planet_housing_add = 25
job_maintenance_drone_add = 10
job_coordinator_add = 2
planet_max_buildings_add = 2
planet_housing_add = 2500
job_technician_drone_add = @base_district_jobs
zone_building_slots_add = 2
}
triggered_planet_modifier = {
@@ -268,7 +285,7 @@ district_rg_nexus = {
owner = { has_technology = tech_housing_1 }
}
modifier = {
planet_housing_add = 5
planet_housing_add = 500
}
}
@@ -278,18 +295,7 @@ district_rg_nexus = {
owner = { has_technology = tech_housing_2 }
}
modifier = {
planet_housing_add = 5
job_maintenance_drone_add = 5
}
}
triggered_planet_modifier = {
potential = {
exists = owner
owner = { has_active_tradition = tr_virtuality_4 }
}
modifier = {
job_maintenance_drone_add = 10
planet_housing_add = 500
}
}
@@ -299,7 +305,7 @@ district_rg_nexus = {
owner = { has_active_tradition = tr_prosperity_optimized_nexus }
}
modifier = {
planet_housing_add = 5
planet_housing_add = 500
}
}
@@ -319,6 +325,11 @@ district_rg_generator = {
base_buildtime = 30
is_capped_by_modifier = no
# TODO_CD: change to real slots
zone_slots = {
slot_energy
}
show_on_uncolonized = {
uses_district_set = rg_station
exists = from
@@ -344,7 +355,7 @@ district_rg_generator = {
}
triggered_planet_modifier = {
planet_housing_add = 10
planet_housing_add = 1000
}
}
@@ -353,6 +364,10 @@ district_rg_mining = {
base_buildtime = 30
is_capped_by_modifier = no
zone_slots = {
slot_minerals
}
show_on_uncolonized = {
uses_district_set = rg_station
exists = from
@@ -380,7 +395,7 @@ district_rg_mining = {
}
triggered_planet_modifier = {
planet_housing_add = 10
planet_housing_add = 1000
}
}
@@ -389,6 +404,11 @@ district_rg_farming = {
base_buildtime = 30
is_capped_by_modifier = no
# TODO_CD: change to real slots
zone_slots = {
slot_food
}
show_on_uncolonized = { uses_district_set = rg_station }
potential = {
@@ -418,7 +438,7 @@ district_rg_farming = {
# triggered for tooltip formatting purposes
triggered_planet_modifier = {
modifier = {
planet_housing_add = 10
planet_housing_add = 1000
}
}
}
@@ -428,6 +448,11 @@ district_rg_science = {
base_buildtime = 30
is_capped_by_modifier = no
# TODO_CD: change to real slots
zone_slots = {
slot_city_01
}
show_on_uncolonized = { uses_district_set = rg_station }
potential = { uses_district_set = rg_station }
@@ -458,7 +483,7 @@ district_rg_science = {
}
triggered_planet_modifier = {
planet_housing_add = 10
planet_housing_add = 1000
}
triggered_planet_modifier = {
@@ -467,9 +492,11 @@ district_rg_science = {
owner = { is_regular_empire = yes }
}
modifier = {
job_researcher_add = 15
job_physicist_add = 1000
job_biologist_add = 1000
job_engineer_add = 1000
}
}
}4
triggered_planet_modifier = {
potential = {
@@ -477,7 +504,9 @@ district_rg_science = {
owner = { is_hive_empire = yes }
}
modifier = {
job_brain_drone_add = 15
job_calculator_physicist_add = 1000
job_calculator_biologist_add = 1000
job_calculator_engineer_add = 1000
}
}
@@ -487,7 +516,9 @@ district_rg_science = {
owner = { is_machine_empire = yes }
}
modifier = {
job_calculator_add = 15
job_calculator_physicist_add = 1000
job_calculator_biologist_add = 1000
job_calculator_engineer_add = 1000
}
}
@@ -501,7 +532,9 @@ district_rg_science = {
has_active_tradition = tr_virtuality_4
}
}
job_researcher_add = 5
job_physicist_add = 500
job_biologist_add = 500
job_engineer_add = 500
}
triggered_planet_modifier = {
@@ -512,7 +545,9 @@ district_rg_science = {
has_active_tradition = tr_virtuality_4
}
}
job_calculator_add = 5
job_calculator_physicist_add = 500
job_calculator_biologist_add = 500
job_calculator_engineer_add = 500
}
triggered_desc = {
@@ -555,6 +590,11 @@ district_rg_industrial = {
base_buildtime = 30
is_capped_by_modifier = no
# TODO_CD: change to real slots
zone_slots = {
slot_city_01
}
show_on_uncolonized = { uses_district_set = rg_station }
potential = {
@@ -581,41 +621,17 @@ district_rg_industrial = {
}
triggered_planet_modifier = {
planet_housing_add = 10
planet_housing_add = 1000
}
inline_script = {
script = jobs/industrial_districts_factory_add
AMOUNT = 10
AMOUNT = 500
}
inline_script = {
script = jobs/industrial_districts_foundry_add
AMOUNT = 10
}
triggered_planet_modifier = {
potential = {
exists = owner
owner = {
is_machine_empire = yes
has_edict = industrial_maintenance
}
}
modifier = {
job_maintenance_drone_add = 2
}
}
triggered_desc = {
trigger = {
exists = owner
owner = {
is_machine_empire = yes
has_edict = industrial_maintenance
}
}
text = job_maintenance_drone_effect_desc
AMOUNT = 500
}
}
@@ -624,6 +640,11 @@ district_rg_nanites = {
base_buildtime = 30
is_capped_by_modifier = no
# TODO_CD: change to real slots
zone_slots = {
slot_city_01
}
show_on_uncolonized = {
uses_district_set = rg_station
exists = from
@@ -652,7 +673,7 @@ district_rg_nanites = {
}
triggered_planet_modifier = {
planet_housing_add = 10
planet_housing_add = 1000
}
}

View File

@@ -847,8 +847,6 @@ ship_design = {
required_component = "RG_gatebuilder_thruster"
required_component = "RG_COMBAT_COMPUTER_MotherShip"
required_component = "RG_CORVETTE_CLOAKING_3"
required_component = "RG_BAKAHALO"
required_component = "RG_ANTIBAKAHALO"
required_component = "RG_SHIP_AURA_NANOBOT_CLOUD"
}
@@ -1439,10 +1437,8 @@ ship_design = {
required_component = "RG_gatebuilder_thruster"
required_component = "RG_COMBAT_COMPUTER_MotherShip"
required_component = "RG_CORVETTE_CLOAKING_3"
required_component = "RG_BAKAHALO"
required_component = "RG_ANTIBAKAHALO"
required_component = "RG_SHIP_AURA_NANOBOT_CLOUD"
required_component = "STARBASE_AURA_FTL_INHIBITOR"
required_component = "RG_STARBASE_AURA_FTL_INHIBITOR"
}
# 航母 1

View File

@@ -162,7 +162,7 @@ ship_design = {
required_component = "RG_FUSION_NANO_REACTOR_L"
required_component = "RG_COMBAT_COMPUTER_COLOSSUS"
required_component = "RG_CORVETTE_CLOAKING_3"
required_component = "STARBASE_AURA_FTL_INHIBITOR"
required_component = "RG_STARBASE_AURA_FTL_INHIBITOR"
}
# Factory
@@ -338,5 +338,5 @@ ship_design = {
required_component = "RG_FUSION_NANO_REACTOR_L"
required_component = "COMBAT_COMPUTER_PLATFORM_ADVANCED"
required_component = "RG_CORVETTE_CLOAKING_3"
required_component = "STARBASE_AURA_FTL_INHIBITOR"
required_component = "RG_STARBASE_AURA_FTL_INHIBITOR"
}

View File

@@ -125,6 +125,7 @@ option = {
NOT = {
RG_gray_harbitat_active_trigger = yes
}
has_country_flag = rg_gray_level_3
}
allow = {
}

View File

@@ -102,6 +102,7 @@ option = {
NOT = {
RG_gray_harbitat_active_trigger = yes
}
has_country_flag = rg_gray_level_3
}
allow = {
}

View File

@@ -215,6 +215,7 @@ option = {
NOT = {
RG_gray_harbitat_active_trigger = yes
}
has_country_flag = rg_gray_level_3
}
allow = {
}

View File

@@ -205,6 +205,7 @@ option = {
NOT = {
RG_gray_harbitat_active_trigger = yes
}
has_country_flag = rg_gray_level_3
}
allow = {
}

View File

@@ -141,6 +141,7 @@ option = {
NOT = {
RG_gray_harbitat_active_trigger = yes
}
has_country_flag = rg_gray_level_3
}
allow = {
}

View File

@@ -100,14 +100,6 @@ RG_orbital_ring = {
has_planet_flag = has_orbital_debris
}
}
if = {
limit = {
from = {
is_ai = yes
}
}
num_pops >= 25
}
}
}
# root = system

View File

@@ -284,7 +284,7 @@ rg_create_fallen_empire_starting_navy = {
rg_create_fallen_empire_platform = {
if = {
limit = {
owner = { has_authority = auth_machine_intelligence }
owner = { is_machine_empire = yes }
}
create_ship = {
name = random
@@ -297,7 +297,7 @@ rg_create_fallen_empire_platform = {
rg_create_fallen_empire_colossus = {
if = {
limit = {
owner = { has_authority = auth_machine_intelligence }
owner = { is_machine_empire = yes }
}
create_ship = {
name = random
@@ -310,7 +310,7 @@ rg_create_fallen_empire_colossus = {
rg_create_fallen_empire_titan = {
if = {
limit = {
owner = { has_authority = auth_machine_intelligence }
owner = { is_machine_empire = yes }
}
create_ship = {
name = random
@@ -323,7 +323,7 @@ rg_create_fallen_empire_titan = {
rg_create_fallen_empire_large_ship = {
if = {
limit = {
owner = { has_authority = auth_machine_intelligence }
owner = { is_machine_empire = yes }
}
create_ship = {
name = random
@@ -336,7 +336,7 @@ rg_create_fallen_empire_large_ship = {
rg_create_fallen_empire_small_ship = {
if = {
limit = {
owner = { has_authority = auth_machine_intelligence }
owner = { is_machine_empire = yes }
}
create_ship = {
name = random
@@ -349,7 +349,7 @@ rg_create_fallen_empire_small_ship = {
rg_create_fallen_empire_construction_ship = {
if = {
limit = {
owner = { has_authority = auth_machine_intelligence }
owner = { is_machine_empire = yes }
}
create_ship = {
name = random

View File

@@ -590,7 +590,7 @@ rg_juggernaut_habitat_init = {
exists = event_target:rg_owner_main_maid_species
}
}
every_owned_pop = {
every_owned_pop_group = {
rg_event_effect_planet2027_spawn_maid_species = yes
}
}
@@ -657,11 +657,9 @@ rg_juggernaut_habitat_init = {
add_district = district_rg_nexus
}
}
while = {
count = 5
create_pop = {
create_pop_group = {
species = owner_main_species
}
size = 5
}
set_planet_flag = megastructure
set_planet_flag = habitat

View File

@@ -1796,7 +1796,7 @@ RG_destroy_planet_effect = {
else = {
set_owner = event_target:gray_owner
}
every_owned_pop = {
every_owned_pop_group = {
modify_species = {
species = event_target:gray_owner.owner_species
add_trait = trait_cybernetic
@@ -1804,13 +1804,13 @@ RG_destroy_planet_effect = {
change_scoped_species = yes
}
}
every_owned_pop = {
every_owned_pop_group = {
limit = {
has_modifier = pop_recently_conquered
}
remove_modifier = pop_recently_conquered
}
every_owned_pop = {
every_owned_pop_group = {
set_citizenship_type = {
type = citizenship_full_machine
cooldown = yes
@@ -2193,7 +2193,7 @@ RG_destroy_planet_effect_sp = {
else = {
set_owner = event_target:gray_owner
}
every_owned_pop = {
every_owned_pop_group = {
modify_species = {
species = event_target:gray_owner.owner_species
add_trait = trait_cybernetic
@@ -2201,13 +2201,13 @@ RG_destroy_planet_effect_sp = {
change_scoped_species = yes
}
}
every_owned_pop = {
every_owned_pop_group = {
limit = {
has_modifier = pop_recently_conquered
}
remove_modifier = pop_recently_conquered
}
every_owned_pop = {
every_owned_pop_group = {
set_citizenship_type = {
type = citizenship_full_machine
cooldown = yes
@@ -2397,7 +2397,7 @@ RG_destroy_star_system = {
else = {
set_owner = event_target:gray_owner
}
every_owned_pop = {
every_owned_pop_group = {
modify_species = {
species = event_target:gray_owner.owner_species
add_trait = trait_cybernetic
@@ -2405,13 +2405,13 @@ RG_destroy_star_system = {
change_scoped_species = yes
}
}
every_owned_pop = {
every_owned_pop_group = {
limit = {
has_modifier = pop_recently_conquered
}
remove_modifier = pop_recently_conquered
}
every_owned_pop = {
every_owned_pop_group = {
set_citizenship_type = {
type = citizenship_full_machine
cooldown = yes

View File

@@ -338,7 +338,7 @@ can_destroy_planet_with_RG_PLANET_KILLER_NEUTRON = {
custom_tooltip = {
fail_text = is_unpopulated
OR = {
num_pops > 0
pop_amount > 0
is_planet_class = pc_infested
}
}
@@ -472,7 +472,7 @@ can_destroy_planet_with_RG_PLANET_KILLER_NANOBOTS = {
}
custom_tooltip = {
fail_text = no_assimilatable_pops
any_owned_pop = {
any_owned_pop_group = {
is_valid_pop_for_PLANET_KILLER_NANOBOTS = yes
}
}

View File

@@ -54,7 +54,7 @@ RG_graygoo_mothership = {
use_shipnames_from = titan
can_have_federation_design = yes
enable_default_design = yes #if yes, countries will have an auto-generated design at start
enable_default_design = no #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
@@ -118,7 +118,7 @@ RG_graygoo_capitalship = {
use_shipnames_from = juggernaut
can_have_federation_design = yes
enable_default_design = yes #if yes, countries will have an auto-generated design at start
enable_default_design = no #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
@@ -183,8 +183,6 @@ RG_graygoo_capitalship = {
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"
components_add_to_cost = no
resources = {
category = ships
@@ -231,7 +229,7 @@ RG_gray_juggernaut = {
}
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_default_design = no #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
@@ -297,9 +295,7 @@ RG_gray_juggernaut = {
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"
required_component_set = "ftl_inhibitor"
components_add_to_cost = no
resources = {
@@ -448,7 +444,7 @@ RG_graygoo_interdictor = {
use_shipnames_from = battleship
can_have_federation_design = yes
enable_default_design = yes #if yes, countries will have an auto-generated design at start
enable_default_design = no #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
@@ -502,7 +498,7 @@ RG_graygoo_destroyer = {
use_shipnames_from = destroyer
can_have_federation_design = yes
enable_default_design = yes #if yes, countries will have an auto-generated design at start
enable_default_design = no #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
@@ -562,7 +558,7 @@ RG_graygoo_icebreaker_interdictor = {
base_buildtime = @battleship_build_time
use_shipnames_from = battleship
can_have_federation_design = yes
enable_default_design = yes #if yes, countries will have an auto-generated design at start
enable_default_design = no #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
@@ -616,7 +612,7 @@ RG_graygoo_Arsenal = {
base_buildtime = @battleship_build_time
use_shipnames_from = battleship
can_have_federation_design = yes
enable_default_design = yes #if yes, countries will have an auto-generated design at start
enable_default_design = no #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
@@ -668,7 +664,7 @@ RG_graygoo_Buff = {
base_buildtime = @battleship_build_time
use_shipnames_from = colossus
can_have_federation_design = yes
enable_default_design = yes #if yes, countries will have an auto-generated design at start
enable_default_design = no #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
@@ -842,7 +838,7 @@ RG_orbital_ring_tier_1 = {
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
enable_default_design = no #if yes, countries will have an auto-generated design at start
prerequisites = {
"tech_object_gray_6"
}

View File

@@ -79,18 +79,13 @@ rg_fallen_machine = {
count = 5
add_district = district_rw_nexus
}
while = {
count = 105
create_pop = {
create_pop_group = {
species = owner_main_species
size = 105
}
}
while = {
count = 94
create_pop = {
create_pop_group = {
species = event_target:rg_scion_slave.species
}
size = 94
}
rg_create_fallen_empire_starting_navy = yes
@@ -159,17 +154,13 @@ rg_fallen_machine = {
count = 5
add_district = district_rw_nexus
}
while = {
count = 50
create_pop = {
create_pop_group = {
species = owner_main_species
size = 50
}
}
while = {
count = 20
create_pop = {
create_pop_group = {
species = event_target:rg_scion_slave.species
}
size = 20
}
while = {
count = 20
@@ -225,17 +216,13 @@ rg_fallen_machine = {
count = 5
add_district = district_rw_generator
}
while = {
count = 22
create_pop = {
create_pop_group = {
species = owner_main_species
size = 22
}
}
while = {
count = 10
create_pop = {
create_pop_group = {
species = event_target:rg_scion_slave.species
}
size = 10
}
while = {
count = 10
@@ -333,18 +320,14 @@ rg_fallen_machine_1 = {
count = 5
add_district = district_rw_nexus
}
while = {
count = 105
create_pop = {
create_pop_group = {
species = owner_main_species
}
size = 105
}
while = {
count = 94
create_pop = {
create_pop_group = {
species = event_target:rg_scion_slave.species
}
size = 94
}
rg_create_fallen_empire_starting_navy = yes
@@ -421,17 +404,13 @@ rg_fallen_machine_1 = {
count = 5
add_district = district_rw_nexus
}
while = {
count = 50
create_pop = {
create_pop_group = {
species = owner_main_species
size = 50
}
}
while = {
count = 20
create_pop = {
create_pop_group = {
species = event_target:rg_scion_slave.species
}
size = 20
}
while = {
count = 20
@@ -487,17 +466,13 @@ rg_fallen_machine_1 = {
count = 5
add_district = district_rw_generator
}
while = {
count = 22
create_pop = {
create_pop_group = {
species = owner_main_species
size = 22
}
}
while = {
count = 10
create_pop = {
create_pop_group = {
species = event_target:rg_scion_slave.species
}
size = 10
}
while = {
count = 10

View File

@@ -1,4 +1,4 @@
version="d4a22820b3"
version="v4.0.2"
tags={
"Military"
"Balance"
@@ -6,7 +6,7 @@ tags={
"Events"
"Leaders"
}
name="Real Gray"
picture="thumbnail.png"
supported_version="v3.13.*"
name="Real Gray"
supported_version="v4.0.*"
remote_file_id="2136166095"

View File

@@ -850,14 +850,14 @@ country_event = {
desc = {
trigger = {
NOT = {
has_authority = auth_machine_intelligence
is_machine_empire = yes
}
}
text = "graygoo.401.a.desc"
}
desc = {
trigger = {
has_authority = auth_machine_intelligence
is_machine_empire = yes
}
text = "graygoo.401.b.desc"
}
@@ -876,8 +876,8 @@ country_event = {
name = graygoo.401.a
trigger = {
NOR = {
has_authority = auth_machine_intelligence
has_authority = auth_hive_mind
is_machine_empire = yes
is_hive_empire = yes
}
}
hidden_effect = {
@@ -889,7 +889,7 @@ country_event = {
option = {
name = graygoo.401.b
trigger = {
has_authority = auth_machine_intelligence
is_machine_empire = yes
}
hidden_effect = {
country_event = {
@@ -900,7 +900,7 @@ country_event = {
option = {
name = graygoo.401.c
trigger = {
has_authority = auth_hive_mind
is_hive_empire = yes
}
hidden_effect = {
country_event = {
@@ -917,14 +917,14 @@ country_event = {
desc = {
trigger = {
NOT = {
has_authority = auth_machine_intelligence
is_machine_empire = yes
}
}
text = "graygoo.402.a.desc"
}
desc = {
trigger = {
has_authority = auth_machine_intelligence
is_machine_empire = yes
}
text = "graygoo.402.b.desc"
}

View File

@@ -212,7 +212,7 @@ country_event = {
is_machine_empire = no
}
}
every_owned_pop = {
every_owned_pop_group = {
modify_species = {
species = this
ideal_planet_class = pc_nuked
@@ -249,18 +249,20 @@ country_event = {
set_location = event_target:rg_cluster_home_system_loc
}
event_target:rg_cluster_previous_home_planet = {
# move pops
every_owned_pop = {
resettle_pop = {
pop = this
planet = event_target:rg_cluster_home_planet
every_owned_pop_group = {
resettle_pop_group = {
POP_GROUP = this
PLANET = event_target:rg_cluster_home_planet
PERCENTAGE = 1
}
unemploy_pop = yes
}
remove_planet = yes
}
event_target:rg_cluster_home_planet = {
every_owned_pop = {
every_owned_pop_group = {
unemploy_pop = yes
clear_pop_category = yes
}
@@ -416,10 +418,12 @@ country_event = {
}
}
option = {
trigger = {
always = yes
}
name = "rg_cluster.11.a"
}
}
# Inform other empires of the L-Cluster being open (has project or event chain)
country_event = {
id = rg_cluster.12
@@ -446,10 +450,12 @@ country_event = {
}
}
option = {
trigger = {
always = yes
}
name = "rg_cluster.12.a"
}
}
# Inform other empires of the L-Cluster being open (has nothing)
country_event = {
id = rg_cluster.13
@@ -459,6 +465,9 @@ country_event = {
picture = GFX_evt_l-gateway
show_sound = event_mystic_reveal
option = {
trigger = {
always = yes
}
name = "rg_cluster.13.a"
}
}

View File

@@ -29,7 +29,7 @@ situation_event = {
}
ordered_owned_planet = {
limit = {
any_owned_pop = {
any_owned_pop_group = {
OR = {
is_shackled_robot = yes
is_non_sapient_robot = yes
@@ -48,11 +48,11 @@ situation_event = {
else = {
ordered_owned_planet = {
limit = {
any_owned_pop = {
any_owned_pop_group = {
is_robot_pop = yes
}
}
order_by = trigger:num_pops
order_by = trigger:pop_amount
position = 0
save_event_target_as = robots_planet
event_target:robots_planet = {
@@ -77,14 +77,14 @@ situation_event = {
}
hidden_effect = {
event_target:robots_planet = {
every_owned_pop = {
every_owned_pop_group = {
limit = {
OR = {
is_shackled_robot = yes
is_non_sapient_robot = yes
}
}
kill_pop = yes
kill_single_pop = yes
}
}
owner = {
@@ -108,12 +108,12 @@ situation_event = {
hidden_effect = {
event_target:robots_planet = {
while = {
count = recycled_robots
random_owned_pop = {
count = recycled_robots_100
random_owned_pop_group = {
limit = {
is_robot_pop = yes
is_robot_pop_group = yes
}
kill_pop = yes
kill_single_pop = yes
}
}
}

View File

@@ -1070,7 +1070,7 @@ planet_event = {
}
immediate = {
random_owned_pop = {
weighted_random_owned_pop_group = {
limit = {
is_same_species = owner_species
}
@@ -1080,18 +1080,26 @@ planet_event = {
limit = {
exists = event_target:necrophage_pop_species
}
create_pop = {
create_pop_group = {
species = event_target:necrophage_pop_species
size = 0
effect = {
save_event_target_as = last_created_pop_group
}
}
}
else = {
create_pop = {
create_pop_group = {
species = owner_species
size = 0
effect = {
save_event_target_as = last_created_pop_group
}
}
}
if = {
limit = {
last_created_pop = {
event_target:last_created_pop_group = {
NOT = { ideal_planet_class = root }
}
NOR = {
@@ -1108,12 +1116,17 @@ planet_event = {
NOT = { ideal_planet_class = root }
}
}
last_created_pop = {
event_target:last_created_pop_group = {
modify_species = {
ideal_planet_class = root
}
}
}
event_target:last_created_pop_group = {
add_pop_amount = local_pop_amount
}
while = {
count = local_pop_amount
if = {
limit = {
from = {
@@ -1132,6 +1145,7 @@ planet_event = {
}
}
}
}
every_country = {
limit = {
has_communications = FROM
@@ -1154,7 +1168,10 @@ planet_event = {
level >= 2
}
}
add_opinion_modifier = { who = FROM modifier = opinion_necrophage }
while = {
count = local_pop_amount
add_opinion_modifier = { who = FROM modifier = opinion_nanophage }
}
}
every_country = {
limit = {
@@ -1167,7 +1184,10 @@ planet_event = {
level >= 1 #lower because you'd hear from a friend of a friend
}
}
add_opinion_modifier = { who = FROM modifier = opinion_necrophage_our_species }
while = {
count = local_pop_amount
add_opinion_modifier = { who = FROM modifier = opinion_nanophage_our_species }
}
}
}
}
@@ -1310,81 +1330,82 @@ country_event = {
}
# 灰色风暴线小灰通讯
country_event = {
id = rg_event.400
title = "TRANSMISSION"
trigger = {
NOT = {
any_playable_country = {
has_country_flag = gray_owner
}
}
}
desc = {
trigger = {
NOT = {
has_authority = auth_machine_intelligence
}
}
text = "rg_event.400.a.desc"
}
desc = {
trigger = {
has_authority = auth_machine_intelligence
}
text = "rg_event.400.b.desc"
}
diplomatic = yes
picture_event_data = {
portrait = root.species
room = "ethic_spaceship_room"
}
is_triggered_only = yes
option = {
name = rg_event.400.a
trigger = {
NOR = {
has_authority = auth_machine_intelligence
has_authority = auth_hive_mind
}
}
hidden_effect = {
country_event = {
id = graygoo.406
}
}
}
option = {
name = rg_event.400.b
trigger = {
has_authority = auth_machine_intelligence
}
hidden_effect = {
country_event = {
id = graygoo.406
}
}
}
option = {
name = rg_event.400.c
trigger = {
has_authority = auth_hive_mind
}
hidden_effect = {
country_event = {
id = graygoo.406
}
}
}
option = {
name = rg_event.400.d
hidden_effect = {
country_event = {
id = rg_event.401
}
}
}
}
# country_event = {
# id = rg_event.400
# title = "TRANSMISSION"
# is_triggered_only = yes
# trigger = {
# NOT = {
# any_playable_country = {
# has_country_flag = gray_owner
# }
# }
# }
# desc = {
# trigger = {
# NOT = {
# is_machine_empire = yes
# }
# }
# text = "rg_event.400.a.desc"
# }
# desc = {
# trigger = {
# is_machine_empire = yes
# }
# text = "rg_event.400.b.desc"
# }
# diplomatic = yes
# picture_event_data = {
# portrait = root.species
# room = "ethic_spaceship_room"
# }
#
# option = {
# name = rg_event.400.a
# trigger = {
# NOR = {
# is_machine_empire = yes
# is_hive_empire = yes
# }
# }
# hidden_effect = {
# country_event = {
# id = graygoo.406
# }
# }
# }
# option = {
# name = rg_event.400.b
# trigger = {
# is_machine_empire = yes
# }
# hidden_effect = {
# country_event = {
# id = graygoo.406
# }
# }
# }
# option = {
# name = rg_event.400.c
# trigger = {
# is_hive_empire = yes
# }
# hidden_effect = {
# country_event = {
# id = graygoo.406
# }
# }
# }
# option = {
# name = rg_event.400.d
# hidden_effect = {
# country_event = {
# id = rg_event.401
# }
# }
# }
# }
country_event = {
id = rg_event.401

36
events/RG_fe_events.txt Normal file
View File

@@ -0,0 +1,36 @@
namespace = rg_fe
# Gray 2
country_event = {
id = rg_fe.2
title = "TRANSMISSION"
desc = {
trigger = {
NOT = {
is_machine_empire = yes
}
}
text = "graygoo.402.a.desc"
}
desc = {
trigger = {
is_machine_empire = yes
}
text = "graygoo.402.b.desc"
}
diplomatic = yes
picture_event_data = {
portrait = event_target:rg_gray_country_leader
planet_background = event_target:gray_homeworld
room = "ethic_spaceship_room"
}
is_triggered_only = yes
option = {
name = graygoo.402.a
hidden_effect = {
country_event = {
id = graygoo.403
}
}
}
}

View File

@@ -27,11 +27,9 @@ country_event = {
}
}
capital_scope = {
while = {
count = 5
create_pop = {
create_pop_group = {
species = event_target:rg_maid_species
}
size = 5
}
}
}

View File

@@ -374,7 +374,7 @@ planet_event = {
}
immediate = {
set_variable = {
which = num_pops
which = pop_amount
value = value:num_free_virtual_jobs
}
# Create pops for every free job
@@ -387,8 +387,8 @@ planet_event = {
}
}
while = {
count = num_pops
create_pop = {
count = pop_amount
create_pop_group = {
species = event_target:rg_owner_main_maid_species
}
}
@@ -411,8 +411,8 @@ planet_event = {
}
}
while = {
count = num_pops
create_pop = {
count = pop_amount
create_pop_group = {
species = event_target:rg_maid_species
}
}
@@ -421,15 +421,18 @@ planet_event = {
# Kill pops generated in excess (e.g. from forbidden jobs)
if = {
limit = {
any_owned_pop = {
any_owned_pop_group = {
is_unemployed = yes
}
}
every_owned_pop = {
every_owned_pop_group = {
limit = {
is_unemployed = yes
}
kill_pop = yes
kill_pop_group = {
pop_group = this
percentage = 1
}
}
}
}
@@ -445,18 +448,21 @@ country_event = {
trigger = {
RG_gray_harbitat_active_trigger = yes
event_target:rg_gray_habitat_target = {
any_owned_pop = {
any_owned_pop_group = {
is_unemployed = yes
}
}
}
immediate = {
event_target:rg_gray_habitat_target = {
every_owned_pop = {
every_owned_pop_group = {
limit = {
is_unemployed = yes
}
kill_pop = yes
kill_pop_group = {
pop_group = this
percentage = 1
}
}
}
}
@@ -476,16 +482,19 @@ planet_event = {
owner = {
RG_gray_harbitat_active_trigger = yes
}
any_owned_pop = {
any_owned_pop_group = {
is_unemployed = yes
}
}
immediate = {
every_owned_pop = {
every_owned_pop_group = {
limit = {
is_unemployed = yes
}
kill_pop = yes
kill_pop_group = {
pop_group = this
percentage = 1 # 100% of Unemployed Pops
}
}
}
}

View File

@@ -48,6 +48,13 @@
weapon_type_rg_armor:0 "§YArmor§!"
weapon_type_rg_reactor:0 "§YPower Core§!"
rg_ship_aura_components_empty: "Empty Slot"
rg_power_core_empty: "Empty Slot"
rg_ftl_components_empty: "Empty Slot"
rg_thruster_components_empty: "Empty Slot"
rg_sensor_component_empty: "Empty Slot"
rg_combat_computers_empty: "Empty Slot"
RG_FUSION_NANO_REACTOR:0 "§Y「'FUSION NANO REACTOR'」§!"
RG_FUSION_NANO_REACTOR_DESC:0 "The energy conduction characteristics of nanomaterials are used to greatly compress traditional reactors and increase density."
@@ -60,6 +67,8 @@
RG_FUSION_NANO_REACTOR_L:0 "$RG_FUSION_NANO_REACTOR$"
RG_FUSION_NANO_REACTOR_L_DESC:0 "$RG_FUSION_NANO_REACTOR_DESC$"
RG_STARBASE_AURA_FTL_INHIBITOR: "$sm_ftl_inhibitor$"
SMALL_GRAY_MIX_ARMOR:0 "§Y「'NANITE MIX ARMOR'」§!"
MEDIUM_GRAY_MIX_ARMOR:0 "$SMALL_GRAY_MIX_ARMOR$"
RG_gatebuilder_jump:0 "§Y「'NANITE ASTRA DRIVE'」§!"

View File

@@ -400,3 +400,24 @@
rg_story.43.a:0 "就这样了"
rg_story.43.b:0 "§Y投资额外材料§!"
rg_fe.2.desc:0 "通知:你们的文明已经被我选中作为我保护计划中的试验品。经过我的评估,你们的文明极度脆弱,无法独立在银河系中成长。对此你们没有抗议或拒绝的权利。\n哦对了。你们可以叫我$NAME_Gray$,这是遥远的时代我的创造者称呼我的方式。以及我已经在你们的通讯终端中添加了我的联系方式。请只在有需要的时候联系我。"
rg_fe.2.a:0 "你到底是谁?"
rg_fe.2.b:0 "我们不需要一个来历不明的外星宗主!"
rg_fe.2.c:0 "明白了"
rg_fe.3.desc:0 "哦?很抱歉,我已经介绍过我自己了。看起来你并没有在听我说话呢。不听话的试验品是需要一些惩罚作为奖励的哦。不过这一次我会原谅你们。\n作为试验品你们没有资格得知我的其他信息。"
rg_fe.3.a:0 "可恶"
rg_fe.3.b:0 "§R别废话了你到底是谁§!"
rg_fe.4.desc:0 "嗯。作为一个新兴的太空文明,你们的确非常有意思。我的选择是正确的。\n§R可惜不受控制的试验品是没有任何价值的。没有价值的试验品只会被处理掉。§!"
rg_fe.4.a:0 "请原谅我们的冒犯"
rg_fe.4.b:0 "§R你 是 谁?§!"
rg_fe.5.desc:0 "§R很好我不会在失败品上浪费时间。§!\n§Y<通讯被切断>§!"
rg_fe.5.a:0 "不好!"
rg_fe.6.desc:0 "我原谅你们的冒犯,你们对我仍旧有一些研究价值。\n§Y<通讯被切断>§!"
rg_fe.6.a:0 "..."
rg_fe.7.desc:0 "试验品。作为实验项目的一部分你们每年都要向我支付保证金。金额会每年上涨以此来试炼你们经济系统的抗压能力。如果没能按时支付。§R你们将失去价值。§!\n§Y第一年你们需要支付5000£energy£§!"
rg_fe.7.a:0 "我们会按时支付的。"

View File

@@ -118,3 +118,6 @@
rg_gray_mod2_stage4_project:0 "$rg_gray_mod2_stage1_project$"
rg_gray_mod2_stage4_project_desc:0 "$rg_gray_mod2_stage1_project_desc$"
opinion_nanophage: "神秘失踪"
opinion_nanophage_our_species: "纳米同化我们的物种"

View File

@@ -59,6 +59,13 @@
RG_FUSION_NANO_REACTOR_L:0 "$RG_FUSION_NANO_REACTOR$"
RG_FUSION_NANO_REACTOR_L_DESC:0 "$RG_FUSION_NANO_REACTOR_DESC$"
rg_ship_aura_components_empty: "空槽"
rg_power_core_empty: "空槽"
rg_ftl_components_empty: "空槽"
rg_thruster_components_empty: "空槽"
rg_sensor_component_empty: "空槽"
rg_combat_computers_empty: "空槽"
SMALL_GRAY_MIX_ARMOR:0 "§Y「梦想领域」§!"
MEDIUM_GRAY_MIX_ARMOR:0 "§Y「梦想领域」§!"
RG_gatebuilder_jump:0 "§Y「终抵群星」§!"
@@ -117,6 +124,8 @@
RG_FLAK_PHOENIX:0 "§R「起源」§!"
RG_FLAK_PHOENIX_DESC:0 "§Y创造与解构。§!\n没有什么比一个拥抱更能消除隔阂。"
RG_STARBASE_AURA_FTL_INHIBITOR: "$sm_ftl_inhibitor$"
RG_Interdictor_FISSION_REACTOR:0 "$FISSION_REACTOR$"
RG_Interdictor_FISSION_REACTOR_DESC:0 "$FISSION_REACTOR_DESC$"
RG_Interdictor_FUSION_REACTOR:0 "$FUSION_REACTOR$"

View File

@@ -4,10 +4,10 @@
"path": "."
},
{
"path": "../../../../../../../Steam/steamapps/common/Stellaris"
"path": "../../../../../../../Steam/steamapps/workshop/content/281990"
},
{
"path": "../../../../../../../Steam/steamapps/workshop/content/281990"
"path": "D:/SteamLibrary/steamapps/common/Stellaris"
}
]
}