10 Commits

Author SHA1 Message Date
ProjectKoi-Kalo\Kalo
ac0458900b Changes 修 2025-05-09 14:59:02 +08:00
ProjectKoi-Kalo\Kalo
08708a26e4 Changes 写点事件 2025-05-09 14:36:34 +08:00
ProjectKoi-Kalo\Kalo
cd821c03a2 # Changes to be committed:
# modified:   common/districts/rg_station_districts.txt
# modified:   common/zones/rg_zones.txt
#
2025-05-07 16:02:57 +08:00
ProjectKoi-Kalo\Kalo
9947c005ae "更新纳米区段翻译并添加城市特化区域定义" 2025-05-07 15:04:35 +08:00
ProjectKoi-Kalo\Kalo
e0b33131d0 has_skill 2025-05-06 21:26:43 +08:00
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
39 changed files with 1039 additions and 529 deletions

View File

@@ -24,6 +24,7 @@
# weight = 1
# }
#}
graygoo = {
trigger = {
owner = {
@@ -32,14 +33,20 @@ graygoo = {
}
icon_frame = 3
default = no
stop_when_armies_dead = no
stop_when_ground_combat = no
abduct_pops = no
planet_damage = 100
army_damage = 2
kill_pop_chance = {
base = 3
}
min_pops_to_kill_pop = 0
kill_pop_amount = { min = 0 max = 200 }
# root = fleet
# from = planet
ai_weight = {

View File

@@ -61,7 +61,7 @@ building_rg_nanolab_1 = {
# is_individual_machine = yes
# }
}
job_nanotech_researcher_add = 8
job_nanotech_researcher_add = 800
}
# triggered_desc = {
@@ -153,7 +153,7 @@ building_rg_nanolab_2 = {
# is_individual_machine = yes
# }
}
job_nanotech_researcher_add = 15
job_nanotech_researcher_add = 1500
}
# triggered_desc = {

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_rg_city_01
slot_rg_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 = 3000
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_rg_city_01
slot_rg_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_rg_city_01
slot_rg_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 = 3000
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_rg_city_01
}
show_on_uncolonized = {
uses_district_set = rg_station
exists = from
@@ -340,66 +351,114 @@ district_rg_generator = {
}
produces = {
energy = 50
}
}
triggered_planet_modifier = {
planet_housing_add = 10
}
}
district_rg_mining = {
icon = district_hab_mining
base_buildtime = 30
is_capped_by_modifier = no
show_on_uncolonized = {
uses_district_set = rg_station
exists = from
}
potential = {
exists = owner
uses_district_set = rg_station
}
convert_to = {
}
resources = {
category = planet_districts
cost = {
minerals = @rw_cost
}
upkeep = {
energy = 5
}
produces = {
minerals = 50
food = 50
}
}
triggered_planet_modifier = {
planet_housing_add = 10
planet_housing_add = 1000
}
}
district_rg_farming = {
icon = district_rw_farming
# district_rg_mining = {
# icon = district_hab_mining
# base_buildtime = 30
# is_capped_by_modifier = no
#
# zone_slots = {
# slot_minerals
# }
#
# show_on_uncolonized = {
# uses_district_set = rg_station
# exists = from
# }
#
# potential = {
# exists = owner
# uses_district_set = rg_station
# }
#
# convert_to = {
# }
#
# resources = {
# category = planet_districts
# cost = {
# minerals = @rw_cost
# }
# upkeep = {
# energy = 5
# }
# produces = {
# minerals = 50
# }
# }
#
# triggered_planet_modifier = {
# planet_housing_add = 1000
# }
# }
#district_rg_farming = {
# icon = district_rw_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 = {
# uses_district_set = rg_station
# exists = owner
# NOT = {
# AND = {
# owner = { is_ai = yes }
# owner = { country_uses_food = no }
# }
# }
# }
#
# resources = {
# category = planet_districts
# cost = {
# minerals = @rw_cost
# }
# upkeep = {
# energy = 5
# }
# produces = {
# food = 50
# }
# }
#
# # triggered for tooltip formatting purposes
# triggered_planet_modifier = {
# modifier = {
# planet_housing_add = 1000
# }
# }
#}
district_rg_industrial = {
icon = district_rw_industrial
base_buildtime = 30
is_capped_by_modifier = no
# TODO_CD: change to real slots
zone_slots = {
slot_rg_city_02
}
show_on_uncolonized = { uses_district_set = rg_station }
potential = {
uses_district_set = rg_station
exists = owner
NOT = {
AND = {
owner = { is_ai = yes }
owner = { country_uses_food = no }
}
}
}
resources = {
@@ -409,17 +468,24 @@ district_rg_farming = {
}
upkeep = {
energy = 5
minerals = 50
}
produces = {
food = 50
nanites = 50
}
}
# triggered for tooltip formatting purposes
triggered_planet_modifier = {
modifier = {
planet_housing_add = 10
}
planet_housing_add = 1000
}
inline_script = {
script = jobs/industrial_districts_factory_add
AMOUNT = 500
}
inline_script = {
script = jobs/industrial_districts_foundry_add
AMOUNT = 500
}
}
@@ -428,6 +494,11 @@ district_rg_science = {
base_buildtime = 30
is_capped_by_modifier = no
# TODO_CD: change to real slots
zone_slots = {
slot_rg_city_03
}
show_on_uncolonized = { uses_district_set = rg_station }
potential = { uses_district_set = rg_station }
@@ -453,12 +524,12 @@ district_rg_science = {
minerals = @rw_cost
}
upkeep = {
energy = @rw_maintenance
energy = 5
}
}
triggered_planet_modifier = {
planet_housing_add = 10
planet_housing_add = 1000
}
triggered_planet_modifier = {
@@ -467,9 +538,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 +550,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 +562,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 +578,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 +591,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 = {
@@ -550,111 +631,47 @@ district_rg_science = {
}
}
district_rg_industrial = {
icon = district_rw_industrial
base_buildtime = 30
is_capped_by_modifier = no
show_on_uncolonized = { uses_district_set = rg_station }
potential = {
uses_district_set = rg_station
}
resources = {
category = planet_districts
cost = {
minerals = @rw_cost
}
upkeep = {
energy = @rw_maintenance
}
upkeep = {
trigger = {
exists = owner
owner = {
has_edict = industrial_maintenance
}
}
energy = 4
}
}
triggered_planet_modifier = {
planet_housing_add = 10
}
inline_script = {
script = jobs/industrial_districts_factory_add
AMOUNT = 10
}
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
}
}
district_rg_nanites = {
icon = district_rg_nanites
base_buildtime = 30
is_capped_by_modifier = no
show_on_uncolonized = {
uses_district_set = rg_station
exists = from
}
potential = {
exists = owner
uses_district_set = rg_station
}
convert_to = {
}
resources = {
category = planet_districts
cost = {
minerals = @rw_cost
}
upkeep = {
energy = 5
minerals = 40
}
produces = {
nanites = 40
}
}
triggered_planet_modifier = {
planet_housing_add = 10
}
}
# district_rg_nanites = {
# icon = 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
# }
#
# potential = {
# exists = owner
# uses_district_set = rg_station
# }
#
# convert_to = {
# }
#
# resources = {
# category = planet_districts
# cost = {
# minerals = @rw_cost
# }
# upkeep = {
# energy = 5
# minerals = 40
# }
# produces = {
# nanites = 40
# }
# }
#
# triggered_planet_modifier = {
# planet_housing_add = 1000
# }
# }
# district_rg_commercial = {
# icon = district_rw_commercial

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

@@ -17,7 +17,7 @@ rg_save_gray_leader_level_effect = {
#由于目前是leader域所以不能直接导出等级
#导出等级到暂存
export_trigger_value_to_variable = {
trigger = has_skill
trigger = has_base_skill
variable = rg_gray_level_temp
}
#把leader域中的变量存到country域中
@@ -39,7 +39,7 @@ rg_save_gray_leader_level_effect = {
has_leader_flag = rg_gray_leader
}
export_trigger_value_to_variable = {
trigger = has_skill
trigger = has_base_skill
variable = rg_gray_level_temp
}
owner = {

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

@@ -158,7 +158,7 @@ rg_save_gray_leader_level_effect = {
}
#导出等级到暂存
export_trigger_value_to_variable = {
trigger = has_skill
trigger = has_base_skill
variable = rg_gray_level_temp
}
#导入变量
@@ -542,6 +542,21 @@ rg_harbitar_size_calculate = {
}
}
rg_habitat_maid_init = {
if = {
limit = {
NOT = {
exists = event_target:rg_owner_main_maid_species
}
}
event_target:rg_gray_habitat_target = {
every_owned_pop_group = {
rg_event_effect_planet2027_spawn_maid_species = yes
}
}
}
}
#Country event_target:gray_owner
#创造灰风纳米空间站
rg_juggernaut_habitat_init = {
@@ -584,16 +599,6 @@ rg_juggernaut_habitat_init = {
species = owner_main_species
ethos = owner
}
if = {
limit = {
NOT = {
exists = event_target:rg_owner_main_maid_species
}
}
every_owned_pop = {
rg_event_effect_planet2027_spawn_maid_species = yes
}
}
set_name = "NAME_rg_gray_habitat_base"
if = {
limit = {
@@ -605,22 +610,6 @@ rg_juggernaut_habitat_init = {
}
set_planet_size = owner.rg_habitat_size
generate_start_buildings_and_districts = yes
while = {
count = 1
add_district = district_rg_generator
}
while = {
count = 1
add_district = district_rg_mining
}
while = {
count = 1
add_district = district_rg_farming
}
while = {
count = 1
add_district = district_rg_industrial
}
if = {
limit = {
exists = owner
@@ -658,10 +647,20 @@ rg_juggernaut_habitat_init = {
}
}
while = {
count = 5
create_pop = {
species = owner_main_species
}
count = 1
add_district = district_rg_generator
}
while = {
count = 1
add_district = district_rg_industrial
}
while = {
count = 1
add_district = district_rg_science
}
create_pop_group = {
species = owner_main_species
size = 5
}
set_planet_flag = megastructure
set_planet_flag = habitat
@@ -673,6 +672,7 @@ rg_juggernaut_habitat_init = {
}
}
}
rg_habitat_maid_init = yes
rg_set_gray_harbitat_active_effect = yes
}
}

View File

@@ -622,7 +622,7 @@ rg_gray_leader_experience_jar = {
RG_has_gray_cluster_origin_trigger = yes
}
}
has_skill < 10
has_base_skill < 10
}
add_experience = 54000
event_target:gray_owner = {

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

@@ -1,6 +1,6 @@
RG_gray_mod1_trigger = {
event_target:gray_leader_admiral = {
has_skill >= 10
has_base_skill >= 10
}
NOR = {
has_country_flag = rg_gray_level_2
@@ -35,7 +35,7 @@ RG_gray_mod1_allow_trigger = {
custom_tooltip = {
fail_text = requires_rg_graylevel_higherthan_10
event_target:gray_leader_admiral = {
has_skill >= 10
has_base_skill >= 10
}
}
resource_stockpile_compare = {
@@ -51,7 +51,7 @@ RG_gray_mod1_allow_trigger = {
RG_gray_mod2_trigger = {
AND = {
event_target:gray_leader_admiral = {
has_skill >= 10
has_base_skill >= 10
}
has_country_flag = rg_gray_level_2
}
@@ -93,7 +93,7 @@ RG_gray_mod2_allow_trigger = {
custom_tooltip = {
fail_text = requires_rg_graylevel_higherthan_10
event_target:gray_leader_admiral = {
has_skill >= 10
has_base_skill >= 10
}
}
}

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 = {
species = owner_main_species
}
create_pop_group = {
species = owner_main_species
size = 105
}
while = {
count = 94
create_pop = {
species = event_target:rg_scion_slave.species
}
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 = {
species = owner_main_species
}
create_pop_group = {
species = owner_main_species
size = 50
}
while = {
count = 20
create_pop = {
species = event_target:rg_scion_slave.species
}
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 = {
species = owner_main_species
}
create_pop_group = {
species = owner_main_species
size = 22
}
while = {
count = 10
create_pop = {
species = event_target:rg_scion_slave.species
}
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 = {
species = owner_main_species
}
create_pop_group = {
species = owner_main_species
size = 105
}
while = {
count = 94
create_pop = {
species = event_target:rg_scion_slave.species
}
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 = {
species = owner_main_species
}
create_pop_group = {
species = owner_main_species
size = 50
}
while = {
count = 20
create_pop = {
species = event_target:rg_scion_slave.species
}
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 = {
species = owner_main_species
}
create_pop_group = {
species = owner_main_species
size = 22
}
while = {
count = 10
create_pop = {
species = event_target:rg_scion_slave.species
}
create_pop_group = {
species = event_target:rg_scion_slave.species
size = 10
}
while = {
count = 10

View File

@@ -49,7 +49,7 @@
# always = yes
# }
# leader_skill_levels = 1
# mult = trigger:has_skill
# mult = trigger:has_base_skill
# }
# self_modifier = {
# species_leader_exp_gain = 1
@@ -121,7 +121,7 @@ RG_leader_trait_governor_gray = {
always = yes
}
leader_skill_levels = 1
mult = trigger:has_skill
mult = trigger:has_base_skill
}
self_modifier = {
species_leader_exp_gain = 1
@@ -175,7 +175,7 @@ RG_leader_trait_ruler_gray = {
}
# leader_skill_levels = 1
leaders_upkeep_mult = 0.1
mult = trigger:has_skill
mult = trigger:has_base_skill
}
triggered_self_modifier = {
potential = {
@@ -193,7 +193,7 @@ RG_leader_trait_ruler_gray = {
}
# leader_skill_levels = 1
leaders_upkeep_mult = 0.15
mult = trigger:has_skill
mult = trigger:has_base_skill
}
triggered_self_modifier = {
potential = {
@@ -207,7 +207,7 @@ RG_leader_trait_ruler_gray = {
}
# leader_skill_levels = 1
leaders_upkeep_mult = 0.2
mult = trigger:has_skill
mult = trigger:has_base_skill
}
triggered_councilor_modifier = {
potential = {
@@ -221,7 +221,7 @@ RG_leader_trait_ruler_gray = {
}
# country_energy_produces_mult = -0.02
planet_stability_add = -1
mult = trigger:has_skill
mult = trigger:has_base_skill
}
triggered_councilor_modifier = {
potential = {
@@ -239,7 +239,7 @@ RG_leader_trait_ruler_gray = {
}
# country_energy_produces_mult = -0.03
planet_stability_add = -1.5
mult = trigger:has_skill
mult = trigger:has_base_skill
}
triggered_councilor_modifier = {
potential = {
@@ -253,7 +253,7 @@ RG_leader_trait_ruler_gray = {
}
# country_energy_produces_mult = -0.04
planet_stability_add = -2
mult = trigger:has_skill
mult = trigger:has_base_skill
}
triggered_councilor_modifier = {
potential = {
@@ -268,7 +268,7 @@ RG_leader_trait_ruler_gray = {
megastructure_build_speed_mult = 0.1
country_unity_produces_mult = 0.05
country_base_influence_produces_add = 1
mult = trigger:has_skill
mult = trigger:has_base_skill
}
leader_class = {
official
@@ -293,7 +293,7 @@ RG_leader_trait_admiral_gray_1 = {
always = yes
}
leader_skill_levels = 1
mult = trigger:has_skill
mult = trigger:has_base_skill
}
self_modifier = {
species_leader_exp_gain = 1
@@ -334,7 +334,7 @@ RG_leader_trait_admiral_gray_2 = {
always = yes
}
leader_skill_levels = 1
mult = trigger:has_skill
mult = trigger:has_base_skill
}
self_modifier = {
species_leader_exp_gain = 1
@@ -375,7 +375,7 @@ RG_leader_trait_admiral_gray = {
always = yes
}
leader_skill_levels = 1
mult = trigger:has_skill
mult = trigger:has_base_skill
}
self_modifier = {
species_leader_exp_gain = 1
@@ -449,7 +449,7 @@ RG_leader_trait_scientist_gray = {
always = yes
}
leader_skill_levels = 1
mult = trigger:has_skill
mult = trigger:has_base_skill
}
self_modifier = {
species_leader_exp_gain = 1

View File

@@ -0,0 +1,63 @@
# Planet District Zone Slots
# slot_test_01 = {
# start = zone_default # A zone of this type is immediately placed in a new district slot.
#
# include = { # A list of zone types that are available to be built in the slot. The key 'all' can be used to include all existing zone types.
# all
# }
#
# exclude = { # A list of zone types that aren't available to be built in the slot.
# zone_test_05
# }
#
# potential = {
# always = yes # Trigger that defines whether the slot is available on the planet at all. Scope = Planet.
# }
#
# unlock = { # Trigger that defines whether the slot is unlocked on the planet. Scope = Planet.
# always = yes
# }
# }
slot_rg_city_01 = {
include = {
zone_rg_city_housing
zone_rg_city_foundry
zone_rg_city_alloys
zone_rg_city_science
}
exclude = {
zone_default
}
unlock = { # planet scope
uses_district_set = rg_station
}
}
slot_rg_city_02 = {
include = {
zone_rg_city_housing
zone_rg_city_foundry
zone_rg_city_alloys
zone_rg_city_science
}
exclude = {
zone_default
}
unlock = { # planet scope
uses_district_set = rg_station
}
}
slot_rg_city_03 = {
include = {
zone_rg_city_housing
zone_rg_city_foundry
zone_rg_city_alloys
zone_rg_city_science
}
exclude = {
zone_default
}
unlock = { # planet scope
uses_district_set = rg_station
}
}

202
common/zones/rg_zones.txt Normal file
View File

@@ -0,0 +1,202 @@
# Planet District Zones
# zone_test_01 = {
# potential = { # Trigger that defines whether the zone can potentially be built on the Planet. Scope = Planet
# always = yes
# }
#
# unlock = { # Trigger that defines whether the zone is unlocked for building on the planet. Scope = Planet
# always = yes
# }
#
# resources = { # Cost of building. Scope = Planet
# category = planet_districts
# cost = {
# minerals = 50
# }
# }
#
# max_buildings = 3 # Number of slots for buildings.
#
# planet_modifier = { # Planet modifier from the zone
# }
#
# triggered_planet_modifier = { # Triggered planet modifier from the zone. Scope = Planet
# potential = {
# always = yes
# }
# }
#
# triggered_planet_pop_group_modifier = { # Triggered modifier applied to pop groups on planet.
# potential = { # Modifier values are divided in proportion to size between pop groups for which the trigger is true.
# always = yes # Scope = Pop group
# }
# }
#
# district_planet_modifier = { # Planet modifier from the zone. Modifier value is multiplied by the District Level
# }
#
# triggered_district_planet_modifier = { # Triggered planet modifier from the zone. Modifier value is multiplied by the District Level. Scope = Planet
# potential = {
# always = yes
# }
# }
#
# include = { } # Buildings listed here can be constructed in this zone.
#
# exclude = { } # Buildings listed here cannot be constructed in this zone.
#
# included_building_sets = {
# # Buildings belonging to any building set listed here can be constructed in this zone.
# }
#
# excluded_building_sets = {
# # Buildings belonging to any building set listed here cannot be constructed in this zone.
# }
#
# triggered_desc = { # Triggered description of the zone's effect. Scope = Planet
# trigger = {
# exists = owner
# }
# text = job_clerk_effect_desc
# }
# }
zone_rg_city_housing = {
icon = GFX_colony_type_urban
base_buildtime = 120
potential = { # planet scope
always = yes
}
unlock = { # planet scope
always = yes
}
resources = {
category = planet_zones
cost = {
}
}
include = {
all
}
included_building_sets = {
}
triggered_district_planet_modifier = {
potential = {
exists = owner
}
planet_housing_add = 3000
planet_crime_add = -10
planet_amenities_add = 1000
}
planet_modifier = {
zone_building_slots_add = 3
}
}
zone_rg_city_foundry = {
icon = GFX_resource_energy_large
base_buildtime = 120
potential = { # planet scope
always = yes
}
unlock = { # planet scope
always = yes
}
resources = {
category = planet_zones
cost = {
}
}
include = {
all
}
included_building_sets = {
}
inline_script = {
script = jobs/zone_technicians_add
AMOUNT = 1000
}
inline_script = {
script = jobs/zone_miner_add
AMOUNT = 1000
}
inline_script = {
script = jobs/zone_farmers_add
AMOUNT = 1000
}
planet_modifier = {
zone_building_slots_add = 3
}
}
zone_rg_city_alloys = {
icon = GFX_resource_energy_large
base_buildtime = 120
potential = { # planet scope
always = yes
}
unlock = { # planet scope
always = yes
}
resources = {
category = planet_zones
cost = {
}
}
include = {
all
}
included_building_sets = {
}
inline_script = {
script = jobs/zone_factory_add
AMOUNT = 500
}
inline_script = {
script = jobs/zone_foundry_add
AMOUNT = 500
}
planet_modifier = {
zone_building_slots_add = 3
}
}
zone_rg_city_science = {
icon = GFX_colony_type_research
base_buildtime = 120
potential = { # planet scope
always = yes
}
unlock = { # planet scope
always = yes
}
resources = {
category = planet_zones
cost = {
}
}
include = {
all
}
included_building_sets = {
}
inline_script = {
script = jobs/zone_researchers_add
AMOUNT = 1000
}
planet_modifier = {
zone_building_slots_add = 3
}
}

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

@@ -465,7 +465,7 @@ country_event = {
has_leader_flag = rg_gray_leader
}
export_trigger_value_to_variable = {
trigger = has_skill
trigger = has_base_skill
variable = rg_gray_level_temp
}
owner = {
@@ -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,27 +1116,33 @@ planet_event = {
NOT = { ideal_planet_class = root }
}
}
last_created_pop = {
event_target:last_created_pop_group = {
modify_species = {
ideal_planet_class = root
}
}
}
if = {
limit = {
from = {
OR = {
has_active_tradition = tr_harmony_unity_of_self
has_active_tradition = tr_synchronicity_unity_of_mind
event_target:last_created_pop_group = {
add_pop_amount = local_pop_amount
}
while = {
count = local_pop_amount
if = {
limit = {
from = {
OR = {
has_active_tradition = tr_harmony_unity_of_self
has_active_tradition = tr_synchronicity_unity_of_mind
}
}
}
}
from = {
add_monthly_resource_mult = {
resource = unity
value = 1.5
min = 5
max = 100
from = {
add_monthly_resource_mult = {
resource = unity
value = 1.5
min = 5
max = 100
}
}
}
}
@@ -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 }
}
}
}
}
@@ -1183,10 +1203,15 @@ country_event = { # Memorial Valuts Civic Paragon Level Tick / FROM = Leader
immediate = {
rg_create_gray_planetkiller_testship_2 = yes
modify_species = {
species = root.species
add_trait = rg_machine_maid_trait
capital_scope = {
every_owned_pop_group = {
modify_species = {
species = owner_main_species
add_trait = rg_machine_maid_trait
}
}
}
}
}
@@ -1310,81 +1335,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 = {
species = event_target:rg_maid_species
}
create_pop_group = {
species = event_target:rg_maid_species
size = 5
}
}
}

View File

@@ -262,11 +262,11 @@ country_event = {
NOR = {
free_jobs_of_type = {
job = mortal_initiate
value >= 1
value >= 100
}
free_jobs_of_type = {
category = bio_trophy
value >= 1
value >= 100
}
}
}
@@ -298,11 +298,11 @@ country_event = {
NOR = {
free_jobs_of_type = {
job = mortal_initiate
value >= 1
value >= 100
}
free_jobs_of_type = {
category = bio_trophy
value >= 1
value >= 100
}
}
# exists = event_target:rg_gray_habitat_target
@@ -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

@@ -14,30 +14,43 @@
district_rg_farming: "农业区段"
district_rg_farming_plural: "农业区段"
district_rg_farming_desc: "无垠的农田之海充斥着这个区段,其中种满了大量的食物。"
district_rg_generator: "发电区段"
district_rg_generator_plural: "发电区段"
district_rg_generator_desc: "反应堆填满了这个区段,专注于生产能量。"
district_rg_nanites: "纳米区段"
district_rg_nanites_plural: "纳米区段"
district_rg_nanites_desc: "纳米机器复制仪填满了这个区段,目标是生产尽可能多的纳米机器人。"
district_rg_generator: "纳米复制区段"
district_rg_generator_plural: "纳米复制区段"
district_rg_generator_desc: "纳米机器复制仪填满了这个区段,专注于生产基础资源。"
district_rg_nanites: "纳米铸造区段"
district_rg_nanites_plural: "纳米铸造区段"
district_rg_nanites_desc: "纳米机器复制仪填满了这个区段,目标是生产尽可能多的纳米机器人与合金。"
district_rg_mining: "采矿区段"
district_rg_mining_plural: "采矿区段"
district_rg_mining_desc: "采矿无人机集群填满了这个区段,专注于从附近星球上采集有用的矿物。"
district_rg_science: "研区段"
district_rg_science_plural: "研区段"
district_rg_science_desc: "这个区段充满了各类研究设施。"
district_rg_science: "纳米科研区段"
district_rg_science_plural: "纳米科研区段"
district_rg_science_desc: "这个区段充满了住房与各类研究设施。"
district_rg_commercial: "商业区段"
district_rg_commercial_plural: "商业区段"
district_rg_commercial_desc: "这个区段充斥着专门用于商业的民用工厂和设施。"
district_rg_city: "城市区段"
district_rg_city_plural: "城市区段"
district_rg_city: "纳米居住区段"
district_rg_city_plural: "纳米居住区段"
district_rg_city_desc: "这个区段充满了城市中心,这些城市中心提供大量的住房和职员的办公场所。"
district_rg_hive: "蜂巢区段"
district_rg_hive_plural: "蜂巢区段"
district_rg_hive: "纳米蜂巢区段"
district_rg_hive_plural: "纳米蜂巢区段"
district_rg_hive_desc: "高耸的尖塔布满这个区段,当子个体不在工作时,就会集结于此摄取营养素。"
district_rg_nexus: "中枢区段"
district_rg_nexus_plural: "中枢区段"
district_rg_nexus: "纳米中枢区段"
district_rg_nexus_plural: "纳米中枢区段"
district_rg_nexus_desc: "高效的区划填满了这个区段,无人机部署作业前,在这些集中区划中接受整修服务。"
district_rg_industrial: "工业区段"
district_rg_industrial_plural: "工业区段"
district_rg_industrial_desc: "这个区段中遍布着叮当作响的工厂与强劲的机械,为帝国提供了有力的工业基础。"
district_rg_industrial: "纳米铸造区段"
district_rg_industrial_plural: "纳米铸造区段"
district_rg_industrial_desc: "这个区段中遍布着叮当作响的工厂与强劲的机械,为帝国提供了有力的工业基础。"
zone_rg_city_housing:0 "纳米居住特化"
zone_rg_city_housing_desc:0 "使用零素方钢和纳米物质,房屋就像凭空出现一样相互堆叠。"
zone_rg_city_housing_plural:0 "纳米居住特化"
zone_rg_city_foundry:0 "纳米复制特化"
zone_rg_city_foundry_desc:0 "使用先进的零素方钢和膨胀螺栓堆叠技术,这些凭空增加的复制仪专注于生产基础资源。"
zone_rg_city_foundry_plural:0 "纳米复制特化"
zone_rg_city_science:0 "纳米研发特化"
zone_rg_city_science_desc:0 "通过缩减研究人员宿舍空间,我们的科研设备数量得以增加。"
zone_rg_city_science_plural:0 "纳米研发特化"
zone_rg_city_alloys:0 "纳米铸造特化"
zone_rg_city_alloys_desc:0 "使用先进的零素方钢和膨胀螺栓堆叠技术,这些凭空增加的复制仪目标是生产尽可能多的纳米机器人与合金。"
zone_rg_city_alloys_plural:0 "纳米铸造特化"

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

@@ -7,7 +7,7 @@
"path": "../../../../../../../Steam/steamapps/common/Stellaris"
},
{
"path": "../../../../../../../Steam/steamapps/workshop/content/281990"
"path": "../../../../../../../Steam/steamapps/workshop/content/281990/2293827000"
}
]
}