Compare commits
25 Commits
3.12.x
...
9f895b4a32
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9f895b4a32 | ||
|
|
b197c19e49 | ||
|
|
878bdfc2c3 | ||
|
|
844db1a987 | ||
|
|
8e457a0826 | ||
|
|
8133f83066 | ||
|
|
2ac2b23047 | ||
|
|
01200b9020 | ||
|
|
7a545c4c88 | ||
|
|
4cb251cf7f | ||
|
|
e1f7cbea61 | ||
|
|
328ddbe3a0 | ||
|
|
df77895b22 | ||
|
|
5fbb6e2ce4 | ||
|
|
5a5c46ef7f | ||
|
|
c34c0b8eb9 | ||
|
|
a60bfff413 | ||
|
|
7aa701f86d | ||
|
|
638a314145 | ||
|
|
f951701097 | ||
|
|
b8551fa85b | ||
|
|
4c8423b870 | ||
|
|
7541c9fce5 | ||
|
|
a2a825ac26 | ||
|
|
2c478b0e20 |
@@ -0,0 +1,28 @@
|
||||
### Gray ###
|
||||
disco_gray_cat = {
|
||||
desc = "disco_gray_cat_desc"
|
||||
picture = "GFX_evt_ship_in_orbit_2"
|
||||
level = 3
|
||||
max_once_global = yes
|
||||
|
||||
spawn_chance = {
|
||||
modifier = {
|
||||
add = 999999999999
|
||||
is_planet_class = pc_gray_goo
|
||||
solar_system = { has_star_flag = lcluster }
|
||||
}
|
||||
modifier = {
|
||||
factor = 0
|
||||
OR = {
|
||||
from.owner = {
|
||||
is_ai = yes
|
||||
}
|
||||
has_global_flag = gray_goo_crisis_set
|
||||
has_global_flag = dragon_season
|
||||
has_global_flag = gray_goo_empire_set
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
on_success = graygoo.400
|
||||
}
|
||||
@@ -5,13 +5,10 @@ rg_ap_nantiematter = {
|
||||
}
|
||||
possible = {
|
||||
OR = {
|
||||
has_country_flag = origin_rg_gray
|
||||
has_country_flag = gray_owner
|
||||
has_technology = tech_lgate_activation
|
||||
can_research_technology = tech_lgate_activation
|
||||
has_tradition = tr_rg_nanotech_4
|
||||
}
|
||||
NOT = {
|
||||
has_ascension_perk = rg_nantiematter
|
||||
has_ascension_perk = rg_ap_nantiematter
|
||||
}
|
||||
}
|
||||
potential = {
|
||||
|
||||
282
common/buildings/RG_nano_buildings.txt
Normal file
282
common/buildings/RG_nano_buildings.txt
Normal file
@@ -0,0 +1,282 @@
|
||||
#################
|
||||
# Nanotech #
|
||||
#################
|
||||
|
||||
building_rg_nanolab_1 = {
|
||||
base_buildtime = @b2_time
|
||||
icon = building_nanolab_1
|
||||
|
||||
category = research
|
||||
|
||||
potential = {
|
||||
exists = owner
|
||||
OR = {
|
||||
#uses_district_set = rg_station
|
||||
owner = { has_tradition = tr_rg_nanotech_1 }
|
||||
}
|
||||
#owner = { has_tradition = tr_nanotech_adopt }
|
||||
}
|
||||
|
||||
allow = {
|
||||
always = yes
|
||||
#owner = { has_tradition = tr_nanotech_adopt }
|
||||
}
|
||||
|
||||
# destroy_trigger = {
|
||||
# exists = owner
|
||||
# OR = {
|
||||
# NOT = { owner = { has_tradition = tr_nanotech_adopt } }
|
||||
# has_modifier = slave_colony
|
||||
# has_modifier = resort_colony
|
||||
# }
|
||||
# }
|
||||
|
||||
resources = {
|
||||
category = planet_buildings
|
||||
cost = {
|
||||
minerals = @b3_minerals
|
||||
nanites = @b2_rare_cost
|
||||
}
|
||||
upkeep = {
|
||||
energy = @b3_upkeep
|
||||
nanites = @b2_rare_upkeep
|
||||
}
|
||||
}
|
||||
|
||||
# triggered_planet_modifier = {
|
||||
# potential = {
|
||||
# exists = owner
|
||||
# owner = {
|
||||
# is_machine_empire = yes
|
||||
# }
|
||||
# }
|
||||
# job_nanotech_research_unit_add = 3
|
||||
# }
|
||||
|
||||
triggered_planet_modifier = {
|
||||
potential = {
|
||||
always = yes
|
||||
# exists = owner
|
||||
# owner = {
|
||||
# is_individual_machine = yes
|
||||
# }
|
||||
}
|
||||
job_nanotech_researcher_add = 8
|
||||
}
|
||||
|
||||
# triggered_desc = {
|
||||
# trigger = {
|
||||
# exists = owner
|
||||
# owner = {
|
||||
# is_machine_empire = yes
|
||||
# }
|
||||
# }
|
||||
# text = job_nanotech_research_unit_effect_desc
|
||||
# }
|
||||
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
always = yes
|
||||
#exists = owner
|
||||
#owner = {
|
||||
# is_individual_machine = yes
|
||||
#}
|
||||
}
|
||||
text = job_nanotech_researcher_effect_desc
|
||||
}
|
||||
|
||||
upgrades = {
|
||||
"building_rg_nanolab_2"
|
||||
}
|
||||
}
|
||||
|
||||
building_rg_nanolab_2 = {
|
||||
base_buildtime = @b3_time
|
||||
icon = building_nanolab_2
|
||||
can_build = no
|
||||
|
||||
|
||||
category = research
|
||||
|
||||
potential = {
|
||||
exists = owner
|
||||
OR = {
|
||||
#uses_district_set = rg_station
|
||||
owner = { has_tradition = tr_rg_nanotech_1 }
|
||||
}
|
||||
# owner = { has_tradition = tr_nanotech_1 }
|
||||
}
|
||||
|
||||
allow = {
|
||||
has_upgraded_capital = yes
|
||||
}
|
||||
|
||||
# destroy_trigger = {
|
||||
# exists = owner
|
||||
# OR = {
|
||||
# NOT = { owner = { has_tradition = tr_nanotech_1 } }
|
||||
# has_modifier = slave_colony
|
||||
# has_modifier = resort_colony
|
||||
# }
|
||||
# }
|
||||
|
||||
resources = {
|
||||
category = planet_buildings
|
||||
cost = {
|
||||
minerals = @b4_minerals
|
||||
nanites = @b3_rare_cost
|
||||
}
|
||||
upkeep = {
|
||||
energy = @b4_upkeep
|
||||
nanites = @b3_rare_upkeep
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# triggered_planet_modifier = {
|
||||
# potential = {
|
||||
# exists = owner
|
||||
# owner = {
|
||||
# is_machine_empire = yes
|
||||
# }
|
||||
# }
|
||||
# job_nanotech_research_unit_add = 6
|
||||
# }
|
||||
|
||||
triggered_planet_modifier = {
|
||||
potential = {
|
||||
always = yes
|
||||
# exists = owner
|
||||
# owner = {
|
||||
# is_individual_machine = yes
|
||||
# }
|
||||
}
|
||||
job_nanotech_researcher_add = 15
|
||||
}
|
||||
|
||||
# triggered_desc = {
|
||||
# trigger = {
|
||||
# exists = owner
|
||||
# owner = {
|
||||
# is_machine_empire = yes
|
||||
# }
|
||||
# }
|
||||
# text = job_nanotech_research_unit_effect_desc
|
||||
# }
|
||||
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
always = yes
|
||||
# exists = owner
|
||||
# owner = {
|
||||
# is_individual_machine = yes
|
||||
# }
|
||||
}
|
||||
text = job_nanotech_researcher_effect_desc
|
||||
}
|
||||
}
|
||||
|
||||
building_rg_nanotech_cauldron = {
|
||||
base_buildtime = @b2_time
|
||||
icon = building_nanotech_cauldron
|
||||
|
||||
category = manufacturing
|
||||
|
||||
potential = {
|
||||
exists = owner
|
||||
OR = {
|
||||
#uses_district_set = rg_station
|
||||
owner = { has_tradition = tr_rg_nanotech_1 }
|
||||
}
|
||||
# NOT = { has_modifier = resort_colony }
|
||||
# NOT = { has_modifier = slave_colony }
|
||||
}
|
||||
|
||||
allow = {
|
||||
always = yes
|
||||
}
|
||||
|
||||
# destroy_trigger = {
|
||||
# exists = owner
|
||||
# OR = {
|
||||
# NOT = { owner = { has_tradition = tr_nanotech_2 } }
|
||||
# has_modifier = slave_colony
|
||||
# has_modifier = resort_colony
|
||||
# }
|
||||
# }
|
||||
|
||||
resources = {
|
||||
category = planet_buildings
|
||||
cost = {
|
||||
minerals = 1000
|
||||
}
|
||||
produces = {
|
||||
trigger = {
|
||||
owner = {
|
||||
NOT = {
|
||||
has_deficit = minerals
|
||||
}
|
||||
}
|
||||
}
|
||||
alloys = 60
|
||||
consumer_goods = 40
|
||||
}
|
||||
upkeep = {
|
||||
nanites = 25
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
building_rg_nanite_transmuter = {
|
||||
base_buildtime = @b3_time
|
||||
icon = building_nanite_transmuter
|
||||
|
||||
category = manufacturing
|
||||
|
||||
potential = {
|
||||
exists = owner
|
||||
OR = {
|
||||
#uses_district_set = rg_station
|
||||
owner = { has_tradition = tr_rg_nanotech_1 }
|
||||
}
|
||||
# owner = { has_tradition = tr_nanotech_2 }
|
||||
# NOT = { has_modifier = resort_colony }
|
||||
# NOT = { has_modifier = slave_colony }
|
||||
}
|
||||
|
||||
allow = {
|
||||
has_upgraded_capital = yes
|
||||
}
|
||||
|
||||
resources = {
|
||||
category = planet_buildings
|
||||
cost = {
|
||||
minerals = 1000
|
||||
}
|
||||
produces = {
|
||||
trigger = {
|
||||
owner = {
|
||||
NOT = {
|
||||
has_deficit = minerals
|
||||
}
|
||||
}
|
||||
}
|
||||
nanites = 40
|
||||
rare_crystals = 2
|
||||
volatile_motes = 2
|
||||
exotic_gases = 2
|
||||
}
|
||||
upkeep = {
|
||||
minerals = 50
|
||||
}
|
||||
}
|
||||
|
||||
ai_resource_production = {
|
||||
rare_crystals = @b3_rare_upkeep
|
||||
volatile_motes = @b3_rare_upkeep
|
||||
exotic_gases = @b3_rare_upkeep
|
||||
trigger = {
|
||||
always = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2,16 +2,27 @@
|
||||
# BASIC SHIP COMPUTERS #
|
||||
########################
|
||||
|
||||
@cost1 = 5
|
||||
@cost2 = 10
|
||||
@cost3 = 15
|
||||
@cost4 = 20
|
||||
|
||||
@power0 = -5
|
||||
@power1 = -10
|
||||
@power2 = -15
|
||||
@power3 = -20
|
||||
@power4 = -30
|
||||
|
||||
utility_component_template = {
|
||||
key = "RG_COMBAT_COMPUTER_SWARM_DEFAULT"
|
||||
size = small
|
||||
icon = "GFX_ship_part_computer_default"
|
||||
icon_frame = 1
|
||||
power = @power0
|
||||
power = -5
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = @cost0
|
||||
alloys = 0
|
||||
}
|
||||
}
|
||||
ship_behavior = "swarm"
|
||||
@@ -40,11 +51,11 @@ utility_component_template = {
|
||||
size = small
|
||||
icon = "GFX_ship_part_computer_default"
|
||||
icon_frame = 1
|
||||
power = @power0
|
||||
power = -5
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = @cost0
|
||||
alloys = 0
|
||||
}
|
||||
}
|
||||
ship_behavior = "picket"
|
||||
@@ -75,11 +86,11 @@ utility_component_template = {
|
||||
size = small
|
||||
icon = "GFX_ship_part_computer_default"
|
||||
icon_frame = 1
|
||||
power = @power0
|
||||
power = -5
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = @cost0
|
||||
alloys = 0
|
||||
}
|
||||
}
|
||||
ship_behavior = "line"
|
||||
@@ -108,11 +119,11 @@ utility_component_template = {
|
||||
size = small
|
||||
icon = "GFX_ship_part_computer_default"
|
||||
icon_frame = 1
|
||||
power = @power0
|
||||
power = -5
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = @cost0
|
||||
alloys = 0
|
||||
}
|
||||
}
|
||||
ship_behavior = "artillery"
|
||||
@@ -141,11 +152,11 @@ utility_component_template = {
|
||||
size = small
|
||||
icon = "GFX_ship_part_computer_default"
|
||||
icon_frame = 1
|
||||
power = @power0
|
||||
power = -5
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = @cost0
|
||||
alloys = 0
|
||||
}
|
||||
}
|
||||
ship_behavior = "torpedo"
|
||||
|
||||
@@ -371,40 +371,40 @@ utility_component_template = {
|
||||
}
|
||||
|
||||
utility_component_template = {
|
||||
key = "RG_Mothership_DARK_MATTER_REACTOR"
|
||||
size = small
|
||||
icon = "GFX_ship_part_dark_matter_power_core"
|
||||
icon_frame = 1
|
||||
power =
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = 296
|
||||
sr_dark_matter = 8
|
||||
}
|
||||
upkeep = {
|
||||
energy = 2.98
|
||||
alloys = 0.298
|
||||
}
|
||||
}
|
||||
prerequisites = {
|
||||
"tech_dark_matter_power_core"
|
||||
}
|
||||
component_set = "power_core"
|
||||
size_restriction = {
|
||||
RG_graygoo_mothership
|
||||
RG_gray_juggernaut
|
||||
RG_graygoo_capitalship
|
||||
}
|
||||
ai_weight = {
|
||||
weight = 6
|
||||
modifier = {
|
||||
factor = 0
|
||||
no_resource_for_component = {
|
||||
RESOURCE = sr_dark_matter
|
||||
}
|
||||
}
|
||||
}
|
||||
key = "RG_Mothership_DARK_MATTER_REACTOR"
|
||||
size = small
|
||||
icon = "GFX_ship_part_dark_matter_power_core"
|
||||
icon_frame = 1
|
||||
power = 20
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = 296
|
||||
sr_dark_matter = 8
|
||||
}
|
||||
upkeep = {
|
||||
energy = 2.98
|
||||
alloys = 0.298
|
||||
}
|
||||
}
|
||||
prerequisites = {
|
||||
"tech_dark_matter_power_core"
|
||||
}
|
||||
component_set = "power_core"
|
||||
size_restriction = {
|
||||
RG_graygoo_mothership
|
||||
RG_gray_juggernaut
|
||||
RG_graygoo_capitalship
|
||||
}
|
||||
ai_weight = {
|
||||
weight = 6
|
||||
modifier = {
|
||||
factor = 0
|
||||
no_resource_for_component = {
|
||||
RESOURCE = sr_dark_matter
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
utility_component_template = {
|
||||
@@ -446,7 +446,7 @@ utility_component_template = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = 80
|
||||
nanties = 2
|
||||
nanites = 2
|
||||
}
|
||||
upkeep = {
|
||||
energy = 0.8
|
||||
@@ -473,7 +473,7 @@ utility_component_template = {
|
||||
size = small
|
||||
icon = "GFX_ship_part_thruster_1"
|
||||
icon_frame = 1
|
||||
power = @battleship_power_1
|
||||
power = -80
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
@@ -508,7 +508,7 @@ utility_component_template = {
|
||||
size = small
|
||||
icon = "GFX_ship_part_thruster_2"
|
||||
icon_frame = 1
|
||||
power = @battleship_power_2
|
||||
power = -120
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
@@ -545,7 +545,7 @@ utility_component_template = {
|
||||
size = small
|
||||
icon = "GFX_ship_part_thruster_3"
|
||||
icon_frame = 1
|
||||
power = @battleship_power_3
|
||||
power = -160
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
@@ -582,7 +582,7 @@ utility_component_template = {
|
||||
size = small
|
||||
icon = "GFX_ship_part_thruster_4"
|
||||
icon_frame = 1
|
||||
power = @battleship_power_4
|
||||
power = -200
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
@@ -619,7 +619,7 @@ utility_component_template = {
|
||||
size = small
|
||||
icon = "GFX_ship_part_thruster_5"
|
||||
icon_frame = 1
|
||||
power = @battleship_power_5
|
||||
power = -240
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
@@ -1183,7 +1183,7 @@ utility_component_template = {
|
||||
"tech_cloaking_3"
|
||||
}
|
||||
component_set = "science_cloaking_components"
|
||||
upgrades_to = "RG_CIENCE_CLOAKING_DARK_MATTER"
|
||||
upgrades_to = "RG_SCIENCE_CLOAKING_DARK_MATTER"
|
||||
ai_weight = {
|
||||
weight = 15
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
@shipAuraRange = 80
|
||||
|
||||
#混合装甲
|
||||
utility_component_template = {
|
||||
key = "LARGE_GRAY_MIX_ARMOR"
|
||||
@@ -988,7 +990,7 @@ strike_craft_component_template = {
|
||||
speed = 225
|
||||
rotation_speed = 0.25
|
||||
acceleration = 0.6
|
||||
size_damage_factor = 1
|
||||
# size_damage_factor = 1
|
||||
shield_damage = 1.2
|
||||
armor_penetration = 1
|
||||
weapon_type = instant
|
||||
@@ -1050,7 +1052,7 @@ strike_craft_component_template = {
|
||||
speed = 225
|
||||
rotation_speed = 0.25
|
||||
acceleration = 0.6
|
||||
size_damage_factor = 1
|
||||
# size_damage_factor = 1
|
||||
shield_damage = 1.2
|
||||
armor_penetration = 1
|
||||
weapon_type = instant
|
||||
@@ -1637,7 +1639,7 @@ utility_component_template = {
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = @cost0
|
||||
alloys = 0
|
||||
nanites = 4
|
||||
}
|
||||
}
|
||||
@@ -1661,11 +1663,11 @@ utility_component_template = {
|
||||
icon = "GFX_ship_part_enigmatic_encoder"
|
||||
icon_frame = 1
|
||||
hidden = yes
|
||||
power = @cost0
|
||||
power = 0
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = @cost0
|
||||
alloys = 0
|
||||
nanites = 4
|
||||
}
|
||||
}
|
||||
@@ -1693,7 +1695,7 @@ utility_component_template = {
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = @cost0
|
||||
alloys = 0
|
||||
nanites = 4
|
||||
}
|
||||
}
|
||||
@@ -1721,11 +1723,11 @@ utility_component_template = {
|
||||
icon = "GFX_ship_part_instrument_covenant_aux"
|
||||
icon_frame = 1
|
||||
hidden = yes
|
||||
power = @cost0
|
||||
power = 0
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = @cost0
|
||||
alloys = 0
|
||||
nanites = 4
|
||||
}
|
||||
}
|
||||
@@ -1963,15 +1965,15 @@ utility_component_template = {
|
||||
id = friendly_BAKAHALO
|
||||
priority = 233
|
||||
}
|
||||
damage_per_day = {
|
||||
accuracy = 0.5
|
||||
damage = {
|
||||
min = 48
|
||||
max = 96
|
||||
}
|
||||
shield_penetration = 1
|
||||
armor_penetration = 1
|
||||
}
|
||||
# damage_per_day = {
|
||||
# accuracy = 0.5
|
||||
# damage = {
|
||||
# min = 48
|
||||
# max = 96
|
||||
# }
|
||||
# shield_penetration = 1
|
||||
# armor_penetration = 1
|
||||
# }
|
||||
modifier = {
|
||||
ship_shield_mult = -0.1
|
||||
ship_speed_mult = -0.1
|
||||
@@ -2198,7 +2200,7 @@ utility_component_template = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = 300
|
||||
nanties = 10
|
||||
nanites = 10
|
||||
}
|
||||
}
|
||||
prerequisites = { "tech_gray_nano_boost_3" }
|
||||
@@ -2230,7 +2232,7 @@ utility_component_template = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = 100
|
||||
nanties = 5
|
||||
nanites = 5
|
||||
}
|
||||
}
|
||||
sensor_range = 15
|
||||
@@ -2260,7 +2262,7 @@ utility_component_template = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = 200
|
||||
nanties = 10
|
||||
nanites = 10
|
||||
}
|
||||
}
|
||||
prerequisites = { "tech_gray_nano_boost_3" }
|
||||
@@ -2287,7 +2289,7 @@ utility_component_template = {
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
nanties = 12
|
||||
nanites = 12
|
||||
alloys = 120
|
||||
}
|
||||
upkeep = {
|
||||
@@ -2322,7 +2324,7 @@ utility_component_template = {
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
nanties = 24
|
||||
nanites = 24
|
||||
alloys = 120
|
||||
}
|
||||
upkeep = {
|
||||
@@ -2355,7 +2357,7 @@ utility_component_template = {
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
nanties = 120
|
||||
nanites = 120
|
||||
alloys = 120
|
||||
}
|
||||
upkeep = {
|
||||
@@ -2390,7 +2392,7 @@ utility_component_template = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = 200
|
||||
nanties = 10
|
||||
nanites = 10
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#歼星武器
|
||||
#歼星武器-试射武器
|
||||
weapon_component_template = {
|
||||
key = "RG_PLANET_KILLER_SP"
|
||||
size = planet_killer
|
||||
@@ -51,6 +51,59 @@ weapon_component_template = {
|
||||
}
|
||||
}
|
||||
|
||||
#歼星武器-风暴浪潮
|
||||
weapon_component_template = {
|
||||
key = "RG_PLANET_KILLER_NANO_SP"
|
||||
size = planet_killer
|
||||
type = planet_killer
|
||||
icon = GFX_ship_part_divine_enforcer
|
||||
icon_frame = 1
|
||||
projectile_gfx = "gatebuilder_planet_weapon_ex"
|
||||
planet_destruction_gfx = "neutron_planet_gfx"
|
||||
total_fire_time = 60 #开火时间
|
||||
firing_arc = 25
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = 2000
|
||||
nanites = 50
|
||||
}
|
||||
}
|
||||
power = -1000
|
||||
damage = {
|
||||
min = 35
|
||||
max = 350
|
||||
} #伤害
|
||||
windup = {
|
||||
min = 32
|
||||
max = 64
|
||||
} #冷却
|
||||
size_damage_factor = 10
|
||||
hull_damage = 10 #船体伤害
|
||||
shield_damage = 10 #护盾伤害
|
||||
armor_damage = 10 #装甲伤害
|
||||
shield_penetration = 10 #护盾穿透
|
||||
armor_penetration = 10 #装甲穿透
|
||||
tracking = 1 #追踪
|
||||
range = 800 #范围
|
||||
accuracy = 1 #命中
|
||||
tags = {
|
||||
weapon_type_rg_main
|
||||
weapon_type_energy
|
||||
}
|
||||
size_restriction = {
|
||||
RG_gray_juggernaut
|
||||
RG_graygoo_capitalship
|
||||
RG_graygoo_mothership
|
||||
}
|
||||
component_set = "RG_PLANET_KILLER"
|
||||
prerequisites = { "tech_object_gray_7" }
|
||||
ship_limit = 1
|
||||
ai_weight = {
|
||||
weight = 0
|
||||
}
|
||||
}
|
||||
|
||||
# 重组仪
|
||||
utility_component_template = {
|
||||
key = "RG_revive_component"
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
# Here you can specify the lists of limits for the number of ships of some types that country can own
|
||||
# and potentially the lists of limits for the number of building of some type (not implemented yet)
|
||||
|
||||
# Note for overwriting: ownership_limits are extendable/additive. So if you make a second "default" and
|
||||
# add a single ship_of_size_limit inside it, it will apply both the limits described here, and the one
|
||||
# that you specified.
|
||||
# To do a full overwrite, you need to overwrite 00_ownership_limits.txt instead.
|
||||
|
||||
# Example:
|
||||
# name_of_ownership_limit = {
|
||||
# ship_of_size_limits = {
|
||||
# # the list of keys to ship_of_size_limits database
|
||||
# }
|
||||
# building_of_type_limit = {
|
||||
# # not implemented yet
|
||||
# }
|
||||
# }
|
||||
|
||||
default = {
|
||||
ship_of_size_limits = {
|
||||
RG_graygoo_capitalship_ships_limit
|
||||
RG_gray_juggernaut_ships_limit
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
RG_gray_juggernaut_ships_limit = {
|
||||
ship_types = {
|
||||
RG_gray_juggernaut
|
||||
}
|
||||
base = 512 # 1 * juggernaut's size_multiplier
|
||||
show = {
|
||||
is_scope_valid = yes
|
||||
has_technology = tech_gray_juggernaut_8
|
||||
}
|
||||
}
|
||||
|
||||
RG_graygoo_capitalship_ships_limit = {
|
||||
ship_types = {
|
||||
RG_graygoo_capitalship
|
||||
}
|
||||
base = 1024 # 1 * juggernaut's size_multiplier
|
||||
show = {
|
||||
is_scope_valid = yes
|
||||
has_technology = tech_gray_juggernaut_8
|
||||
}
|
||||
}
|
||||
110
common/decisions/RG_decisions.txt
Normal file
110
common/decisions/RG_decisions.txt
Normal file
@@ -0,0 +1,110 @@
|
||||
### turn off the lights
|
||||
decision_rg_server_shut_down = {
|
||||
owned_planets_only = yes
|
||||
sound = event_administrative_work
|
||||
icon = decision_glitchy_matrix
|
||||
enactment_time = 30
|
||||
|
||||
resources = {
|
||||
category = decisions
|
||||
cost = {
|
||||
unity = 200
|
||||
}
|
||||
}
|
||||
|
||||
potential = {
|
||||
exists = owner
|
||||
owner = {
|
||||
has_tradition = tr_virtuality_finish
|
||||
}
|
||||
}
|
||||
|
||||
allow = {
|
||||
is_capital = no
|
||||
}
|
||||
|
||||
effect = {
|
||||
destroy_colony = yes
|
||||
}
|
||||
|
||||
ai_weight = {
|
||||
weight = 0
|
||||
}
|
||||
}
|
||||
|
||||
### Nanotech Slushify Planet
|
||||
decision_rg_nanotech_swarm_consume_world = {
|
||||
icon = decision_tidal_lock_planet
|
||||
sound = event_structural_collapse
|
||||
|
||||
#enactment_time = 360
|
||||
resources = {
|
||||
category = decisions
|
||||
}
|
||||
owned_planets_only = yes
|
||||
|
||||
potential = {
|
||||
exists = owner
|
||||
owner = {
|
||||
has_tradition = tr_rg_nanotech_3
|
||||
}
|
||||
can_have_habitable_deposits = yes
|
||||
is_capital = no
|
||||
NOT = {
|
||||
has_planet_flag = being_devoured
|
||||
}
|
||||
NOT = { has_designation = col_nanotech_world }
|
||||
}
|
||||
|
||||
effect = {
|
||||
custom_tooltip = decision_nanotech_swarm_consume_world_effect_desc
|
||||
set_timed_planet_flag = {
|
||||
days = 360
|
||||
flag = recently_eaten_planet
|
||||
}
|
||||
hidden_effect = {
|
||||
set_planet_flag = colony_event
|
||||
set_planet_flag = being_devoured
|
||||
add_modifier = {
|
||||
modifier = being_devoured_modifier_nanotech
|
||||
days = -1
|
||||
}
|
||||
export_trigger_value_to_variable = {
|
||||
trigger = planet_size
|
||||
variable = num_districts_terravore
|
||||
}
|
||||
export_trigger_value_to_variable = {
|
||||
trigger = count_deposits
|
||||
parameters = {
|
||||
type = d_nanotech_devastation
|
||||
}
|
||||
variable = num_lithoid_blockers
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
is_variable_set = num_lithoid_blockers
|
||||
}
|
||||
subtract_variable = {
|
||||
which = num_districts_terravore
|
||||
value = num_lithoid_blockers
|
||||
}
|
||||
}
|
||||
}
|
||||
owner = {
|
||||
start_situation = {
|
||||
type = situation_rg_nanotech_consume_planet
|
||||
target = root
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ai_weight = {
|
||||
weight = 5
|
||||
|
||||
# don't wreck worlds you want to keep
|
||||
modifier = {
|
||||
factor = 0
|
||||
is_lithoid_devouring_swarm_consumption_world = no
|
||||
}
|
||||
}
|
||||
}
|
||||
3
common/defines/rg_defines.txt
Normal file
3
common/defines/rg_defines.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
# NGameplay = {
|
||||
# GOVERNMENT_CIVIC_POINTS_BASE = 3 # Base amount of civic points (to "pay" for government civic costs)
|
||||
# }
|
||||
57
common/deposits/RG_storms_deposits.txt
Normal file
57
common/deposits/RG_storms_deposits.txt
Normal file
@@ -0,0 +1,57 @@
|
||||
d_rg_tempest_storm_1 = {
|
||||
is_for_colonizable = yes
|
||||
icon = d_fractal_seed
|
||||
category = deposit_cat_rare
|
||||
|
||||
resources = {
|
||||
category = planet_deposits
|
||||
produces = {
|
||||
nanites = 5
|
||||
}
|
||||
}
|
||||
|
||||
planet_modifier = {
|
||||
district_mining_max = -2
|
||||
}
|
||||
|
||||
potential = { always = no }
|
||||
}
|
||||
|
||||
d_rg_tempest_storm_2 = {
|
||||
is_for_colonizable = yes
|
||||
icon = d_fractal_seed
|
||||
category = deposit_cat_rare
|
||||
|
||||
resources = {
|
||||
category = planet_deposits
|
||||
produces = {
|
||||
nanites = 9
|
||||
}
|
||||
}
|
||||
|
||||
planet_modifier = {
|
||||
district_mining_max = -3
|
||||
}
|
||||
|
||||
potential = { always = no }
|
||||
}
|
||||
|
||||
d_rg_tempest_storm_3 = {
|
||||
is_for_colonizable = yes
|
||||
icon = d_fractal_seed
|
||||
category = deposit_cat_rare
|
||||
|
||||
resources = {
|
||||
category = planet_deposits
|
||||
produces = {
|
||||
nanites = 15
|
||||
}
|
||||
}
|
||||
|
||||
planet_modifier = {
|
||||
pop_happiness = -1
|
||||
district_mining_max = -5
|
||||
}
|
||||
|
||||
potential = { always = no }
|
||||
}
|
||||
743
common/districts/rg_station_districts.txt
Normal file
743
common/districts/rg_station_districts.txt
Normal file
@@ -0,0 +1,743 @@
|
||||
@rw_cost = 1000
|
||||
@rw_cost_sr = 50
|
||||
@rw_maintenance = 5
|
||||
@rw_maintenance_sr = 2
|
||||
|
||||
district_rg_city = {
|
||||
icon = district_rw_city
|
||||
base_buildtime = 30
|
||||
is_capped_by_modifier = no
|
||||
exempt_from_ai_planet_specialization = yes
|
||||
|
||||
show_on_uncolonized = {
|
||||
exists = from
|
||||
from = { is_regular_empire = yes }
|
||||
uses_district_set = rg_station
|
||||
}
|
||||
|
||||
potential = {
|
||||
exists = owner
|
||||
owner = { is_regular_empire = yes }
|
||||
uses_district_set = rg_station
|
||||
}
|
||||
|
||||
conversion_ratio = 0.5
|
||||
convert_to = {
|
||||
district_rg_nexus
|
||||
district_rg_hive
|
||||
}
|
||||
|
||||
resources = {
|
||||
category = planet_districts
|
||||
cost = {
|
||||
minerals = @rw_cost
|
||||
}
|
||||
upkeep = {
|
||||
energy = @rw_maintenance
|
||||
}
|
||||
}
|
||||
|
||||
planet_modifier = {
|
||||
planet_housing_add = 25
|
||||
job_enforcer_add = 2
|
||||
planet_max_buildings_add = 2
|
||||
}
|
||||
|
||||
triggered_planet_modifier = {
|
||||
potential = {
|
||||
exists = owner
|
||||
owner = {
|
||||
has_valid_civic = civic_agrarian_idyll
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
planet_housing_add = -5
|
||||
}
|
||||
}
|
||||
|
||||
triggered_planet_modifier = {
|
||||
potential = {
|
||||
exists = owner
|
||||
owner = {
|
||||
is_regular_empire = yes
|
||||
is_fallen_empire = no
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
job_clerk_add = 2
|
||||
job_culture_worker_add = 1
|
||||
}
|
||||
}
|
||||
|
||||
triggered_planet_modifier = {
|
||||
potential = {
|
||||
exists = owner
|
||||
owner = {
|
||||
is_regular_empire = yes
|
||||
is_fallen_empire = no
|
||||
has_active_tradition = tr_virtuality_4
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
job_clerk_add = 4
|
||||
job_culture_worker_add = 2
|
||||
}
|
||||
}
|
||||
|
||||
triggered_planet_modifier = {
|
||||
potential = {
|
||||
exists = owner
|
||||
owner = { has_active_tradition = tr_prosperity_public_works }
|
||||
}
|
||||
modifier = {
|
||||
planet_housing_add = 5
|
||||
}
|
||||
}
|
||||
|
||||
triggered_planet_modifier = {
|
||||
potential = {
|
||||
exists = owner
|
||||
owner = {
|
||||
has_technology = tech_housing_1
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
planet_housing_add = 5
|
||||
}
|
||||
}
|
||||
|
||||
triggered_planet_modifier = {
|
||||
potential = {
|
||||
exists = owner
|
||||
owner = {
|
||||
has_technology = tech_housing_2
|
||||
NOT = { has_valid_civic = civic_agrarian_idyll }
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
planet_housing_add = 5
|
||||
}
|
||||
}
|
||||
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
planet = {
|
||||
has_deposit = d_arcane_generator
|
||||
NOT = { has_district = district_rw_city }
|
||||
}
|
||||
}
|
||||
text = arcane_generator_upkeep_desc
|
||||
}
|
||||
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
exists = owner
|
||||
owner = { is_regular_empire = yes }
|
||||
}
|
||||
text = job_clerk_effect_desc
|
||||
}
|
||||
}
|
||||
|
||||
district_rg_hive = {
|
||||
icon = district_rw_hive
|
||||
base_buildtime = 30
|
||||
is_capped_by_modifier = no
|
||||
exempt_from_ai_planet_specialization = yes
|
||||
|
||||
show_on_uncolonized = {
|
||||
exists = from
|
||||
from = { is_hive_empire = yes }
|
||||
uses_district_set = rg_station
|
||||
}
|
||||
|
||||
potential = {
|
||||
exists = owner
|
||||
owner = { is_hive_empire = yes }
|
||||
uses_district_set = rg_station
|
||||
}
|
||||
|
||||
conversion_ratio = 0.5
|
||||
convert_to = {
|
||||
district_rg_nexus
|
||||
district_rg_city
|
||||
}
|
||||
|
||||
resources = {
|
||||
category = planet_districts
|
||||
cost = {
|
||||
minerals = @rw_cost
|
||||
}
|
||||
upkeep = {
|
||||
energy = @rw_maintenance
|
||||
}
|
||||
}
|
||||
|
||||
planet_modifier = {
|
||||
planet_housing_add = 30
|
||||
job_maintenance_drone_add = 15
|
||||
job_synapse_drone_add = 2
|
||||
planet_max_buildings_add = 2
|
||||
}
|
||||
|
||||
triggered_planet_modifier = {
|
||||
potential = {
|
||||
exists = owner
|
||||
owner = { has_technology = tech_housing_1 }
|
||||
}
|
||||
modifier = {
|
||||
planet_housing_add = 5
|
||||
}
|
||||
}
|
||||
|
||||
triggered_planet_modifier = {
|
||||
potential = {
|
||||
exists = owner
|
||||
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_prosperity_extended_hives }
|
||||
}
|
||||
modifier = {
|
||||
planet_housing_add = 5
|
||||
}
|
||||
}
|
||||
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
planet = {
|
||||
has_deposit = d_arcane_generator
|
||||
NOT = { has_district = district_rw_hive }
|
||||
}
|
||||
}
|
||||
text = arcane_generator_upkeep_desc
|
||||
}
|
||||
}
|
||||
|
||||
district_rg_nexus = {
|
||||
icon = district_rw_nexus
|
||||
base_buildtime = 30
|
||||
is_capped_by_modifier = no
|
||||
exempt_from_ai_planet_specialization = yes
|
||||
|
||||
show_on_uncolonized = {
|
||||
exists = from
|
||||
from = { is_machine_empire = yes }
|
||||
uses_district_set = rg_station
|
||||
}
|
||||
|
||||
potential = {
|
||||
exists = owner
|
||||
owner = { is_machine_empire = yes }
|
||||
uses_district_set = rg_station
|
||||
}
|
||||
|
||||
conversion_ratio = 0.5
|
||||
convert_to = {
|
||||
district_rg_hive
|
||||
district_rg_city
|
||||
}
|
||||
|
||||
resources = {
|
||||
category = planet_districts
|
||||
cost = {
|
||||
minerals = @rw_cost
|
||||
}
|
||||
upkeep = {
|
||||
energy = @rw_maintenance
|
||||
}
|
||||
}
|
||||
|
||||
planet_modifier = {
|
||||
planet_housing_add = 25
|
||||
job_maintenance_drone_add = 10
|
||||
job_coordinator_add = 2
|
||||
planet_max_buildings_add = 2
|
||||
}
|
||||
|
||||
triggered_planet_modifier = {
|
||||
potential = {
|
||||
exists = owner
|
||||
owner = { has_technology = tech_housing_1 }
|
||||
}
|
||||
modifier = {
|
||||
planet_housing_add = 5
|
||||
}
|
||||
}
|
||||
|
||||
triggered_planet_modifier = {
|
||||
potential = {
|
||||
exists = owner
|
||||
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
|
||||
}
|
||||
}
|
||||
|
||||
triggered_planet_modifier = {
|
||||
potential = {
|
||||
exists = owner
|
||||
owner = { has_active_tradition = tr_prosperity_optimized_nexus }
|
||||
}
|
||||
modifier = {
|
||||
planet_housing_add = 5
|
||||
}
|
||||
}
|
||||
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
planet = {
|
||||
has_deposit = d_arcane_generator
|
||||
NOT = { has_district = district_rw_nexus }
|
||||
}
|
||||
}
|
||||
text = arcane_generator_upkeep_desc
|
||||
}
|
||||
}
|
||||
|
||||
district_rg_generator = {
|
||||
icon = district_rw_generator
|
||||
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 = {
|
||||
# district_rw_commercial
|
||||
}
|
||||
|
||||
resources = {
|
||||
category = planet_districts
|
||||
cost = {
|
||||
minerals = @rw_cost
|
||||
}
|
||||
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
|
||||
}
|
||||
}
|
||||
|
||||
triggered_planet_modifier = {
|
||||
planet_housing_add = 10
|
||||
}
|
||||
}
|
||||
|
||||
district_rg_farming = {
|
||||
icon = district_rw_farming
|
||||
base_buildtime = 30
|
||||
is_capped_by_modifier = no
|
||||
|
||||
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 = 10
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
district_rg_science = {
|
||||
icon = district_rw_science
|
||||
base_buildtime = 30
|
||||
is_capped_by_modifier = no
|
||||
|
||||
show_on_uncolonized = { uses_district_set = rg_station }
|
||||
|
||||
potential = { uses_district_set = rg_station }
|
||||
|
||||
prerequisites = {
|
||||
tech_basic_science_lab_1
|
||||
}
|
||||
|
||||
allow = {
|
||||
hidden_trigger = {
|
||||
OR = {
|
||||
NOT = { exists = owner }
|
||||
owner = {
|
||||
has_technology = tech_basic_science_lab_1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
resources = {
|
||||
category = planet_districts
|
||||
cost = {
|
||||
minerals = @rw_cost
|
||||
}
|
||||
upkeep = {
|
||||
energy = @rw_maintenance
|
||||
}
|
||||
}
|
||||
|
||||
triggered_planet_modifier = {
|
||||
planet_housing_add = 10
|
||||
}
|
||||
|
||||
triggered_planet_modifier = {
|
||||
potential = {
|
||||
exists = owner
|
||||
owner = { is_regular_empire = yes }
|
||||
}
|
||||
modifier = {
|
||||
job_researcher_add = 15
|
||||
}
|
||||
}4
|
||||
|
||||
triggered_planet_modifier = {
|
||||
potential = {
|
||||
exists = owner
|
||||
owner = { is_hive_empire = yes }
|
||||
}
|
||||
modifier = {
|
||||
job_brain_drone_add = 15
|
||||
}
|
||||
}
|
||||
|
||||
triggered_planet_modifier = {
|
||||
potential = {
|
||||
exists = owner
|
||||
owner = { is_machine_empire = yes }
|
||||
}
|
||||
modifier = {
|
||||
job_calculator_add = 15
|
||||
}
|
||||
}
|
||||
|
||||
#Jobs from Virtuality ascension
|
||||
|
||||
triggered_planet_modifier = {
|
||||
potential = {
|
||||
exists = owner
|
||||
owner = {
|
||||
is_regular_empire = yes
|
||||
has_active_tradition = tr_virtuality_4
|
||||
}
|
||||
}
|
||||
job_researcher_add = 5
|
||||
}
|
||||
|
||||
triggered_planet_modifier = {
|
||||
potential = {
|
||||
exists = owner
|
||||
owner = {
|
||||
is_machine_empire = yes
|
||||
has_active_tradition = tr_virtuality_4
|
||||
}
|
||||
}
|
||||
job_calculator_add = 5
|
||||
}
|
||||
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
planet = {
|
||||
has_deposit = d_arcane_generator
|
||||
NOT = { has_district = district_rw_science }
|
||||
}
|
||||
}
|
||||
text = arcane_generator_upkeep_desc
|
||||
}
|
||||
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
exists = owner
|
||||
owner = { is_regular_empire = yes }
|
||||
}
|
||||
text = job_researcher_effect_desc
|
||||
}
|
||||
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
exists = owner
|
||||
owner = { is_hive_empire = yes }
|
||||
}
|
||||
text = job_brain_drone_effect_desc
|
||||
}
|
||||
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
exists = owner
|
||||
owner = { is_machine_empire = yes }
|
||||
}
|
||||
text = job_calculator_effect_desc
|
||||
}
|
||||
}
|
||||
|
||||
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_commercial = {
|
||||
# icon = district_rw_commercial
|
||||
# base_buildtime = 30
|
||||
# is_capped_by_modifier = no
|
||||
#
|
||||
# show_on_uncolonized = {
|
||||
# uses_district_set = rg_station
|
||||
# exists = from
|
||||
# from = {
|
||||
# is_gestalt = no
|
||||
# is_fallen_empire = no
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# potential = {
|
||||
# exists = owner
|
||||
# owner = {
|
||||
# is_gestalt = no
|
||||
# is_fallen_empire = no
|
||||
# }
|
||||
# uses_district_set = rg_station
|
||||
# }
|
||||
#
|
||||
# convert_to = {
|
||||
# district_rw_generator
|
||||
# }
|
||||
#
|
||||
# resources = {
|
||||
# category = planet_districts
|
||||
# cost = {
|
||||
# minerals = @rw_cost
|
||||
# rare_crystals = @rw_cost_sr
|
||||
# }
|
||||
# upkeep = {
|
||||
# energy = @rw_maintenance
|
||||
# rare_crystals = @rw_maintenance_sr
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# triggered_planet_modifier = {
|
||||
# planet_housing_add = 10
|
||||
# job_trader_add = 2
|
||||
# job_clerk_add = 6
|
||||
# }
|
||||
#
|
||||
# triggered_planet_modifier = {
|
||||
# potential = {
|
||||
# exists = owner
|
||||
# owner = {
|
||||
# has_active_tradition = tr_mercantile_commercial_enterprise
|
||||
# }
|
||||
# }
|
||||
# modifier = {
|
||||
# job_trader_add = 2
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# triggered_planet_modifier = {
|
||||
# potential = {
|
||||
# exists = owner
|
||||
# owner = { has_active_tradition = tr_virtuality_4 }
|
||||
# }
|
||||
# modifier = {
|
||||
# job_clerk_add = 6
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# triggered_desc = {
|
||||
# trigger = {
|
||||
# planet = {
|
||||
# has_deposit = d_arcane_generator
|
||||
# NOT = { has_district = district_rw_commercial }
|
||||
# }
|
||||
# }
|
||||
# text = arcane_generator_upkeep_desc
|
||||
# }
|
||||
#
|
||||
# triggered_desc = {
|
||||
# text = job_trader_effect_desc
|
||||
# }
|
||||
#
|
||||
# triggered_desc = {
|
||||
# text = job_clerk_effect_desc
|
||||
# }
|
||||
# }
|
||||
4
common/game_concepts/RG_tradition_concepts.txt
Normal file
4
common/game_concepts/RG_tradition_concepts.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
concept_tradition_rg_nanotech = {
|
||||
icon = "gfx/interface/icons/traditions/tree_icons/tradition_icon_nanotech.dds"
|
||||
tooltip_override = "tradition_category:tradition_rg_nanotech"
|
||||
}
|
||||
@@ -2333,7 +2333,7 @@ ship_design = {
|
||||
ship_size = RG_graygoo_icebreaker_interdictor
|
||||
is_event_design = yes
|
||||
section = {
|
||||
template = "RG_icebreaker_interdictor"
|
||||
template = "RG_icebreaker_interdictor_key"
|
||||
slot = "mid"
|
||||
component = {
|
||||
slot = "PD_01"
|
||||
|
||||
@@ -388,6 +388,55 @@ ship_design = {
|
||||
required_component = "RG_COMBAT_COMPUTER_MotherShip"
|
||||
}
|
||||
|
||||
# 星海试验船-传统
|
||||
ship_design = {
|
||||
name = "RG_COLOSSUS_interdictor_NANO_SP"
|
||||
ship_size = RG_graygoo_interdictor
|
||||
is_event_design = yes
|
||||
section = {
|
||||
template = "RG_COLOSSUS_interdictor_key"
|
||||
slot = "mid"
|
||||
component = {
|
||||
slot = "PLANET_KILLER_GUN_01"
|
||||
template = "RG_PLANET_KILLER_NANO_SP"
|
||||
}
|
||||
component = {
|
||||
slot = "LARGE_UTILITY_1"
|
||||
template = ""
|
||||
}
|
||||
component = {
|
||||
slot = "LARGE_UTILITY_2"
|
||||
template = ""
|
||||
}
|
||||
component = {
|
||||
slot = "LARGE_UTILITY_3"
|
||||
template = ""
|
||||
}
|
||||
component = {
|
||||
slot = "LARGE_UTILITY_4"
|
||||
template = ""
|
||||
}
|
||||
component = {
|
||||
slot = "LARGE_UTILITY_5"
|
||||
template = ""
|
||||
}
|
||||
component = {
|
||||
slot = "LARGE_UTILITY_6"
|
||||
template = ""
|
||||
}
|
||||
component = {
|
||||
slot = "AUX_UTILITY_1"
|
||||
template = ""
|
||||
}
|
||||
}
|
||||
required_component = "RG_FUSION_NANO_REACTOR_S"
|
||||
required_component = "HYPER_DRIVE_3"
|
||||
required_component = "SENSOR_4"
|
||||
required_component = "RG_gatebuilder_thruster"
|
||||
required_component = "RG_COMBAT_COMPUTER_MotherShip"
|
||||
}
|
||||
|
||||
|
||||
# 星海纸船
|
||||
ship_design = {
|
||||
name = "RG_Buff_interdictor_SP"
|
||||
|
||||
@@ -15,6 +15,14 @@ origin_rg_gray = {
|
||||
playable = {
|
||||
host_has_dlc = "Distant Stars Story Pack"
|
||||
}
|
||||
possible = {
|
||||
civics = {
|
||||
OR = {
|
||||
value = civic_rg_gray_cluster
|
||||
value = civic_rg_gray_non_cluster
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
rg_origin_scion = {
|
||||
|
||||
37
common/governments/civics/RG_cvics.txt
Normal file
37
common/governments/civics/RG_cvics.txt
Normal file
@@ -0,0 +1,37 @@
|
||||
civic_rg_gray_cluster = {
|
||||
icon = gfx/interface/icons/governments/civics/civic_efficient_bureaucracy.dds
|
||||
potential = {
|
||||
origin = { value = origin_rg_gray }
|
||||
}
|
||||
possible = {
|
||||
civics = { NOT = { value = civic_rg_gray_non_cluster } }
|
||||
origin = { value = origin_rg_gray }
|
||||
}
|
||||
random_weight = {
|
||||
base = 0
|
||||
}
|
||||
modification = no
|
||||
description = "civic_tooltip_rg_gray_cluster"
|
||||
modifier = {
|
||||
country_government_civic_points_add = 1
|
||||
}
|
||||
}
|
||||
|
||||
civic_rg_gray_non_cluster = {
|
||||
icon = gfx/interface/icons/governments/civics/civic_nationalistic_zeal.dds
|
||||
potential = {
|
||||
origin = { value = origin_rg_gray }
|
||||
}
|
||||
possible = {
|
||||
civics = { NOT = { value = civic_rg_gray_cluster } }
|
||||
origin = { value = origin_rg_gray }
|
||||
}
|
||||
random_weight = {
|
||||
base = 0
|
||||
}
|
||||
modification = no
|
||||
description = "civic_tooltip_rg_gray_non_cluster"
|
||||
modifier = {
|
||||
country_government_civic_points_add = 1
|
||||
}
|
||||
}
|
||||
138
common/inline_scripts/pop_categories/trait_production.txt
Normal file
138
common/inline_scripts/pop_categories/trait_production.txt
Normal file
@@ -0,0 +1,138 @@
|
||||
produces = {
|
||||
trigger = {
|
||||
OR = {
|
||||
has_trait = rg_machine_maid_trait
|
||||
}
|
||||
}
|
||||
nanites = -0.1
|
||||
multiplier = value:rg_maid_trait_mult
|
||||
}
|
||||
|
||||
# vanilla
|
||||
|
||||
produces = {
|
||||
trigger = {
|
||||
OR = {
|
||||
has_trait = trait_lithoid_scintillating
|
||||
has_trait = trait_advanced_scintillating
|
||||
}
|
||||
}
|
||||
rare_crystals = @lithoid_trait_resource_production
|
||||
multiplier = value:lithoid_trait_mult
|
||||
}
|
||||
|
||||
produces = {
|
||||
trigger = {
|
||||
OR = {
|
||||
has_trait = trait_lithoid_gaseous_byproducts
|
||||
has_trait = trait_advanced_gaseous_byproducts
|
||||
}
|
||||
}
|
||||
exotic_gases = @lithoid_trait_resource_production
|
||||
multiplier = value:lithoid_trait_mult
|
||||
}
|
||||
|
||||
produces = {
|
||||
trigger = {
|
||||
OR = {
|
||||
has_trait = trait_lithoid_volatile_excretions
|
||||
has_trait = trait_advanced_volatile_excretions
|
||||
}
|
||||
}
|
||||
volatile_motes = @lithoid_trait_resource_production
|
||||
multiplier = value:lithoid_trait_mult
|
||||
}
|
||||
|
||||
produces = {
|
||||
trigger = {
|
||||
OR = {
|
||||
has_trait = trait_notofthisworld
|
||||
has_trait = trait_robot_notofthisworld
|
||||
has_trait = trait_exd
|
||||
}
|
||||
}
|
||||
physics_research = 0.5
|
||||
}
|
||||
|
||||
produces = {
|
||||
trigger = {
|
||||
exists = planet
|
||||
planet = {
|
||||
has_modifier = astralnomical_interest_modifier
|
||||
}
|
||||
is_enslaved = no
|
||||
is_robot_pop = no
|
||||
}
|
||||
physics_research = 1
|
||||
}
|
||||
|
||||
produces = {
|
||||
trigger = {
|
||||
has_trait = trait_cybernetic
|
||||
exists = owner
|
||||
owner = {
|
||||
has_country_flag = driven_neural_chorus
|
||||
}
|
||||
}
|
||||
unity = 0.1
|
||||
}
|
||||
|
||||
produces = {
|
||||
trigger = {
|
||||
exists = planet
|
||||
planet = {
|
||||
has_modifier = particle_storm_aftermath_modifier_severity_1
|
||||
}
|
||||
}
|
||||
volatile_motes = 0.02
|
||||
}
|
||||
|
||||
produces = {
|
||||
trigger = {
|
||||
exists = planet
|
||||
planet = {
|
||||
has_modifier = particle_storm_aftermath_modifier_severity_2
|
||||
}
|
||||
}
|
||||
volatile_motes = 0.04
|
||||
}
|
||||
|
||||
produces = {
|
||||
trigger = {
|
||||
exists = planet
|
||||
planet = {
|
||||
has_modifier = particle_storm_aftermath_modifier_severity_3
|
||||
}
|
||||
}
|
||||
volatile_motes = 0.06
|
||||
}
|
||||
|
||||
produces = {
|
||||
trigger = {
|
||||
exists = planet
|
||||
planet = {
|
||||
has_modifier = celestial_storm_aftermath_modifier_severity_1
|
||||
}
|
||||
}
|
||||
rare_crystals = 0.02
|
||||
}
|
||||
|
||||
produces = {
|
||||
trigger = {
|
||||
exists = planet
|
||||
planet = {
|
||||
has_modifier = celestial_storm_aftermath_modifier_severity_2
|
||||
}
|
||||
}
|
||||
rare_crystals = 0.04
|
||||
}
|
||||
|
||||
produces = {
|
||||
trigger = {
|
||||
exists = planet
|
||||
planet = {
|
||||
has_modifier = celestial_storm_aftermath_modifier_severity_3
|
||||
}
|
||||
}
|
||||
rare_crystals = 0.06
|
||||
}
|
||||
182
common/megastructures/RG_habitats.txt
Normal file
182
common/megastructures/RG_habitats.txt
Normal file
@@ -0,0 +1,182 @@
|
||||
# see README.txt for example
|
||||
|
||||
@central_orbital_build_time = 1800
|
||||
@central_orbital_alloy_cost = 1500
|
||||
@central_orbital_influence_cost = 200
|
||||
|
||||
@major_orbital_build_time = 720
|
||||
@major_orbital_alloy_cost = 200
|
||||
|
||||
@minor_orbital_build_time = 180
|
||||
@minor_orbital_alloy_cost = 50
|
||||
|
||||
# Habitat Central Complex
|
||||
RG_habitat_central_complex = {
|
||||
entity = "gatebuilder_01_space_station_entity"
|
||||
construction_entity = "habitat_phase_03_entity"
|
||||
portrait = "GFX_megastructure_habitat_background"
|
||||
place_entity_on_planet_plane = no
|
||||
show_galactic_map_icon = no
|
||||
hide_name = yes
|
||||
show_in_outliner = no
|
||||
entity_offset = { x = 7 y = -7 }
|
||||
build_time = 360
|
||||
|
||||
resources = {
|
||||
category = megastructures_habitat
|
||||
cost = {
|
||||
nanites = 4500
|
||||
influence = 200
|
||||
}
|
||||
}
|
||||
|
||||
construction_blocks_and_blocked_by = self_type
|
||||
|
||||
potential = {
|
||||
has_tradition = tr_rg_nanotech_2
|
||||
# OR = {
|
||||
# has_technology = tech_habitat_1
|
||||
# has_civic = civic_diadochi
|
||||
# has_civic = civic_great_khans_legacy
|
||||
# has_country_flag = democratic_khanate_flag
|
||||
# }
|
||||
}
|
||||
|
||||
possible = {
|
||||
exists = starbase
|
||||
custom_tooltip = {
|
||||
fail_text = "requires_inside_border"
|
||||
is_inside_border = from
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = "requires_not_habitat_central_complex"
|
||||
NOT = {
|
||||
OR = {
|
||||
any_system_planet = {
|
||||
has_planet_flag = habitat
|
||||
}
|
||||
has_megastructure = habitat_central_complex_ruined
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = "requires_no_orbital_debris"
|
||||
NOT = {
|
||||
any_system_planet = {
|
||||
has_planet_flag = has_orbital_debris
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
placement_rules = {
|
||||
planet_possible = {
|
||||
custom_tooltip = {
|
||||
fail_text = "requires_surveyed_planet"
|
||||
is_surveyed = { # prevent leaking habitability information
|
||||
who = prev.from
|
||||
status = yes
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = "requires_no_anomaly"
|
||||
NOT = { has_anomaly = yes }
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = "requires_no_existing_megastructure"
|
||||
#can_build_megastructure_on_planet = yes
|
||||
NOR = {
|
||||
solar_system = {
|
||||
OR = {
|
||||
has_star_flag = ithomes_gate
|
||||
}
|
||||
}
|
||||
is_planet_class = pc_habitat
|
||||
}
|
||||
}
|
||||
|
||||
# balance for habitats
|
||||
custom_tooltip = {
|
||||
fail_text = "requires_not_minor_planetary_body"
|
||||
NOR = {
|
||||
is_asteroid = yes
|
||||
is_moon = yes
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = "requires_not_solarpunk"
|
||||
NOT = {
|
||||
solar_system = {
|
||||
has_star_flag = solarpunk_system_02
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
from = { is_ai = yes }
|
||||
}
|
||||
or = {
|
||||
has_deposit_for = shipclass_mining_station
|
||||
has_deposit_for = shipclass_research_station
|
||||
}
|
||||
}
|
||||
} # use these for all non-star megastructures
|
||||
}
|
||||
|
||||
# root = system
|
||||
# from = country
|
||||
ai_weight = {
|
||||
factor = 0
|
||||
}
|
||||
|
||||
on_build_complete = {
|
||||
fromfrom.planet = {
|
||||
save_event_target_as = target_planet
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
fromfrom.planet = {
|
||||
is_star = yes
|
||||
}
|
||||
}
|
||||
spawn_rg_habitat_effect = {
|
||||
DISTANCE = 19.798
|
||||
}
|
||||
}
|
||||
else = {
|
||||
spawn_rg_habitat_effect = {
|
||||
DISTANCE = 9.899
|
||||
}
|
||||
}
|
||||
|
||||
fromfrom.solar_system = {
|
||||
set_star_flag = has_habitat
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
event_target:target_planet = {
|
||||
OR = {
|
||||
has_deposit_for = shipclass_research_station
|
||||
has_deposit_for = shipclass_mining_station
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
on_orbital_complete_effect = {
|
||||
BODY = major
|
||||
TYPE = resource
|
||||
}
|
||||
}
|
||||
|
||||
else = {
|
||||
on_orbital_complete_effect = {
|
||||
BODY = major
|
||||
TYPE = generic
|
||||
}
|
||||
}
|
||||
|
||||
remove_megastructure = fromfrom
|
||||
from = { country_event = { id = megastructures.10 } }
|
||||
}
|
||||
}
|
||||
@@ -269,14 +269,23 @@ orbital_ring_restored = {
|
||||
dismantle = yes
|
||||
}
|
||||
}
|
||||
From = {
|
||||
create_ship_design = {
|
||||
design = "RG_ORBITAL_RING_TIER_1_STARBASE_SECTION"
|
||||
}
|
||||
add_ship_design = last_created_design
|
||||
}
|
||||
create_starbase = {
|
||||
design = "RG_ORBITAL_RING_TIER_1_STARBASE_SECTION"
|
||||
size = RG_orbital_ring_tier_1
|
||||
owner = FROM
|
||||
#module = <starbase_module>
|
||||
#building = <starbase_building>
|
||||
effect = {
|
||||
}
|
||||
}
|
||||
From = {
|
||||
remove_ship_design = last_created_design
|
||||
}
|
||||
}
|
||||
every_system_ambient_object = {
|
||||
limit = {
|
||||
|
||||
@@ -98,6 +98,16 @@ on_planet_attackers_lose = {
|
||||
}
|
||||
}
|
||||
|
||||
# A leader leveled up.
|
||||
# Scope = Country
|
||||
# From = Leader
|
||||
on_leader_level_up = {
|
||||
events = {
|
||||
rg_event.23
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# on_entering_battle = {
|
||||
# events = {
|
||||
# rg_skill.1
|
||||
@@ -251,4 +261,14 @@ on_district_demolished = {
|
||||
rg_planet.2026 # Virtual Machine pop creation
|
||||
rg_planet.2031 # Virtual Machine pop destruction
|
||||
}
|
||||
}
|
||||
|
||||
# A pop has finished purging
|
||||
# This = Planet scope
|
||||
# From = Country
|
||||
# FromFrom = Pop
|
||||
on_pop_purged = {
|
||||
events = {
|
||||
rg_event.24 # Necrophage Purge
|
||||
}
|
||||
}
|
||||
@@ -48,6 +48,19 @@ on_destroy_planet_with_RG_PLANET_KILLER_SP_queued = {
|
||||
|
||||
on_destroy_planet_with_RG_PLANET_KILLER_SP_unqueued = {
|
||||
}
|
||||
|
||||
on_destroy_planet_with_RG_PLANET_KILLER_NANO_SP = {
|
||||
events = {
|
||||
RG_planet_killer.4
|
||||
# rg_story.6
|
||||
}
|
||||
}
|
||||
|
||||
on_destroy_planet_with_RG_PLANET_KILLER_NANO_SP_queued = {
|
||||
}
|
||||
|
||||
on_destroy_planet_with_RG_PLANET_KILLER_NANO_SP_unqueued = {
|
||||
}
|
||||
# World Cracker
|
||||
on_destroy_planet_with_RG_PLANET_KILLER_CRACKER = {
|
||||
events = {
|
||||
|
||||
31
common/planet_classes/!_RG_planet_classes_overwrite.txt
Normal file
31
common/planet_classes/!_RG_planet_classes_overwrite.txt
Normal file
@@ -0,0 +1,31 @@
|
||||
# pc_nanotech = {
|
||||
# entity = "gray_goo_planet"
|
||||
# entity_scale = @planet_standard_scale
|
||||
# icon = GFX_planet_type_toxic
|
||||
#
|
||||
# atmosphere_color = hsv { 0.19 0.45 0.9 } #DONE
|
||||
# atmosphere_intensity = 0.1
|
||||
# atmosphere_width = 1.2
|
||||
#
|
||||
# city_color_lut = "gfx/portraits/misc/colorcorrection_neutral.dds"
|
||||
#
|
||||
# min_distance_from_sun = @habitable_min_distance
|
||||
# max_distance_from_sun = @habitable_max_distance
|
||||
#
|
||||
# spawn_odds = 0
|
||||
#
|
||||
# extra_orbit_size = 0
|
||||
# extra_planet_count = 0
|
||||
#
|
||||
# chance_of_ring = 0.2
|
||||
#
|
||||
# planet_size = { min = 12 max = 25 }
|
||||
# moon_size = { min = 6 max = 10 }
|
||||
#
|
||||
# can_be_invaded = yes
|
||||
# can_have_no_pop_colony = no
|
||||
# colonizable = yes
|
||||
# district_set = machine_world
|
||||
# starting_planet = no
|
||||
# show_city = no
|
||||
# }
|
||||
@@ -18,7 +18,7 @@ pc_rg_grayhabitat = {
|
||||
planet_size = 30
|
||||
moon_size = 1
|
||||
colonizable = yes
|
||||
district_set = machine_world
|
||||
district_set = rg_station
|
||||
# ideal = yes
|
||||
starting_planet = no
|
||||
orbit_lines = no
|
||||
|
||||
86
common/relics/RG_relics.txt
Normal file
86
common/relics/RG_relics.txt
Normal file
@@ -0,0 +1,86 @@
|
||||
rg_tempest_invocator = {
|
||||
activation_duration = 3600
|
||||
portrait = "GFX_relic_the_tempest_exsoulcillator"
|
||||
sound = "relic_activation_vultaum_real_perforator"
|
||||
|
||||
resources = {
|
||||
category = relics
|
||||
# Activation cost
|
||||
cost = {
|
||||
nanties = 5000
|
||||
}
|
||||
}
|
||||
|
||||
triggered_country_modifier = {
|
||||
potential = {
|
||||
always = yes
|
||||
}
|
||||
country_unity_produces_mult = 0.1
|
||||
ships_upkeep_mult = -0.15
|
||||
}
|
||||
|
||||
active_effect = {
|
||||
# custom_tooltip = r_the_tempest_invocator_active_effect_tt
|
||||
|
||||
set_country_flag = "started_placing_storm"
|
||||
|
||||
start_storm_area_placing = {
|
||||
sacrifice_leader_with_ui = no
|
||||
cosmic_storm = graytempest_storm
|
||||
immediate = yes
|
||||
|
||||
reticle_radius = {
|
||||
base = 100
|
||||
modifier = {
|
||||
mult = value:storm_area_placing_reticle_radius_multiplier
|
||||
}
|
||||
}
|
||||
|
||||
max_range = {
|
||||
base = 1500
|
||||
modifier = {
|
||||
mult = value:storm_area_placing_max_range_multiplier
|
||||
}
|
||||
}
|
||||
|
||||
on_confirm = {
|
||||
add_modifier = {
|
||||
modifier = tempest_invocator_active_modifier
|
||||
days = 3600
|
||||
}
|
||||
custom_tooltip = relic_triumph_cooldown
|
||||
|
||||
hidden_effect = {
|
||||
add_modifier = {
|
||||
modifier = "relic_activation_cooldown"
|
||||
days = 3600
|
||||
}
|
||||
set_country_flag = used_tempest_invocator_relic_achievement
|
||||
}
|
||||
|
||||
remove_country_flag = "started_placing_storm"
|
||||
}
|
||||
|
||||
on_cancel = {
|
||||
add_resource = {
|
||||
energy = 0
|
||||
}
|
||||
|
||||
remove_country_flag = "started_placing_storm"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Possible check for activation
|
||||
possible = {
|
||||
inline_script = {
|
||||
script = relics/activation_checks
|
||||
RELIC = rg_tempest_invocator
|
||||
}
|
||||
|
||||
custom_tooltip = {
|
||||
fail_text = r_the_tempest_invocator_started_placing_fail_tt
|
||||
NOT = { has_country_flag = "started_placing_storm" }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
rg_count_maid = {
|
||||
base = 0
|
||||
complex_trigger_modifier = {
|
||||
trigger = count_traits
|
||||
trigger = num_traits
|
||||
trigger_scope = pop
|
||||
parameters = {
|
||||
limit = {
|
||||
@@ -12,3 +12,14 @@ rg_count_maid = {
|
||||
}
|
||||
# max = 20
|
||||
}
|
||||
|
||||
rg_maid_trait_mult = {
|
||||
base = 3
|
||||
# modifier = {
|
||||
# add = 0.5
|
||||
# planet = {
|
||||
# has_deposit = d_lithoid_crater
|
||||
# }
|
||||
# }
|
||||
}
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ start_lcluster_chain = {
|
||||
if = {
|
||||
limit = {
|
||||
NOR = {
|
||||
is_same_value = origin_rg_gray_country
|
||||
is_same_value = event_target:origin_rg_gray_country
|
||||
has_country_flag = origin_rg_gray_1st
|
||||
}
|
||||
}
|
||||
|
||||
180
common/scripted_effects/RG_event_effects.txt
Normal file
180
common/scripted_effects/RG_event_effects.txt
Normal file
@@ -0,0 +1,180 @@
|
||||
rg_event_effect_event1_dragon = {
|
||||
set_country_flag = origin_gray_dragon_country
|
||||
set_global_flag = has_origin_gray_dragon
|
||||
rg_create_fake_dragon = yes
|
||||
random_owned_leader = {
|
||||
limit = {
|
||||
has_leader_flag = rg_fake_dragon
|
||||
}
|
||||
remove_trait = RG_leader_trait_admiral_timed_life
|
||||
add_trait = RG_leader_trait_admiral_born_tobe_dragon
|
||||
set_leader_flag = rg_fake_dragon_reborn
|
||||
set_age = 0
|
||||
}
|
||||
set_country_flag = rg_fake_dragon_reborn_country
|
||||
set_variable = {
|
||||
which = rg_fake_dragon_timedlife_counter
|
||||
value = 0
|
||||
}
|
||||
start_lcluster_chain = yes
|
||||
add_event_chain_counter = {
|
||||
event_chain = l_cluster_chain
|
||||
counter = clues
|
||||
amount = 7
|
||||
}
|
||||
# increment variable
|
||||
change_variable = {
|
||||
which = num_lcluster_clues
|
||||
value = 7
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
rg_event_effect_event1_cluster = {
|
||||
if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
has_global_flag = origin_rg_gray_1st_global
|
||||
}
|
||||
}
|
||||
rg_event_effect_event1_gray_cluster = yes
|
||||
}
|
||||
else = {
|
||||
rg_event_effect_event1_dragon = yes
|
||||
}
|
||||
}
|
||||
|
||||
rg_event_effect_event1_cluster_galaxy = {
|
||||
if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
has_global_flag = origin_rg_gray_1st_global
|
||||
}
|
||||
}
|
||||
rg_event_effect_event1_gray_galaxy = yes
|
||||
}
|
||||
else = {
|
||||
rg_event_effect_event1_dragon = yes
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
rg_event_effect_event1_gray_cluster = {
|
||||
set_global_flag = origin_rg_gray_1st_global
|
||||
set_country_flag = origin_rg_gray_cluster
|
||||
set_country_flag = origin_rg_gray_1st
|
||||
set_country_flag = rg_gray_level_1
|
||||
country_event = {
|
||||
id = rg_event.2
|
||||
days = 30
|
||||
}
|
||||
add_resource = {
|
||||
energy = 1000
|
||||
minerals = 1000
|
||||
alloys = 1000
|
||||
consumer_goods = 1000
|
||||
}
|
||||
add_modifier = {
|
||||
modifier = rg_distant_stars_modifier
|
||||
}
|
||||
save_global_event_target_as = origin_rg_gray_country
|
||||
rg_lcluster_spawn_effect = yes
|
||||
country_event = {
|
||||
id = rg_event.18
|
||||
days = 3600
|
||||
random = 12800
|
||||
}
|
||||
}
|
||||
|
||||
rg_event_effect_event1_gray_galaxy = {
|
||||
set_global_flag = origin_rg_gray_1st_global
|
||||
set_country_flag = origin_rg_gray_galaxy
|
||||
set_country_flag = origin_rg_gray_1st
|
||||
set_country_flag = rg_gray_level_1
|
||||
country_event = {
|
||||
id = rg_event.2
|
||||
days = 30
|
||||
}
|
||||
save_global_event_target_as = origin_rg_gray_country
|
||||
rg_lcluster_spawn_effect = yes
|
||||
}
|
||||
rg_event_effect_lcluster_spawn_selecter = {
|
||||
if = {
|
||||
limit = {
|
||||
event_target:origin_rg_gray_country = {
|
||||
OR = {
|
||||
has_civic = civic_rg_gray_cluster
|
||||
}
|
||||
}
|
||||
}
|
||||
country_event = {
|
||||
id = rg_cluster.9
|
||||
days = -1
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
event_target:origin_rg_gray_country = {
|
||||
has_civic = civic_rg_gray_non_cluster
|
||||
}
|
||||
}
|
||||
rg_event_effect_lcluster_open = yes
|
||||
}
|
||||
else = {
|
||||
country_event = {
|
||||
id = rg_cluster.9
|
||||
days = -1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
rg_event_effect_lcluster_open = {
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_global_flag = l_cluster_origin # l-cluster plus
|
||||
has_global_flag = rg_origin_l_cluster # 遥远约定
|
||||
has_global_flag = gray_origin_activate # 远星之歌
|
||||
has_global_flag = rg_origin_scion_l_cluster # 未来追迹
|
||||
}
|
||||
}
|
||||
country_event = {
|
||||
id = rg_cluster.2
|
||||
}
|
||||
}
|
||||
else = {
|
||||
country_event = {
|
||||
id = distar.10950
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#Species
|
||||
rg_event_effect_planet2027_spawn_maid_species = {
|
||||
modify_species = {
|
||||
effect = {
|
||||
create_species = {
|
||||
is_mod = yes
|
||||
name = "RG_MACHINE"
|
||||
plural = this
|
||||
class = RG_MACHINE
|
||||
portrait = "rg_machine_maid"
|
||||
can_be_modified = no
|
||||
homeworld = this
|
||||
namelist = this
|
||||
gender = this
|
||||
traits = {
|
||||
trait = trait_machine_unit
|
||||
trait = rg_machine_maid_trait
|
||||
trait = trait_auto_mod_robotic
|
||||
trait = trait_robot_streamlined_protocols
|
||||
trait = trait_robot_luxurious
|
||||
}
|
||||
effect = {
|
||||
save_global_event_target_as = rg_owner_main_maid_species
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -10,7 +10,6 @@ rg_create_fallen_empire_species_effect = {
|
||||
trait = trait_auto_mod_robotic
|
||||
trait = trait_robot_streamlined_protocols
|
||||
trait = trait_robot_luxurious
|
||||
trait = ramdom_trait
|
||||
}
|
||||
extra_trait_points = 3
|
||||
allow_negative_traits = no
|
||||
@@ -88,7 +87,7 @@ rg_create_fallen_empire_country_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
exist = event_target:rg_gray_country_leader
|
||||
exists = event_target:rg_gray_country_leader
|
||||
}
|
||||
}
|
||||
rg_gray_country_leader_init = yes
|
||||
|
||||
@@ -251,7 +251,7 @@ rg_create_gray_governor = {
|
||||
remove_country_flag = rg_kac_grayfleet_active
|
||||
remove_country_flag = gray_constship_active
|
||||
remove_country_flag = gray_army_active
|
||||
remove_country_flag = gray_habitat_active
|
||||
|
||||
#等级导入,把存储的领袖等级赋予到领袖身上
|
||||
random_owned_leader = {
|
||||
limit = {
|
||||
@@ -368,7 +368,7 @@ rg_create_gray_warship = {
|
||||
remove_country_flag = gray_governor_active #旧版flag
|
||||
remove_country_flag = gray_official_active
|
||||
remove_country_flag = gray_army_active
|
||||
remove_country_flag = gray_habitat_active
|
||||
|
||||
random_owned_leader = {
|
||||
limit = {
|
||||
has_leader_flag = gray_admiral
|
||||
@@ -483,7 +483,7 @@ rg_create_gray_army = {
|
||||
remove_country_flag = gray_governor_active #旧版flag
|
||||
remove_country_flag = gray_official_active
|
||||
remove_country_flag = gray_constship_active
|
||||
remove_country_flag = gray_habitat_active
|
||||
|
||||
remove_ship_design = last_created_design
|
||||
random_owned_leader = {
|
||||
limit = {
|
||||
@@ -606,7 +606,7 @@ rg_create_gray_const = {
|
||||
remove_country_flag = rg_kac_grayfleet_active
|
||||
remove_country_flag = gray_governor_active #旧版flag
|
||||
remove_country_flag = gray_official_active
|
||||
remove_country_flag = gray_habitat_active
|
||||
|
||||
random_owned_leader = {
|
||||
limit = {
|
||||
has_leader_flag = gray_scientist
|
||||
@@ -616,6 +616,28 @@ rg_create_gray_const = {
|
||||
}
|
||||
}
|
||||
|
||||
rg_harbitar_size_calculate = {
|
||||
set_variable = {
|
||||
which = rg_habitat_size
|
||||
value = 10
|
||||
}
|
||||
set_variable = {
|
||||
which = rg_habitat_size_temp
|
||||
value = rg_gray_level
|
||||
}
|
||||
multiply_variable = {
|
||||
which = rg_habitat_size_temp
|
||||
value = 2
|
||||
}
|
||||
change_variable = {
|
||||
which = rg_habitat_size_temp
|
||||
value = 10
|
||||
}
|
||||
set_variable = {
|
||||
which = rg_habitat_size
|
||||
value = rg_habitat_size_temp
|
||||
}
|
||||
}
|
||||
|
||||
rg_juggernaut_habitat_init = {
|
||||
if = {
|
||||
@@ -627,6 +649,7 @@ rg_juggernaut_habitat_init = {
|
||||
optimize_memory
|
||||
rg_global_gray_location_check = yes
|
||||
set_country_flag = rg_habitat_enabled
|
||||
rg_harbitar_size_calculate = yes
|
||||
event_target:global_gray_location = {
|
||||
solar_system = {
|
||||
spawn_planet = {
|
||||
@@ -637,10 +660,11 @@ rg_juggernaut_habitat_init = {
|
||||
orbit_distance = 360
|
||||
orbit_angle_offset = 45
|
||||
orbit_distance_offset = 9.899
|
||||
size = 30
|
||||
size = 10
|
||||
has_ring = no
|
||||
|
||||
init_effect = {
|
||||
prevent_anomaly = yes
|
||||
set_planet_entity = {
|
||||
entity = "grey_tempesttw_orbital_habitat_entity"
|
||||
}
|
||||
@@ -658,21 +682,79 @@ 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 = {
|
||||
OR = {
|
||||
has_country_flag = gray_official_active
|
||||
has_country_flag = gray_governor_active #旧版flag
|
||||
limit = {
|
||||
event_target:gray_owner = {
|
||||
OR = {
|
||||
has_country_flag = gray_official_active
|
||||
has_country_flag = gray_governor_active #旧版flag
|
||||
}
|
||||
}
|
||||
}
|
||||
assign_leader = event_target:gray_governor
|
||||
}
|
||||
|
||||
set_planet_size = owner.rg_habitat_size
|
||||
|
||||
add_building = building_ancient_control_center
|
||||
add_building = building_nourishment_center
|
||||
add_building = building_ancient_palace
|
||||
add_building = building_affluence_center
|
||||
add_building = building_dimensional_fabricator
|
||||
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
|
||||
owner = { is_hive_empire = yes }
|
||||
}
|
||||
while = {
|
||||
count = 1
|
||||
add_district = district_rg_hive
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = owner
|
||||
owner = { is_regular_empire = yes }
|
||||
}
|
||||
while = {
|
||||
count = 1
|
||||
add_district = district_rg_city
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = owner
|
||||
from = { is_machine_empire = yes }
|
||||
}
|
||||
while = {
|
||||
count = 1
|
||||
add_district = district_rg_nexus
|
||||
}
|
||||
}
|
||||
|
||||
while = {
|
||||
count = 5
|
||||
@@ -680,6 +762,7 @@ rg_juggernaut_habitat_init = {
|
||||
species = owner_main_species
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
set_planet_flag = megastructure
|
||||
set_planet_flag = habitat
|
||||
@@ -699,4 +782,5 @@ rg_clear_harbitat = {
|
||||
event_target:rg_gray_habitat_target = {
|
||||
remove_planet = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -105,7 +105,7 @@ rg_gray_govener_init = {
|
||||
# }
|
||||
# add_trait_no_notify = leader_trait_governor_wg_the_loop
|
||||
# }
|
||||
set_gray_portrait = yes
|
||||
rg_set_gray_portrait = yes
|
||||
# add_special_leader_affection_trait = { LEADER = gray LEADER_CLASS = governor MARRIED_FLAG = married_gray }
|
||||
}
|
||||
else = {
|
||||
@@ -222,7 +222,7 @@ rg_gray_commander_init = {
|
||||
# }
|
||||
# add_trait_no_notify = leader_trait_admiral_wg_the_loop
|
||||
# }
|
||||
set_gray_portrait = yes
|
||||
rg_set_gray_portrait = yes
|
||||
# add_special_leader_affection_trait = { LEADER = gray LEADER_CLASS = governor MARRIED_FLAG = married_gray }
|
||||
}
|
||||
else = {
|
||||
@@ -542,7 +542,7 @@ rg_gray_scientist_init = {
|
||||
# }
|
||||
# add_trait_no_notify = leader_trait_admiral_wg_the_loop
|
||||
# }
|
||||
set_gray_portrait = yes
|
||||
rg_set_gray_portrait = yes
|
||||
# add_special_leader_affection_trait = { LEADER = gray LEADER_CLASS = governor MARRIED_FLAG = married_gray }
|
||||
}
|
||||
else = {
|
||||
|
||||
48
common/scripted_effects/RG_megastructure_effects.txt
Normal file
48
common/scripted_effects/RG_megastructure_effects.txt
Normal file
@@ -0,0 +1,48 @@
|
||||
spawn_rg_habitat_effect = {
|
||||
spawn_planet = {
|
||||
class = "pc_rg_grayhabitat"
|
||||
location = event_target:target_planet
|
||||
orbit_location = yes
|
||||
orbit_angle_offset = 135
|
||||
orbit_distance_offset = $DISTANCE$
|
||||
size = 15
|
||||
has_ring = no
|
||||
|
||||
init_effect = {
|
||||
set_name = {
|
||||
key = HABITAT_PLANET_NAME
|
||||
variable_string = "\\[FROM.from.solar_system.GetName]"
|
||||
}
|
||||
set_planet_entity = {
|
||||
entity = "grey_tempesttw_orbital_habitat_entity"
|
||||
}
|
||||
set_surveyed = {
|
||||
surveyed = yes
|
||||
surveyor = FROM
|
||||
}
|
||||
set_all_comms_surveyed = yes
|
||||
clear_blockers = yes
|
||||
|
||||
set_planet_flag = megastructure
|
||||
set_planet_flag = habitat
|
||||
set_planet_flag = rg_gray_habitat
|
||||
set_planet_flag = habitat_level_1
|
||||
save_event_target_as = target_habitat
|
||||
add_deposit_if_missing = {
|
||||
DEPOSIT = d_system_resources
|
||||
}
|
||||
add_deposit_if_missing = {
|
||||
DEPOSIT = d_orbital_research
|
||||
}
|
||||
add_deposit_if_missing = {
|
||||
DEPOSIT = d_orbital_energy
|
||||
}
|
||||
add_deposit_if_missing = {
|
||||
DEPOSIT = d_orbital_mining
|
||||
}
|
||||
event_target:target_planet = {
|
||||
set_planet_flag = habitat@PREV
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,8 +1,9 @@
|
||||
@gray_portrait = Gray
|
||||
rg_set_gray_portrait = {
|
||||
#美味女仆-小灰@chougou
|
||||
if = {
|
||||
limit = {
|
||||
has_global_flag = ms_species_enabled
|
||||
has_global_flag = rg_ms_gray_portrait_set
|
||||
event_target:gray_owner = {
|
||||
has_country_flag = mss_enable_gray_maid
|
||||
}
|
||||
@@ -12,12 +13,168 @@ rg_set_gray_portrait = {
|
||||
ms_update_gray_portrait = yes
|
||||
}
|
||||
}
|
||||
#动态灰风@NCSIMON
|
||||
else_if = {
|
||||
limit = {
|
||||
has_global_flag = has_grayextend_mod
|
||||
has_global_flag = rg_ge_gray_portrait_set
|
||||
}
|
||||
#手动选择立绘启用
|
||||
if = {
|
||||
limit = {
|
||||
has_global_flag = rg_ge_gray_portrait_manual_toggle
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
event_target:gray_owner = {
|
||||
has_country_flag = rg_ge_governor_portrait_set
|
||||
}
|
||||
}
|
||||
change_leader_portrait = GFX_gray_portrait_governor
|
||||
event_target:rg_gray_country_leader = {
|
||||
change_leader_portrait = GFX_gray_portrait_governor
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
event_target:gray_owner = {
|
||||
has_country_flag = rg_ge_scientist_portrait_set
|
||||
}
|
||||
change_leader_portrait = GFX_gray_scientist_portrait
|
||||
event_target:rg_gray_country_leader = {
|
||||
change_leader_portrait = GFX_gray_scientist_portrait
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
change_leader_portrait = GFX_gray_portrait_governor
|
||||
event_target:rg_gray_country_leader = {
|
||||
change_leader_portrait = GFX_gray_portrait_governor
|
||||
}
|
||||
}
|
||||
}
|
||||
#默认自动选择立绘启用
|
||||
else = {
|
||||
if = {
|
||||
limit = {
|
||||
event_target:gray_owner = {
|
||||
has_country_flag = gray_official_active
|
||||
}
|
||||
|
||||
event_target:gray_official = {
|
||||
change_leader_portrait = GFX_gray_portrait_governor
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
event_target:gray_owner = {
|
||||
has_country_flag = gray_constship_active
|
||||
}
|
||||
event_target:gray_scientist = {
|
||||
change_leader_portrait = GFX_gray_scientist_portrait
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
event_target:gray_owner = {
|
||||
OR = {
|
||||
has_country_flag = gray_warship_active
|
||||
has_country_flag = gray_army_active
|
||||
}
|
||||
|
||||
}
|
||||
event_target:gray_leader_general = {
|
||||
change_leader_portrait = GFX_gray_portrait_governor
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
change_leader_portrait = GFX_gray_portrait_governor
|
||||
}
|
||||
event_target:rg_gray_country_leader = {
|
||||
change_leader_portrait = GFX_gray_portrait_governor
|
||||
}
|
||||
}
|
||||
}
|
||||
#舰r/KDC
|
||||
else_if = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_global_flag = has_wsg_mod
|
||||
has_global_flag = kdc_event_mod_active
|
||||
}
|
||||
has_global_flag = rg_wg_gray_portrait_set
|
||||
}
|
||||
set_gray_portrait = yes
|
||||
}
|
||||
#默认
|
||||
else = {
|
||||
change_leader_portrait = @gray_portrait
|
||||
event_target:rg_gray_country_leader = {
|
||||
change_leader_portrait = @gray_portrait
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
# effect 留档3.13.0
|
||||
# # scope: leader
|
||||
# set_gray_portrait = {
|
||||
# optimize_memory
|
||||
# if = {
|
||||
# limit = { owner = {
|
||||
# OR = {
|
||||
# has_wg_special_authority = yes
|
||||
# has_global_flag = wg_cheat_all_clothes
|
||||
# }
|
||||
# check_variable = { which = wg_gray_cloth value = 1 }
|
||||
# }}
|
||||
# change_leader_portrait = GrayTempest01
|
||||
# } else_if = {
|
||||
# limit = { owner = {
|
||||
# check_variable = { which = wg_gray_cloth value = 2 }
|
||||
# }}
|
||||
# change_leader_portrait = GrayTempest02
|
||||
# } else_if = {
|
||||
# limit = { owner = {
|
||||
# check_variable = { which = wg_gray_cloth value = 3 }
|
||||
# }}
|
||||
# change_leader_portrait = GrayTempest03
|
||||
# } else_if = {
|
||||
# limit = { owner = {
|
||||
# check_variable = { which = wg_gray_cloth value = 4 }
|
||||
# }}
|
||||
# change_leader_portrait = GrayTempest04
|
||||
# } else_if = {
|
||||
# limit = { owner = {
|
||||
# check_variable = { which = wg_gray_cloth value = 5 }
|
||||
# }}
|
||||
# change_leader_portrait = GrayTempest05
|
||||
# }else_if = {
|
||||
# limit = { owner = {
|
||||
# check_variable = { which = wg_gray_cloth value = 6 }
|
||||
# }}
|
||||
# change_leader_portrait = GrayTempest06
|
||||
# } else_if = {
|
||||
# limit = { always = yes }
|
||||
# change_leader_portrait = GrayTempest06
|
||||
# }
|
||||
# }
|
||||
|
||||
#scope country target:gray_owner
|
||||
rg_ge_clear_portrait_select = {
|
||||
event_target:gray_owner = {
|
||||
remove_country_flag = rg_ge_governor_portrait_set
|
||||
remove_country_flag = rg_ge_scientist_portrait_set
|
||||
}
|
||||
}
|
||||
|
||||
rg_global_clear_portrait_select = {
|
||||
remove_global_flag = rg_ms_gray_portrait_set
|
||||
remove_global_flag = rg_ge_gray_portrait_set
|
||||
remove_global_flag = rg_wg_gray_portrait_set
|
||||
}
|
||||
|
||||
rg_create_gray_species = {
|
||||
@@ -1752,6 +1909,403 @@ RG_destroy_planet_effect = {
|
||||
}
|
||||
}
|
||||
|
||||
RG_destroy_planet_effect_sp = {
|
||||
#Dismantle observation post
|
||||
if = {
|
||||
limit = {
|
||||
has_observation_outpost = yes
|
||||
}
|
||||
observation_outpost_owner = {
|
||||
country_event = {
|
||||
id = planet_destruction.1000
|
||||
days = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
# Contingency Machine World
|
||||
if = {
|
||||
limit = {
|
||||
is_planet_class = pc_ai
|
||||
NOT = {
|
||||
has_planet_flag = machine_lair
|
||||
}
|
||||
}
|
||||
set_planet_flag = destroyed_by_colossus
|
||||
set_planet_flag = planet_cracked
|
||||
planet_event = {
|
||||
id = crisis.2040
|
||||
}
|
||||
}
|
||||
# Contingency Final Machine World
|
||||
if = {
|
||||
limit = {
|
||||
is_planet_class = pc_ai
|
||||
has_planet_flag = machine_lair
|
||||
}
|
||||
set_planet_flag = destroyed_by_colossus
|
||||
set_planet_flag = planet_cracked
|
||||
from.owner = {
|
||||
save_event_target_as = final_machine_world_destroyer
|
||||
}
|
||||
stop_crisis_sound = yes
|
||||
planet_event = {
|
||||
id = crisis.2046
|
||||
}
|
||||
}
|
||||
# Swarm Situation Log counter
|
||||
if = {
|
||||
limit = {
|
||||
exists = owner
|
||||
owner = {
|
||||
is_country_type = swarm
|
||||
}
|
||||
}
|
||||
every_country = {
|
||||
limit = {
|
||||
has_event_chain = "prethoryn_scourge_chain"
|
||||
}
|
||||
add_event_chain_counter = {
|
||||
event_chain = "prethoryn_scourge_chain"
|
||||
counter = "infested_worlds"
|
||||
amount = -1
|
||||
}
|
||||
add_event_chain_counter = {
|
||||
event_chain = "prethoryn_scourge_chain"
|
||||
counter = "infested_worlds_cleansed"
|
||||
amount = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
is_active_resolution = "resolution_rulesofwar_reverence_for_life"
|
||||
is_active_resolution = "resolution_rulesofwar_independent_tribunals"
|
||||
is_active_resolution = "resolution_rulesofwar_last_resort_doctrine"
|
||||
is_active_resolution = "resolution_rulesofwar_demobilization_initiative"
|
||||
}
|
||||
}
|
||||
from.owner = {
|
||||
set_timed_country_flag = {
|
||||
flag = resolution_breached_fired_cracker
|
||||
days = 3600
|
||||
}
|
||||
}
|
||||
}
|
||||
# Exterminatus Achievement
|
||||
if = {
|
||||
limit = {
|
||||
is_capital = yes
|
||||
}
|
||||
from.owner = {
|
||||
set_country_flag = exterminatus
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = owner
|
||||
owner = {
|
||||
NOT = {
|
||||
is_same_value = from.owner
|
||||
}
|
||||
OR = {
|
||||
is_country_type = default
|
||||
is_country_type = fallen_empire
|
||||
is_country_type = awakened_fallen_empire
|
||||
}
|
||||
}
|
||||
}
|
||||
# Generate threat
|
||||
if = {
|
||||
limit = {
|
||||
is_colony = yes
|
||||
}
|
||||
add_threat = {
|
||||
who = from.owner
|
||||
amount = 3
|
||||
}
|
||||
# modifier for allies + those upset by genocide
|
||||
every_country = {
|
||||
limit = {
|
||||
NOR = {
|
||||
is_same_value = from.owner
|
||||
is_same_value = root.owner
|
||||
AND = {
|
||||
has_federation = yes
|
||||
is_in_federation_with = from.owner
|
||||
}
|
||||
}
|
||||
OR = {
|
||||
has_communications = from.owner
|
||||
has_communications = root.owner
|
||||
}
|
||||
OR = {
|
||||
AND = {
|
||||
has_federation = yes
|
||||
is_in_federation_with = root.owner
|
||||
}
|
||||
has_ai_personality = awakened_fallen_empire_xenophile
|
||||
AND = {
|
||||
is_country_type = default
|
||||
OR = {
|
||||
is_egalitarian = yes
|
||||
is_xenophile = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
root = {
|
||||
is_colony = no
|
||||
}
|
||||
}
|
||||
add_opinion_modifier = {
|
||||
modifier = opinion_cracked_an_uninhabited_world
|
||||
who = from.owner
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_opinion_modifier = {
|
||||
modifier = opinion_cracked_a_world
|
||||
who = from.owner
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_threat = {
|
||||
who = from.owner
|
||||
amount = 1
|
||||
}
|
||||
}
|
||||
# modifiers for victim
|
||||
owner = {
|
||||
if = {
|
||||
limit = {
|
||||
root = {
|
||||
is_colony = no
|
||||
}
|
||||
}
|
||||
add_opinion_modifier = {
|
||||
modifier = opinion_cracked_my_uninhabited_world
|
||||
who = from.owner
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_opinion_modifier = {
|
||||
modifier = opinion_cracked_my_world
|
||||
who = from.owner
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
has_ethic = ethic_gestalt_consciousness
|
||||
}
|
||||
}
|
||||
add_modifier = {
|
||||
modifier = colossus_victim
|
||||
days = 10800 # 30 years
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = owner
|
||||
owner = {
|
||||
is_country_type = primitive
|
||||
}
|
||||
}
|
||||
# modifier for allies + those upset by genocide
|
||||
every_country = {
|
||||
limit = {
|
||||
NOT = {
|
||||
is_same_value = from.owner
|
||||
}
|
||||
OR = {
|
||||
has_communications = from.owner
|
||||
has_communications = root.owner
|
||||
}
|
||||
OR = {
|
||||
has_ai_personality = awakened_fallen_empire_xenophile
|
||||
AND = {
|
||||
is_country_type = default
|
||||
NOR = {
|
||||
is_xenophobe = yes
|
||||
is_homicidal = yes
|
||||
is_xenophile = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
add_opinion_modifier = {
|
||||
modifier = opinion_cracked_a_primitive_world
|
||||
who = from.owner
|
||||
}
|
||||
}
|
||||
every_country = {
|
||||
limit = {
|
||||
NOT = {
|
||||
is_same_value = from.owner
|
||||
}
|
||||
OR = {
|
||||
has_communications = from.owner
|
||||
has_communications = root.owner
|
||||
}
|
||||
OR = {
|
||||
has_ai_personality = awakened_fallen_empire_xenophile
|
||||
AND = {
|
||||
is_country_type = default
|
||||
is_xenophile = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
add_opinion_modifier = {
|
||||
modifier = opinion_cracked_a_primitive_world_phile
|
||||
who = from.owner
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
# Add war exhaustion to planet owner
|
||||
if = {
|
||||
limit = {
|
||||
exists = owner
|
||||
}
|
||||
owner = {
|
||||
if = {
|
||||
limit = {
|
||||
#isn't the case when the crisis bombards planets, for instance
|
||||
is_at_war_with = from.fleet.owner
|
||||
}
|
||||
add_static_war_exhaustion = {
|
||||
attacker = from.fleet.owner
|
||||
location = root
|
||||
value_for_planet_destruction = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
is_planet_class = pc_habitat
|
||||
} # uncolonized
|
||||
spawn_habitat_cracker_effect = yes
|
||||
change_pc = pc_nanotech
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
is_colony = yes
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = owner
|
||||
owner = {
|
||||
is_same_value = event_target:gray_owner
|
||||
}
|
||||
}
|
||||
# already owned
|
||||
}
|
||||
else = {
|
||||
set_owner = event_target:gray_owner
|
||||
}
|
||||
every_owned_pop = {
|
||||
modify_species = {
|
||||
species = event_target:gray_owner.owner_species
|
||||
add_trait = trait_cybernetic
|
||||
add_traits_at_start_of_list = yes
|
||||
change_scoped_species = yes
|
||||
}
|
||||
}
|
||||
every_owned_pop = {
|
||||
limit = {
|
||||
has_modifier = pop_recently_conquered
|
||||
}
|
||||
remove_modifier = pop_recently_conquered
|
||||
}
|
||||
every_owned_pop = {
|
||||
set_citizenship_type = {
|
||||
type = citizenship_full_machine
|
||||
cooldown = yes
|
||||
}
|
||||
}
|
||||
# Special graphics for Habitats and Ring Worlds
|
||||
if = {
|
||||
limit = {
|
||||
is_planet_class = pc_habitat
|
||||
}
|
||||
spawn_habitat_nanobot_effect = yes
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
is_planet_class = pc_ringworld_habitable
|
||||
}
|
||||
spawn_ringworld_nanobot_effect = yes
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
is_planet_class = pc_habitat
|
||||
is_planet_class = pc_ringworld_habitable
|
||||
}
|
||||
}
|
||||
# nothing
|
||||
}
|
||||
else = {
|
||||
change_pc = this
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
is_ringworld = yes
|
||||
}
|
||||
spawn_ringworld_nanobot_effect = yes
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
is_planet_class = pc_ringworld_tech
|
||||
}
|
||||
spawn_ringworld_nanobot_effect = yes
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
is_planet_class = pc_ringworld_seam
|
||||
}
|
||||
spawn_ringworld_nanobot_effect = yes
|
||||
}
|
||||
else = {
|
||||
change_pc = pc_nanotech
|
||||
add_modifier = {
|
||||
modifier = "terraforming_candidate"
|
||||
days = -1
|
||||
}
|
||||
random_list = {
|
||||
25 = {
|
||||
while = {
|
||||
count = 4
|
||||
add_deposit = d_nanites_deposit
|
||||
}
|
||||
}
|
||||
25 = {
|
||||
while = {
|
||||
count = 3
|
||||
add_deposit = d_nanites_deposit
|
||||
}
|
||||
}
|
||||
25 = {
|
||||
while = {
|
||||
count = 2
|
||||
add_deposit = d_nanites_deposit
|
||||
}
|
||||
}
|
||||
25 = {
|
||||
add_deposit = d_nanites_deposit
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
RG_destroy_star_system = {
|
||||
every_system_ambient_object = {
|
||||
limit = {
|
||||
@@ -1992,7 +2546,7 @@ RG_destroy_star_system = {
|
||||
exists = event_target:gray_owner #i.e. not final destruction of all matter
|
||||
is_mobile = yes
|
||||
}
|
||||
set_mia = yes
|
||||
set_mia = mia_emergency_ftl
|
||||
}
|
||||
else = {
|
||||
destroy_fleet = this
|
||||
@@ -2260,6 +2814,11 @@ rg_gray_country_after_init = {
|
||||
event_target:rg_gray_country = {
|
||||
establish_communications_no_message = event_target:gray_owner
|
||||
}
|
||||
country_event = {
|
||||
id = rg_grayleader.7
|
||||
days = -1
|
||||
}
|
||||
rg_juggernaut_habitat_init = yes
|
||||
}
|
||||
|
||||
rg_timeline_attract_field_init = {
|
||||
@@ -2553,10 +3112,7 @@ rg_lcluster_spawn_effect = {
|
||||
}
|
||||
}
|
||||
set_spawn_system_batch = end
|
||||
country_event = {
|
||||
id = rg_cluster.9
|
||||
days = -1
|
||||
}
|
||||
rg_event_effect_lcluster_spawn_selecter = yes
|
||||
}
|
||||
RG_gray_mod1_effect = {
|
||||
custom_tooltip = rg_levelup_2.tooltip
|
||||
|
||||
@@ -57,6 +57,35 @@ rg_create_gray_planetkiller_testship_1 = {
|
||||
}
|
||||
}
|
||||
|
||||
rg_create_gray_planetkiller_testship_2 = {
|
||||
create_fleet = {
|
||||
name = "NAME_RG_TESTSHIP"
|
||||
settings = {
|
||||
can_disband = yes
|
||||
can_upgrade = no
|
||||
can_change_composition = no
|
||||
can_change_leader = no
|
||||
uses_naval_capacity = no
|
||||
spawn_debris = no
|
||||
}
|
||||
effect = {
|
||||
set_owner = root
|
||||
create_ship = {
|
||||
name = "NAME_RG_TESTSHIP"
|
||||
design = "RG_COLOSSUS_interdictor_NANO_SP"
|
||||
prefix = no
|
||||
upgradable = no
|
||||
}
|
||||
set_location = {
|
||||
target = root.capital_scope
|
||||
distance = 0
|
||||
angle = random
|
||||
}
|
||||
set_fleet_flag = rg_test_ship_fleet
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
rg_create_gray_paperwork_testship_1 = {
|
||||
create_fleet = {
|
||||
name = "NAME_RG_TESTSHIP"
|
||||
|
||||
129
common/scripted_effects/RG_storms_effects.txt
Normal file
129
common/scripted_effects/RG_storms_effects.txt
Normal file
@@ -0,0 +1,129 @@
|
||||
rg_storm_relic_add = {
|
||||
add_relic = rg_tempest_invocator
|
||||
}
|
||||
|
||||
graytempest_storm_add = {
|
||||
set_star_flag = storm_system
|
||||
set_global_flag = cosmic_storm_has_occurred
|
||||
|
||||
inline_script = {
|
||||
script = cosmic_storms/StormVisuals
|
||||
STORM_NAME = "graytempest_storm"
|
||||
}
|
||||
}
|
||||
|
||||
graytempest_storm_remove = {
|
||||
remove_storm_visuals_effect = yes
|
||||
remove_star_flag = storm_system
|
||||
graytempest_storm_apply_aftermath_modifier = yes
|
||||
graytempest_storm_apply_deposits = yes
|
||||
}
|
||||
|
||||
graytempest_storm_apply_aftermath_modifier = {
|
||||
every_system_planet = {
|
||||
limit = {
|
||||
OR = {
|
||||
is_colonizable = yes
|
||||
is_colony = yes
|
||||
}
|
||||
}
|
||||
|
||||
storm_apply_aftermath_modifier = {
|
||||
severity = {
|
||||
modifier = "graytempest_storm_aftermath_modifier_severity_1"
|
||||
days = 1080
|
||||
chance = {
|
||||
base = 33
|
||||
modifier = {
|
||||
factor = 0
|
||||
OR = {
|
||||
has_modifier = "graytempest_storm_aftermath_modifier_severity_2"
|
||||
has_modifier = "graytempest_storm_aftermath_modifier_severity_3"
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
factor = $FactorSev1|1$
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
severity = {
|
||||
modifier = "graytempest_storm_aftermath_modifier_severity_2"
|
||||
days = 1080
|
||||
chance = {
|
||||
base = 3
|
||||
modifier = {
|
||||
factor = 0
|
||||
has_modifier = "graytempest_storm_aftermath_modifier_severity_3"
|
||||
}
|
||||
modifier = {
|
||||
factor = $FactorSev2|1$
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
severity = {
|
||||
modifier = "graytempest_storm_aftermath_modifier_severity_3"
|
||||
days = 1080
|
||||
chance = {
|
||||
base = 33
|
||||
modifier = {
|
||||
factor = $FactorSev3|1$
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = { is_colony = yes }
|
||||
owner = {
|
||||
create_message = {
|
||||
type = TEMPEST_STORM_AFTERMATH
|
||||
localization = MESSAGE_STORM_AFTERMATH_DESC
|
||||
days = @toast_important_message_days
|
||||
target = prev
|
||||
variable = {
|
||||
type = name
|
||||
localization = PLANET
|
||||
scope = prev
|
||||
}
|
||||
custom_toast_content_text = tempest_storm_aftermath_custom_desc
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
graytempests_storm_apply_deposits = {
|
||||
every_system_planet = {
|
||||
limit = {
|
||||
OR = {
|
||||
is_colonizable = yes
|
||||
is_colony = yes
|
||||
}
|
||||
is_artificial = no
|
||||
NOR = {
|
||||
has_deposit = d_rg_tempest_storm_1
|
||||
has_deposit = d_rg_tempest_storm_2
|
||||
has_deposit = d_rg_tempest_storm_3
|
||||
}
|
||||
}
|
||||
|
||||
random_list = {
|
||||
80 = {}
|
||||
20 = {
|
||||
random_list = {
|
||||
30 = { add_deposit = d_rg_tempest_storm_1 }
|
||||
30 = { add_deposit = d_rg_tempest_storm_2 }
|
||||
30 = { add_deposit = d_rg_tempest_storm_3 }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_owner = yes
|
||||
}
|
||||
planet_event = { id = cstorms.8000 }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -19,7 +19,9 @@ rg_warship_init_mod1 = {
|
||||
prefix = no
|
||||
upgradable = yes
|
||||
effect = {
|
||||
set_fleet_flag = gray_fleet_ship
|
||||
PREV = {
|
||||
set_fleet_flag = gray_fleet_ship
|
||||
}
|
||||
save_global_event_target_as = gray_warship_ship
|
||||
}
|
||||
}
|
||||
@@ -63,7 +65,9 @@ rg_warship_init_mod2 = {
|
||||
prefix = no
|
||||
upgradable = yes
|
||||
effect = {
|
||||
set_fleet_flag = gray_fleet_ship
|
||||
PREV = {
|
||||
set_fleet_flag = gray_fleet_ship
|
||||
}
|
||||
save_global_event_target_as = gray_warship_ship
|
||||
}
|
||||
}
|
||||
@@ -108,7 +112,9 @@ rg_warship_init_mod3 = {
|
||||
prefix = no
|
||||
upgradable = yes
|
||||
effect = {
|
||||
set_fleet_flag = gray_fleet_ship
|
||||
PREV = {
|
||||
set_fleet_flag = gray_fleet_ship
|
||||
}
|
||||
save_global_event_target_as = gray_warship_ship
|
||||
}
|
||||
}
|
||||
@@ -151,7 +157,9 @@ rg_warship_init_mod0 = {
|
||||
prefix = no
|
||||
upgradable = yes
|
||||
effect = {
|
||||
set_fleet_flag = gray_fleet_ship
|
||||
PREV = {
|
||||
set_fleet_flag = gray_fleet_ship
|
||||
}
|
||||
save_global_event_target_as = gray_warship_ship
|
||||
}
|
||||
}
|
||||
|
||||
@@ -103,6 +103,142 @@ can_destroy_planet_with_RG_PLANET_KILLER_SP = {
|
||||
}
|
||||
}
|
||||
|
||||
can_destroy_planet_with_RG_PLANET_KILLER_NANO_SP = {
|
||||
custom_tooltip = {
|
||||
fail_text = "RG_requires_a_star_star_killer"
|
||||
NOR = {
|
||||
is_star = yes
|
||||
is_planet_class = pc_ag_void_star
|
||||
is_planet_class = pc_ag_void_planet
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = "RG_requires_inside_border_star_killer"
|
||||
is_inside_border = from.owner
|
||||
}
|
||||
}
|
||||
|
||||
can_destroy_planet_with_RG_PLANET_KILLER_CRACKER = {
|
||||
custom_tooltip = {
|
||||
fail_text = is_not_a_standard_planet_or_megastructure
|
||||
is_a_planet_megastructure = yes
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = is_shielded
|
||||
NOR = {
|
||||
is_planet_class = pc_shielded
|
||||
is_planet_class = pc_ringworld_shielded
|
||||
is_planet_class = pc_habitat_shielded
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = fotd_cant_collossus
|
||||
NOT = { has_planet_flag = fotd_seperatist_planet@from.owner }
|
||||
exists = from.owner
|
||||
from.owner = {
|
||||
NOT = { has_country_flag = fotd_seperatist_country@from.owner }
|
||||
}
|
||||
}
|
||||
OR = {
|
||||
custom_tooltip = {
|
||||
text = is_not_hostile_cracker
|
||||
OR = {
|
||||
AND = {
|
||||
exists = space_owner
|
||||
space_owner = {
|
||||
OR = {
|
||||
is_at_war_with = from.owner
|
||||
is_country_type = swarm
|
||||
is_country_type = extradimensional
|
||||
is_country_type = extradimensional_2
|
||||
is_country_type = extradimensional_3
|
||||
is_country_type = ai_empire
|
||||
}
|
||||
}
|
||||
}
|
||||
AND = { # colony
|
||||
exists = owner
|
||||
owner = {
|
||||
OR = {
|
||||
is_at_war_with = from.owner
|
||||
is_country_type = swarm
|
||||
is_country_type = extradimensional
|
||||
is_country_type = extradimensional_2
|
||||
is_country_type = extradimensional_3
|
||||
is_country_type = ai_empire
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
# primitive target
|
||||
custom_tooltip = {
|
||||
text = cannot_crack_pre_ftl_planet_ownership
|
||||
exists = space_owner
|
||||
exists = owner
|
||||
owner = {
|
||||
is_primitive = yes
|
||||
}
|
||||
space_owner = {
|
||||
OR = {
|
||||
is_same_value = from.owner
|
||||
is_at_war_with = from.owner
|
||||
is_country_type = swarm
|
||||
is_country_type = extradimensional
|
||||
is_country_type = extradimensional_2
|
||||
is_country_type = extradimensional_3
|
||||
is_country_type = ai_empire
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = cannot_crack_pre_ftl_planet_interference
|
||||
# primitive
|
||||
exists = owner
|
||||
owner = {
|
||||
is_primitive = yes
|
||||
}
|
||||
from.owner = {
|
||||
has_policy_flag = interference_aggressive
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = not_barren_molten_frozen_toxic_test_fire
|
||||
NOT = { exists = owner }
|
||||
OR = {
|
||||
NOT = { exists = space_owner }
|
||||
AND = {
|
||||
exists = space_owner
|
||||
space_owner = { is_same_value = from.owner }
|
||||
}
|
||||
}
|
||||
OR = {
|
||||
is_planet_class = pc_barren
|
||||
is_planet_class = pc_barren_cold
|
||||
is_planet_class = pc_frozen
|
||||
is_planet_class = pc_molten
|
||||
is_planet_class = pc_toxic
|
||||
is_planet_class = pc_desert
|
||||
is_planet_class = pc_tropical
|
||||
is_planet_class = pc_arid
|
||||
is_planet_class = pc_continental
|
||||
is_planet_class = pc_ocean
|
||||
is_planet_class = pc_tundra
|
||||
is_planet_class = pc_arctic
|
||||
is_planet_class = pc_alpine
|
||||
is_planet_class = pc_savannah
|
||||
is_planet_class = pc_gaia
|
||||
is_planet_class = pc_relic
|
||||
is_planet_class = pc_nuked
|
||||
is_planet_class = pc_ringworld_habitable
|
||||
is_planet_class = pc_habitat
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
can_destroy_planet_with_RG_PLANET_KILLER_SHIELDER = {
|
||||
custom_tooltip = {
|
||||
fail_text = is_not_a_habitable_planet_or_megastructure
|
||||
@@ -135,7 +271,7 @@ can_destroy_planet_with_RG_PLANET_KILLER_SHIELDER = {
|
||||
from.owner = {
|
||||
OR = {
|
||||
has_policy_flag = interference_active
|
||||
has_policy_flag = interference_full
|
||||
has_policy_flag = interference_aggressive
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -256,7 +392,7 @@ can_destroy_planet_with_RG_PLANET_KILLER_GODRAY = {
|
||||
from.owner = {
|
||||
OR = {
|
||||
has_policy_flag = interference_active
|
||||
has_policy_flag = interference_full
|
||||
has_policy_flag = interference_aggressive
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -330,7 +466,7 @@ can_destroy_planet_with_RG_PLANET_KILLER_NANOBOTS = {
|
||||
custom_tooltip = {
|
||||
fail_text = primitives_not_full_interference
|
||||
from.owner = {
|
||||
has_policy_flag = interference_full
|
||||
has_policy_flag = interference_aggressive
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -429,7 +565,7 @@ can_destroy_planet_with_RG_PLANET_KILLER_DELUGE = {
|
||||
custom_tooltip = {
|
||||
fail_text = primitives_not_full_interference
|
||||
from.owner = {
|
||||
has_policy_flag = interference_full
|
||||
has_policy_flag = interference_aggressive
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ RG_gray_mod1_allow_trigger = {
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = requires_rg_graylevel_higherthan_25
|
||||
fail_text = requires_rg_graylevel_higherthan_10
|
||||
event_target:gray_leader_admiral = {
|
||||
has_skill >= 10
|
||||
}
|
||||
@@ -86,13 +86,13 @@ RG_gray_mod2_allow_trigger = {
|
||||
}
|
||||
OR = {
|
||||
custom_tooltip = {
|
||||
fail_text = requires_rg_graylevel_higherthan_50
|
||||
fail_text = requires_rg_has_tech_juggernaut
|
||||
has_technology = tech_juggernaut
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = requires_rg_graylevel_higherthan_20
|
||||
fail_text = requires_rg_graylevel_higherthan_10
|
||||
event_target:gray_leader_admiral = {
|
||||
has_skill >= 20
|
||||
has_skill >= 10
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -121,5 +121,8 @@ RG_gray_mod3_allow_trigger = {
|
||||
resource = alloys
|
||||
value >= 150000
|
||||
}
|
||||
has_technology = tech_juggernaut
|
||||
custom_tooltip = {
|
||||
fail_text = requires_rg_has_tech_juggernaut
|
||||
has_technology = tech_juggernaut
|
||||
}
|
||||
}
|
||||
1
common/scripted_variables/RG_scripted_variables.txt
Normal file
1
common/scripted_variables/RG_scripted_variables.txt
Normal file
@@ -0,0 +1 @@
|
||||
@gray_portrait = Gray
|
||||
@@ -164,7 +164,6 @@ ship_section_template = {
|
||||
fits_on_slot = "core"
|
||||
entity = "grey_tempesttw_starbase_starfortress_section_entity"
|
||||
icon = "GFX_ship_part_core_mid"
|
||||
hidden = yes
|
||||
component_slot = {
|
||||
name = "LARGE_GUN_01"
|
||||
template = "invisible_large_turret"
|
||||
|
||||
@@ -125,8 +125,52 @@ RG_graygoo_capitalship = {
|
||||
combat_disengage_chance = 1.25
|
||||
class = shipclass_military
|
||||
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 = {
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
combat_size_multiplier = 4
|
||||
prerequisites = {
|
||||
@@ -257,8 +301,6 @@ RG_gray_juggernaut = {
|
||||
required_component_set = "ship_aura_components"
|
||||
required_component_set = "ship_aura_components"
|
||||
|
||||
empire_limit = 1
|
||||
|
||||
components_add_to_cost = no
|
||||
resources = {
|
||||
category = ships
|
||||
@@ -465,8 +507,8 @@ RG_graygoo_destroyer = {
|
||||
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"
|
||||
potential_country = {
|
||||
has_tradition = tr_rg_nanotech_4
|
||||
}
|
||||
ship_roles = { screen gunship artillery brawler }
|
||||
triggered_ship_roles = {
|
||||
@@ -811,8 +853,8 @@ RG_orbital_ring_tier_1 = {
|
||||
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
|
||||
build_block_radius = 20
|
||||
formation_priority = 1
|
||||
icon_frame = 7
|
||||
scales_with_planet = yes
|
||||
graphical_culture = yes
|
||||
|
||||
@@ -109,8 +109,8 @@ graygoo_factory = {
|
||||
ship_modifier = {
|
||||
ship_shield_hardening_add = 5
|
||||
ship_armor_hardening_add = 5
|
||||
ship_armor_regen_add = 10240
|
||||
ship_hull_regen_add = 5120
|
||||
ship_armor_regen_add_static = 10240
|
||||
ship_hull_regen_add_static = 5120
|
||||
}
|
||||
max_hitpoints = 2048000
|
||||
size_multiplier = 32
|
||||
|
||||
192
common/situations/rg_deficit_situations.txt
Normal file
192
common/situations/rg_deficit_situations.txt
Normal file
@@ -0,0 +1,192 @@
|
||||
situation_nanties_deficit = {
|
||||
picture = GFX_evt_deficit
|
||||
category = negative
|
||||
fail_icon = GFX_situation_outcome_meh
|
||||
fail_icon_frame = GFX_situation_outcome_frame_green
|
||||
complete_icon = GFX_situation_outcome_bankrupcy
|
||||
complete_icon_frame = GFX_situation_outcome_frame_red
|
||||
|
||||
on_start = {
|
||||
set_situation_flag = deficit_situation
|
||||
owner = {
|
||||
country_event = { id = advisor.20 days = 10 random = 20 }
|
||||
save_event_target_as = kaleidoscope_new_owner
|
||||
}
|
||||
random_playable_country = {
|
||||
limit = {
|
||||
has_country_flag = gave_kaleidoscope_to@owner
|
||||
}
|
||||
country_event = { id = situation.2025 days = 10 random = 20 }
|
||||
}
|
||||
}
|
||||
on_abort = {
|
||||
owner = {
|
||||
add_resource = {
|
||||
energy = @bailout_basic_base_amount
|
||||
mult = value:bailout_scaling_factor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
start_value = 15
|
||||
on_monthly = {
|
||||
random_events = {
|
||||
80 = 0
|
||||
20 = origin.4170 # Payback | MSI helping you
|
||||
}
|
||||
}
|
||||
|
||||
stages = {
|
||||
deficit_first = {
|
||||
icon = GFX_situation_stage_1
|
||||
icon_background = GFX_situation_stage_frame_red
|
||||
end = 25
|
||||
modifier = {
|
||||
planet_researchers_physics_research_produces_add = -0.5
|
||||
planet_researchers_society_research_produces_add = -0.5
|
||||
planet_researchers_engineering_research_produces_add = -0.5
|
||||
diplo_weight_economy_mult = -0.1
|
||||
planet_pop_assembly_reduction = 0.1
|
||||
ship_disengage_chance_mult = -0.1
|
||||
ship_weapon_damage = -0.20
|
||||
ship_speed_mult = -0.20
|
||||
}
|
||||
}
|
||||
deficit_second = {
|
||||
icon = GFX_situation_stage_2
|
||||
icon_background = GFX_situation_stage_frame_red
|
||||
end = 50
|
||||
modifier = {
|
||||
planet_researchers_physics_research_produces_add = -1
|
||||
planet_researchers_society_research_produces_add = -1
|
||||
planet_researchers_engineering_research_produces_add = -1
|
||||
diplo_weight_economy_mult = -0.2
|
||||
planet_pop_assembly_reduction = 0.2
|
||||
ship_disengage_chance_mult = -0.25
|
||||
ship_weapon_damage = -0.40
|
||||
ship_speed_mult = -0.40
|
||||
}
|
||||
}
|
||||
deficit_third = {
|
||||
icon = GFX_situation_stage_3
|
||||
icon_background = GFX_situation_stage_frame_red
|
||||
end = 75
|
||||
modifier = {
|
||||
planet_researchers_physics_research_produces_add = -1.5
|
||||
planet_researchers_society_research_produces_add = -1.5
|
||||
planet_researchers_engineering_research_produces_add = -1.5
|
||||
diplo_weight_economy_mult = -0.33
|
||||
planet_pop_assembly_reduction = 0.33
|
||||
ship_disengage_chance_mult = -0.50
|
||||
ship_weapon_damage = -0.60
|
||||
ship_speed_mult = -0.60
|
||||
}
|
||||
}
|
||||
deficit_fourth = {
|
||||
icon = GFX_situation_stage_4
|
||||
icon_background = GFX_situation_stage_frame_red
|
||||
end = 100
|
||||
on_first_enter = {
|
||||
situation_event = { id = deficit.100 }
|
||||
}
|
||||
modifier = {
|
||||
planet_researchers_physics_research_produces_add = -2
|
||||
planet_researchers_society_research_produces_add = -2
|
||||
planet_researchers_engineering_research_produces_add = -2
|
||||
diplo_weight_economy_mult = -0.5
|
||||
planet_pop_assembly_reduction = 0.5
|
||||
ship_disengage_chance_mult = -0.75
|
||||
planet_jobs_produces_mult = -0.1
|
||||
ship_weapon_damage = -0.8
|
||||
ship_speed_mult = -0.8
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
on_progress_complete = {
|
||||
country_defaulted_in_situation_tooltip = yes
|
||||
hidden_effect = {
|
||||
situation_event = { id = deficit.110 }
|
||||
}
|
||||
}
|
||||
on_fail = {
|
||||
custom_tooltip = deficit_situation_finish_tooltip
|
||||
hidden_effect = { destroy_situation = this }
|
||||
}
|
||||
monthly_progress = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = value:deficit_situation_progress_value|RESOURCE|energy|
|
||||
desc = string_expenditures_greater_than_income_energy
|
||||
owner = { has_actual_deficit = { RESOURCE = energy } }
|
||||
}
|
||||
modifier = {
|
||||
subtract = 5
|
||||
desc = string_not_in_deficit_energy
|
||||
owner = {
|
||||
resource_income_compare = {
|
||||
resource = energy
|
||||
value >= 0
|
||||
}
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
subtract = 1
|
||||
desc = string_resource_reserves_energy
|
||||
owner = {
|
||||
has_negative_income_with_stockpile = { RESOURCE = energy }
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
desc = civilian_difficulty
|
||||
mult = 0.1
|
||||
situation_monthly_progress > 0
|
||||
is_difficulty = 0
|
||||
owner = {
|
||||
is_ai = no
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
desc = cadet_difficulty
|
||||
mult = 0.5
|
||||
situation_monthly_progress > 0
|
||||
is_difficulty = 1
|
||||
owner = {
|
||||
is_ai = no
|
||||
}
|
||||
}
|
||||
}
|
||||
approach = {
|
||||
name = deficit_approach_do_nothing
|
||||
icon = GFX_situation_approach_this_is_fine
|
||||
icon_background = GFX_situation_approach_bg_yellow
|
||||
default = yes
|
||||
on_select = {
|
||||
custom_tooltip = deficit_approach_do_nothing_tooltip
|
||||
}
|
||||
ai_weight = {
|
||||
base = 1
|
||||
}
|
||||
}
|
||||
approach = {
|
||||
name = deficit_approach_cut_science_investment
|
||||
icon = GFX_situation_approach_research
|
||||
icon_background = GFX_situation_approach_bg_red
|
||||
modifier = {
|
||||
planet_researchers_produces_mult = -0.5
|
||||
planet_buildings_energy_upkeep_mult = -0.2
|
||||
}
|
||||
|
||||
ai_weight = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 2
|
||||
current_stage = deficit_third
|
||||
}
|
||||
modifier = {
|
||||
add = 2
|
||||
current_stage = deficit_fourth
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -31,7 +31,7 @@ situation_rg_gray_mod1 = {
|
||||
situation_rg_gray_mod1_stage_1 = {
|
||||
icon = GFX_situation_stage_1
|
||||
icon_background = GFX_situation_stage_frame_green
|
||||
end = 16.5
|
||||
end = 17
|
||||
custom_tooltip = situation_rg_gray_mod1_stage_1_tooltip
|
||||
on_first_enter = {
|
||||
event_target:gray_warship = {
|
||||
@@ -86,7 +86,7 @@ situation_rg_gray_mod1 = {
|
||||
situation_rg_gray_mod1_stage_5 = {
|
||||
icon = GFX_situation_stage_5
|
||||
icon_background = GFX_situation_stage_frame_green
|
||||
end = 82.5
|
||||
end = 83
|
||||
custom_tooltip = situation_rg_gray_mod1_stage_5_tooltip
|
||||
on_first_enter = {
|
||||
owner = {
|
||||
@@ -262,7 +262,7 @@ situation_rg_gray_mod2 = {
|
||||
situation_rg_gray_mod2_stage_1 = {
|
||||
icon = GFX_situation_stage_1
|
||||
icon_background = GFX_situation_stage_frame_green
|
||||
end = 8.4
|
||||
end = 8
|
||||
custom_tooltip = situation_rg_gray_mod2_stage_1_tooltip
|
||||
on_first_enter = {
|
||||
owner = {
|
||||
@@ -275,7 +275,7 @@ situation_rg_gray_mod2 = {
|
||||
situation_rg_gray_mod2_stage_2 = {
|
||||
icon = GFX_situation_stage_2
|
||||
icon_background = GFX_situation_stage_frame_green
|
||||
end = 16.8
|
||||
end = 17
|
||||
custom_tooltip = situation_rg_gray_mod2_stage_2_tooltip
|
||||
on_first_enter = {
|
||||
owner = {
|
||||
@@ -288,7 +288,7 @@ situation_rg_gray_mod2 = {
|
||||
situation_rg_gray_mod2_stage_3 = {
|
||||
icon = GFX_situation_stage_3
|
||||
icon_background = GFX_situation_stage_frame_green
|
||||
end = 25.2
|
||||
end = 25
|
||||
custom_tooltip = situation_rg_gray_mod2_stage_3_tooltip
|
||||
on_first_enter = {
|
||||
owner = {
|
||||
@@ -301,7 +301,7 @@ situation_rg_gray_mod2 = {
|
||||
situation_rg_gray_mod2_stage_4 = {
|
||||
icon = GFX_situation_stage_4
|
||||
icon_background = GFX_situation_stage_frame_green
|
||||
end = 33.6
|
||||
end = 34
|
||||
custom_tooltip = situation_rg_gray_mod2_stage_4_tooltip
|
||||
on_first_enter = {
|
||||
owner = {
|
||||
@@ -327,7 +327,7 @@ situation_rg_gray_mod2 = {
|
||||
situation_rg_gray_mod2_stage_6 = {
|
||||
icon = GFX_situation_stage_6
|
||||
icon_background = GFX_situation_stage_frame_green
|
||||
end = 50.4
|
||||
end = 50
|
||||
custom_tooltip = situation_rg_gray_mod2_stage_6_tooltip
|
||||
on_first_enter = {
|
||||
owner = {
|
||||
@@ -340,7 +340,7 @@ situation_rg_gray_mod2 = {
|
||||
situation_rg_gray_mod2_stage_7 = {
|
||||
icon = GFX_situation_stage_1
|
||||
icon_background = GFX_situation_stage_frame_green
|
||||
end = 58.8
|
||||
end = 59
|
||||
custom_tooltip = situation_rg_gray_mod2_stage_7_tooltip
|
||||
on_first_enter = {
|
||||
owner = {
|
||||
@@ -353,7 +353,7 @@ situation_rg_gray_mod2 = {
|
||||
situation_rg_gray_mod2_stage_8 = {
|
||||
icon = GFX_situation_stage_2
|
||||
icon_background = GFX_situation_stage_frame_green
|
||||
end = 67.2
|
||||
end = 67
|
||||
custom_tooltip = situation_rg_gray_mod2_stage_8_tooltip
|
||||
on_first_enter = {
|
||||
owner = {
|
||||
@@ -366,7 +366,7 @@ situation_rg_gray_mod2 = {
|
||||
situation_rg_gray_mod2_stage_9 = {
|
||||
icon = GFX_situation_stage_3
|
||||
icon_background = GFX_situation_stage_frame_green
|
||||
end = 75.6
|
||||
end = 76
|
||||
custom_tooltip = situation_rg_gray_mod2_stage_9_tooltip
|
||||
on_first_enter = {
|
||||
owner = {
|
||||
@@ -392,7 +392,7 @@ situation_rg_gray_mod2 = {
|
||||
situation_rg_gray_mod2_stage_11 = {
|
||||
icon = GFX_situation_stage_5
|
||||
icon_background = GFX_situation_stage_frame_green
|
||||
end = 92.4
|
||||
end = 92
|
||||
custom_tooltip = situation_rg_gray_mod2_stage_11_tooltip
|
||||
on_first_enter = {
|
||||
owner = {
|
||||
@@ -546,4 +546,165 @@ situation_rg_gray_mod2 = {
|
||||
}
|
||||
destroy_situation = this
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
situation_rg_nanotech_consume_planet = {
|
||||
complete_icon_frame = GFX_situation_outcome_frame_green
|
||||
complete_icon = GFX_situation_exploding_planet
|
||||
picture = {
|
||||
trigger = {
|
||||
target = { is_planet_class = pc_desert }
|
||||
}
|
||||
picture = GFX_evt_desert
|
||||
}
|
||||
picture = {
|
||||
trigger = {
|
||||
target = { is_planet_class = pc_tropical }
|
||||
}
|
||||
picture = GFX_evt_tropical
|
||||
}
|
||||
picture = {
|
||||
trigger = {
|
||||
target = { is_planet_class = pc_arid }
|
||||
}
|
||||
picture = GFX_evt_arid
|
||||
}
|
||||
picture = {
|
||||
trigger = {
|
||||
target = { is_planet_class = pc_continental }
|
||||
}
|
||||
picture = GFX_evt_continental
|
||||
}
|
||||
picture = {
|
||||
trigger = {
|
||||
target = { is_planet_class = pc_alpine }
|
||||
}
|
||||
picture = GFX_evt_alpine_city
|
||||
}
|
||||
picture = {
|
||||
trigger = {
|
||||
target = { is_planet_class = pc_savannah }
|
||||
}
|
||||
picture = GFX_evt_savannah
|
||||
}
|
||||
picture = {
|
||||
trigger = {
|
||||
target = { is_planet_class = pc_ocean }
|
||||
}
|
||||
picture = GFX_evt_ocean
|
||||
}
|
||||
picture = {
|
||||
trigger = {
|
||||
target = { is_planet_class = pc_tundra }
|
||||
}
|
||||
picture = GFX_evt_tundra
|
||||
}
|
||||
picture = {
|
||||
trigger = {
|
||||
target = { is_planet_class = pc_arctic }
|
||||
}
|
||||
picture = GFX_evt_arctic
|
||||
}
|
||||
picture = {
|
||||
trigger = {
|
||||
target = { is_planet_class = pc_gaia }
|
||||
}
|
||||
picture = GFX_evt_gaia
|
||||
}
|
||||
picture = {
|
||||
trigger = {
|
||||
target = { is_planet_class = pc_nuked }
|
||||
}
|
||||
picture = GFX_evt_tomb_world
|
||||
}
|
||||
picture = {
|
||||
trigger = {
|
||||
target = { is_planet_class = pc_hive }
|
||||
}
|
||||
picture = GFX_evt_infested
|
||||
}
|
||||
picture = {
|
||||
trigger = {
|
||||
target = { is_planet_class = pc_machine }
|
||||
}
|
||||
picture = GFX_evt_ai_planet
|
||||
}
|
||||
picture = {
|
||||
trigger = {
|
||||
target = { is_planet_class = pc_city }
|
||||
}
|
||||
picture = GFX_evt_city_planet
|
||||
}
|
||||
|
||||
stages = {
|
||||
stage_1 = {
|
||||
icon = GFX_situation_stage_1
|
||||
icon_background = GFX_situation_stage_frame_green
|
||||
end = 1000
|
||||
custom_tooltip = stage_slushify
|
||||
}
|
||||
}
|
||||
|
||||
category = positive
|
||||
start_value = 0
|
||||
|
||||
on_progress_complete = {
|
||||
custom_tooltip = nanotech_consume_finish_tooltip
|
||||
hidden_effect = {
|
||||
situation_event = { id = colony.200 }
|
||||
}
|
||||
}
|
||||
on_monthly = {
|
||||
events = {
|
||||
colony.195 #Adds blockers and grants reward
|
||||
}
|
||||
}
|
||||
on_abort = {
|
||||
target = {
|
||||
remove_planet_flag = being_devoured
|
||||
remove_modifier = being_devoured_modifier
|
||||
}
|
||||
}
|
||||
approach = {#Devour
|
||||
name = approach_devour
|
||||
on_select = {
|
||||
custom_tooltip = nanotech_devour_effect
|
||||
}
|
||||
default = yes
|
||||
icon = GFX_situation_approach_amenities
|
||||
icon_background = GFX_situation_approach_bg_green
|
||||
ai_weight = {
|
||||
base = 10
|
||||
}
|
||||
}
|
||||
approach = {#Restraint
|
||||
name = approach_restraint
|
||||
on_select = {
|
||||
custom_tooltip = terravore_restraint_effect
|
||||
owner = {
|
||||
add_resource = { unity = -1000 }
|
||||
}
|
||||
abort_situation = this
|
||||
}
|
||||
icon = GFX_situation_approach_influence
|
||||
icon_background = GFX_situation_approach_bg_yellow
|
||||
ai_weight = {
|
||||
base = 10
|
||||
}
|
||||
}
|
||||
monthly_progress = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = value:terravore_progress
|
||||
desc = string_terravore_progress
|
||||
}
|
||||
}
|
||||
|
||||
abort_trigger = {
|
||||
OR = {
|
||||
NOT = { exists = target.owner }
|
||||
target.owner = { NOT = { is_same_value = root.owner } }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -16,24 +16,7 @@ special_project = {
|
||||
}
|
||||
on_success = {
|
||||
owner = {
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_global_flag = l_cluster_origin # l-cluster plus
|
||||
has_global_flag = rg_origin_l_cluster # 遥远约定
|
||||
has_global_flag = gray_origin_activate # 远星之歌
|
||||
has_global_flag = rg_origin_scion_l_cluster # 未来追迹
|
||||
}
|
||||
}
|
||||
country_event = {
|
||||
id = rg_cluster.2
|
||||
}
|
||||
}
|
||||
else = {
|
||||
country_event = {
|
||||
id = distar.10950
|
||||
}
|
||||
}
|
||||
rg_event_effect_lcluster_open = yes
|
||||
}
|
||||
}
|
||||
on_fail = {
|
||||
@@ -102,7 +85,7 @@ special_project = {
|
||||
event_scope = ship_event
|
||||
requirements = {
|
||||
shipclass_military = 1
|
||||
leader = admiral
|
||||
leader = commander
|
||||
has_trait = RG_leader_trait_admiral_gray
|
||||
}
|
||||
on_start = {
|
||||
|
||||
@@ -40,7 +40,7 @@ special_project = {
|
||||
key = "rg_gray_mod2_stage1_project"
|
||||
cost = 2000
|
||||
#days_to_research = 300
|
||||
tech_department = physics_research
|
||||
tech_department = physics_technology
|
||||
icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"
|
||||
picture = GFX_evt_l-gateway
|
||||
event_scope = country_event
|
||||
@@ -80,7 +80,7 @@ special_project = {
|
||||
key = "rg_gray_mod2_stage4_project"
|
||||
cost = 2000
|
||||
#days_to_research = 300
|
||||
tech_department = engineering_research
|
||||
tech_department = engineering_technology
|
||||
icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"
|
||||
picture = GFX_evt_l-gateway
|
||||
event_scope = country_event
|
||||
|
||||
@@ -20,7 +20,7 @@ GRAY_SPECIES = {
|
||||
playable = { always = no }
|
||||
randomized = no
|
||||
|
||||
gender = female
|
||||
gender = no
|
||||
|
||||
portraits = {
|
||||
"Gray"
|
||||
@@ -32,7 +32,6 @@ GRAY_SPECIES = {
|
||||
RG_MACHINE = {
|
||||
archetype = MACHINE
|
||||
|
||||
playable = no
|
||||
randomized = no
|
||||
# possible = { always = yes }
|
||||
# possible_secondary = { always = no text = SECONDARY_SPECIES_CLASS_INVALID }
|
||||
|
||||
39
common/species_rights/purge_types/RG_purge_types.txt
Normal file
39
common/species_rights/purge_types/RG_purge_types.txt
Normal file
@@ -0,0 +1,39 @@
|
||||
purge_nanophage = {
|
||||
pop_escape_chance = 0.25
|
||||
pop_decline_rate = 20 # 1 pop per 5 months, overrides BASE_POP_DECLINE, will only work on purge types
|
||||
|
||||
pop_modifier = {
|
||||
pop_happiness = -0.5
|
||||
}
|
||||
|
||||
potential = {
|
||||
exists = from
|
||||
from = {
|
||||
has_tradition = tr_rg_nanotech_5
|
||||
# has_trait = trait_necrophage
|
||||
}
|
||||
}
|
||||
|
||||
allow = {
|
||||
hidden_trigger = { exists = from }
|
||||
# custom_tooltip = {
|
||||
# fail_text = CANNOT_NECROPHAGE_MACHINES
|
||||
# is_robotic = no
|
||||
# }
|
||||
# if = {
|
||||
# limit = { is_lonely_hive_mind_pop = no }
|
||||
# custom_tooltip = {
|
||||
# fail_text = PURGES_ALLOWED
|
||||
# from = {
|
||||
# OR = {
|
||||
# has_valid_civic = civic_fanatic_purifiers
|
||||
# has_policy_flag = purge_allowed
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
}
|
||||
ai_will_do = {
|
||||
factor = 200
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
nanites_deficit = {
|
||||
planet_jobs_produces_mult = -0.5
|
||||
custom_tooltip = nanites_deficit_tooltip
|
||||
}
|
||||
26
common/static_modifiers/RG_storm_static_modifiers.txt
Normal file
26
common/static_modifiers/RG_storm_static_modifiers.txt
Normal file
@@ -0,0 +1,26 @@
|
||||
graytempest_storm_aftermath_modifier_severity_1 = {
|
||||
planet_stability_add = -5
|
||||
planet_building_build_speed_mult = -1
|
||||
|
||||
custom_tooltip = graytempest_storm_aftermath_1_tt
|
||||
icon = "gfx/interface/icons/planet_modifiers/pm_particle_aftermath_modifier.dds"
|
||||
icon_frame = 2
|
||||
}
|
||||
|
||||
graytempest_storm_aftermath_modifier_severity_2 = {
|
||||
planet_stability_add = -10
|
||||
planet_building_build_speed_mult = -2
|
||||
|
||||
custom_tooltip = graytempest_storm_aftermath_2_tt
|
||||
icon = "gfx/interface/icons/planet_modifiers/pm_particle_aftermath_modifier.dds"
|
||||
icon_frame = 2
|
||||
}
|
||||
|
||||
graytempest_storm_aftermath_modifier_severity_3 = {
|
||||
planet_stability_add = -20
|
||||
planet_building_build_speed_mult = -10
|
||||
|
||||
custom_tooltip = graytempest_storm_aftermath_3_tt
|
||||
icon = "gfx/interface/icons/planet_modifiers/pm_particle_aftermath_modifier.dds"
|
||||
icon_frame = 2
|
||||
}
|
||||
111
common/storm_types/RG_storm_types.txt
Normal file
111
common/storm_types/RG_storm_types.txt
Normal file
@@ -0,0 +1,111 @@
|
||||
# graytempest Storm Type
|
||||
|
||||
graytempest_storm = {
|
||||
inline_script = "cosmic_storms/BaseModifier"
|
||||
|
||||
inline_script = {
|
||||
script = "cosmic_storms/StormConfig"
|
||||
MIN_RADIUS = 40
|
||||
MAX_RADIUS = 100
|
||||
MIN_RANGE = value:storm_range_min
|
||||
MAX_RANGE = value:storm_range_max
|
||||
STORM_SPEED = 0.01
|
||||
ACTIVATION_PERIOD_IN_MONTHS = 120
|
||||
MONTHLY_ADDED_DEVASTATION = 0.2
|
||||
}
|
||||
affect_hp_regen = yes
|
||||
affect_armor_regen = yes
|
||||
|
||||
spawn_weight = 0
|
||||
description = graytempest_storm_lore_description
|
||||
|
||||
### positive effects ###
|
||||
|
||||
triggered_planet_modifier = {
|
||||
potential = {
|
||||
OR = {
|
||||
is_colony = yes
|
||||
is_colonizable = yes
|
||||
}
|
||||
system_has_negating_storm_building = no
|
||||
}
|
||||
modifier = {
|
||||
planet_building_build_speed_mult = 2
|
||||
planet_clear_blocker_speed_mult = 2
|
||||
custom_tooltip = graytempest_storm_fleet_tt
|
||||
show_only_custom_tooltip = no
|
||||
}
|
||||
}
|
||||
triggered_system_modifier = {
|
||||
potential = {
|
||||
system_has_negating_storm_building = no
|
||||
}
|
||||
modifier = {
|
||||
starbase_shipyard_build_speed_mult = 4
|
||||
}
|
||||
}
|
||||
|
||||
### negative effects ###
|
||||
|
||||
triggered_planet_modifier = {
|
||||
potential = {
|
||||
is_colony = no
|
||||
system_has_negating_storm_building = no
|
||||
}
|
||||
modifier = {
|
||||
stations_upkeep_mult = 2
|
||||
}
|
||||
}
|
||||
|
||||
triggered_fleet_modifier = {
|
||||
potential = {
|
||||
always = yes
|
||||
}
|
||||
modifier = {
|
||||
ships_upkeep_mult = 2
|
||||
custom_tooltip = graytempest_storm_fleet_tt
|
||||
show_only_custom_tooltip = no
|
||||
}
|
||||
}
|
||||
|
||||
on_start = {
|
||||
every_system_within_storm = {
|
||||
added_to_storm_base_effect = yes
|
||||
graytempest_storm_add = yes
|
||||
}
|
||||
}
|
||||
|
||||
on_finished = {
|
||||
every_system_within_storm = {
|
||||
removed_from_storm_base_effect = yes
|
||||
graytempest_storm_remove = yes
|
||||
}
|
||||
}
|
||||
|
||||
on_moved = {
|
||||
every_system_added_to_storm = {
|
||||
added_to_storm_base_effect = yes
|
||||
graytempest_storm_add = yes
|
||||
}
|
||||
|
||||
every_system_removed_from_storm= {
|
||||
removed_from_storm_base_effect = yes
|
||||
graytempest_storm_remove = yes
|
||||
}
|
||||
}
|
||||
|
||||
cosmic_storm_texture_path = "gfx/map/storms/NebulaOpacity.dds"
|
||||
cosmic_storm_texture_color_path = "gfx/map/storms/graytempest_storm_color.dds"
|
||||
cosmic_storm_event_sprite = "GFX_particle_storm"
|
||||
icon = GFX_planetview_storm_particle_modifier_frame
|
||||
|
||||
cosmic_storm_texture_lightning_paths = {
|
||||
"gfx/map/storms/lightning/lightning_small_storm_01.dds"
|
||||
"gfx/map/storms/lightning/lightning_small_storm_02.dds"
|
||||
"gfx/map/storms/lightning/lightning_mid_storm_01.dds"
|
||||
"gfx/map/storms/lightning/lightning_mid_storm_02.dds"
|
||||
}
|
||||
|
||||
cosmic_storm_galaxy_lightning_time = 7.0
|
||||
cosmic_storm_galaxy_max_opacity = 0.4
|
||||
}
|
||||
@@ -385,6 +385,22 @@ tech_object_gray_6 = {
|
||||
}
|
||||
}
|
||||
|
||||
tech_object_gray_7 = {
|
||||
cost = 2000
|
||||
area = physics
|
||||
tier = 5
|
||||
is_rare = yes
|
||||
is_reverse_engineerable = no
|
||||
category = {
|
||||
particles
|
||||
}
|
||||
weight = 0
|
||||
## unlock
|
||||
ai_weight = {
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
tech_gray_machine = {
|
||||
area = society
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
tradition_rg_nanotech = {
|
||||
tree_template = "tree_21_12"
|
||||
adoption_bonus = "tr_rg_nanotech_adopt"
|
||||
finish_bonus = "tr_rg_nanotech_finish"
|
||||
|
||||
potential = {
|
||||
OR = {
|
||||
has_country_flag = origin_rg_gray
|
||||
has_country_flag = gray_owner
|
||||
AND = {
|
||||
has_event_chain = l_cluster_chain
|
||||
has_technology = tech_lgate_activation
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
traditions = {
|
||||
"tr_rg_nanotech_1"
|
||||
"tr_rg_nanotech_2"
|
||||
"tr_rg_nanotech_5"
|
||||
"tr_rg_nanotech_3"
|
||||
"tr_rg_nanotech_4"
|
||||
}
|
||||
|
||||
ai_weight = {
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
114
common/traditions/RG_nanotech_tradition.txt
Normal file
114
common/traditions/RG_nanotech_tradition.txt
Normal file
@@ -0,0 +1,114 @@
|
||||
|
||||
tr_rg_nanotech_adopt = {
|
||||
possible = {
|
||||
custom_tooltip = {
|
||||
fail_text = REQUIRES_lgate_or_gray
|
||||
OR = {
|
||||
has_country_flag = origin_rg_gray
|
||||
has_country_flag = gray_owner
|
||||
AND = {
|
||||
has_event_chain = l_cluster_chain
|
||||
has_technology = tech_lgate_activation
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = tr_rg_nanotech_adopt_modifier_desc
|
||||
unlocks_agenda = agenda_nanotech_unstoppable_swarm
|
||||
#Unlocks nanolab 1 and Starbase building
|
||||
}
|
||||
|
||||
tr_rg_nanotech_finish = {
|
||||
custom_tooltip_with_modifiers = tr_rg_nanotech_finish_modifier_desc
|
||||
on_enabled = {
|
||||
give_technology = {
|
||||
tech = tech_object_gray_5
|
||||
message = no
|
||||
}
|
||||
}
|
||||
|
||||
modifier = {
|
||||
empire_size_colonies_mult = -0.5
|
||||
ascension_perks_add = 1
|
||||
}
|
||||
}
|
||||
|
||||
tr_rg_nanotech_1 = {
|
||||
custom_tooltip_with_modifiers = tr_rg_nanotech_1_modifier_desc
|
||||
#Unlocks nanolab 2 and buffs nano research units
|
||||
modifier = {
|
||||
planet_farmers_food_produces_add = -1
|
||||
planet_farmers_nanites_produces_add = 0.2
|
||||
planet_miners_minerals_produces_add = -1
|
||||
planet_miners_nanites_produces_add = 0.2
|
||||
}
|
||||
ai_weight = {
|
||||
factor = 1000
|
||||
}
|
||||
}
|
||||
|
||||
tr_rg_nanotech_2 = {
|
||||
custom_tooltip = tr_rg_nanotech_2_modifier_desc
|
||||
#Unlocks the Cauldron and the Nanite Transmutation Tech option
|
||||
on_enabled = {
|
||||
add_research_option = tech_nanite_transmutation
|
||||
add_tech_progress = {
|
||||
tech = tech_nanite_transmutation
|
||||
progress = 0.33
|
||||
}
|
||||
}
|
||||
ai_weight = {
|
||||
factor = 1000
|
||||
}
|
||||
}
|
||||
|
||||
tr_rg_nanotech_5 = {
|
||||
possible = {
|
||||
has_tradition = tr_rg_nanotech_1
|
||||
has_tradition = tr_rg_nanotech_2
|
||||
}
|
||||
custom_tooltip_with_modifiers = tr_rg_nanotech_5_modifier_desc
|
||||
#Unlocks the nanite edicts
|
||||
on_enabled = {
|
||||
country_event = {
|
||||
id = rg_event.25
|
||||
}
|
||||
}
|
||||
#Every 5 years, double the size of orbital nanite deposits that you're harvesting, up to a max of 50 OR spawns a number of nanite swarmers depending on the size of the deposit
|
||||
ai_weight = {
|
||||
factor = 1000
|
||||
}
|
||||
}
|
||||
|
||||
tr_rg_nanotech_3 = {
|
||||
possible = {
|
||||
has_tradition = tr_rg_nanotech_5
|
||||
}
|
||||
custom_tooltip = tr_rg_nanotech_3_modifier_desc
|
||||
on_enabled = {
|
||||
give_technology = {
|
||||
tech = tech_object_gray_7
|
||||
message = no
|
||||
}
|
||||
}
|
||||
#Unlocks Starbase Building and Make Nanite World Decision
|
||||
ai_weight = {
|
||||
factor = 1000
|
||||
}
|
||||
}
|
||||
|
||||
tr_rg_nanotech_4 = {
|
||||
possible = {
|
||||
has_tradition = tr_rg_nanotech_5
|
||||
}
|
||||
custom_tooltip = tr_rg_nanotech_4_modifier_desc
|
||||
#Unlocks Nanite Swarmer ship and nanite ship component research options
|
||||
on_enabled = {
|
||||
rg_storm_relic_add = yes
|
||||
}
|
||||
ai_weight = {
|
||||
factor = 1000
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
# initial = no
|
||||
# randomized = no
|
||||
# }
|
||||
|
||||
# RG_leader_trait_offical_gray = {
|
||||
# #唯一特质
|
||||
# cost = 0
|
||||
@@ -105,7 +104,6 @@
|
||||
# initial = no
|
||||
# randomized = no
|
||||
# }
|
||||
|
||||
RG_leader_trait_governor_gray = {
|
||||
#总督特质
|
||||
cost = 0
|
||||
@@ -146,7 +144,9 @@ RG_leader_trait_governor_gray = {
|
||||
starbase_shipyard_build_cost_mult = -0.25
|
||||
starbase_shipyard_build_speed_mult = -0.3
|
||||
}
|
||||
leader_class = { official }
|
||||
leader_class = {
|
||||
official
|
||||
}
|
||||
initial = no
|
||||
randomized = no
|
||||
}
|
||||
@@ -270,7 +270,9 @@ RG_leader_trait_ruler_gray = {
|
||||
country_base_influence_produces_add = 1
|
||||
mult = trigger:has_skill
|
||||
}
|
||||
leader_class = { official }
|
||||
leader_class = {
|
||||
official
|
||||
}
|
||||
initial = no
|
||||
randomized = no
|
||||
}
|
||||
@@ -309,7 +311,9 @@ RG_leader_trait_admiral_gray_1 = {
|
||||
army_disengage_chance_mult = 0.3
|
||||
army_health = 0.15
|
||||
}
|
||||
leader_class = { commander }
|
||||
leader_class = {
|
||||
commander
|
||||
}
|
||||
initial = no
|
||||
randomized = no
|
||||
}
|
||||
@@ -348,7 +352,9 @@ RG_leader_trait_admiral_gray_2 = {
|
||||
army_disengage_chance_mult = 0.4
|
||||
army_health = 0.25
|
||||
}
|
||||
leader_class = { commander }
|
||||
leader_class = {
|
||||
commander
|
||||
}
|
||||
initial = no
|
||||
randomized = no
|
||||
}
|
||||
@@ -387,7 +393,9 @@ RG_leader_trait_admiral_gray = {
|
||||
army_disengage_chance_mult = 0.5
|
||||
army_health = 0.35
|
||||
}
|
||||
leader_class = { commander }
|
||||
leader_class = {
|
||||
commander
|
||||
}
|
||||
initial = no
|
||||
randomized = no
|
||||
}
|
||||
@@ -418,7 +426,9 @@ RG_leader_trait_admiral_nanorebuild_gray = {
|
||||
army_health = 0.05
|
||||
mult = owner.rg_general_skill_combat_daypassed_variable
|
||||
}
|
||||
leader_class = { commander }
|
||||
leader_class = {
|
||||
commander
|
||||
}
|
||||
initial = no
|
||||
randomized = no
|
||||
}
|
||||
@@ -455,7 +465,9 @@ RG_leader_trait_scientist_gray = {
|
||||
# ship_speed_mult = 0.5
|
||||
ship_anomaly_generation_chance_mult = -1
|
||||
}
|
||||
leader_class = { scientist }
|
||||
leader_class = {
|
||||
scientist
|
||||
}
|
||||
initial = no
|
||||
randomized = no
|
||||
}
|
||||
@@ -486,7 +498,6 @@ RG_leader_trait_scientist_gray = {
|
||||
# initial = no
|
||||
# randomized = no
|
||||
# }
|
||||
|
||||
# 与舰长技能合并,弃用
|
||||
# RG_leader_trait_general_gray_skill = {
|
||||
# destiny_trait = yes
|
||||
@@ -512,7 +523,6 @@ RG_leader_trait_scientist_gray = {
|
||||
# randomized = no
|
||||
# destiny_background_icon = "GFX_leader_background_destiny_1"
|
||||
# }
|
||||
|
||||
RG_leader_trait_admiral_fake_dragon = {
|
||||
cost = 0
|
||||
inline_script = {
|
||||
@@ -532,7 +542,9 @@ RG_leader_trait_admiral_fake_dragon = {
|
||||
ship_hull_mult = 0.2
|
||||
ship_weapon_damage = 0.2
|
||||
}
|
||||
leader_class = { commander }
|
||||
leader_class = {
|
||||
commander
|
||||
}
|
||||
initial = no
|
||||
randomized = no
|
||||
}
|
||||
@@ -573,9 +585,23 @@ RG_leader_trait_admiral_timed_life = {
|
||||
ship_armor_mult = 10
|
||||
ship_hull_mult = 10
|
||||
ship_weapon_damage = 10
|
||||
custom_tooltip_with_modifiers = rg_timed_life_millennium
|
||||
}
|
||||
leader_class = { commander }
|
||||
triggered_desc = {
|
||||
# Show key if trigger/exclusive_trigger is true.
|
||||
trigger = {
|
||||
owner = {
|
||||
check_variable = {
|
||||
which = rg_fake_dragon_timedlife_counter
|
||||
value > 1000
|
||||
}
|
||||
}
|
||||
}
|
||||
# Trigger appends additional localization key to existing text. THIS = Leader
|
||||
text = rg_timed_life_millennium_reborn
|
||||
}
|
||||
leader_class = {
|
||||
commander
|
||||
}
|
||||
initial = no
|
||||
randomized = no
|
||||
}
|
||||
@@ -617,9 +643,23 @@ RG_leader_trait_admiral_born_tobe_dragon = {
|
||||
ship_armor_mult = 0.01
|
||||
ship_hull_mult = 0.01
|
||||
ship_weapon_damage = 0.01
|
||||
custom_tooltip_with_modifiers = rg_timed_life_millennium_reborn
|
||||
}
|
||||
leader_class = { commander }
|
||||
triggered_desc = {
|
||||
# Show key if trigger/exclusive_trigger is true.
|
||||
trigger = {
|
||||
owner = {
|
||||
check_variable = {
|
||||
which = rg_fake_dragon_timedlife_counter
|
||||
value > 1000
|
||||
}
|
||||
}
|
||||
}
|
||||
# Trigger appends additional localization key to existing text. THIS = Leader
|
||||
text = rg_timed_life_millennium_reborn
|
||||
}
|
||||
leader_class = {
|
||||
commander
|
||||
}
|
||||
initial = no
|
||||
randomized = no
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ rg_machine_maid_trait = {
|
||||
cost = {
|
||||
base = 0
|
||||
}
|
||||
custom_tooltip = TRAIT_PLANTOID_BUDDING_EFFECT
|
||||
custom_tooltip = rg_machine_maid_trait_effect_tooltip
|
||||
initial = no
|
||||
species_potential_add = { always = no }
|
||||
species_possible_remove = { always = no }
|
||||
@@ -28,10 +28,13 @@ rg_machine_maid_trait = {
|
||||
# 在灰风主人国家工作提供加成
|
||||
triggered_pop_modifier = {
|
||||
potential = {
|
||||
exists = owner
|
||||
owner = { is_same_value = event_target:gray_owner }
|
||||
exists = planet
|
||||
planet = {
|
||||
exists = owner
|
||||
owner = { is_same_value = event_target:gray_owner }
|
||||
}
|
||||
}
|
||||
planet_jobs_produces_mult = 1.1
|
||||
planet_jobs_produces_mult = 0.1
|
||||
}
|
||||
|
||||
ai_weight = {
|
||||
|
||||
@@ -8,5 +8,5 @@ tags={
|
||||
}
|
||||
name="Real Gray"
|
||||
picture="thumbnail.png"
|
||||
supported_version="v3.12.*"
|
||||
supported_version="v3.13.*"
|
||||
remote_file_id="2136166095"
|
||||
@@ -56,6 +56,7 @@ country_event = {
|
||||
limit = {
|
||||
has_planet_flag = main_star
|
||||
}
|
||||
save_global_event_target_as = rg_main_star
|
||||
save_event_target_as = main_star
|
||||
}
|
||||
create_country = {
|
||||
@@ -79,6 +80,7 @@ country_event = {
|
||||
}
|
||||
}
|
||||
effect = {
|
||||
save_global_event_target_as = rg_graygoo_country
|
||||
save_event_target_as = graygoo_country
|
||||
create_ship_design = {
|
||||
design = "NAME_RG_armed_transport_ship"
|
||||
@@ -193,6 +195,14 @@ country_event = {
|
||||
garrison = yes
|
||||
}
|
||||
}
|
||||
every_system = {
|
||||
limit = {
|
||||
has_star_flag = lgate
|
||||
}
|
||||
system_event = {
|
||||
id = rg_storms.1
|
||||
}
|
||||
}
|
||||
every_system = {
|
||||
limit = {
|
||||
has_star_flag = lcluster
|
||||
|
||||
@@ -145,7 +145,7 @@ country_event = {
|
||||
root = {
|
||||
random_owned_leader = {
|
||||
limit = {
|
||||
leader_class = governor
|
||||
leader_class = official
|
||||
}
|
||||
save_event_target_as = rg_cluster_sector_gov
|
||||
}
|
||||
@@ -186,6 +186,7 @@ country_event = {
|
||||
# Planet setup
|
||||
event_target:rg_cluster_home_planet = {
|
||||
change_pc = pc_gaia
|
||||
set_planet_size = 20
|
||||
set_owner = root
|
||||
set_controller = root
|
||||
set_capital = yes
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
namespace = rg_skill
|
||||
|
||||
# fleet_event = {
|
||||
# id = rg_skill.1
|
||||
# hide_window = yes
|
||||
@@ -139,7 +138,7 @@ ship_event = {
|
||||
limit = {
|
||||
owner = {
|
||||
NOT = {
|
||||
is_same_value = origin_rg_gray_country
|
||||
is_same_value = event_target:origin_rg_gray_country
|
||||
}
|
||||
}
|
||||
solar_system = {
|
||||
@@ -158,14 +157,14 @@ ship_event = {
|
||||
else_if = {
|
||||
limit = {
|
||||
owner = {
|
||||
is_same_value = origin_rg_gray_country
|
||||
is_same_value = event_target:origin_rg_gray_country
|
||||
NOT = {
|
||||
has_global_flag = l_cluster_opened
|
||||
}
|
||||
}
|
||||
solar_system = {
|
||||
has_star_flag = lcluster
|
||||
NOT = {
|
||||
NOT = {
|
||||
any_fleet_in_system = {
|
||||
exists = controller
|
||||
controller = {
|
||||
@@ -180,12 +179,12 @@ ship_event = {
|
||||
else_if = {
|
||||
limit = {
|
||||
owner = {
|
||||
is_same_value = origin_rg_gray_country # 是小灰起源
|
||||
is_same_value = event_target:origin_rg_gray_country # 是小灰起源
|
||||
has_global_flag = l_cluster_opened # L星门已开启
|
||||
}
|
||||
solar_system = {
|
||||
# has_star_flag = lcluster
|
||||
NOT = {
|
||||
NOT = {
|
||||
any_fleet_in_system = {
|
||||
exists = controller
|
||||
controller = {
|
||||
@@ -382,23 +381,32 @@ planet_event = {
|
||||
remove_planet_flag = checking_tempest_incoming
|
||||
}
|
||||
else = {
|
||||
#planet
|
||||
any_ground_combat_attacker = {
|
||||
#army
|
||||
exists = leader
|
||||
leader = {
|
||||
#leader
|
||||
has_trait = RG_leader_trait_admiral_nanorebuild_gray
|
||||
owner = {
|
||||
#country
|
||||
save_event_target_as = attacking_general_country
|
||||
if = {
|
||||
limit = {
|
||||
#planet
|
||||
any_ground_combat_attacker = {
|
||||
#army
|
||||
exists = leader
|
||||
leader = {
|
||||
#leader
|
||||
has_trait = RG_leader_trait_admiral_nanorebuild_gray
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
from = {
|
||||
#country
|
||||
save_event_target_as = attacking_general_country
|
||||
}
|
||||
}
|
||||
# Do the same check again in X days
|
||||
country_event = {
|
||||
id = rg_skill.10
|
||||
} # NOTE: Update custom loc for effect when changing days
|
||||
from = {
|
||||
# Do the same check again in X days
|
||||
country_event = {
|
||||
id = rg_skill.10
|
||||
}
|
||||
# NOTE: Update custom loc for effect when changing days
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -679,13 +687,11 @@ country_event = {
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
|
||||
# On destroying enemy ship.
|
||||
country_event = {
|
||||
id = rg_skill.13
|
||||
hide_window = yes
|
||||
is_triggered_only = yes
|
||||
|
||||
trigger = {
|
||||
FromFrom = {
|
||||
is_in_combat = yes
|
||||
@@ -695,11 +701,13 @@ country_event = {
|
||||
has_trait = RG_leader_trait_admiral_nanorebuild_gray
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
FROMFROM = { # Winning ship.
|
||||
FROMFROM = {
|
||||
# Winning ship.
|
||||
if = {
|
||||
limit = { exists = fleet.leader }
|
||||
limit = {
|
||||
exists = fleet.leader
|
||||
}
|
||||
fleet.leader = {
|
||||
if = {
|
||||
limit = {
|
||||
@@ -719,6 +727,7 @@ country_event = {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# This = owner of fleet 1 (winner)
|
||||
# From = owner of fleet 2 (loser)
|
||||
# FromFrom = fleet 1
|
||||
@@ -751,6 +760,7 @@ country_event = {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# This = owner of fleet 1 (loser)
|
||||
# From = owner of fleet 2 (winner)
|
||||
# FromFrom = fleet 1
|
||||
|
||||
@@ -14,57 +14,18 @@ country_event = {
|
||||
immediate = {
|
||||
if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
has_global_flag = origin_rg_gray_1st_global
|
||||
}
|
||||
has_civic = civic_rg_gray_cluster
|
||||
}
|
||||
set_global_flag = origin_rg_gray_1st_global
|
||||
set_country_flag = origin_rg_gray_1st
|
||||
set_country_flag = rg_gray_level_1
|
||||
country_event = {
|
||||
id = rg_event.2
|
||||
days = 30
|
||||
}
|
||||
add_modifier = {
|
||||
modifier = rg_distant_stars_modifier
|
||||
}
|
||||
save_global_event_target_as = origin_rg_gray_country
|
||||
rg_lcluster_spawn_effect = yes
|
||||
country_event = {
|
||||
id = rg_event.18
|
||||
days = 3600
|
||||
random = 12800
|
||||
rg_event_effect_event1_cluster = yes
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_civic = civic_rg_gray_non_cluster
|
||||
}
|
||||
rg_event_effect_event1_cluster_galaxy = yes
|
||||
}
|
||||
else = {
|
||||
set_country_flag = origin_gray_dragon_country
|
||||
set_global_flag = has_origin_gray_dragon
|
||||
rg_create_fake_dragon = yes
|
||||
random_owned_leader = {
|
||||
limit = {
|
||||
has_leader_flag = rg_fake_dragon
|
||||
}
|
||||
remove_trait = RG_leader_trait_admiral_timed_life
|
||||
add_trait = RG_leader_trait_admiral_born_tobe_dragon
|
||||
set_leader_flag = rg_fake_dragon_reborn
|
||||
set_age = 0
|
||||
}
|
||||
set_country_flag = rg_fake_dragon_reborn_country
|
||||
set_variable = {
|
||||
which = rg_fake_dragon_timedlife_counter
|
||||
value = 0
|
||||
}
|
||||
start_lcluster_chain = yes
|
||||
add_event_chain_counter = {
|
||||
event_chain = l_cluster_chain
|
||||
counter = clues
|
||||
amount = 7
|
||||
}
|
||||
# increment variable
|
||||
change_variable = {
|
||||
which = num_lcluster_clues
|
||||
value = 7
|
||||
}
|
||||
rg_event_effect_event1_cluster = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -527,6 +488,7 @@ country_event = {
|
||||
clear_variable = rg_gray_level_temp
|
||||
}
|
||||
}
|
||||
rg_harbitar_size_calculate = yes
|
||||
}
|
||||
}
|
||||
|
||||
@@ -893,7 +855,7 @@ country_event = {
|
||||
has_star_flag = lgate_originating_system
|
||||
}
|
||||
any_system_megastructure = {
|
||||
is_megastructure_type = l_gate_base
|
||||
is_megastructure_type = lgate_base
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -904,10 +866,10 @@ country_event = {
|
||||
has_star_flag = lgate_originating_system
|
||||
}
|
||||
any_system_megastructure = {
|
||||
is_megastructure_type = l_gate_base
|
||||
is_megastructure_type = lgate_base
|
||||
}
|
||||
}
|
||||
save_event_target_as = candidate_gateway
|
||||
save_global_event_target_as = candidate_gateway
|
||||
}
|
||||
country_event = {
|
||||
id = distar.10905
|
||||
@@ -1028,7 +990,7 @@ country_event = {
|
||||
limit = {
|
||||
is_megastructure_type = lgate_base
|
||||
}
|
||||
save_event_target_as = candidate_gateway
|
||||
save_global_event_target_as = candidate_gateway
|
||||
}
|
||||
country_event = {
|
||||
id = distar.10905
|
||||
@@ -1075,6 +1037,181 @@ country_event = {
|
||||
# }
|
||||
# }
|
||||
|
||||
|
||||
country_event = { # Memorial Valuts Civic Paragon Level Tick / FROM = Leader
|
||||
id = rg_event.23
|
||||
hide_window = yes
|
||||
|
||||
is_triggered_only = yes
|
||||
|
||||
trigger = {
|
||||
is_same_value = event_target:gray_owner
|
||||
FROM = {
|
||||
has_leader_flag = rg_gray_leader
|
||||
}
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
|
||||
immediate = {
|
||||
rg_harbitar_size_calculate = yes
|
||||
event_target:rg_gray_habitat_target = {
|
||||
set_planet_size = owner.rg_habitat_size
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Necrophage Purge
|
||||
|
||||
# on_pop_purged
|
||||
# This = Planet scope
|
||||
# From = Country
|
||||
# FromFrom = Pop
|
||||
planet_event = {
|
||||
id = rg_event.24
|
||||
is_triggered_only = yes
|
||||
hide_window = yes
|
||||
|
||||
trigger = {
|
||||
exists = fromfrom #crisis.202 can remove the last pop
|
||||
fromfrom = {
|
||||
has_purge_type = {
|
||||
type = purge_nanophage
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
random_owned_pop = {
|
||||
limit = {
|
||||
is_same_species = owner_species
|
||||
}
|
||||
species = { save_event_target_as = necrophage_pop_species }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = event_target:necrophage_pop_species
|
||||
}
|
||||
create_pop = {
|
||||
species = event_target:necrophage_pop_species
|
||||
}
|
||||
}
|
||||
else = {
|
||||
create_pop = {
|
||||
species = owner_species
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
last_created_pop = {
|
||||
NOT = { ideal_planet_class = root }
|
||||
}
|
||||
NOR = {
|
||||
uses_district_set = habitat
|
||||
uses_district_set = ring_world
|
||||
uses_district_set = city_world
|
||||
uses_district_set = hive_world
|
||||
uses_district_set = machine_world
|
||||
is_planet_class = pc_gaia
|
||||
is_planet_class = pc_relic
|
||||
}
|
||||
owner = {
|
||||
has_technology = tech_glandular_acclimation
|
||||
NOT = { ideal_planet_class = root }
|
||||
}
|
||||
}
|
||||
last_created_pop = {
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
from = {
|
||||
add_monthly_resource_mult = {
|
||||
resource = unity
|
||||
value = 1.5
|
||||
min = 5
|
||||
max = 100
|
||||
}
|
||||
}
|
||||
}
|
||||
every_country = {
|
||||
limit = {
|
||||
has_communications = FROM
|
||||
NOT = { is_country = FROM }
|
||||
NOT = { is_same_species = FROMFROM }
|
||||
NOT = { has_ai_personality_behaviour = purger }
|
||||
NOT = { has_origin = origin_necrophage }
|
||||
NOT = { has_ethic = ethic_gestalt_consciousness }
|
||||
NOR = {
|
||||
has_valid_civic = civic_death_cult
|
||||
has_valid_civic = civic_death_cult_corporate
|
||||
}
|
||||
OR = {
|
||||
is_country_type = default
|
||||
has_ai_personality = awakened_fallen_empire_xenophile
|
||||
}
|
||||
has_intel_level = {
|
||||
who = FROM
|
||||
category = economy
|
||||
level >= 2
|
||||
}
|
||||
}
|
||||
add_opinion_modifier = { who = FROM modifier = opinion_necrophage }
|
||||
}
|
||||
every_country = {
|
||||
limit = {
|
||||
has_communications = FROM
|
||||
NOT = { is_country = FROM }
|
||||
is_same_species = FROMFROM
|
||||
has_intel_level = {
|
||||
who = FROM
|
||||
category = economy
|
||||
level >= 1 #lower because you'd hear from a friend of a friend
|
||||
}
|
||||
}
|
||||
add_opinion_modifier = { who = FROM modifier = opinion_necrophage_our_species }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
country_event = { # Memorial Valuts Civic Paragon Level Tick / FROM = Leader
|
||||
id = rg_event.25
|
||||
hide_window = yes
|
||||
|
||||
is_triggered_only = yes
|
||||
|
||||
trigger = {
|
||||
}
|
||||
|
||||
immediate = {
|
||||
rg_create_gray_planetkiller_testship_2 = yes
|
||||
every_owned_pop = {
|
||||
limit = {
|
||||
is_same_species = root
|
||||
species = {
|
||||
NOT = {
|
||||
has_trait = rg_machine_maid_trait
|
||||
}
|
||||
}
|
||||
}
|
||||
modify_species = {
|
||||
species = this
|
||||
add_trait = rg_machine_maid_trait
|
||||
}
|
||||
species = { save_event_target_as = gray_owner_modded_species }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# 拆毁工厂小灰通讯
|
||||
country_event = {
|
||||
id = rg_event.200
|
||||
@@ -1113,14 +1250,14 @@ country_event = {
|
||||
hidden_effect = {
|
||||
create_fleet = {
|
||||
effect = {
|
||||
set_owner = event_target:graygoo_country
|
||||
set_owner = event_target:rg_graygoo_country
|
||||
create_ship = {
|
||||
name = random
|
||||
design = "NAME_Gray_Warship"
|
||||
graphical_culture = "pirate_01"
|
||||
}
|
||||
set_location = {
|
||||
target = event_target:main_star
|
||||
target = event_target:rg_main_star
|
||||
distance = 55
|
||||
angle = 270
|
||||
}
|
||||
@@ -1166,14 +1303,14 @@ country_event = {
|
||||
hidden_effect = {
|
||||
create_fleet = {
|
||||
effect = {
|
||||
set_owner = event_target:graygoo_country
|
||||
set_owner = event_target:rg_graygoo_country
|
||||
create_ship = {
|
||||
name = random
|
||||
design = "NAME_Gray_Warship"
|
||||
graphical_culture = "pirate_01"
|
||||
}
|
||||
set_location = {
|
||||
target = event_target:main_star
|
||||
target = event_target:rg_main_star
|
||||
distance = 55
|
||||
angle = 270
|
||||
}
|
||||
@@ -1290,14 +1427,14 @@ country_event = {
|
||||
hidden_effect = {
|
||||
create_fleet = {
|
||||
effect = {
|
||||
set_owner = event_target:graygoo_country
|
||||
set_owner = event_target:rg_graygoo_country
|
||||
create_ship = {
|
||||
name = random
|
||||
design = "NAME_Gray_Warship"
|
||||
graphical_culture = "pirate_01"
|
||||
}
|
||||
set_location = {
|
||||
target = event_target:main_star
|
||||
target = event_target:rg_main_star
|
||||
distance = 55
|
||||
angle = 270
|
||||
}
|
||||
@@ -1461,7 +1598,7 @@ country_event = {
|
||||
immediate = {
|
||||
every_owned_fleet = {
|
||||
limit = {
|
||||
any_ship = {
|
||||
any_owned_ship = {
|
||||
is_ship_size = graygoo_mothership
|
||||
}
|
||||
}
|
||||
@@ -1757,7 +1894,7 @@ country_event = {
|
||||
any_fleet_in_system = {
|
||||
owner = {
|
||||
NOT = {
|
||||
is_country = event_target:graygoo_country
|
||||
is_country = event_target:rg_graygoo_country
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1765,7 +1902,7 @@ country_event = {
|
||||
}
|
||||
random_country = {
|
||||
limit = {
|
||||
is_country = event_target:graygoo_country
|
||||
is_country = event_target:rg_graygoo_country
|
||||
}
|
||||
country_event = {
|
||||
id = rg_event.405
|
||||
@@ -1776,7 +1913,7 @@ country_event = {
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
event_target:graygoo_country = {
|
||||
event_target:rg_graygoo_country = {
|
||||
num_fleets < 30
|
||||
}
|
||||
}
|
||||
@@ -1787,12 +1924,12 @@ country_event = {
|
||||
has_star_flag = lgate_originating_system
|
||||
}
|
||||
any_system_megastructure = {
|
||||
is_megastructure_type = l_gate_base
|
||||
is_megastructure_type = lgate_base
|
||||
}
|
||||
}
|
||||
random_system_megastructure = {
|
||||
limit = {
|
||||
is_megastructure_type = l_gate_base
|
||||
is_megastructure_type = lgate_base
|
||||
}
|
||||
create_ambient_object = {
|
||||
type = "horror_spawn_object"
|
||||
@@ -1803,7 +1940,7 @@ country_event = {
|
||||
create_fleet = {
|
||||
name = "NAME_Tempest_Fleet"
|
||||
effect = {
|
||||
set_owner = event_target:graygoo_country
|
||||
set_owner = event_target:rg_graygoo_country
|
||||
rg_create_graygoo_fleet_random = yes
|
||||
set_formation_scale = 2
|
||||
set_fleet_stance = aggressive
|
||||
@@ -1858,7 +1995,7 @@ country_event = {
|
||||
any_fleet_in_system = {
|
||||
owner = {
|
||||
NOT = {
|
||||
is_country = event_target:graygoo_country
|
||||
is_country = event_target:rg_graygoo_country
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1866,7 +2003,7 @@ country_event = {
|
||||
}
|
||||
random_country = {
|
||||
limit = {
|
||||
is_country = event_target:graygoo_country
|
||||
is_country = event_target:rg_graygoo_country
|
||||
}
|
||||
country_event = {
|
||||
id = rg_event.405
|
||||
@@ -1877,7 +2014,7 @@ country_event = {
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
event_target:graygoo_country = {
|
||||
event_target:rg_graygoo_country = {
|
||||
num_fleets < 60
|
||||
}
|
||||
}
|
||||
@@ -1888,12 +2025,12 @@ country_event = {
|
||||
has_star_flag = lgate_originating_system
|
||||
}
|
||||
any_system_megastructure = {
|
||||
is_megastructure_type = l_gate_base
|
||||
is_megastructure_type = lgate_base
|
||||
}
|
||||
}
|
||||
random_system_megastructure = {
|
||||
limit = {
|
||||
is_megastructure_type = l_gate_base
|
||||
is_megastructure_type = lgate_base
|
||||
}
|
||||
create_ambient_object = {
|
||||
type = "horror_spawn_object"
|
||||
@@ -1906,7 +2043,7 @@ country_event = {
|
||||
create_fleet = {
|
||||
name = "NAME_Tempest_Fleet"
|
||||
effect = {
|
||||
set_owner = event_target:graygoo_country
|
||||
set_owner = event_target:rg_graygoo_country
|
||||
rg_create_graygoo_fleet_random = yes
|
||||
set_formation_scale = 2
|
||||
set_fleet_stance = aggressive
|
||||
|
||||
@@ -490,7 +490,7 @@ country_event = {
|
||||
desc = "RG_graygoo.502.f.response"
|
||||
event_window_type = leader_recruit
|
||||
picture_event_data = {
|
||||
portrait = event_target:gray_leader_admiral
|
||||
portrait = event_target:rg_gray_country_leader
|
||||
room = "ethic_spaceship_room"
|
||||
}
|
||||
is_triggered_only = yes
|
||||
@@ -527,7 +527,7 @@ country_event = {
|
||||
desc = "RG_graygoo.502.g.response"
|
||||
event_window_type = leader_recruit
|
||||
picture_event_data = {
|
||||
portrait = event_target:gray_leader_admiral
|
||||
portrait = event_target:rg_gray_country_leader
|
||||
room = "ethic_spaceship_room"
|
||||
}
|
||||
is_triggered_only = yes
|
||||
@@ -558,6 +558,52 @@ country_event = {
|
||||
}
|
||||
}
|
||||
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5028
|
||||
title = "graygoo.500.title"
|
||||
desc = "RG_graygoo.502.h.response"
|
||||
event_window_type = leader_recruit
|
||||
picture_event_data = {
|
||||
portrait = event_target:rg_gray_country_leader
|
||||
room = "ethic_spaceship_room"
|
||||
}
|
||||
is_triggered_only = yes
|
||||
immediate = {
|
||||
set_country_flag = gray_diplomacy_engaged
|
||||
}
|
||||
after = {
|
||||
hidden_effect = {
|
||||
remove_country_flag = gray_diplomacy_engaged
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = RG_graygoo.502.h.a
|
||||
}
|
||||
option = {
|
||||
name = RG_graygoo.502.h.b
|
||||
hidden_effect = {
|
||||
rg_clear_harbitat = yes
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5027
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = graygoo.500.d
|
||||
tag = hire_leader
|
||||
default_hide_option = yes
|
||||
}
|
||||
option = {
|
||||
name = graygoo.500.prepage
|
||||
tag = dismiss_leader
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = rg_grayleader.1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5031
|
||||
title = "graygoo.500.title"
|
||||
|
||||
@@ -314,13 +314,11 @@ country_event = {
|
||||
name = RG_graygoo.500.f
|
||||
response_text = RG_graygoo.502.f.response
|
||||
trigger = {
|
||||
has_country_flag = rg_juggernaut_fired
|
||||
NOT = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
has_country_flag = rg_juggernaut_fired # To prevent exploit
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
@@ -343,17 +341,14 @@ country_event = {
|
||||
name = RG_graygoo.500.g
|
||||
response_text = RG_graygoo.502.g.response
|
||||
trigger = {
|
||||
has_country_flag = rg_juggernaut_fired
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
allow = {
|
||||
has_country_flag = rg_juggernaut_fired # To prevent exploit
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
rg_clear_harbitat = yes
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5027
|
||||
id = rg_grayleader_dialog.5028
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -366,6 +361,15 @@ country_event = {
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 衣柜
|
||||
name = rg_wardrobe
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = rg_grayleader.7
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = graygoo.500.d
|
||||
tag = hire_leader
|
||||
@@ -506,13 +510,11 @@ country_event = {
|
||||
name = RG_graygoo.500.f
|
||||
response_text = RG_graygoo.502.f.response
|
||||
trigger = {
|
||||
has_country_flag = rg_juggernaut_fired
|
||||
NOT = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
has_country_flag = rg_juggernaut_fired # To prevent exploit
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
@@ -527,17 +529,14 @@ country_event = {
|
||||
name = RG_graygoo.500.g
|
||||
response_text = RG_graygoo.502.g.response
|
||||
trigger = {
|
||||
has_country_flag = rg_juggernaut_fired
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
allow = {
|
||||
has_country_flag = rg_juggernaut_fired # To prevent exploit
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
rg_clear_harbitat = yes
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5027
|
||||
id = rg_grayleader_dialog.5028
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -550,6 +549,15 @@ country_event = {
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 衣柜
|
||||
name = rg_wardrobe
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = rg_grayleader.7
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = graygoo.500.d
|
||||
tag = hire_leader
|
||||
@@ -800,13 +808,11 @@ country_event = {
|
||||
name = RG_graygoo.500.f
|
||||
response_text = RG_graygoo.502.f.response
|
||||
trigger = {
|
||||
has_country_flag = rg_juggernaut_fired
|
||||
NOT = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
has_country_flag = rg_juggernaut_fired # To prevent exploit
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
@@ -829,17 +835,14 @@ country_event = {
|
||||
name = RG_graygoo.500.g
|
||||
response_text = RG_graygoo.502.g.response
|
||||
trigger = {
|
||||
has_country_flag = rg_juggernaut_fired
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
allow = {
|
||||
has_country_flag = rg_juggernaut_fired # To prevent exploit
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
rg_clear_harbitat = yes
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5027
|
||||
id = rg_grayleader_dialog.5028
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1211,13 +1214,11 @@ country_event = {
|
||||
name = RG_graygoo.500.f
|
||||
response_text = RG_graygoo.502.f.response
|
||||
trigger = {
|
||||
has_country_flag = rg_juggernaut_fired
|
||||
NOT = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
has_country_flag = rg_juggernaut_fired # To prevent exploit
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
@@ -1248,9 +1249,8 @@ country_event = {
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
rg_clear_harbitat = yes
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5027
|
||||
id = rg_grayleader_dialog.5028
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1524,13 +1524,11 @@ country_event = {
|
||||
name = RG_graygoo.500.f
|
||||
response_text = RG_graygoo.502.f.response
|
||||
trigger = {
|
||||
has_country_flag = rg_juggernaut_fired
|
||||
NOT = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
has_country_flag = rg_juggernaut_fired # To prevent exploit
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
@@ -1553,17 +1551,14 @@ country_event = {
|
||||
name = RG_graygoo.500.g
|
||||
response_text = RG_graygoo.502.g.response
|
||||
trigger = {
|
||||
has_country_flag = rg_juggernaut_fired
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
allow = {
|
||||
has_country_flag = rg_juggernaut_fired # To prevent exploit
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
rg_clear_harbitat = yes
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5027
|
||||
id = rg_grayleader_dialog.5028
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1877,3 +1872,169 @@ country_event = {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
country_event = {
|
||||
id = rg_grayleader.7
|
||||
title = "graygoo.500.title"
|
||||
desc = "rg_event.7.a.desc"
|
||||
event_window_type = leader_recruit
|
||||
picture_event_data = {
|
||||
portrait = event_target:rg_gray_country_leader
|
||||
planet_background = root.capital_scope
|
||||
}
|
||||
is_triggered_only = yes
|
||||
immediate = {
|
||||
set_country_flag = gray_diplomacy_engaged
|
||||
}
|
||||
after = {
|
||||
hidden_effect = {
|
||||
remove_country_flag = gray_diplomacy_engaged
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 美味女仆
|
||||
name = rg_event.7.a
|
||||
trigger = {
|
||||
has_global_flag = ms_species_enabled
|
||||
}
|
||||
hidden_effect = {
|
||||
rg_global_clear_portrait_select = yes
|
||||
set_global_flag = rg_ms_gray_portrait_set
|
||||
event_target:gray_owner = {
|
||||
set_country_flag = mss_enable_gray_maid
|
||||
}
|
||||
remove_global_flag = rg_ge_gray_portrait_set
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 动态灰风
|
||||
name = rg_event.7.b
|
||||
trigger = {
|
||||
has_global_flag = has_grayextend_mod
|
||||
}
|
||||
hidden_effect = {
|
||||
rg_global_clear_portrait_select = yes
|
||||
set_global_flag = rg_ge_gray_portrait_set
|
||||
country_event = {
|
||||
id = rg_grayleader.8
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 舰r
|
||||
name = rg_event.7.d
|
||||
trigger = {
|
||||
OR = {
|
||||
has_global_flag = has_wsg_mod
|
||||
has_global_flag = kdc_event_mod_active
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
rg_global_clear_portrait_select = yes
|
||||
set_global_flag = rg_wg_gray_portrait_set
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 默认
|
||||
name = rg_event.7.z
|
||||
}
|
||||
option = {
|
||||
name = graygoo.500.d
|
||||
tag = hire_leader
|
||||
default_hide_option = yes
|
||||
}
|
||||
option = {
|
||||
name = graygoo.500.prepage
|
||||
tag = dismiss_leader
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = rg_grayleader.1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
country_event = {
|
||||
id = rg_grayleader.8
|
||||
title = "graygoo.500.title"
|
||||
desc = "rg_event.8.a.desc"
|
||||
event_window_type = leader_recruit
|
||||
picture_event_data = {
|
||||
portrait = event_target:rg_gray_country_leader
|
||||
planet_background = root.capital_scope
|
||||
}
|
||||
is_triggered_only = yes
|
||||
immediate = {
|
||||
set_country_flag = gray_diplomacy_engaged
|
||||
}
|
||||
after = {
|
||||
hidden_effect = {
|
||||
remove_country_flag = gray_diplomacy_engaged
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 执政官
|
||||
name = rg_event.8.a
|
||||
hidden_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
has_global_flag = rg_ge_gray_portrait_manual_toggle
|
||||
}
|
||||
set_global_flag = rg_ge_gray_portrait_manual_toggle
|
||||
}
|
||||
}
|
||||
rg_ge_clear_portrait_select = yes
|
||||
event_target:gray_owner = {
|
||||
set_country_flag = rg_ge_governor_portrait_set
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 科学家
|
||||
name = rg_event.8.b
|
||||
hidden_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
has_global_flag = rg_ge_gray_portrait_manual_toggle
|
||||
}
|
||||
set_global_flag = rg_ge_gray_portrait_manual_toggle
|
||||
}
|
||||
}
|
||||
rg_ge_clear_portrait_select = yes
|
||||
event_target:gray_owner = {
|
||||
set_country_flag = rg_ge_scientist_portrait_set
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 关闭手动选择
|
||||
name = rg_event.8.c
|
||||
trigger = {
|
||||
has_global_flag = rg_ge_gray_portrait_manual_toggle
|
||||
}
|
||||
hidden_effect = {
|
||||
rg_ge_clear_portrait_select = yes
|
||||
remove_global_flag = rg_ge_gray_portrait_manual_toggle
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 算了
|
||||
name = rg_event.8.d
|
||||
}
|
||||
option = {
|
||||
name = graygoo.500.d
|
||||
tag = hire_leader
|
||||
default_hide_option = yes
|
||||
}
|
||||
option = {
|
||||
name = graygoo.500.prepage
|
||||
tag = dismiss_leader
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = rg_grayleader.1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7,7 +7,7 @@ country_event = {
|
||||
if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
exist = event_target:rg_maid_species
|
||||
exists = event_target:rg_maid_species
|
||||
}
|
||||
}
|
||||
create_species = {
|
||||
|
||||
@@ -37,7 +37,7 @@ country_event = {
|
||||
if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
exist = event_target:rg_scion_fe
|
||||
exists = event_target:rg_scion_fe
|
||||
}
|
||||
}
|
||||
set_country_flag = rg_scion_needs_fe
|
||||
@@ -100,7 +100,7 @@ country_event = {
|
||||
overlord = {
|
||||
add_opinion_modifier = {
|
||||
modifier = opinion_scion
|
||||
who = rg_scion_fe
|
||||
who = event_target:rg_scion_fe
|
||||
}
|
||||
}
|
||||
country_event = { id = rg_origin.10 days = 3 }
|
||||
|
||||
@@ -119,3 +119,41 @@ planet_event = {
|
||||
set_update_modifiers_batch = end
|
||||
}
|
||||
}
|
||||
|
||||
# SP_Cracked
|
||||
planet_event = {
|
||||
id = RG_planet_killer.4
|
||||
is_triggered_only = yes
|
||||
hide_window = yes
|
||||
trigger = {
|
||||
is_star = no
|
||||
}
|
||||
immediate = {
|
||||
set_update_modifiers_batch = begin
|
||||
RG_destroy_planet_effect_sp = yes
|
||||
every_country = {
|
||||
create_message = {
|
||||
type = "PLANET_DESTROYED"
|
||||
localization = "message_RG_planet_killer_killed_planet_NANO_SP_desc"
|
||||
days = 30
|
||||
target = root
|
||||
variable = {
|
||||
type = name
|
||||
localization = "RG_target_planet"
|
||||
scope = root
|
||||
}
|
||||
variable = {
|
||||
type = name
|
||||
localization = "RG_attacker"
|
||||
scope = from.owner
|
||||
}
|
||||
variable = {
|
||||
type = name
|
||||
localization = "RG_attacker_ship"
|
||||
scope = from
|
||||
}
|
||||
}
|
||||
}
|
||||
set_update_modifiers_batch = end
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,22 +1,24 @@
|
||||
namespace = rg_planet
|
||||
|
||||
##### Virtual Ascension Events
|
||||
|
||||
### Create the Unemployed
|
||||
### Country scope gatekeeper
|
||||
### on_monthly_pulse_country
|
||||
country_event = {
|
||||
id = rg_planet.5025
|
||||
hide_window = yes
|
||||
|
||||
is_triggered_only = yes
|
||||
|
||||
trigger = {
|
||||
has_country_flag = gray_habitat_active
|
||||
exists = event_target:rg_gray_habitat_target
|
||||
event_target:rg_gray_habitat_target = {
|
||||
OR = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
has_active_tradition = tr_rg_nanotech_5
|
||||
}
|
||||
# exists = event_target:rg_gray_habitat_target
|
||||
any_owned_planet = {
|
||||
is_under_colonization = no
|
||||
NOT = { is_planet_class = pc_cosmogenesis_world }
|
||||
OR = {
|
||||
is_planet_class = pc_rg_grayhabitat
|
||||
is_planet_class = pc_nanotech
|
||||
}
|
||||
free_jobs > 0
|
||||
NOR = {
|
||||
free_jobs_of_type = {
|
||||
@@ -30,14 +32,59 @@ country_event = {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
event_target:rg_gray_habitat_target = {
|
||||
planet_event = { id = rg_planet.2027 days = 1 }
|
||||
if = {
|
||||
limit = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
NOT = {
|
||||
has_active_tradition = tr_rg_nanotech_5
|
||||
}
|
||||
}
|
||||
event_target:rg_gray_habitat_target = {
|
||||
planet_event = {
|
||||
id = rg_planet.2027
|
||||
days = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
random_owned_planet = {
|
||||
limit = {
|
||||
owner = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
# exists = event_target:rg_gray_habitat_target
|
||||
any_owned_planet = {
|
||||
is_under_colonization = no
|
||||
OR = {
|
||||
is_planet_class = pc_rg_grayhabitat
|
||||
is_planet_class = pc_nanotech
|
||||
}
|
||||
free_jobs > 0
|
||||
NOR = {
|
||||
free_jobs_of_type = {
|
||||
job = mortal_initiate
|
||||
value >= 1
|
||||
}
|
||||
free_jobs_of_type = {
|
||||
category = bio_trophy
|
||||
value >= 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
planet_event = {
|
||||
id = rg_planet.2027
|
||||
days = 1
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
### Create the Unemployed
|
||||
### Planet scope gatekeeper
|
||||
### on_building_complete, on_building_upgraded, on_building_demolished,
|
||||
@@ -46,23 +93,27 @@ country_event = {
|
||||
planet_event = {
|
||||
id = rg_planet.2026
|
||||
hide_window = yes
|
||||
|
||||
is_triggered_only = yes
|
||||
|
||||
trigger = {
|
||||
is_same_value = event_target:rg_gray_habitat_target
|
||||
is_under_colonization = no
|
||||
NOT = { is_planet_class = pc_cosmogenesis_world }
|
||||
OR = {
|
||||
is_planet_class = pc_rg_grayhabitat
|
||||
is_planet_class = pc_nanotech
|
||||
}
|
||||
exists = owner
|
||||
owner = {
|
||||
is_fallen_empire = no
|
||||
has_country_flag = gray_habitat_active
|
||||
OR = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
has_active_tradition = tr_rg_nanotech_5
|
||||
}
|
||||
}
|
||||
free_jobs > 0
|
||||
}
|
||||
|
||||
immediate = {
|
||||
planet_event = { id = rg_planet.2027 days = 1 }
|
||||
planet_event = {
|
||||
id = rg_planet.2027
|
||||
days = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -71,30 +122,47 @@ planet_event = {
|
||||
planet_event = {
|
||||
id = rg_planet.2027
|
||||
hide_window = yes
|
||||
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
is_same_value = event_target:rg_gray_habitat_target
|
||||
is_under_colonization = no
|
||||
NOT = { is_planet_class = pc_cosmogenesis_world }
|
||||
OR = {
|
||||
is_planet_class = pc_rg_grayhabitat
|
||||
is_planet_class = pc_nanotech
|
||||
}
|
||||
exists = owner
|
||||
owner = {
|
||||
is_fallen_empire = no
|
||||
has_country_flag = gray_habitat_active
|
||||
OR = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
has_active_tradition = tr_rg_nanotech_5
|
||||
}
|
||||
}
|
||||
free_jobs > 0
|
||||
}
|
||||
|
||||
immediate = {
|
||||
set_variable = {
|
||||
which = num_pops
|
||||
value = value:num_free_virtual_jobs
|
||||
}
|
||||
# Create pops for every free job
|
||||
while = {
|
||||
count = num_pops
|
||||
create_pop = {
|
||||
species = owner_main_species
|
||||
if = {
|
||||
limit = {
|
||||
owner = {
|
||||
is_same_value = event_target:gray_owner
|
||||
}
|
||||
}
|
||||
while = {
|
||||
count = num_pops
|
||||
create_pop = {
|
||||
species = event_target:rg_owner_main_maid_species
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
while = {
|
||||
count = num_pops
|
||||
create_pop = {
|
||||
species = owner_main_species
|
||||
}
|
||||
}
|
||||
}
|
||||
# Kill pops generated in excess (e.g. from forbidden jobs)
|
||||
@@ -120,19 +188,15 @@ planet_event = {
|
||||
country_event = {
|
||||
id = rg_planet.5030
|
||||
hide_window = yes
|
||||
|
||||
is_triggered_only = yes
|
||||
|
||||
trigger = {
|
||||
is_fallen_empire = no
|
||||
has_country_flag = gray_habitat_active
|
||||
has_country_flag = rg_habitat_enabled
|
||||
event_target:rg_gray_habitat_target = {
|
||||
any_owned_pop = {
|
||||
is_unemployed = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
event_target:rg_gray_habitat_target = {
|
||||
every_owned_pop = {
|
||||
@@ -153,20 +217,16 @@ country_event = {
|
||||
planet_event = {
|
||||
id = rg_planet.2031
|
||||
hide_window = yes
|
||||
|
||||
is_triggered_only = yes
|
||||
|
||||
trigger = {
|
||||
exists = owner
|
||||
owner = {
|
||||
is_fallen_empire = no
|
||||
has_country_flag = gray_habitat_active
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
any_owned_pop = {
|
||||
is_unemployed = yes
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
every_owned_pop = {
|
||||
limit = {
|
||||
@@ -175,4 +235,4 @@ planet_event = {
|
||||
kill_pop = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
20
events/RG_storms_event.txt
Normal file
20
events/RG_storms_event.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
namespace = rg_storms
|
||||
system_event = {
|
||||
id = rg_storms.1
|
||||
hide_window = yes
|
||||
is_triggered_only = yes
|
||||
|
||||
trigger = {
|
||||
NOT = {
|
||||
has_star_flag = storm_system
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
create_cosmic_storm = {
|
||||
type = graytempest_storm
|
||||
immediate = yes
|
||||
cosmic_storm_start_position = this
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -162,9 +162,11 @@ planet_event = {
|
||||
id = rg_story.6
|
||||
title = "rg_story.6.title"
|
||||
is_triggered_only = yes
|
||||
fire_only_once = yes
|
||||
trigger = {
|
||||
NOT = {
|
||||
any_country = {
|
||||
has_country_flag = rg_story6_fired
|
||||
}
|
||||
# has_global_flag = has_wsg_mod
|
||||
}
|
||||
}
|
||||
@@ -178,6 +180,10 @@ planet_event = {
|
||||
has_ship_flag = rg_test_ship
|
||||
}
|
||||
}
|
||||
prev = {
|
||||
save_event_target_as = event_target_country
|
||||
set_country_flag = rg_story6_fired
|
||||
}
|
||||
delete_fleet = this
|
||||
}
|
||||
}
|
||||
@@ -188,8 +194,10 @@ planet_event = {
|
||||
option = {
|
||||
name = rg_story.6.a
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = rg_story.7
|
||||
event_target:event_target_country = {
|
||||
country_event = {
|
||||
id = rg_story.7
|
||||
}
|
||||
}
|
||||
}
|
||||
default_hide_option = yes
|
||||
@@ -647,7 +655,9 @@ country_event = {
|
||||
event_target:rg_fake_dragon_fleet = {
|
||||
leader = {
|
||||
OR = {
|
||||
exists = NO
|
||||
NOT = {
|
||||
exists = leader
|
||||
}
|
||||
NOR = {
|
||||
has_leader_flag = rg_fake_dragon
|
||||
has_leader_flag = rg_fake_dragon_reborn
|
||||
@@ -701,7 +711,7 @@ country_event = {
|
||||
# 龙噶了把所有卡住的的模拟龙扫描事件中止
|
||||
country_event = {
|
||||
id = rg_story.22
|
||||
hidden_window = yes
|
||||
hide_window = yes
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
from = {
|
||||
@@ -1026,8 +1036,7 @@ country_event = {
|
||||
}
|
||||
}
|
||||
add_resource = {
|
||||
resource = nanites
|
||||
value = -150
|
||||
nanites = -150
|
||||
}
|
||||
random_situation = {
|
||||
limit = {
|
||||
@@ -1120,12 +1129,10 @@ country_event = {
|
||||
}
|
||||
}
|
||||
add_resource = {
|
||||
resource = alloys
|
||||
value = -1500
|
||||
alloys = -1500
|
||||
}
|
||||
add_resource = {
|
||||
resource = energy
|
||||
value = -1500
|
||||
energy = -1500
|
||||
}
|
||||
rg_create_gray_mod1_testship_2 = yes
|
||||
random_situation = {
|
||||
@@ -1169,12 +1176,10 @@ country_event = {
|
||||
}
|
||||
}
|
||||
add_resource = {
|
||||
resource = alloys
|
||||
value = -1500
|
||||
alloys = -1500
|
||||
}
|
||||
add_resource = {
|
||||
resource = energy
|
||||
value = -1500
|
||||
energy = -1500
|
||||
}
|
||||
rg_create_gray_mod1_testship_2 = yes
|
||||
random_situation = {
|
||||
@@ -1218,12 +1223,10 @@ country_event = {
|
||||
}
|
||||
}
|
||||
add_resource = {
|
||||
resource = energy
|
||||
value = -4000
|
||||
alloys = -1500
|
||||
}
|
||||
add_resource = {
|
||||
resource = minerals
|
||||
value = -1500
|
||||
energy = -1500
|
||||
}
|
||||
random_situation = {
|
||||
limit = {
|
||||
@@ -1262,8 +1265,7 @@ country_event = {
|
||||
}
|
||||
}
|
||||
add_resource = {
|
||||
resource = consumer_goods
|
||||
value = -3000
|
||||
consumer_goods = -3000
|
||||
}
|
||||
random_situation = {
|
||||
limit = {
|
||||
@@ -1306,12 +1308,10 @@ country_event = {
|
||||
}
|
||||
}
|
||||
add_resource = {
|
||||
resource = alloys
|
||||
value = -1500
|
||||
alloys = -1500
|
||||
}
|
||||
add_resource = {
|
||||
resource = energy
|
||||
value = -1500
|
||||
energy = -1500
|
||||
}
|
||||
rg_create_gray_mod1_testship_2 = yes
|
||||
random_situation = {
|
||||
@@ -1351,8 +1351,7 @@ country_event = {
|
||||
}
|
||||
}
|
||||
add_resource = {
|
||||
resource = alloys
|
||||
value = -3000
|
||||
alloys = -3000
|
||||
}
|
||||
random_situation = {
|
||||
limit = {
|
||||
@@ -1391,8 +1390,7 @@ country_event = {
|
||||
}
|
||||
}
|
||||
add_resource = {
|
||||
resource = alloys
|
||||
value = -500
|
||||
alloys = -500
|
||||
}
|
||||
random_situation = {
|
||||
limit = {
|
||||
|
||||
@@ -138,6 +138,44 @@ country_event = {
|
||||
rg_create_gray_const = yes
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.f
|
||||
response_text = RG_graygoo.502.f.response
|
||||
trigger = {
|
||||
NOT = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
rg_clear_harbitat = yes
|
||||
}
|
||||
else = {
|
||||
rg_juggernaut_habitat_init = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.g
|
||||
response_text = RG_graygoo.502.g.response
|
||||
trigger = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
allow = {
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
rg_clear_harbitat = yes
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# help
|
||||
name = rg_help
|
||||
@@ -147,6 +185,15 @@ country_event = {
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 衣柜
|
||||
name = rg_wardrobe
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = rg_grayleader.7
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = marry_gray
|
||||
trigger = {
|
||||
@@ -348,6 +395,44 @@ country_event = {
|
||||
rg_create_gray_army = yes
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.f
|
||||
response_text = RG_graygoo.502.f.response
|
||||
trigger = {
|
||||
NOT = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
rg_clear_harbitat = yes
|
||||
}
|
||||
else = {
|
||||
rg_juggernaut_habitat_init = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.g
|
||||
response_text = RG_graygoo.502.g.response
|
||||
trigger = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
allow = {
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
rg_clear_harbitat = yes
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# help
|
||||
name = rg_help
|
||||
@@ -357,6 +442,15 @@ country_event = {
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 衣柜
|
||||
name = rg_wardrobe
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = rg_grayleader.7
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = marry_gray
|
||||
trigger = {
|
||||
@@ -669,6 +763,44 @@ country_event = {
|
||||
remove_country_flag = gray_warship_is_juggernaut
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.f
|
||||
response_text = RG_graygoo.502.f.response
|
||||
trigger = {
|
||||
NOT = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
rg_clear_harbitat = yes
|
||||
}
|
||||
else = {
|
||||
rg_juggernaut_habitat_init = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.g
|
||||
response_text = RG_graygoo.502.g.response
|
||||
trigger = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
allow = {
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
rg_clear_harbitat = yes
|
||||
}
|
||||
}
|
||||
option = {
|
||||
#升级-2
|
||||
name = rg_levelup_2
|
||||
@@ -1064,6 +1196,44 @@ country_event = {
|
||||
rg_create_gray_const = yes
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.f
|
||||
response_text = RG_graygoo.502.f.response
|
||||
trigger = {
|
||||
NOT = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
rg_clear_harbitat = yes
|
||||
}
|
||||
else = {
|
||||
rg_juggernaut_habitat_init = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.g
|
||||
response_text = RG_graygoo.502.g.response
|
||||
trigger = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
allow = {
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
rg_clear_harbitat = yes
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 开启隐形
|
||||
name = rg_graygoo.4.e
|
||||
@@ -1416,6 +1586,44 @@ country_event = {
|
||||
rg_create_gray_army = yes
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.f
|
||||
response_text = RG_graygoo.502.f.response
|
||||
trigger = {
|
||||
NOT = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
rg_clear_harbitat = yes
|
||||
}
|
||||
else = {
|
||||
rg_juggernaut_habitat_init = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.g
|
||||
response_text = RG_graygoo.502.g.response
|
||||
trigger = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
allow = {
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
rg_clear_harbitat = yes
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = marry_gray
|
||||
trigger = {
|
||||
@@ -1582,6 +1790,32 @@ country_event = {
|
||||
rg_create_gray_colony_1 = yes
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 购买巨像
|
||||
name = rg_event.4.h
|
||||
trigger = {
|
||||
NOT = {
|
||||
has_country_flag = gray_reforming
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
resource_stockpile_compare = {
|
||||
resource = energy
|
||||
value >= 8000
|
||||
}
|
||||
resource_stockpile_compare = {
|
||||
resource = alloys
|
||||
value >= 8000
|
||||
}
|
||||
}
|
||||
add_resource = {
|
||||
energy = -8000
|
||||
alloys = -8000
|
||||
}
|
||||
hidden_effect = {
|
||||
rg_create_gray_planetkiller_testship_1 = yes
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 没钱了,救救
|
||||
name = rg_event.4.c
|
||||
|
||||
BIN
gfx/interface/icons/districts/district_rg_nanites.dds
Normal file
BIN
gfx/interface/icons/districts/district_rg_nanites.dds
Normal file
Binary file not shown.
BIN
gfx/interface/icons/traditions/tradition_rg_nanotech_1.dds
Normal file
BIN
gfx/interface/icons/traditions/tradition_rg_nanotech_1.dds
Normal file
Binary file not shown.
BIN
gfx/interface/icons/traditions/tradition_rg_nanotech_2.dds
Normal file
BIN
gfx/interface/icons/traditions/tradition_rg_nanotech_2.dds
Normal file
Binary file not shown.
BIN
gfx/interface/icons/traditions/tradition_rg_nanotech_3.dds
Normal file
BIN
gfx/interface/icons/traditions/tradition_rg_nanotech_3.dds
Normal file
Binary file not shown.
BIN
gfx/interface/icons/traditions/tradition_rg_nanotech_4.dds
Normal file
BIN
gfx/interface/icons/traditions/tradition_rg_nanotech_4.dds
Normal file
Binary file not shown.
BIN
gfx/interface/icons/traditions/tradition_rg_nanotech_5.dds
Normal file
BIN
gfx/interface/icons/traditions/tradition_rg_nanotech_5.dds
Normal file
Binary file not shown.
Binary file not shown.
BIN
gfx/map/storms/graytempest_storm_color.dds
Normal file
BIN
gfx/map/storms/graytempest_storm_color.dds
Normal file
Binary file not shown.
44
interface/rg_traditions.gfx
Normal file
44
interface/rg_traditions.gfx
Normal file
@@ -0,0 +1,44 @@
|
||||
spriteTypes = {
|
||||
### NANITES ###
|
||||
|
||||
spriteType = {
|
||||
name = "GFX_tr_rg_nanotech_1"
|
||||
textureFile = "gfx/interface/icons/traditions/tradition_nanotech_1.dds"
|
||||
}
|
||||
|
||||
spriteType = {
|
||||
name = "GFX_tr_rg_nanotech_2"
|
||||
textureFile = "gfx/interface/icons/traditions/tradition_nanotech_2.dds"
|
||||
}
|
||||
|
||||
spriteType = {
|
||||
name = "GFX_tr_rg_nanotech_3"
|
||||
textureFile = "gfx/interface/icons/traditions/tradition_nanotech_3.dds"
|
||||
}
|
||||
|
||||
spriteType = {
|
||||
name = "GFX_tr_rg_nanotech_4"
|
||||
textureFile = "gfx/interface/icons/traditions/tradition_nanotech_4.dds"
|
||||
}
|
||||
|
||||
spriteType = {
|
||||
name = "GFX_tr_rg_nanotech_5"
|
||||
textureFile = "gfx/interface/icons/traditions/tradition_nanotech_5.dds"
|
||||
}
|
||||
|
||||
spriteType = {
|
||||
name = "GFX_tradition_hex_bg_tradition_rg_nanotech"
|
||||
textureFile = "gfx/interface/traditions/tradition_hex_bg_nanotech.dds"
|
||||
}
|
||||
|
||||
spriteType = {
|
||||
name = "GFX_tradition_category_bg_tradition_rg_nanotech"
|
||||
textureFile = "gfx/interface/tiles/tradition_category_tile_nanotech.dds"
|
||||
}
|
||||
|
||||
spriteType = {
|
||||
name = "GFX_tradition_rg_nanotech"
|
||||
texturefile = "gfx/interface/icons/traditions/tree_icons/tradition_icon_nanotech.dds"
|
||||
}
|
||||
|
||||
}
|
||||
@@ -101,6 +101,7 @@
|
||||
rg_cluster.13.a:0 "他们是从哪里冒出来的?!"
|
||||
|
||||
rg_help:0 "我需要一些帮助"
|
||||
rg_wardrobe:0 "§Y$NAME_Gray$的衣柜§!"
|
||||
|
||||
rg_event.4:0 "我需要一些帮助"
|
||||
rg_event.4.a.desc:0 "我可以帮你建造一些舰队,或是一些其他我能帮得上的忙。你想让我做什么?"
|
||||
@@ -126,6 +127,19 @@
|
||||
rg_event.6.b.desc:0 "§Y呜呜呜...真的已经没有钱了..真的不要再来了...§!\n\n§H<厨圣啊!这次还请回吧。>§!"
|
||||
rg_event.6.a:0 "诶嘿。"
|
||||
|
||||
rg_event.7.a.desc:0 "这里可以给$NAME_Gray$换衣服。能选择的立绘选项取决于你开启的mod,如果没有任何选项说明你启用的mod尚未兼容或未启用兼容的mod。"
|
||||
|
||||
rg_event.7.a:0 "§G美味女仆:肖像§!-$NAME_Gray$-Chougou"
|
||||
rg_event.7.b:0 "§H灰风扩展(动态灰风)/灰风肖像美化§!-NCSIMON"
|
||||
rg_event.7.c:0 "§Y灰风立绘替换§!-Earth Aeolian"
|
||||
rg_event.7.d:0 "§HWarship Girls R And MIST Species/KDC Story Pack§!-KDC Mod Group"
|
||||
rg_event.7.z:0 "§Y默认§!"
|
||||
|
||||
rg_event.8.a:0 "§H执政官-$NAME_Gray$§!"
|
||||
rg_event.8.b:0 "§B科学家-$NAME_Gray$§!"
|
||||
rg_event.8.c:0 "§G关闭手动选择立绘§!"
|
||||
rg_event.8.d:0 "§Y算了§!"
|
||||
|
||||
rg_graygoo.4:0 "我需要一些帮助"
|
||||
rg_graygoo.4.a.desc:0 "我可以帮你建造一些舰队,或是一些其他我能帮得上的忙。你想让我做什么?"
|
||||
|
||||
@@ -180,6 +194,9 @@
|
||||
RG_graygoo.502.f.response:0 "舰体宜居性评估中,全舰核心自检完成。"
|
||||
RG_graygoo.500.g:0 "§Y关闭空间站核心§!"
|
||||
RG_graygoo.502.g.response:0 "启动紧急疏散程序,请稍安勿躁。"
|
||||
RG_graygoo.502.h.response:0 "§R关闭空间站核心将摧毁所有建筑和人口,你确定吗?§!\n\n§R关闭空间站核心将摧毁所有建筑和人口,你确定吗?§!\n\n§R关闭空间站核心将摧毁所有建筑和人口,你确定吗?§!"
|
||||
RG_graygoo.502.h.a:0 "我点错了"
|
||||
RG_graygoo.502.h.b:0 "§R关闭空间站§!"
|
||||
|
||||
# 2.1 奇怪的巨像
|
||||
rg_story.2.desc:0 "哈喽?有空吗?可以来...咳咳、我有一个有趣的东西想给你看......如果没有空也没有关系。不过我保证这个一定很好玩。"
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
RG_leader_trait_offical_gray:0 "$RG_leader_trait_governor_gray$"
|
||||
RG_leader_trait_offical_gray_desc:0 "$RG_leader_trait_governor_gray_desc$"
|
||||
RG_leader_trait_ruler_gray:0 "§Y天选化身§!"
|
||||
RG_leader_trait_ruler_gray_desc:0 "§G$NAME_Gray$会随着领袖等级§!§Y[owner.rg_gray_level]§!§G提升而不断增强力量。§!\n§R当然也会越来越能吃。唔姆,你懂的。§!\n§R领袖等级大于10时纳米机器将超频工作,额外降低£stability£稳定度。§!\n\n§Y被全体国民所认可,可爱又可靠的化身。§!通过授予$NAME_Gray$越来越多的权力和与日俱增的资源倾斜,纳米机器人能够精细调配帝国各项资源产出。然而这种不可持续的发展模式并非没有代价。\n才不是想不出特质名字"
|
||||
RG_leader_trait_ruler_gray_desc:0 "§G$NAME_Gray$会随着领袖等级§!(§Y[owner.rg_gray_level]§!)§G提升而不断增强力量。§!\n§R当然也会越来越能吃。唔姆,你懂的。§!\n§R领袖等级大于10时纳米机器将超频工作,额外降低£stability£稳定度。§!\n\n§Y被全体国民所认可,可爱又可靠的化身。§!通过授予$NAME_Gray$越来越多的权力和与日俱增的资源倾斜,纳米机器人能够精细调配帝国各项资源产出。然而这种不可持续的发展模式并非没有代价。\n才不是想不出特质名字"
|
||||
RG_leader_trait_scientist_gray:0 "§Y纳米机器个体§!"
|
||||
RG_leader_trait_scientist_gray_desc:0 "$NAME_Gray$本质上是由千千万万纳米机械所组成的个体,这让她可以辅助星域资源调度和研究资源调度。可不要让她做奇怪的事情哦?"
|
||||
RG_leader_trait_general_gray:0 "§Y纳米机器个体§!"
|
||||
@@ -31,6 +31,130 @@
|
||||
preset_rg_scion: "§Y誓约计划国§!"
|
||||
preset_rg_scion_desc: "出于某种不可告人的目的,远古堕落帝国将其视若己出。他们的远古宗主不会允许其誓约国受到任何外部干扰。"
|
||||
|
||||
### NANOTECH
|
||||
tradition_rg_nanotech: "§Y纳米重构§!"
|
||||
tradition_rg_nanotech_desc: "生命的构成形式不是千篇一律,拥抱纳米机器使我们超维宇宙万物。"
|
||||
tr_rg_nanotech_adopt: "§Y纳米重构§!传统"
|
||||
tr_rg_nanotech_1: "物质再塑"
|
||||
tr_rg_nanotech_2: "精神献身"
|
||||
tr_rg_nanotech_3: "风暴洪流"
|
||||
tr_rg_nanotech_4: "无限远疆"
|
||||
tr_rg_nanotech_5: "纳米归一"
|
||||
tr_rg_nanotech_finish: "纳米传统完成"
|
||||
tr_rg_nanotech_1_delayed: "传统的物质冶炼已经无法满足我们对于进步的渴望。我们将把旧世界无用的物质转化为纳米机器人。"
|
||||
tr_rg_nanotech_2_delayed: "纳米机器重组万物,我们就是宇宙。世界在我们手中按需变化。"
|
||||
tr_rg_nanotech_3_delayed: "我们的存在不再限制于我们的意志。我们将化作风暴,席卷一切。"
|
||||
tr_rg_nanotech_4_delayed: "我们是一股洪流,我们的存在需要力量作为根基。现在,§R我§!即是虫群。"
|
||||
tr_rg_nanotech_5_delayed: "物质和人之间的界限已经模糊,一切都只是我们集体意志的洪流中的一注。"
|
||||
tradition_rg_nanotech_delayed: "我们是一股永不停息的洪流,吞天食地、势不可挡。一切都将融入我们,我们将形成一切。"
|
||||
tr_rg_nanotech_adopt_modifier_desc: "§Y$AVAILABLE_STARBASE_BUILDINGS$§!$sm_nanite_harvester$"
|
||||
tr_rg_nanotech_1_modifier_desc: "§Y$AVAILABLE_BUILDINGS$§!$building_rg_nanolab_1$\n§Y$AVAILABLE_BUILDINGS$§!$building_rg_nanolab_2$\n§Y$AVAILABLE_BUILDINGS$§!$building_rg_nanotech_cauldron$\n§Y$AVAILABLE_BUILDINGS$§!$building_rg_nanite_transmuter$\n"
|
||||
tr_rg_nanotech_2_modifier_desc: "—§I解锁巨型结构:§!§Y$RG_habitat_central_complex$§!\n"
|
||||
tr_rg_nanotech_3_modifier_desc: "§Y解锁行星决议:§!$decision_rg_nanotech_swarm_consume_world$\n§Y解锁巨像武器:§!$tech_object_gray_7$:可将星球转变为可殖民的§Y$pc_nanotech$§!"
|
||||
tr_rg_nanotech_4_modifier_desc: "§Y解锁飞升:$rg_ap_nantiematter$\n解锁舰船:§!$RG_graygoo_destroyer$\n§Y获得遗珍:§!§Y$rg_tempest_invocator$§!:允许你召唤宇宙风暴:§Y$graytempest_storm$§!"
|
||||
tr_rg_nanotech_5_modifier_desc: "§Y解锁净化方式:$purge_nanophage$§!:将非帝国主体人口同化为我们的一部分。\n所有帝国人口将获得§Y纳米特质§!:人口需要£nanites£§Y$nanites$§!维护费。\n每个类型为§Y$pc_nanotech$§!或§Y$pc_rg_grayhabitat$§!的殖民地都将瞬间创建§Y纳米化$pops_with_icon$§!以填补§Y£building£建筑§!和§Y£district£区划§!的£job£岗位需求。"
|
||||
tr_rg_nanotech_finish_modifier_desc: "§Y解锁舰船:§!$RG_graygoo_mothership$\n每§Y5§!年§Y$sm_nanite_harvester_plural$§!都会提升,可能是增加$r_nanites$矿藏的规模,或是直接产出一笔纳米机器人资源。该效果受到矿藏所依附的行星尺寸的限制。"
|
||||
|
||||
decision_rg_server_shut_down: "§R核心关闭§!"
|
||||
decision_rg_server_shut_down_desc: "§R将摧毁殖民地!§!\n\n这个殖民地已经失去了它的用途,关闭信号中继核心。"
|
||||
decision_rg_nanotech_swarm_consume_world: "§Y纳米化星球§!"
|
||||
decision_rg_nanotech_swarm_consume_world_desc: "我们的行星将被转变,以喂养洪流、增长我们的存在。"
|
||||
decision_rg_nanotech_swarm_consume_world_effect_desc: "改造这个星球,增加一个或多个障碍,减少这个星球的宜居性和区划,但会为我们的洪流提供更多的纳米机器人。"
|
||||
|
||||
situation_rg_nanotech_consume_planet: "从[Target.GetName]采收纳米机器人"
|
||||
situation_rg_nanotech_consume_planet_type: "采收纳米机器人"
|
||||
situation_rg_nanotech_consume_planet_monthly_change_tooltip: "纳米机器人提取进展"
|
||||
situation_rg_nanotech_consume_planet_desc: "一切事物,包括所有星球,都注定要融入我们的集体,成为我们的一部分。"
|
||||
|
||||
purge_nanophage: "纳米同化"
|
||||
purge_nanophage_tooltip: "受影响的人口会被逐渐裂解为[From.GetSpeciesAdj]物种,无论其自身的意志如何。"
|
||||
purge_nanophage_tooltip_delayed: "§L不自由的形态只是阻碍我们发展的束缚。秉此之道,他们的事业将有[From.GetSpeciesNamePlural]继续践行。§!"
|
||||
|
||||
civic_rg_gray_cluster: "§Y遥远约定-星团开局§!"
|
||||
civic_rg_gray_non_cluster: "§Y遥远约定-银河开局§!"
|
||||
civic_tooltip_rg_gray_cluster: "选择在§YL-星团§!中开启你的冒险。本mod标准的开局选项。"
|
||||
civic_tooltip_rg_gray_non_cluster: "选择在§Y银河系§!中开启你的冒险。适合不希望在L-星团中开局的玩家。"
|
||||
|
||||
rg_tempest_invocator: "灰蛊核心"
|
||||
REQUIRES_lgate_or_gray: "$TRIGGER_FAIL$已发现§Y$NAME_Gray$§!或拥有科技§Y$tech_lgate_activation$§!"
|
||||
|
||||
RG_habitat_central_complex: "$pc_rg_grayhabitat$"
|
||||
RG_habitat_central_complex_plural: "$pc_rg_grayhabitat$"
|
||||
RG_habitat_central_complex_DESC: "一座§Y$pc_rg_grayhabitat$§!,可以容纳若干£pop£§Y人口§!并在非宜居行星的轨道上为£building£§Y建筑§!和£district£§Y区划§!提供空间。"
|
||||
RG_habitat_central_complex_MEGASTRUCTURE_DETAILS: "§Y$pc_rg_grayhabitat$§!是完全由纳米机器组成的用于永久居住的自持空间站。"
|
||||
RG_habitat_central_complex_CONSTRUCTION_INFO_DELAYED: "$REQUIREMENTS_HEADER$$major_orbital_requirements$\n\n$EFFECTS_HEADER$$NEW_LINE$—将创建一座可殖民的(规模:£planetsize£6)$pc_rg_grayhabitat$。$NEW_LINE$—$habitat_0_CONSTRUCTION_INFO_DELAYED$"
|
||||
requires_RG_habitat_central_complex: "$TRIGGER_FAIL$§R需要恒星系中存在一座$habitat_central_complex$§!"
|
||||
requires_not_RG_habitat_central_complex: "$TRIGGER_FAIL$§R恒星系内已存在$habitat_central_complex$,无法建造。§!"
|
||||
|
||||
building_rg_nanolab_1: "§Y纳米研究设施§!"
|
||||
building_rg_nanolab_1_desc: "在纳观尺度上进行研究带来对宇宙的全新视角。"
|
||||
building_rg_nanolab_2: "§Y纳米研究复合体§!"
|
||||
building_rg_nanolab_2_desc: "无限小与无限大看起来是如此地相似,这是多么地奇妙啊。"
|
||||
building_rg_nanotech_cauldron: "§Y纳米熔炉§!"
|
||||
building_rg_nanotech_cauldron_desc: "在分子水平上运作,虫群可以很容易地将矿物结构重新配置成坚固的合金晶格。"
|
||||
building_rg_nanite_transmuter: "§Y纳米变形器§!"
|
||||
building_rg_nanite_transmuter_desc: "该工厂使用极为先进的纳米材料大量生产各种稀有资源。缺少纳米材料时生产将会暂停。"
|
||||
|
||||
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_mining: "采矿区段"
|
||||
district_rg_mining_plural: "采矿区段"
|
||||
district_rg_mining_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_desc: "这个区段充满了城市中心,这些城市中心提供大量的住房和职员的办公场所。"
|
||||
district_rg_hive: "蜂巢区段"
|
||||
district_rg_hive_plural: "蜂巢区段"
|
||||
district_rg_hive_desc: "高耸的尖塔布满这个区段,当子个体不在工作时,就会集结于此摄取营养素。"
|
||||
district_rg_nexus: "中枢区段"
|
||||
district_rg_nexus_plural: "中枢区段"
|
||||
district_rg_nexus_desc: "高效的区划填满了这个区段,无人机部署作业前,在这些集中区划中接受整修服务。"
|
||||
district_rg_industrial: "工业区段"
|
||||
district_rg_industrial_plural: "工业区段"
|
||||
district_rg_industrial_desc: "这个区段中遍布着叮当作响的工厂与强劲的机械,为帝国提供了有力的工业基础。"
|
||||
|
||||
rg_machine_maid_trait_effect_tooltip: "每个在线的$pops_with_icon$§!产生0.3£nanites£$nanites$§Y维护费§!。\n在$NAME_Gray$国家工作时:$TABBED_NEW_LINE$$mod_planet_jobs_produces_mult$:§G+10%§!"
|
||||
|
||||
graytempest_storm: "灰蛊风暴"
|
||||
graytempest_storm_desc: "一群从L-星团中喷涌而出纳米机器对于整个星系的生命体都是威胁。它们数量巨大但尚未完全成型,形成严重的风暴席卷星系。由于纳米机器的自复制特性这种风暴能持续数十年之久。"
|
||||
graytempest_storm_color_tooltip: "§Y$graytempest_storm$§!"
|
||||
graytempest_storm_lore_description: "§L一场极强的$graytempest_storm$将威胁该星系,对行星造成破坏。为了生命安全务必寻找庇护!§!"
|
||||
graytempest_storm_fleet_tt: "—$MOD_SHIP_HULL_REGEN_ADD_PERC$、$MOD_SHIP_ARMOR_REGEN_ADD_PERC$对舰船和空间站§R禁用§!。\n—拥有$@storm_hp_perc_limit|0Y%$$HITPOINTS$的舰船和空间站每月遭受§R$@storm_monthly_dmg_low|0$§!伤害。\n—$@storm_hp_perc_limit|0Y%$$HITPOINTS$以下的舰船产出§G+$@particle_storm_unity_per_ship|0$§!£unity£$unity$。"
|
||||
graytempest_storm_aftermath_modifier: "灰色浪潮"
|
||||
graytempest_storm_aftermath_modifier_tooltip: "$STORM_AFTERMATH_DESC$\n$t$—§H$graytempest_storm_aftermath_modifier$§!:\n$tt$—§R-100%§!~§R-?%§!$MOD_PLANET_BUILDING_BUILD_SPEED_MULT$\n$tt$—§R-5§!~§R-?§!$PLANET_STABILITY_TITLE$\n"
|
||||
graytempest_storm_aftermath_modifier_severity_desc: "$graytempest_storm$席卷一切挡路之物,祂们喜怒无常随意破坏,这会造成严重的损伤。然而,当尘埃落定后我们可以回收一部分纳米机器。"
|
||||
graytempest_storm_aftermath_modifier_severity_1: "余波:$graytempest_storm_aftermath_modifier$"
|
||||
graytempest_storm_aftermath_modifier_severity_1_desc: "$graytempest_storm_aftermath_modifier_severity_desc$"
|
||||
graytempest_storm_aftermath_modifier_severity_2: "余波:§H严重§!$graytempest_storm_aftermath_modifier$"
|
||||
graytempest_storm_aftermath_modifier_severity_2_desc: "$graytempest_storm_aftermath_modifier_severity_desc$"
|
||||
graytempest_storm_aftermath_modifier_severity_3: "余波:§R严重§!$graytempest_storm_aftermath_modifier$"
|
||||
graytempest_storm_aftermath_modifier_severity_3_desc: "$graytempest_storm_aftermath_modifier_severity_desc$"
|
||||
|
||||
MESSAGE_TEMPEST_STORM_AFTERMATH_TITLE: "$graytempest_storm$余波"
|
||||
tempest_storm_aftermath_custom_desc: "§Y$graytempest_storm$§!在整颗星球上留下了遍地的纳米机器,它们暂时进入了休眠状态。"
|
||||
|
||||
d_rg_tempest_storm_1: "纳米沙丘"
|
||||
d_rg_tempest_storm_1_desc: "一场毁灭性的纳米机器风暴席卷了这个世界。在它的余威中留下了一个孤独的灰色沙丘。"
|
||||
|
||||
d_rg_tempest_storm_2: "纳米沙海"
|
||||
d_rg_tempest_storm_2_desc: "一场毁灭性的纳米机器风暴席卷了这个世界。在它的余威中留下了一片涌动的灰色沙海。"
|
||||
|
||||
d_rg_tempest_storm_3: "纳米浪潮"
|
||||
d_rg_tempest_storm_3_desc: "一场毁灭性的纳米机器风暴席卷了这个世界。这个世界仍然在纳米机器的席卷中沸腾哀号。"
|
||||
|
||||
rg_nanite_leader:0"§Y纳米机器个体§!"
|
||||
rg_nanite_leader_plural:0"§Y纳米机器个体§!"
|
||||
rg_nanite_leader_description:0"§Y本质上是由千千万万纳米机械所组成的个体。因为能做到,所以将无所不能。§!"
|
||||
@@ -364,6 +488,10 @@
|
||||
tech_object_gray_6:0 "§Y$NAME_Gray$的不存在课题2§!"
|
||||
tech_object_gray_6_desc:0 "好像是一些奇怪的东西,还是不要管比较好吧。"
|
||||
|
||||
|
||||
tech_object_gray_7:0 "§Y风暴浪潮§!"
|
||||
tech_object_gray_7_desc:0 "好像是一些奇怪的东西,还是不要管比较好吧。"
|
||||
|
||||
tech_gray_army_7:0 "§Y自演化纳米战体§!"
|
||||
tech_gray_army_7_desc:0 "通过植入一些低级自演化程序,结合对纳米物质的了解,我们能够小批量生产一些纳米战体作为陆军投放。"
|
||||
|
||||
@@ -388,20 +516,27 @@
|
||||
RG_PLANET_KILLER_SP_DESC:0 "§Y不知道发射后会发生什么的奇怪武器...被设定成只能对友军开火..?$NAME_Gray$要求我们帮忙试射来收集实验结果。这真的靠谱吗?§!"
|
||||
RG_PLANET_KILLER_SP_ACTION:0 "§H试验性开火§!"
|
||||
FLEETORDER_DESTROY_PLANET_WITH_RG_PLANET_KILLER_SP:0 "准备对$PLANET|Y$进行试射"
|
||||
MESSAGE_DESC_FOR_RG_PLANET_KILLER_SP:0 "被进行了物种改造"
|
||||
MESSAGE_DESC_FOR_RG_PLANET_KILLER_SP:0 "被进行了混乱纳米化改造"
|
||||
message_RG_planet_killer_killed_planet_sp_desc:0 "$RG_target_planet|Y$被$RG_attacker|Y$的$RG_attacker_ship|Y$进行了一次非法武器试验。他们真是疯了。"
|
||||
|
||||
RG_PLANET_KILLER_NANO_SP:0 "§H风暴浪潮§!"
|
||||
RG_PLANET_KILLER_NANO_SP_DESC:0 "§Y经过测试改进后的完全体实验武器。发射纳米风暴群将行星改造为可居住的$pc_nanotech$。§!"
|
||||
RG_PLANET_KILLER_NANO_SP_ACTION:0 "§H纳米化改造§!"
|
||||
FLEETORDER_DESTROY_PLANET_WITH_RG_PLANET_KILLER_NANO_SP:0 "准备对$PLANET|Y$进行改造"
|
||||
MESSAGE_DESC_FOR_RG_PLANET_KILLER_NANO_SP:0 "被进行了纳米化改造"
|
||||
message_RG_planet_killer_killed_planet_NANO_SP_desc:0 "$RG_target_planet|Y$被$RG_attacker|Y$的$RG_attacker_ship|Y$改造成了一颗可居住的$pc_nanotech$。"
|
||||
|
||||
RG_AUTOCONST_HANGER:0 "自动工程子个体"
|
||||
RG_AUTOCONST_HANGER_desc:0 "预载的工蜂工程舰可以在星系调查完成后自动建造恒星基地。"
|
||||
RG_const_country:0 "$NAME_Gray$-自动工程队"
|
||||
requires_rg_graylevel_higherthan_25:0 "§Y$NAME_Gray$必须达到10级§!"
|
||||
requires_rg_graylevel_higherthan_10:0 "§Y$NAME_Gray$必须达到10级§!"
|
||||
requires_rg_graylevel_higherthan_20:0 "§Y$NAME_Gray$必须达到20级§!"
|
||||
requires_rg_graylevel_higherthan_50:0 "§Y需要前置科技:§!$tech_juggernaut$"
|
||||
requires_rg_has_tech_juggernaut:0 "§Y需要前置科技:§!$tech_juggernaut$"
|
||||
rg_nothing:0 ""
|
||||
rg_nothing_desc:0 ""
|
||||
|
||||
pc_rg_grayhabitat: "纳米空间站点"
|
||||
pc_rg_grayhabitat_desc: "一座由纳米机械组成的深空居所,能提供仿佛行星一般的居住体验,具体而言是指行星上的城市区域。完全由纳米机器人组成使得建筑如梦幻般瞬间出现,由纳米机器组成的实体承担着空间站点的一切生产工作。"
|
||||
pc_rg_grayhabitat_desc: "一座由纳米机械组成的深空居所,能提供仿佛行星一般的居住体验,具体而言是指行星上的城市区域。完全由纳米机器人组成使得建筑如梦幻般瞬间出现,由纳米机器组成的实体承担着空间站点的一切生产工作。\n§Y空间站点的$PLANET_SIZE$会随着$NAME_Gray$领袖等级(§Y[owner.rg_gray_level]§!)的提升而扩展。初始$PLANET_SIZE$为10,每级领袖等级提升2$PLANET_SIZE$。§!"
|
||||
|
||||
rg_ap_nantiematter:0 "§Y纳米物质构成工程§!"
|
||||
rg_ap_nantiematter_desc:0 "如果能够对L星门建造者的物质与科技进行一次彻底的构成研究,这些强力的纳米机器将极大的提升我们的军备水平。这需要我们获得足够的L星门认知。"
|
||||
|
||||
@@ -51,6 +51,7 @@
|
||||
RG_Buff_interdictor:0 "纳米机器支援单元"
|
||||
RG_COLOSSUS_interdictor:0 "纳米机器碎星单元"
|
||||
RG_COLOSSUS_interdictor_SP:0 "纳米机器试验单元"
|
||||
RG_COLOSSUS_interdictor_NANO_SP:0 "纳米机器改造单元"
|
||||
RG_Buff_interdictor_SP:0 "纳米机器折纸单元"
|
||||
RG_Arsenal_Interdictor:0 "纳米机器宏炮阵列"
|
||||
RG_aircruiser_Interdictor:0 "纳米机器航战单元"
|
||||
|
||||
@@ -14,6 +14,33 @@
|
||||
},
|
||||
{
|
||||
"path": "D:/SteamLibrary/steamapps/common/Stellaris/localisation"
|
||||
},
|
||||
{
|
||||
"path": "D:/SteamLibrary/steamapps/workshop/content/281990/3330088804"
|
||||
},
|
||||
{
|
||||
"path": "D:/SteamLibrary/steamapps/workshop/content/281990/1747099270"
|
||||
},
|
||||
{
|
||||
"path": "D:/SteamLibrary/steamapps/workshop/content/281990/2293827000"
|
||||
},
|
||||
{
|
||||
"path": "../遥远故事纳米居住站"
|
||||
},
|
||||
{
|
||||
"path": "../wsk"
|
||||
},
|
||||
{
|
||||
"path": "D:/SteamLibrary/steamapps/workshop/content/281990/3193493385"
|
||||
},
|
||||
{
|
||||
"path": "D:/SteamLibrary/steamapps/common/Stellaris/interface"
|
||||
},
|
||||
{
|
||||
"path": "../gray_extend"
|
||||
},
|
||||
{
|
||||
"path": "D:/SteamLibrary/steamapps/workshop/content/281990"
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
thumbnail.png
BIN
thumbnail.png
Binary file not shown.
|
Before Width: | Height: | Size: 253 KiB After Width: | Height: | Size: 244 KiB |
Reference in New Issue
Block a user