Compare commits
65 Commits
a60bfff413
...
3.13.x
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a3abac7897 | ||
|
|
a5750fb8eb | ||
|
|
0d10ffdb6e | ||
|
|
b2ffb07fc6 | ||
|
|
a444204285 | ||
|
|
478f6dca99 | ||
|
|
8e248545f1 | ||
|
|
58d0be3e2b | ||
|
|
f8979629b2 | ||
|
|
fef4de87ea | ||
|
|
17565cd2ba | ||
|
|
503df79a18 | ||
|
|
efe950f9e6 | ||
|
|
7a1d71c8a9 | ||
|
|
00ad348916 | ||
|
|
8411e7c7bd | ||
|
|
ff2afb6a1a | ||
|
|
533d27f00a | ||
|
|
d366fc812a | ||
|
|
e4a4300da8 | ||
|
|
9906ae58dd | ||
|
|
f3dd39e12f | ||
|
|
fbffb1a717 | ||
|
|
da055177af | ||
|
|
a576951cc7 | ||
|
|
6422330b6c | ||
|
|
6bd33c846b | ||
|
|
9421808984 | ||
|
|
b05e634820 | ||
|
|
a802030fd0 | ||
|
|
b01987b922 | ||
|
|
f6f1699772 | ||
|
|
1c14b3dc43 | ||
|
|
47506cc3ce | ||
|
|
fba832ca77 | ||
|
|
87764231db | ||
|
|
c8aa8db70d | ||
|
|
eba8762c7e | ||
|
|
9f5e6f6f25 | ||
|
|
f3b7444883 | ||
|
|
297f5bbb75 | ||
|
|
25d25d7546 | ||
|
|
66d34a0dd8 | ||
|
|
5542ac6296 | ||
|
|
88e41f7822 | ||
|
|
4747622102 | ||
|
|
b56cf39382 | ||
|
|
7f928c6f67 | ||
|
|
732aea91fd | ||
|
|
9f895b4a32 | ||
|
|
b197c19e49 | ||
|
|
878bdfc2c3 | ||
|
|
844db1a987 | ||
|
|
8e457a0826 | ||
|
|
8133f83066 | ||
|
|
2ac2b23047 | ||
|
|
01200b9020 | ||
|
|
7a545c4c88 | ||
|
|
4cb251cf7f | ||
|
|
e1f7cbea61 | ||
|
|
328ddbe3a0 | ||
|
|
df77895b22 | ||
|
|
5fbb6e2ce4 | ||
|
|
5a5c46ef7f | ||
|
|
c34c0b8eb9 |
@@ -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
|
||||
}
|
||||
@@ -19,30 +19,3 @@ gray_army = {
|
||||
always = no
|
||||
}
|
||||
}
|
||||
|
||||
# Gray Nanite Army
|
||||
rg_gray_army_base = {
|
||||
damage = 10
|
||||
health = 18
|
||||
has_morale = no
|
||||
morale_damage = 6
|
||||
collateral_damage = 5
|
||||
war_exhaustion = 4
|
||||
prerequisites = {
|
||||
"tech_gray_army_7"
|
||||
}
|
||||
time = 180
|
||||
resources = {
|
||||
category = armies
|
||||
cost = {
|
||||
alloys = 800
|
||||
}
|
||||
produces = {
|
||||
energy = 1
|
||||
}
|
||||
}
|
||||
has_species = no
|
||||
icon = GFX_army_type_machine_assault
|
||||
potential_country = {
|
||||
}
|
||||
}
|
||||
|
||||
26
common/armies/RG_event_armies.txt
Normal file
26
common/armies/RG_event_armies.txt
Normal file
@@ -0,0 +1,26 @@
|
||||
# Gray Nanite Army
|
||||
rg_gray_army_base = {
|
||||
damage = 10
|
||||
health = 18
|
||||
has_morale = no
|
||||
morale_damage = 6
|
||||
collateral_damage = 5
|
||||
war_exhaustion = 4
|
||||
prerequisites = {
|
||||
"tech_gray_army_7"
|
||||
}
|
||||
time = 180
|
||||
resources = {
|
||||
category = armies
|
||||
cost = {
|
||||
alloys = 800
|
||||
}
|
||||
produces = {
|
||||
energy = 1
|
||||
}
|
||||
}
|
||||
has_species = no
|
||||
icon = GFX_army_type_machine_assault
|
||||
potential_country = {
|
||||
}
|
||||
}
|
||||
@@ -5,10 +5,7 @@ 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_ap_nantiematter
|
||||
|
||||
304
common/buildings/RG_nano_buildings.txt
Normal file
304
common/buildings/RG_nano_buildings.txt
Normal file
@@ -0,0 +1,304 @@
|
||||
#################
|
||||
# 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"
|
||||
}
|
||||
|
||||
custom_storm_ai_weight = { }
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
custom_storm_ai_weight = { }
|
||||
}
|
||||
|
||||
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 = nanites
|
||||
}
|
||||
}
|
||||
}
|
||||
alloys = 60
|
||||
consumer_goods = 40
|
||||
}
|
||||
upkeep = {
|
||||
trigger = {
|
||||
owner = {
|
||||
NOT = {
|
||||
has_deficit = nanites
|
||||
}
|
||||
}
|
||||
}
|
||||
nanites = 25
|
||||
}
|
||||
}
|
||||
|
||||
custom_storm_ai_weight = { }
|
||||
}
|
||||
|
||||
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 = {
|
||||
trigger = {
|
||||
owner = {
|
||||
NOT = {
|
||||
has_deficit = minerals
|
||||
}
|
||||
}
|
||||
}
|
||||
minerals = 50
|
||||
}
|
||||
}
|
||||
|
||||
ai_resource_production = {
|
||||
rare_crystals = @b3_rare_upkeep
|
||||
volatile_motes = @b3_rare_upkeep
|
||||
exotic_gases = @b3_rare_upkeep
|
||||
trigger = {
|
||||
always = yes
|
||||
}
|
||||
}
|
||||
|
||||
custom_storm_ai_weight = { }
|
||||
}
|
||||
@@ -10,3 +10,4 @@ weapon_type_rg_secondary
|
||||
weapon_type_rg_torpedoe
|
||||
weapon_type_rg_main
|
||||
weapon_type_rg_armor
|
||||
weapon_type_rg_reactor
|
||||
@@ -73,8 +73,6 @@ utility_component_template = {
|
||||
ai_tags = { screen }
|
||||
ai_tag_weight = 0
|
||||
upgrades_to = "RG_COMBAT_COMPUTER_PICKET_BASIC"
|
||||
ai_tags = { screen }
|
||||
ai_tag_weight = 0
|
||||
|
||||
ai_weight = {
|
||||
weight = 1
|
||||
|
||||
@@ -7,7 +7,6 @@ utility_component_template = {
|
||||
component_set = "LARGE_GRAY_MIX_ARMOR"
|
||||
icon = "GFX_ship_part_gray_armor"
|
||||
icon_frame = 1
|
||||
power = 0
|
||||
power = -180
|
||||
modifier = {
|
||||
ship_armor_add = 3840
|
||||
@@ -58,7 +57,6 @@ utility_component_template = {
|
||||
component_set = "HUGE_GRAY_MIX_ARMOR"
|
||||
icon = "GFX_ship_part_gray_armor"
|
||||
icon_frame = 1
|
||||
power = 0
|
||||
power = -180
|
||||
modifier = {
|
||||
ship_armor_add = 7680
|
||||
@@ -119,6 +117,7 @@ weapon_component_template = {
|
||||
}
|
||||
tags = {
|
||||
weapon_type_rg_secondary
|
||||
weapon_type_energy
|
||||
}
|
||||
armor_damage = 1.2
|
||||
shield_penetration = 1
|
||||
@@ -134,9 +133,6 @@ weapon_component_template = {
|
||||
}
|
||||
}
|
||||
projectile_gfx = "gatebuilder_lance_weapon"
|
||||
tags = {
|
||||
weapon_type_energy
|
||||
}
|
||||
ai_weight = {
|
||||
weight = 0
|
||||
}
|
||||
@@ -169,6 +165,7 @@ weapon_component_template = {
|
||||
}
|
||||
tags = {
|
||||
weapon_type_rg_secondary
|
||||
weapon_type_energy
|
||||
}
|
||||
armor_damage = 1.2
|
||||
shield_penetration = 1
|
||||
@@ -183,9 +180,6 @@ weapon_component_template = {
|
||||
}
|
||||
}
|
||||
projectile_gfx = "gatebuilder_lance_weapon"
|
||||
tags = {
|
||||
weapon_type_energy
|
||||
}
|
||||
ai_weight = {
|
||||
weight = 0
|
||||
}
|
||||
@@ -218,6 +212,7 @@ weapon_component_template = {
|
||||
}
|
||||
tags = {
|
||||
weapon_type_rg_secondary
|
||||
weapon_type_energy
|
||||
}
|
||||
armor_damage = 1.2
|
||||
shield_penetration = 1
|
||||
@@ -232,9 +227,6 @@ weapon_component_template = {
|
||||
}
|
||||
}
|
||||
projectile_gfx = "gatebuilder_lance_weapon"
|
||||
tags = {
|
||||
weapon_type_energy
|
||||
}
|
||||
ai_weight = {
|
||||
weight = 0
|
||||
}
|
||||
@@ -272,6 +264,7 @@ weapon_component_template = {
|
||||
upgrades_to = "GRAY_BEAM_STATIC_X"
|
||||
tags = {
|
||||
weapon_type_rg_main
|
||||
weapon_type_energy
|
||||
}
|
||||
resources = {
|
||||
category = ship_components
|
||||
@@ -283,9 +276,6 @@ weapon_component_template = {
|
||||
alloys = 4
|
||||
}
|
||||
}
|
||||
tags = {
|
||||
weapon_type_energy
|
||||
}
|
||||
projectile_gfx = "gatebuilder_lance_weapon"
|
||||
ai_weight = {
|
||||
weight = 0
|
||||
@@ -323,6 +313,7 @@ weapon_component_template = {
|
||||
}
|
||||
tags = {
|
||||
weapon_type_rg_main
|
||||
weapon_type_energy
|
||||
}
|
||||
resources = {
|
||||
category = ship_components
|
||||
@@ -335,9 +326,6 @@ weapon_component_template = {
|
||||
alloys = 4
|
||||
}
|
||||
}
|
||||
tags = {
|
||||
weapon_type_energy
|
||||
}
|
||||
projectile_gfx = "gatebuilder_lance_weapon"
|
||||
ai_weight = {
|
||||
weight = 0
|
||||
@@ -492,6 +480,7 @@ weapon_component_template = {
|
||||
}
|
||||
tags = {
|
||||
weapon_type_rg_main
|
||||
weapon_type_energy
|
||||
}
|
||||
resources = {
|
||||
category = ship_components
|
||||
@@ -504,9 +493,6 @@ weapon_component_template = {
|
||||
alloys = 2
|
||||
}
|
||||
}
|
||||
tags = {
|
||||
weapon_type_energy
|
||||
}
|
||||
projectile_gfx = "gatebuilder_titan_weapon_ex"
|
||||
ai_weight = {
|
||||
weight = 0
|
||||
@@ -658,6 +644,7 @@ weapon_component_template = {
|
||||
}
|
||||
tags = {
|
||||
weapon_type_rg_secondary
|
||||
weapon_type_kinetic
|
||||
}
|
||||
armor_damage = 1.2
|
||||
shield_penetration = 1
|
||||
@@ -672,9 +659,6 @@ weapon_component_template = {
|
||||
}
|
||||
}
|
||||
projectile_gfx = "adv_kinetic_artillery"
|
||||
tags = {
|
||||
weapon_type_kinetic
|
||||
}
|
||||
ai_weight = {
|
||||
weight = 0
|
||||
}
|
||||
@@ -714,6 +698,7 @@ weapon_component_template = {
|
||||
}
|
||||
tags = {
|
||||
weapon_type_rg_secondary
|
||||
weapon_type_kinetic
|
||||
}
|
||||
armor_damage = 1.2
|
||||
shield_penetration = 1
|
||||
@@ -728,9 +713,6 @@ weapon_component_template = {
|
||||
}
|
||||
}
|
||||
projectile_gfx = "adv_kinetic_artillery"
|
||||
tags = {
|
||||
weapon_type_kinetic
|
||||
}
|
||||
ai_weight = {
|
||||
weight = 0
|
||||
}
|
||||
@@ -1765,7 +1747,6 @@ weapon_component_template = {
|
||||
icon = "GFX_ship_part_space_whale_weapon_1"
|
||||
icon_frame = 1
|
||||
use_ship_kill_target = no
|
||||
firing_arc = 15
|
||||
min_range = 30
|
||||
firing_arc = 25
|
||||
damage = {
|
||||
@@ -2038,43 +2019,43 @@ weapon_component_template = {
|
||||
tags = {
|
||||
weapon_type_rg_halo
|
||||
}
|
||||
# friendly_aura = {
|
||||
# name = "RG_ANTIBAKAHALO"
|
||||
# radius = @shipAuraRange
|
||||
# apply_on = ships
|
||||
# stack_info = {
|
||||
# #A ship can only be affected by one aura of a certain id. If multiple auras have the same ID the one with the highest priority will be applied.
|
||||
# id = friendly_BAKAHALO
|
||||
# priority = 233
|
||||
# }
|
||||
# modifier = {
|
||||
# ship_shield_mult = -0.1
|
||||
# ship_speed_mult = -0.1
|
||||
# ship_armor_mult = -0.1
|
||||
# ship_hull_mult = -0.1
|
||||
# ship_shield_hardening_add = 1
|
||||
# ship_armor_hardening_add = 1
|
||||
# ship_shield_penetration_mult = 1
|
||||
# ship_armor_penetration_mult = 1
|
||||
# ship_weapon_range_mult = -0.1
|
||||
# ship_tracking_add = -10
|
||||
# ship_engagement_range_mult = -0.1
|
||||
# ship_disengage_chance_mult = -0.1
|
||||
# ship_ftl_jumpdrive_range_mult = -0.1
|
||||
# ship_windup_mult = 0.1
|
||||
# ship_jumpdrive_cooldown_mult = 0.1
|
||||
# }
|
||||
# graphics = {
|
||||
# area_effect = {
|
||||
# entity = "circle_area_entity"
|
||||
# dynamic_scale = yes
|
||||
# }
|
||||
# ship_effect = {
|
||||
# entity = "ship_aura_positive_entity"
|
||||
# dynamic_scale = no
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
friendly_aura = {
|
||||
name = "RG_ANTIBAKAHALO"
|
||||
radius = @shipAuraRange
|
||||
apply_on = ships
|
||||
stack_info = {
|
||||
#A ship can only be affected by one aura of a certain id. If multiple auras have the same ID the one with the highest priority will be applied.
|
||||
id = friendly_BAKAHALO
|
||||
priority = 233
|
||||
}
|
||||
modifier = {
|
||||
ship_shield_mult = -0.1
|
||||
ship_speed_mult = -0.1
|
||||
ship_armor_mult = -0.1
|
||||
ship_hull_mult = -0.1
|
||||
ship_shield_hardening_add = 1
|
||||
ship_armor_hardening_add = 1
|
||||
ship_shield_penetration_mult = 1
|
||||
ship_armor_penetration_mult = 1
|
||||
ship_weapon_range_mult = -0.1
|
||||
ship_tracking_add = -10
|
||||
ship_engagement_range_mult = -0.1
|
||||
ship_disengage_chance_mult = -0.1
|
||||
ship_ftl_jumpdrive_range_mult = -0.1
|
||||
ship_windup_mult = 0.1
|
||||
ship_jumpdrive_cooldown_mult = 0.1
|
||||
}
|
||||
graphics = {
|
||||
area_effect = {
|
||||
entity = "circle_area_entity"
|
||||
dynamic_scale = yes
|
||||
}
|
||||
ship_effect = {
|
||||
entity = "ship_aura_positive_entity"
|
||||
dynamic_scale = no
|
||||
}
|
||||
}
|
||||
}
|
||||
hull_damage = 0
|
||||
shield_penetration = 0
|
||||
shield_damage = 0
|
||||
@@ -2124,51 +2105,51 @@ weapon_component_template = {
|
||||
tags = {
|
||||
weapon_type_rg_halo
|
||||
}
|
||||
# hostile_aura = {
|
||||
# name = "RG_BAKAHALO"
|
||||
# radius = @shipAuraRange
|
||||
# apply_on = ships
|
||||
# stack_info = {
|
||||
# id = hostile_BAKAHALO
|
||||
# priority = 233
|
||||
# }
|
||||
# modifier = {
|
||||
# ship_shield_mult = -0.1
|
||||
# ship_speed_mult = -0.1
|
||||
# ship_armor_mult = -0.1
|
||||
# ship_hull_mult = -0.1
|
||||
# ship_shield_hardening_add = -1
|
||||
# ship_armor_hardening_add = -1
|
||||
# ship_shield_penetration_mult = -1
|
||||
# ship_armor_penetration_mult = -1
|
||||
# ship_weapon_range_mult = -0.1
|
||||
# ship_tracking_add = -10
|
||||
# ship_engagement_range_mult = -0.1
|
||||
# ship_disengage_chance_mult = -0.1
|
||||
# ship_ftl_jumpdrive_range_mult = -0.1
|
||||
# ship_windup_mult = 1
|
||||
# ship_jumpdrive_cooldown_mult = 1
|
||||
# }
|
||||
# damage_per_day = {
|
||||
# accuracy = 0.5
|
||||
# damage = {
|
||||
# min = 96
|
||||
# max = 192
|
||||
# }
|
||||
# shield_penetration = 1
|
||||
# armor_penetration = 1
|
||||
# }
|
||||
# graphics = {
|
||||
# area_effect = {
|
||||
# entity = "circle_area_entity"
|
||||
# dynamic_scale = yes
|
||||
# }
|
||||
# ship_effect = {
|
||||
# entity = "ship_aura_negative_entity"
|
||||
# dynamic_scale = no
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
hostile_aura = {
|
||||
name = "RG_BAKAHALO"
|
||||
radius = @shipAuraRange
|
||||
apply_on = ships
|
||||
stack_info = {
|
||||
id = hostile_BAKAHALO
|
||||
priority = 233
|
||||
}
|
||||
modifier = {
|
||||
ship_shield_mult = -0.1
|
||||
ship_speed_mult = -0.1
|
||||
ship_armor_mult = -0.1
|
||||
ship_hull_mult = -0.1
|
||||
ship_shield_hardening_add = -1
|
||||
ship_armor_hardening_add = -1
|
||||
ship_shield_penetration_mult = -1
|
||||
ship_armor_penetration_mult = -1
|
||||
ship_weapon_range_mult = -0.1
|
||||
ship_tracking_add = -10
|
||||
ship_engagement_range_mult = -0.1
|
||||
ship_disengage_chance_mult = -0.1
|
||||
ship_ftl_jumpdrive_range_mult = -0.1
|
||||
ship_windup_mult = 1
|
||||
ship_jumpdrive_cooldown_mult = 1
|
||||
}
|
||||
damage_per_day = {
|
||||
accuracy = 0.5
|
||||
damage = {
|
||||
min = 96
|
||||
max = 192
|
||||
}
|
||||
shield_penetration = 1
|
||||
armor_penetration = 1
|
||||
}
|
||||
graphics = {
|
||||
area_effect = {
|
||||
entity = "circle_area_entity"
|
||||
dynamic_scale = yes
|
||||
}
|
||||
ship_effect = {
|
||||
entity = "ship_aura_negative_entity"
|
||||
dynamic_scale = no
|
||||
}
|
||||
}
|
||||
}
|
||||
hull_damage = 0
|
||||
shield_penetration = 0
|
||||
shield_damage = 0
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
|
||||
default = {
|
||||
ship_of_size_limits = {
|
||||
RG_graygoo_capitalship_ships_limit
|
||||
RG_gray_juggernaut_ships_limit
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,18 @@ RG_gray_juggernaut_ships_limit = {
|
||||
ship_types = {
|
||||
RG_gray_juggernaut
|
||||
}
|
||||
base = 2 # 1 * juggernaut's size_multiplier
|
||||
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_rg_nanotech_5
|
||||
}
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
NGameplay = {
|
||||
GOVERNMENT_CIVIC_POINTS_BASE = 3 # Base amount of civic points (to "pay" for government civic costs)
|
||||
}
|
||||
# NGameplay = {
|
||||
# GOVERNMENT_CIVIC_POINTS_BASE = 3 # Base amount of civic points (to "pay" for government civic costs)
|
||||
# }
|
||||
79
common/deposits/RG_deposits.txt
Normal file
79
common/deposits/RG_deposits.txt
Normal file
@@ -0,0 +1,79 @@
|
||||
|
||||
# Nanite Harvester Deposits
|
||||
d_nanite_ripper_deposit_1 = {
|
||||
resources = {
|
||||
category = orbital_mining_deposits
|
||||
produces = {
|
||||
nanites = 0.1
|
||||
}
|
||||
}
|
||||
station = shipclass_mining_station
|
||||
is_for_colonizable = no
|
||||
|
||||
potential = {
|
||||
can_have_mineral_deposits = yes
|
||||
}
|
||||
|
||||
drop_weight = {
|
||||
weight = 0
|
||||
}
|
||||
}
|
||||
|
||||
d_nanite_ripper_deposit_2 = {
|
||||
resources = {
|
||||
category = orbital_mining_deposits
|
||||
produces = {
|
||||
nanites = 1.6
|
||||
}
|
||||
}
|
||||
station = shipclass_mining_station
|
||||
is_for_colonizable = no
|
||||
|
||||
potential = {
|
||||
can_have_mineral_deposits = yes
|
||||
}
|
||||
|
||||
drop_weight = {
|
||||
weight = 0
|
||||
}
|
||||
}
|
||||
|
||||
# Nanite Harvester Deposits
|
||||
d_nanite_ripper_deposit_3 = {
|
||||
resources = {
|
||||
category = orbital_mining_deposits
|
||||
produces = {
|
||||
nanites = 5.8
|
||||
}
|
||||
}
|
||||
station = shipclass_mining_station
|
||||
is_for_colonizable = no
|
||||
|
||||
potential = {
|
||||
can_have_mineral_deposits = yes
|
||||
}
|
||||
|
||||
drop_weight = {
|
||||
weight = 0
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
d_nanite_ripper_deposit_4 = {
|
||||
resources = {
|
||||
category = orbital_mining_deposits
|
||||
produces = {
|
||||
nanites = 25.6
|
||||
}
|
||||
}
|
||||
station = shipclass_mining_station
|
||||
is_for_colonizable = no
|
||||
|
||||
potential = {
|
||||
can_have_mineral_deposits = yes
|
||||
}
|
||||
|
||||
drop_weight = {
|
||||
weight = 0
|
||||
}
|
||||
}
|
||||
@@ -23,8 +23,8 @@ district_rg_city = {
|
||||
|
||||
conversion_ratio = 0.5
|
||||
convert_to = {
|
||||
district_rw_nexus
|
||||
district_rw_hive
|
||||
district_rg_nexus
|
||||
district_rg_hive
|
||||
}
|
||||
|
||||
resources = {
|
||||
@@ -64,7 +64,8 @@ district_rg_city = {
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
job_culture_worker_add = 3
|
||||
job_clerk_add = 2
|
||||
job_culture_worker_add = 1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -78,7 +79,8 @@ district_rg_city = {
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
job_culture_worker_add = 6
|
||||
job_clerk_add = 4
|
||||
job_culture_worker_add = 2
|
||||
}
|
||||
}
|
||||
|
||||
@@ -156,8 +158,8 @@ district_rg_hive = {
|
||||
|
||||
conversion_ratio = 0.5
|
||||
convert_to = {
|
||||
district_rw_nexus
|
||||
district_rw_city
|
||||
district_rg_nexus
|
||||
district_rg_city
|
||||
}
|
||||
|
||||
resources = {
|
||||
@@ -239,8 +241,8 @@ district_rg_nexus = {
|
||||
|
||||
conversion_ratio = 0.5
|
||||
convert_to = {
|
||||
district_rw_hive
|
||||
district_rw_city
|
||||
district_rg_hive
|
||||
district_rg_city
|
||||
}
|
||||
|
||||
resources = {
|
||||
@@ -336,11 +338,8 @@ district_rg_generator = {
|
||||
cost = {
|
||||
minerals = @rw_cost
|
||||
}
|
||||
upkeep = {
|
||||
energy = 50
|
||||
}
|
||||
produces = {
|
||||
energy = 200
|
||||
energy = 50
|
||||
}
|
||||
}
|
||||
|
||||
@@ -373,10 +372,10 @@ district_rg_mining = {
|
||||
minerals = @rw_cost
|
||||
}
|
||||
upkeep = {
|
||||
energy = 50
|
||||
energy = 5
|
||||
}
|
||||
produces = {
|
||||
minerals = 200
|
||||
minerals = 50
|
||||
}
|
||||
}
|
||||
|
||||
@@ -409,10 +408,10 @@ district_rg_farming = {
|
||||
minerals = @rw_cost
|
||||
}
|
||||
upkeep = {
|
||||
energy = 50
|
||||
energy = 5
|
||||
}
|
||||
produces = {
|
||||
food = 200
|
||||
food = 50
|
||||
}
|
||||
}
|
||||
|
||||
@@ -468,9 +467,9 @@ district_rg_science = {
|
||||
owner = { is_regular_empire = yes }
|
||||
}
|
||||
modifier = {
|
||||
job_researcher_add = 10
|
||||
}
|
||||
job_researcher_add = 15
|
||||
}
|
||||
}4
|
||||
|
||||
triggered_planet_modifier = {
|
||||
potential = {
|
||||
@@ -478,7 +477,7 @@ district_rg_science = {
|
||||
owner = { is_hive_empire = yes }
|
||||
}
|
||||
modifier = {
|
||||
job_brain_drone_add = 10
|
||||
job_brain_drone_add = 15
|
||||
}
|
||||
}
|
||||
|
||||
@@ -488,7 +487,7 @@ district_rg_science = {
|
||||
owner = { is_machine_empire = yes }
|
||||
}
|
||||
modifier = {
|
||||
job_calculator_add = 10
|
||||
job_calculator_add = 15
|
||||
}
|
||||
}
|
||||
|
||||
@@ -587,12 +586,12 @@ district_rg_industrial = {
|
||||
|
||||
inline_script = {
|
||||
script = jobs/industrial_districts_factory_add
|
||||
AMOUNT = 5
|
||||
AMOUNT = 10
|
||||
}
|
||||
|
||||
inline_script = {
|
||||
script = jobs/industrial_districts_foundry_add
|
||||
AMOUNT = 5
|
||||
AMOUNT = 10
|
||||
}
|
||||
|
||||
triggered_planet_modifier = {
|
||||
@@ -644,10 +643,11 @@ district_rg_nanites = {
|
||||
minerals = @rw_cost
|
||||
}
|
||||
upkeep = {
|
||||
energy = 50
|
||||
energy = 5
|
||||
minerals = 40
|
||||
}
|
||||
produces = {
|
||||
nanites = 30
|
||||
nanites = 40
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
12
common/game_concepts/RG_tradition_concepts.txt
Normal file
12
common/game_concepts/RG_tradition_concepts.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
concept_tradition_rg_nanotech = {
|
||||
icon = "gfx/interface/icons/traditions/tree_icons/tradition_icon_nanotech.dds"
|
||||
tooltip_override = "tradition_category:tradition_rg_nanotech"
|
||||
}
|
||||
|
||||
concept_rg_gray = {
|
||||
alias = { }
|
||||
}
|
||||
|
||||
concept_rg_scion = {
|
||||
alias = { }
|
||||
}
|
||||
@@ -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"
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
option = {
|
||||
trigger = { has_civic = civic_AG_gray_master }
|
||||
name = AG_dooropen_master.option
|
||||
if = {
|
||||
limit = {
|
||||
any_country = {
|
||||
has_civic = civic_AG_gray
|
||||
}
|
||||
}
|
||||
#do nothing
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
any_country = {
|
||||
has_civic = civic_AG_gray
|
||||
}
|
||||
}
|
||||
any_country = {
|
||||
has_civic = origin_rg_gray
|
||||
}
|
||||
has_global_flag = has_rg_mod
|
||||
}
|
||||
force_remove_civic = civic_AG_gray_master
|
||||
}
|
||||
else = {
|
||||
country_event = { id = graygoo.499 }
|
||||
}
|
||||
}
|
||||
|
||||
152
common/inline_scripts/events/rg_graygoo/rg_graygoo.4.txt
Normal file
152
common/inline_scripts/events/rg_graygoo/rg_graygoo.4.txt
Normal file
@@ -0,0 +1,152 @@
|
||||
immediate = {
|
||||
set_country_flag = gray_diplomacy_engaged
|
||||
}
|
||||
after = {
|
||||
hidden_effect = {
|
||||
remove_country_flag = gray_diplomacy_engaged
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 购买灰风母舰
|
||||
name = rg_event.4.a
|
||||
trigger = {
|
||||
NOT = {
|
||||
RG_gray_is_reforming_trigger = yes
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
NOR = {
|
||||
has_country_flag = rg_gray_level_1
|
||||
}
|
||||
resource_stockpile_compare = {
|
||||
resource = energy
|
||||
value >= 40000
|
||||
}
|
||||
resource_stockpile_compare = {
|
||||
resource = alloys
|
||||
value >= 40000
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_country_flag = gray_begging
|
||||
}
|
||||
remove_country_flag = gray_begging
|
||||
}
|
||||
else = {
|
||||
add_resource = {
|
||||
energy = -40000
|
||||
alloys = -40000
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
rg_create_gray_warship_1 = yes
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 购买工程船
|
||||
name = rg_event.4.b
|
||||
trigger = {
|
||||
NOT = {
|
||||
RG_gray_is_reforming_trigger = yes
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
resource_stockpile_compare = {
|
||||
resource = energy
|
||||
value >= 2000
|
||||
}
|
||||
resource_stockpile_compare = {
|
||||
resource = alloys
|
||||
value >= 2000
|
||||
}
|
||||
}
|
||||
add_resource = {
|
||||
energy = -2000
|
||||
alloys = -2000
|
||||
}
|
||||
hidden_effect = {
|
||||
rg_create_gray_constship_1 = yes
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 购买殖民船
|
||||
name = rg_event.4.g
|
||||
trigger = {
|
||||
NOT = {
|
||||
RG_gray_is_reforming_trigger = yes
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
resource_stockpile_compare = {
|
||||
resource = food
|
||||
value >= 2000
|
||||
}
|
||||
resource_stockpile_compare = {
|
||||
resource = energy
|
||||
value >= 2000
|
||||
}
|
||||
}
|
||||
add_resource = {
|
||||
food = -2000
|
||||
energy = -2000
|
||||
}
|
||||
hidden_effect = {
|
||||
rg_create_gray_colony_1 = yes
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 购买巨像
|
||||
name = rg_event.4.h
|
||||
trigger = {
|
||||
NOT = {
|
||||
RG_gray_is_reforming_trigger = yes
|
||||
}
|
||||
}
|
||||
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
|
||||
trigger = {
|
||||
NOT = {
|
||||
RG_gray_is_reforming_trigger = yes
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
has_country_flag = gray_alreadybegged
|
||||
}
|
||||
country_event = {
|
||||
id = rg_grayleader.6
|
||||
}
|
||||
}
|
||||
else = {
|
||||
country_event = {
|
||||
id = rg_grayleader.5
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = graygoo.500.d
|
||||
tag = hire_leader
|
||||
default_hide_option = yes
|
||||
}
|
||||
25
common/inline_scripts/events/rg_graygoo/rg_graygoo.499.txt
Normal file
25
common/inline_scripts/events/rg_graygoo/rg_graygoo.499.txt
Normal file
@@ -0,0 +1,25 @@
|
||||
immediate = {
|
||||
rg_timeline_attract_field_init = yes
|
||||
if = {
|
||||
# 非正常触发补事件
|
||||
limit = {
|
||||
NOT = {
|
||||
exists = event_target:rg_gray_country
|
||||
}
|
||||
}
|
||||
rg_gray_country_init = yes #创建国家
|
||||
}
|
||||
rg_gray_country_after_init = yes
|
||||
set_country_flag = machine_age_nanites_studied
|
||||
create_message = {
|
||||
type = MESSAGE_RECRUITED_LEADER
|
||||
localization = "rg_event.2.desc"
|
||||
days = @toast_message_days
|
||||
target = event_target:rg_gray_country_leader
|
||||
variable = {
|
||||
type = name
|
||||
localization = LEADER
|
||||
scope = event_target:rg_gray_country_leader
|
||||
}
|
||||
}
|
||||
}
|
||||
32
common/inline_scripts/events/rg_graygoo/rg_graygoo.5.txt
Normal file
32
common/inline_scripts/events/rg_graygoo/rg_graygoo.5.txt
Normal file
@@ -0,0 +1,32 @@
|
||||
immediate = {
|
||||
set_country_flag = gray_diplomacy_engaged
|
||||
}
|
||||
after = {
|
||||
hidden_effect = {
|
||||
remove_country_flag = gray_diplomacy_engaged
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 没钱了,救救
|
||||
name = rg_event.5.a
|
||||
hidden_effect = {
|
||||
set_country_flag = gray_begging
|
||||
set_timed_country_flag = {
|
||||
flag = gray_alreadybegged
|
||||
days = 3600
|
||||
}
|
||||
tooltip = {
|
||||
add_resource = {
|
||||
energy = 400
|
||||
alloys = 200
|
||||
consumer_goods = 200
|
||||
mult = owner.rg_gray_level
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = graygoo.500.d
|
||||
tag = hire_leader
|
||||
default_hide_option = yes
|
||||
}
|
||||
171
common/inline_scripts/events/rg_graygoo/rg_graygoo.500.txt
Normal file
171
common/inline_scripts/events/rg_graygoo/rg_graygoo.500.txt
Normal file
@@ -0,0 +1,171 @@
|
||||
immediate = {
|
||||
set_country_flag = gray_diplomacy_engaged
|
||||
}
|
||||
after = {
|
||||
hidden_effect = {
|
||||
remove_country_flag = gray_diplomacy_engaged
|
||||
#初始化衣柜
|
||||
reset_gray_cloth = yes
|
||||
}
|
||||
}
|
||||
trigger = {
|
||||
fromfrom = {
|
||||
OR = {
|
||||
is_country_type = gray
|
||||
is_same_value = ROOT
|
||||
}
|
||||
}
|
||||
is_same_value = event_target:gray_owner
|
||||
NOR = {
|
||||
RG_gray_scientist_active_trigger = yes
|
||||
RG_gray_official_active_trigger = yes #旧版flag
|
||||
RG_gray_warship_active_trigger = yes
|
||||
RG_gray_army_active_trigger = yes
|
||||
RG_gray_not_avaliable_trigger = yes
|
||||
has_country_flag = ban_commu_with_gray
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# Governor
|
||||
name = graygoo.500.a
|
||||
response_text = graygoo.500.a.response
|
||||
trigger = {
|
||||
NOR = {
|
||||
RG_gray_official_active_trigger = yes #旧版flag
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
custom_tooltip = {
|
||||
fail_text = gray_become_ruler
|
||||
NOT = {
|
||||
ruler = {
|
||||
has_leader_flag = "gray_leader"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
rg_create_gray_governor = yes
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# Warship
|
||||
name = graygoo.500.b
|
||||
response_text = graygoo.500.b.response
|
||||
trigger = {
|
||||
NOT = {
|
||||
RG_gray_warship_active_trigger = yes
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
custom_tooltip = {
|
||||
fail_text = gray_become_ruler
|
||||
NOT = {
|
||||
ruler = {
|
||||
has_leader_flag = "gray_leader"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
rg_create_gray_warship = yes
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# Army
|
||||
name = graygoo.500.c
|
||||
response_text = graygoo.500.c.response
|
||||
trigger = {
|
||||
NOT = {
|
||||
RG_gray_army_active_trigger = yes
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
custom_tooltip = {
|
||||
fail_text = gray_become_ruler
|
||||
NOT = {
|
||||
ruler = {
|
||||
has_leader_flag = "gray_leader"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
rg_create_gray_army = yes
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# const
|
||||
name = rg_const
|
||||
response_text = rg_const.500.response
|
||||
trigger = {
|
||||
NOT = {
|
||||
has_country_flag = gray_const_active
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
custom_tooltip = {
|
||||
fail_text = gray_become_ruler
|
||||
NOT = {
|
||||
ruler = {
|
||||
has_leader_flag = "gray_leader"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
rg_create_gray_const = yes
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.f
|
||||
response_text = RG_graygoo.502.f.response
|
||||
trigger = {
|
||||
NOT = {
|
||||
RG_gray_harbitat_active_trigger = yes
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
RG_gray_harbitat_active_trigger = yes
|
||||
}
|
||||
rg_clear_harbitat = yes
|
||||
}
|
||||
else = {
|
||||
rg_juggernaut_habitat_init = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.g
|
||||
response_text = RG_graygoo.502.g.response
|
||||
trigger = {
|
||||
RG_gray_harbitat_active_trigger = yes
|
||||
}
|
||||
allow = {
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
rg_clear_harbitat = yes
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 衣柜
|
||||
name = rg_wardrobe
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = rg_grayleader.7
|
||||
}
|
||||
}
|
||||
}
|
||||
inline_script = "events/rg_wsg_marry_gray_option_500_scripts"
|
||||
option = {
|
||||
name = graygoo.500.d
|
||||
default_hide_option = yes
|
||||
}
|
||||
146
common/inline_scripts/events/rg_graygoo/rg_graygoo.501.txt
Normal file
146
common/inline_scripts/events/rg_graygoo/rg_graygoo.501.txt
Normal file
@@ -0,0 +1,146 @@
|
||||
trigger = {
|
||||
fromfrom = {
|
||||
OR = {
|
||||
is_country_type = gray
|
||||
is_same_value = ROOT
|
||||
}
|
||||
}
|
||||
is_same_value = event_target:gray_owner
|
||||
RG_gray_official_active_trigger = yes
|
||||
NOR = {
|
||||
RG_gray_not_avaliable_trigger = yes
|
||||
}
|
||||
exists = event_target:gray_governor
|
||||
}
|
||||
immediate = {
|
||||
set_country_flag = gray_diplomacy_engaged
|
||||
if = {
|
||||
limit = {
|
||||
any_owned_planet = {
|
||||
exists = leader
|
||||
leader = {
|
||||
is_same_value = event_target:gray_official
|
||||
}
|
||||
}
|
||||
}
|
||||
random_owned_planet = {
|
||||
limit = {
|
||||
exists = leader
|
||||
leader = {
|
||||
is_same_value = event_target:gray_official
|
||||
}
|
||||
}
|
||||
save_event_target_as = gray_official_planet
|
||||
}
|
||||
}
|
||||
else = {
|
||||
capital_scope = {
|
||||
save_event_target_as = gray_official_planet
|
||||
}
|
||||
}
|
||||
}
|
||||
after = {
|
||||
hidden_effect = {
|
||||
remove_country_flag = gray_diplomacy_engaged
|
||||
reset_gray_cloth = yes
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# Warship
|
||||
name = graygoo.500.b
|
||||
response_text = graygoo.501.b.response
|
||||
allow = {
|
||||
hidden_trigger = {
|
||||
exists = event_target:gray_governor
|
||||
}
|
||||
# To prevent exploit
|
||||
}
|
||||
hidden_effect = {
|
||||
rg_create_gray_warship = yes
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5011
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# Army
|
||||
name = graygoo.500.c
|
||||
response_text = graygoo.501.c.response
|
||||
allow = {
|
||||
hidden_trigger = {
|
||||
exists = event_target:gray_governor
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
rg_create_gray_army = yes
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5012
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# const
|
||||
name = rg_const
|
||||
response_text = rg_const.501.response
|
||||
allow = {
|
||||
hidden_trigger = {
|
||||
exists = event_target:gray_governor
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
rg_create_gray_const = yes
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5013
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.f
|
||||
response_text = RG_graygoo.502.f.response
|
||||
trigger = {
|
||||
NOT = {
|
||||
RG_gray_harbitat_active_trigger = yes
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
rg_juggernaut_habitat_init = yes
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5026
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.g
|
||||
response_text = RG_graygoo.502.g.response
|
||||
trigger = {
|
||||
RG_gray_harbitat_active_trigger = yes
|
||||
}
|
||||
allow = {
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5028
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 衣柜
|
||||
name = rg_wardrobe
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = rg_grayleader.7
|
||||
}
|
||||
}
|
||||
}
|
||||
inline_script = "events/rg_wsg_marry_gray_option_scripts"
|
||||
option = {
|
||||
name = graygoo.500.d
|
||||
tag = hire_leader
|
||||
default_hide_option = yes
|
||||
}
|
||||
337
common/inline_scripts/events/rg_graygoo/rg_graygoo.502.txt
Normal file
337
common/inline_scripts/events/rg_graygoo/rg_graygoo.502.txt
Normal file
@@ -0,0 +1,337 @@
|
||||
trigger = {
|
||||
fromfrom = {
|
||||
OR = {
|
||||
is_country_type = gray
|
||||
is_same_value = ROOT
|
||||
}
|
||||
}
|
||||
is_same_value = event_target:gray_owner
|
||||
has_country_flag = gray_warship_active
|
||||
NOR = {
|
||||
RG_gray_not_avaliable_trigger = yes
|
||||
}
|
||||
exists = event_target:gray_warship
|
||||
any_owned_fleet = {
|
||||
is_same_value = event_target:gray_warship
|
||||
}
|
||||
event_target:gray_warship = {
|
||||
num_ships > 0
|
||||
}
|
||||
}
|
||||
immediate = {
|
||||
set_country_flag = gray_diplomacy_engaged
|
||||
capital_scope = {
|
||||
solar_system = {
|
||||
starbase = {
|
||||
save_global_event_target_as = gray_owner_capital_starbase
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
after = {
|
||||
hidden_effect = {
|
||||
remove_country_flag = gray_diplomacy_engaged
|
||||
reset_gray_cloth = yes
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# Governor
|
||||
name = graygoo.500.a
|
||||
response_text = graygoo.502.a.response
|
||||
allow = {
|
||||
hidden_trigger = {
|
||||
# To prevent exploit
|
||||
event_target:gray_warship = {
|
||||
num_ships > 0
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = graygoo.500.allow.a
|
||||
event_target:gray_warship = {
|
||||
is_in_combat = no
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = graygoo.500.allow.b
|
||||
event_target:gray_warship = {
|
||||
NOT = {
|
||||
has_hp_percentage < 0.97
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
rg_create_gray_governor = yes
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5021
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# Army
|
||||
name = graygoo.500.c
|
||||
response_text = graygoo.502.c.response
|
||||
allow = {
|
||||
hidden_trigger = {
|
||||
event_target:gray_warship = {
|
||||
num_ships > 0
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = graygoo.500.allow.a
|
||||
event_target:gray_warship = {
|
||||
is_in_combat = no
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = graygoo.500.allow.b
|
||||
event_target:gray_warship = {
|
||||
NOT = {
|
||||
has_hp_percentage < 0.97
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
rg_create_gray_army = yes
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5022
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# Juggernaut
|
||||
name = RG_graygoo.500.d
|
||||
response_text = RG_graygoo.502.d.response
|
||||
trigger = {
|
||||
has_country_flag = rg_juggernaut_fired
|
||||
NOT = {
|
||||
has_country_flag = gray_warship_is_juggernaut
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
hidden_trigger = {
|
||||
event_target:gray_warship = {
|
||||
num_ships > 0
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = graygoo.500.allow.a
|
||||
event_target:gray_warship = {
|
||||
is_in_combat = no
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = graygoo.500.allow.b
|
||||
event_target:gray_warship = {
|
||||
NOT = {
|
||||
has_hp_percentage < 0.97
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
set_country_flag = gray_warship_is_juggernaut
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5023
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# Warship
|
||||
name = RG_graygoo.500.e
|
||||
response_text = RG_graygoo.502.e.response
|
||||
trigger = {
|
||||
has_country_flag = rg_juggernaut_fired
|
||||
has_country_flag = gray_warship_is_juggernaut
|
||||
}
|
||||
allow = {
|
||||
hidden_trigger = {
|
||||
event_target:gray_warship = {
|
||||
num_ships > 0
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = graygoo.500.allow.a
|
||||
event_target:gray_warship = {
|
||||
is_in_combat = no
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = graygoo.500.allow.b
|
||||
event_target:gray_warship = {
|
||||
NOT = {
|
||||
has_hp_percentage < 0.97
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
remove_country_flag = gray_warship_is_juggernaut
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5024
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# const
|
||||
name = rg_const
|
||||
response_text = rg_const.502.response
|
||||
allow = {
|
||||
hidden_trigger = {
|
||||
event_target:gray_warship = {
|
||||
num_ships > 0
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = graygoo.500.allow.a
|
||||
event_target:gray_warship = {
|
||||
is_in_combat = no
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = graygoo.500.allow.b
|
||||
event_target:gray_warship = {
|
||||
NOT = {
|
||||
has_hp_percentage < 0.97
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
rg_create_gray_const = yes
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5025
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.f
|
||||
response_text = RG_graygoo.502.f.response
|
||||
trigger = {
|
||||
NOT = {
|
||||
RG_gray_harbitat_active_trigger = yes
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
RG_gray_harbitat_active_trigger = yes
|
||||
}
|
||||
rg_clear_harbitat = yes
|
||||
}
|
||||
else = {
|
||||
rg_juggernaut_habitat_init = yes
|
||||
}
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5026
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.g
|
||||
response_text = RG_graygoo.502.g.response
|
||||
trigger = {
|
||||
RG_gray_harbitat_active_trigger = yes
|
||||
}
|
||||
allow = {
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5028
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
#升级-2
|
||||
name = rg_levelup_2
|
||||
trigger = {
|
||||
RG_gray_mod1_trigger = yes
|
||||
}
|
||||
allow = {
|
||||
RG_gray_mod1_allow_trigger = yes
|
||||
}
|
||||
RG_gray_mod1_effect = yes
|
||||
}
|
||||
option = {
|
||||
#升级-3
|
||||
name = rg_levelup_3
|
||||
trigger = {
|
||||
RG_gray_mod2_trigger = yes
|
||||
}
|
||||
allow = {
|
||||
RG_gray_mod2_allow_trigger = yes
|
||||
}
|
||||
RG_gray_mod2_effect = yes
|
||||
}
|
||||
option = {
|
||||
#升级-4
|
||||
name = rg_event.4.d
|
||||
trigger = {
|
||||
RG_gray_mod3_trigger = yes
|
||||
}
|
||||
allow = {
|
||||
RG_gray_mod3_allow_trigger = yes
|
||||
}
|
||||
RG_gray_mod3_effect = yes
|
||||
}
|
||||
option = {
|
||||
# 开启隐形
|
||||
name = rg_event.4.e
|
||||
response_text = rg_cloak.a.response
|
||||
trigger = {
|
||||
any_owned_fleet = {
|
||||
AND = {
|
||||
is_ship_size = RG_gray_juggernaut
|
||||
is_cloaked = no
|
||||
}
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
every_owned_fleet = {
|
||||
limit = {
|
||||
any_owned_ship = {
|
||||
is_ship_size = RG_gray_juggernaut
|
||||
}
|
||||
}
|
||||
set_cloaking_active = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 关闭隐形
|
||||
name = rg_event.4.f
|
||||
response_text = rg_cloak_off.a.response
|
||||
trigger = {
|
||||
any_owned_fleet = {
|
||||
AND = {
|
||||
is_ship_size = RG_gray_juggernaut
|
||||
is_cloaked = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
every_owned_fleet = {
|
||||
limit = {
|
||||
any_owned_ship = {
|
||||
is_ship_size = RG_gray_juggernaut
|
||||
}
|
||||
}
|
||||
set_cloaking_active = no
|
||||
}
|
||||
}
|
||||
}
|
||||
inline_script = "events/rg_wsg_marry_gray_option_scripts"
|
||||
option = {
|
||||
name = graygoo.500.d
|
||||
tag = hire_leader
|
||||
default_hide_option = yes
|
||||
}
|
||||
296
common/inline_scripts/events/rg_graygoo/rg_graygoo.503.txt
Normal file
296
common/inline_scripts/events/rg_graygoo/rg_graygoo.503.txt
Normal file
@@ -0,0 +1,296 @@
|
||||
trigger = {
|
||||
fromfrom = {
|
||||
OR = {
|
||||
is_country_type = gray
|
||||
is_same_value = ROOT
|
||||
}
|
||||
}
|
||||
RG_gray_army_active_trigger = yes
|
||||
NOR = {
|
||||
RG_gray_not_avaliable_trigger = yes
|
||||
}
|
||||
is_same_value = event_target:gray_owner
|
||||
any_owned_army = {
|
||||
army_type = gray_army
|
||||
OR = {
|
||||
exists = planet
|
||||
AND = {
|
||||
exists = fleet
|
||||
fleet = {
|
||||
num_ships > 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
immediate = {
|
||||
set_country_flag = gray_diplomacy_engaged
|
||||
}
|
||||
after = {
|
||||
hidden_effect = {
|
||||
remove_country_flag = gray_diplomacy_engaged
|
||||
reset_gray_cloth = yes
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# Governor
|
||||
name = graygoo.500.a
|
||||
response_text = graygoo.503.a.response
|
||||
allow = {
|
||||
hidden_trigger = {
|
||||
# To prevent exploit
|
||||
any_owned_army = {
|
||||
army_type = gray_army
|
||||
OR = {
|
||||
exists = planet
|
||||
AND = {
|
||||
exists = fleet
|
||||
fleet = {
|
||||
num_ships > 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = graygoo.500.allow.a
|
||||
OR = {
|
||||
any_owned_army = {
|
||||
army_type = gray_army
|
||||
if = {
|
||||
limit = {
|
||||
exists = planet
|
||||
}
|
||||
planet = {
|
||||
has_ground_combat = no
|
||||
}
|
||||
}
|
||||
}
|
||||
any_owned_army = {
|
||||
army_type = gray_army
|
||||
if = {
|
||||
limit = {
|
||||
exists = fleet
|
||||
}
|
||||
fleet = {
|
||||
is_in_combat = no
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
rg_create_gray_governor = yes
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5031
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# Warship
|
||||
name = graygoo.500.b
|
||||
response_text = graygoo.503.b.response
|
||||
allow = {
|
||||
hidden_trigger = {
|
||||
# To prevent exploit
|
||||
any_owned_army = {
|
||||
army_type = gray_army
|
||||
OR = {
|
||||
exists = planet
|
||||
AND = {
|
||||
exists = fleet
|
||||
fleet = {
|
||||
num_ships > 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = graygoo.500.allow.a
|
||||
OR = {
|
||||
any_owned_army = {
|
||||
army_type = gray_army
|
||||
if = {
|
||||
limit = {
|
||||
exists = planet
|
||||
}
|
||||
planet = {
|
||||
has_ground_combat = no
|
||||
}
|
||||
}
|
||||
}
|
||||
any_owned_army = {
|
||||
army_type = gray_army
|
||||
if = {
|
||||
limit = {
|
||||
exists = fleet
|
||||
}
|
||||
fleet = {
|
||||
is_in_combat = no
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
rg_create_gray_warship = yes
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5032
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# const
|
||||
name = rg_const
|
||||
response_text = rg_const.503.response
|
||||
allow = {
|
||||
hidden_trigger = {
|
||||
# To prevent exploit
|
||||
any_owned_army = {
|
||||
army_type = gray_army
|
||||
OR = {
|
||||
exists = planet
|
||||
AND = {
|
||||
exists = fleet
|
||||
fleet = {
|
||||
num_ships > 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = graygoo.500.allow.a
|
||||
OR = {
|
||||
any_owned_army = {
|
||||
army_type = gray_army
|
||||
if = {
|
||||
limit = {
|
||||
exists = planet
|
||||
}
|
||||
planet = {
|
||||
has_ground_combat = no
|
||||
}
|
||||
}
|
||||
}
|
||||
any_owned_army = {
|
||||
army_type = gray_army
|
||||
if = {
|
||||
limit = {
|
||||
exists = fleet
|
||||
}
|
||||
fleet = {
|
||||
is_in_combat = no
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
rg_create_gray_const = yes
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5033
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.f
|
||||
response_text = RG_graygoo.502.f.response
|
||||
trigger = {
|
||||
NOT = {
|
||||
RG_gray_harbitat_active_trigger = yes
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
RG_gray_harbitat_active_trigger = yes
|
||||
}
|
||||
rg_clear_harbitat = yes
|
||||
}
|
||||
else = {
|
||||
rg_juggernaut_habitat_init = yes
|
||||
}
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5026
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.g
|
||||
response_text = RG_graygoo.502.g.response
|
||||
trigger = {
|
||||
has_country_flag = rg_juggernaut_fired
|
||||
RG_gray_harbitat_active_trigger = yes
|
||||
}
|
||||
allow = {
|
||||
has_country_flag = rg_juggernaut_fired # To prevent exploit
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5028
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 开启隐形
|
||||
name = rg_event.4.e
|
||||
response_text = rg_cloak.a.response
|
||||
trigger = {
|
||||
any_owned_fleet = {
|
||||
AND = {
|
||||
is_ship_size = RG_armed_transport_ship
|
||||
is_cloaked = no
|
||||
}
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
every_owned_fleet = {
|
||||
limit = {
|
||||
any_owned_ship = {
|
||||
is_ship_size = RG_armed_transport_ship
|
||||
}
|
||||
}
|
||||
set_cloaking_active = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 关闭隐形
|
||||
name = rg_event.4.f
|
||||
response_text = rg_cloak_off.a.response
|
||||
trigger = {
|
||||
any_owned_fleet = {
|
||||
AND = {
|
||||
is_ship_size = RG_armed_transport_ship
|
||||
is_cloaked = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
every_owned_fleet = {
|
||||
limit = {
|
||||
any_owned_ship = {
|
||||
is_ship_size = RG_armed_transport_ship
|
||||
}
|
||||
}
|
||||
set_cloaking_active = no
|
||||
}
|
||||
}
|
||||
}
|
||||
inline_script = "events/rg_wsg_marry_gray_option_scripts"
|
||||
option = {
|
||||
name = graygoo.500.d
|
||||
tag = hire_leader
|
||||
default_hide_option = yes
|
||||
}
|
||||
36
common/inline_scripts/events/rg_graygoo/rg_graygoo.504.txt
Normal file
36
common/inline_scripts/events/rg_graygoo/rg_graygoo.504.txt
Normal file
@@ -0,0 +1,36 @@
|
||||
trigger = {
|
||||
from = {
|
||||
OR = {
|
||||
is_country_type = gray
|
||||
is_same_value = ROOT
|
||||
}
|
||||
}
|
||||
is_same_value = event_target:gray_owner
|
||||
RG_gray_is_reforming_trigger = yes
|
||||
}
|
||||
option = {
|
||||
name = OK
|
||||
}
|
||||
inline_script = "events/rg_wsg_marry_gray_option_504_scripts"
|
||||
# option = {
|
||||
# name = rg_graygoo.504.a
|
||||
# allow = {
|
||||
# RG_gray_is_reforming_trigger = yes
|
||||
# resource_stockpile_compare = {
|
||||
# resource = nanites
|
||||
# value >= 1000
|
||||
# }
|
||||
# resource_stockpile_compare = {
|
||||
# resource = alloys
|
||||
# value >= 50000
|
||||
# }
|
||||
# }
|
||||
# add_resource = {
|
||||
# nanites = -1000
|
||||
# alloys = -50000
|
||||
# }
|
||||
# remove_modifier = "gray_scattered"
|
||||
# country_event = {
|
||||
# id = graygoo.512
|
||||
# }
|
||||
# }
|
||||
211
common/inline_scripts/events/rg_graygoo/rg_graygoo.505.txt
Normal file
211
common/inline_scripts/events/rg_graygoo/rg_graygoo.505.txt
Normal file
@@ -0,0 +1,211 @@
|
||||
trigger = {
|
||||
fromfrom = {
|
||||
OR = {
|
||||
is_country_type = gray
|
||||
is_same_value = ROOT
|
||||
}
|
||||
}
|
||||
is_same_value = event_target:gray_owner
|
||||
RG_gray_scientist_active_trigger = yes
|
||||
NOR = {
|
||||
RG_gray_not_avaliable_trigger = yes
|
||||
}
|
||||
exists = event_target:global_gray_constship
|
||||
any_owned_fleet = {
|
||||
is_same_value = event_target:global_gray_constship
|
||||
}
|
||||
event_target:global_gray_constship = {
|
||||
num_ships > 0
|
||||
}
|
||||
}
|
||||
immediate = {
|
||||
set_country_flag = gray_diplomacy_engaged
|
||||
}
|
||||
after = {
|
||||
hidden_effect = {
|
||||
remove_country_flag = gray_diplomacy_engaged
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# Governor
|
||||
name = graygoo.500.a
|
||||
response_text = graygoo.505.a.response
|
||||
allow = {
|
||||
hidden_trigger = {
|
||||
# To prevent exploit
|
||||
event_target:global_gray_constship = {
|
||||
num_ships > 0
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = graygoo.500.allow.a
|
||||
event_target:global_gray_constship = {
|
||||
is_in_combat = no
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = graygoo.500.allow.b
|
||||
event_target:global_gray_constship = {
|
||||
NOT = {
|
||||
has_hp_percentage < 0.97
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = gray_become_ruler
|
||||
NOT = {
|
||||
ruler = {
|
||||
has_leader_flag = "gray_leader"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
rg_create_gray_governor = yes
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5051
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# Warship
|
||||
name = graygoo.500.b
|
||||
response_text = graygoo.505.b.response
|
||||
allow = {
|
||||
hidden_trigger = {
|
||||
# To prevent exploit
|
||||
event_target:global_gray_constship = {
|
||||
num_ships > 0
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = graygoo.500.allow.a
|
||||
event_target:global_gray_constship = {
|
||||
is_in_combat = no
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = graygoo.500.allow.b
|
||||
event_target:global_gray_constship = {
|
||||
NOT = {
|
||||
has_hp_percentage < 0.97
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
rg_create_gray_warship = yes
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5052
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# Army
|
||||
name = graygoo.500.c
|
||||
response_text = graygoo.505.c.response
|
||||
allow = {
|
||||
hidden_trigger = {
|
||||
# To prevent exploit
|
||||
event_target:global_gray_constship = {
|
||||
num_ships > 0
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = graygoo.500.allow.a
|
||||
event_target:global_gray_constship = {
|
||||
is_in_combat = no
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = graygoo.500.allow.b
|
||||
event_target:global_gray_constship = {
|
||||
NOT = {
|
||||
has_hp_percentage < 0.97
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
rg_create_gray_army = yes
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5053
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.f
|
||||
response_text = RG_graygoo.502.f.response
|
||||
trigger = {
|
||||
NOT = {
|
||||
RG_gray_harbitat_active_trigger = yes
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
RG_gray_harbitat_active_trigger = yes
|
||||
}
|
||||
rg_clear_harbitat = yes
|
||||
}
|
||||
else = {
|
||||
rg_juggernaut_habitat_init = yes
|
||||
}
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5026
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 空间站
|
||||
name = RG_graygoo.500.g
|
||||
response_text = RG_graygoo.502.g.response
|
||||
trigger = {
|
||||
RG_gray_harbitat_active_trigger = yes
|
||||
}
|
||||
allow = {
|
||||
}
|
||||
custom_tooltip = rg_need_manual_toggle
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.5028
|
||||
}
|
||||
}
|
||||
}
|
||||
inline_script = "events/rg_wsg_marry_gray_option_scripts"
|
||||
# option = { # 开启建造中继器
|
||||
# name = rg_event.5.e
|
||||
# trigger = {
|
||||
# has_country_flag = rg_can_const_hyper_relay
|
||||
# }
|
||||
#
|
||||
# hidden_effect = {
|
||||
# remove_country_flag = rg_can_const_hyper_relay
|
||||
# }
|
||||
#
|
||||
# }
|
||||
#
|
||||
# option = { # 关闭建造中继器
|
||||
# name = rg_event.5.f
|
||||
# trigger = {
|
||||
# NOT = {
|
||||
# has_country_flag = rg_can_const_hyper_relay
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# hidden_effect = {
|
||||
# hidden_effect = {
|
||||
# set_country_flag = rg_can_const_hyper_relay
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# }
|
||||
option = {
|
||||
name = graygoo.500.d
|
||||
tag = hire_leader
|
||||
default_hide_option = yes
|
||||
}
|
||||
13
common/inline_scripts/events/rg_graygoo/rg_graygoo.6.txt
Normal file
13
common/inline_scripts/events/rg_graygoo/rg_graygoo.6.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
immediate = {
|
||||
set_country_flag = gray_diplomacy_engaged
|
||||
}
|
||||
after = {
|
||||
hidden_effect = {
|
||||
remove_country_flag = gray_diplomacy_engaged
|
||||
}
|
||||
}
|
||||
option = {
|
||||
# 诶嘿
|
||||
name = rg_event.6.a
|
||||
default_hide_option = yes
|
||||
}
|
||||
71
common/inline_scripts/events/rg_test_gray_skill_varible.txt
Normal file
71
common/inline_scripts/events/rg_test_gray_skill_varible.txt
Normal file
@@ -0,0 +1,71 @@
|
||||
# event:graygoo.499
|
||||
# 初始化小灰领袖等级
|
||||
set_variable = {
|
||||
which = rg_gray_level
|
||||
value = 1
|
||||
}
|
||||
|
||||
#Country event_target:gray_owner
|
||||
#存储当前领袖等级
|
||||
rg_save_gray_leader_level_effect = {
|
||||
every_owned_leader = {
|
||||
if = {
|
||||
###等级检测
|
||||
limit = {
|
||||
has_leader_flag = rg_gray_leader
|
||||
}
|
||||
#由于目前是leader域,所以不能直接导出等级
|
||||
#导出等级到暂存
|
||||
export_trigger_value_to_variable = {
|
||||
trigger = has_skill
|
||||
variable = rg_gray_level_temp
|
||||
}
|
||||
#把leader域中的变量存到country域中
|
||||
#导入变量
|
||||
owner = {
|
||||
set_variable = {
|
||||
which = rg_gray_level
|
||||
value = prev.rg_gray_level_temp
|
||||
}
|
||||
}
|
||||
#清理暂存区
|
||||
clear_variable = rg_gray_level_temp
|
||||
}
|
||||
}
|
||||
}
|
||||
random_owned_leader = {
|
||||
#是小灰领袖
|
||||
limit = {
|
||||
has_leader_flag = rg_gray_leader
|
||||
}
|
||||
export_trigger_value_to_variable = {
|
||||
trigger = has_skill
|
||||
variable = rg_gray_level_temp
|
||||
}
|
||||
owner = {
|
||||
set_variable = {
|
||||
which = rg_gray_level
|
||||
value = prev.rg_gray_level_temp
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#country scope
|
||||
#用的时候就
|
||||
check_variable = {
|
||||
which = rg_gray_level
|
||||
value >= 10
|
||||
}
|
||||
|
||||
#Country event_target:gray_owner
|
||||
#等级导入,把存储的领袖等级赋予到领袖身上
|
||||
rg_set_varible_as_leader_level_effect = {
|
||||
random_owned_leader = {
|
||||
limit = {
|
||||
has_leader_flag = rg_gray_leader
|
||||
}
|
||||
set_skill = owner.rg_gray_level
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
option = {
|
||||
name = marry_gray
|
||||
trigger = {
|
||||
RG_OR_has_wsg_mod_trigger = yes
|
||||
check_variable = {
|
||||
which = wg_gray_affection
|
||||
value > @wg_gray_affection_to_lv4
|
||||
}
|
||||
NOT = {
|
||||
has_country_flag = married_gray
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
OR = {
|
||||
AND = {
|
||||
has_wg_special_authority = no
|
||||
resource_stockpile_compare = {
|
||||
resource = sr_living_metal
|
||||
value >= 100
|
||||
}
|
||||
resource_stockpile_compare = {
|
||||
resource = rare_crystals
|
||||
value >= 1000
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
check_variable = {
|
||||
which = wsg_rings
|
||||
value >= 1
|
||||
}
|
||||
fail_text = not_enough_engagement_rings
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = gray_become_ruler
|
||||
NOT = {
|
||||
ruler = {
|
||||
has_leader_flag = "gray_leader"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_wg_special_authority = yes
|
||||
}
|
||||
subtract_variable = {
|
||||
which = wsg_rings
|
||||
value = 1
|
||||
}
|
||||
}
|
||||
else = {
|
||||
add_resource = {
|
||||
sr_living_metal = -100
|
||||
rare_crystals = -1000
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = wg_affection.30000
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
option = {
|
||||
name = marry_gray
|
||||
trigger = {
|
||||
RG_OR_has_wsg_mod_trigger = yes
|
||||
check_variable = {
|
||||
which = wg_gray_affection
|
||||
value > @wg_gray_affection_to_lv4
|
||||
}
|
||||
NOT = {
|
||||
has_country_flag = married_gray
|
||||
}
|
||||
}
|
||||
allow = {
|
||||
OR = {
|
||||
has_wg_special_authority = no
|
||||
custom_tooltip = {
|
||||
check_variable = {
|
||||
which = wsg_rings
|
||||
value >= 1
|
||||
}
|
||||
fail_text = not_enough_engagement_rings
|
||||
}
|
||||
}
|
||||
}
|
||||
subtract_variable = {
|
||||
which = wsg_rings
|
||||
value = 1
|
||||
}
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = wg_affection.30000
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
option = {
|
||||
name = marry_gray
|
||||
trigger = {
|
||||
RG_OR_has_wsg_mod_trigger = yes
|
||||
check_variable = { which = wg_gray_affection value > @wg_gray_affection_to_lv4 }
|
||||
NOT = { has_country_flag = married_gray }
|
||||
}
|
||||
allow = {
|
||||
OR = {
|
||||
AND = {
|
||||
has_wg_special_authority = no
|
||||
resource_stockpile_compare = {
|
||||
resource = sr_living_metal
|
||||
value >= 100
|
||||
}
|
||||
resource_stockpile_compare = {
|
||||
resource = rare_crystals
|
||||
value >= 1000
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
check_variable = { which = wsg_rings value >= 1 }
|
||||
fail_text = not_enough_engagement_rings
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = { has_wg_special_authority = yes }
|
||||
subtract_variable = { which = wsg_rings value = 1 }
|
||||
} else = {
|
||||
add_resource = {
|
||||
sr_living_metal = -100
|
||||
rare_crystals = -1000
|
||||
}
|
||||
}
|
||||
hidden_effect = { country_event = { id = wg_affection.30000 }}
|
||||
}
|
||||
145
common/inline_scripts/pop_categories/trait_production.txt
Normal file
145
common/inline_scripts/pop_categories/trait_production.txt
Normal file
@@ -0,0 +1,145 @@
|
||||
produces = {
|
||||
trigger = {
|
||||
exists = planet
|
||||
planet = {
|
||||
owner = {
|
||||
RG_tradition5_or_gray_owner_trigger = yes
|
||||
}
|
||||
rg_is_pc_nano = yes
|
||||
}
|
||||
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
|
||||
}
|
||||
185
common/megastructures/RG_habitats.txt
Normal file
185
common/megastructures/RG_habitats.txt
Normal file
@@ -0,0 +1,185 @@
|
||||
# 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 = @central_orbital_build_time
|
||||
|
||||
resources = {
|
||||
category = megastructures_habitat
|
||||
cost = {
|
||||
nanites = 7500
|
||||
influence = 200
|
||||
}
|
||||
}
|
||||
|
||||
prerequisites = {
|
||||
}
|
||||
|
||||
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 } }
|
||||
}
|
||||
}
|
||||
654
common/megastructures/RG_nano_ripper.txt
Normal file
654
common/megastructures/RG_nano_ripper.txt
Normal file
@@ -0,0 +1,654 @@
|
||||
# orbital Arc Furnace First Stage
|
||||
rg_nano_ripper_1 = {
|
||||
entity = "arc_crucible_stage_1_entity"
|
||||
construction_entity = "arc_crucible_stage_1_entity"
|
||||
construction_scale = 1.02 #to avoid z-fighting of consrucion entity with the base entity
|
||||
portrait = "GFX_megastructure_arc_furnace_background"
|
||||
place_entity_on_planet_plane = yes
|
||||
entity_offset = { x = 0 y = 0 }
|
||||
rotate_to_center = no
|
||||
scale_offset = yes
|
||||
#show_in_outliner = no
|
||||
use_planet_resource = yes
|
||||
scales_with_planet = yes
|
||||
build_time = 360 # 1 year
|
||||
resources = {
|
||||
category = megastructures
|
||||
cost = {
|
||||
nanites = 5000
|
||||
unity = 500
|
||||
}
|
||||
|
||||
upkeep = {
|
||||
energy = 20
|
||||
}
|
||||
}
|
||||
|
||||
construction_blocks_and_blocked_by = self_type
|
||||
build_system_tooltip = arc_furnace_tooltip
|
||||
|
||||
dismantle_cost = {
|
||||
category = megastructures
|
||||
cost = {
|
||||
energy = 500
|
||||
}
|
||||
}
|
||||
|
||||
dismantle_time = 360
|
||||
|
||||
dismantle_potential = {
|
||||
always = yes
|
||||
}
|
||||
|
||||
dismantle_possible = {
|
||||
can_dismantle_megastructure = {
|
||||
TECH = tech_orbital_arc_furnace
|
||||
}
|
||||
}
|
||||
|
||||
on_dismantle_complete = {
|
||||
every_system_planet = {
|
||||
limit = {
|
||||
has_modifier = rg_nano_ripper_1_mod
|
||||
}
|
||||
rg_dismantle_nano_ripper_effect = yes
|
||||
}
|
||||
random_system_planet = {
|
||||
limit = {
|
||||
has_planet_flag = rg_has_nano_ripper
|
||||
}
|
||||
set_planet_entity = { entity = pc_gray_goo }
|
||||
remove_planet_flag = has_megastructure
|
||||
remove_planet_flag = rg_has_nano_ripper
|
||||
}
|
||||
from = {
|
||||
add_resource = {
|
||||
nanites = 5000
|
||||
mult = modifier:megastructure_dismantle_refund_mult
|
||||
}
|
||||
# if = {
|
||||
# limit = {
|
||||
# check_variable = {
|
||||
# which = arc_furnace_counter
|
||||
# value >= 1
|
||||
# }
|
||||
# }
|
||||
# change_variable = {
|
||||
# which = arc_furnace_counter
|
||||
# value = -1
|
||||
# }
|
||||
# }
|
||||
}
|
||||
}
|
||||
|
||||
prerequisites = {
|
||||
}
|
||||
|
||||
potential = {
|
||||
has_tradition = tr_rg_nanotech_2
|
||||
}
|
||||
|
||||
possible = {
|
||||
hidden_trigger = {
|
||||
exists = starbase
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = "requires_inside_border"
|
||||
is_inside_border = from
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = "requires_surveyed_system"
|
||||
NOT = {
|
||||
any_system_planet = {
|
||||
is_surveyed = {
|
||||
who = prev.from
|
||||
status = no
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = "requires_no_dyson_sphere"
|
||||
system_has_dyson_sphere = no
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = "requires_no_dyson_sphere_construction"
|
||||
if = {
|
||||
limit = {
|
||||
system_has_dyson_sphere = no
|
||||
}
|
||||
NOT = {
|
||||
solar_system = {
|
||||
has_star_flag = dyson_sphere_construction
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = "requires_no_arc_furnace"
|
||||
system_has_arc_furnace = no
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = "rg_requires_no_nano_ripper"
|
||||
rg_system_has_nano_ripper = no
|
||||
}
|
||||
# custom_tooltip = {
|
||||
# fail_text = "requires_less_than_x_arc_furnaces"
|
||||
# from = {
|
||||
# check_variable = {
|
||||
# which = arc_furnace_counter
|
||||
# value <= value:arc_furnace_limit
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
}
|
||||
|
||||
placement_rules = {
|
||||
planet_possible = {
|
||||
custom_tooltip = {
|
||||
fail_text = "requires_no_anomaly"
|
||||
NOT = { has_anomaly = yes }
|
||||
}
|
||||
rg_is_pc_nano = yes
|
||||
custom_tooltip = {
|
||||
fail_text = "requires_no_existing_megastructure"
|
||||
NOR = {
|
||||
has_planet_flag = megastructure
|
||||
has_planet_flag = has_megastructure
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
from = { is_ai = yes }
|
||||
}
|
||||
solar_system = {
|
||||
count_system_planet = {
|
||||
count >= 8
|
||||
limit = {
|
||||
NOT = { has_deposit_for = shipclass_research_station }
|
||||
is_star = no
|
||||
is_astral_scar = no
|
||||
colonizable_planet = no
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
country_modifier = {
|
||||
custom_tooltip = rg_nano_ripper_1_mod_tooltip
|
||||
}
|
||||
|
||||
# root = system
|
||||
# from = country
|
||||
ai_weight = {
|
||||
factor = 5
|
||||
|
||||
modifier = {
|
||||
factor = 0.1
|
||||
starbase = { NOT = { has_starbase_size >= starbase_starfortress } }
|
||||
}
|
||||
|
||||
modifier = {
|
||||
factor = 0.1
|
||||
any_neighbor_system = {
|
||||
exists = owner
|
||||
NOT = {
|
||||
owner = { is_same_value = from }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
on_build_start = {
|
||||
set_star_flag = arc_furnace_construction
|
||||
}
|
||||
on_build_cancel = {
|
||||
remove_star_flag = arc_furnace_construction
|
||||
}
|
||||
on_build_complete = {
|
||||
remove_star_flag = arc_furnace_construction
|
||||
fromfrom.planet = {
|
||||
set_planet_flag = has_megastructure
|
||||
set_planet_flag = rg_has_nano_ripper
|
||||
if = {
|
||||
limit = { has_orbital_station = yes }
|
||||
orbital_station = {
|
||||
dismantle = yes
|
||||
}
|
||||
}
|
||||
set_planet_entity = { entity = invisible_turret_entity }
|
||||
}
|
||||
from = {
|
||||
country_event = {
|
||||
id = rg_planet.1000
|
||||
}
|
||||
# country_event = {
|
||||
# id = machine_age.3405 #2nd Arc Furnace built
|
||||
# }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# orbital Arc Furnace Second Stage
|
||||
rg_nano_ripper_2 = {
|
||||
entity = "arc_crucible_stage_2_entity"
|
||||
construction_entity = "arc_crucible_stage_2_entity"
|
||||
construction_scale = 1.02 #to avoid z-fighting of consrucion entity with the base entity
|
||||
portrait = "GFX_megastructure_arc_furnace_background"
|
||||
entity_offset = { x = 0 y = 0 }
|
||||
rotate_to_center = no
|
||||
scale_offset = yes
|
||||
#show_in_outliner = no
|
||||
use_planet_resource = yes
|
||||
scales_with_planet = yes
|
||||
build_time = 1080 # 3 years
|
||||
resources = {
|
||||
category = megastructures
|
||||
cost = {
|
||||
nanites = 10000
|
||||
unity = 1000
|
||||
}
|
||||
|
||||
upkeep = {
|
||||
energy = 40
|
||||
}
|
||||
}
|
||||
|
||||
construction_blocks_and_blocked_by = none
|
||||
|
||||
dismantle_cost = {
|
||||
category = megastructures
|
||||
cost = {
|
||||
energy = 1000
|
||||
}
|
||||
}
|
||||
|
||||
dismantle_time = 360
|
||||
|
||||
dismantle_potential = {
|
||||
always = yes
|
||||
}
|
||||
|
||||
dismantle_possible = {
|
||||
can_dismantle_megastructure = {
|
||||
TECH = tech_orbital_arc_furnace
|
||||
}
|
||||
}
|
||||
|
||||
on_dismantle_complete = {
|
||||
every_system_planet = {
|
||||
limit = {
|
||||
has_modifier = rg_nano_ripper_2_mod
|
||||
}
|
||||
rg_dismantle_nano_ripper_effect = yes
|
||||
}
|
||||
random_system_planet = {
|
||||
limit = {
|
||||
has_planet_flag = rg_has_nano_ripper
|
||||
}
|
||||
set_planet_entity = { entity = pc_gray_goo }
|
||||
remove_planet_flag = has_megastructure
|
||||
remove_planet_flag = rg_has_nano_ripper
|
||||
}
|
||||
from = {
|
||||
add_resource = {
|
||||
nanites = 10000
|
||||
mult = modifier:megastructure_dismantle_refund_mult
|
||||
}
|
||||
# if = {
|
||||
# limit = {
|
||||
# check_variable = {
|
||||
# which = arc_furnace_counter
|
||||
# value >= 1
|
||||
# }
|
||||
# }
|
||||
# change_variable = {
|
||||
# which = arc_furnace_counter
|
||||
# value = -1
|
||||
# }
|
||||
# }
|
||||
}
|
||||
}
|
||||
|
||||
upgrade_from = {
|
||||
rg_nano_ripper_1
|
||||
}
|
||||
|
||||
prerequisites = {
|
||||
}
|
||||
|
||||
potential = {
|
||||
has_tradition = tr_rg_nanotech_2
|
||||
}
|
||||
|
||||
|
||||
country_modifier = {
|
||||
custom_tooltip = rg_nano_ripper_2_mod_tooltip
|
||||
}
|
||||
|
||||
on_build_start = {
|
||||
set_star_flag = arc_furnace_construction
|
||||
}
|
||||
on_build_cancel = {
|
||||
remove_star_flag = arc_furnace_construction
|
||||
}
|
||||
on_build_complete = {
|
||||
remove_star_flag = arc_furnace_construction
|
||||
from = { country_event = { id = rg_planet.1005 } }
|
||||
}
|
||||
}
|
||||
|
||||
# Orbital arc furnace Third Stage
|
||||
rg_nano_ripper_3 = {
|
||||
entity = "arc_crucible_stage_3_entity"
|
||||
construction_entity = "arc_crucible_stage_3_entity"
|
||||
construction_scale = 1.02 #to avoid z-fighting of consrucion entity with the base entity
|
||||
portrait = "GFX_megastructure_arc_furnace_background"
|
||||
entity_offset = { x = 0 y = 0 }
|
||||
rotate_to_center = no
|
||||
scale_offset = yes
|
||||
place_entity_on_planet_plane = yes
|
||||
#show_in_outliner = no
|
||||
use_planet_resource = yes
|
||||
scales_with_planet = yes
|
||||
build_time = 1080 # 3 years
|
||||
resources = {
|
||||
category = megastructures
|
||||
cost = {
|
||||
nanites = 15000
|
||||
unity = 2000
|
||||
}
|
||||
|
||||
upkeep = {
|
||||
energy = 80
|
||||
}
|
||||
}
|
||||
|
||||
construction_blocks_and_blocked_by = none
|
||||
|
||||
dismantle_cost = {
|
||||
category = megastructures
|
||||
cost = {
|
||||
energy = 1500
|
||||
}
|
||||
}
|
||||
|
||||
dismantle_time = 360
|
||||
|
||||
dismantle_potential = {
|
||||
always = yes
|
||||
}
|
||||
|
||||
dismantle_possible = {
|
||||
can_dismantle_megastructure = {
|
||||
TECH = tech_orbital_arc_furnace
|
||||
}
|
||||
}
|
||||
|
||||
on_dismantle_complete = {
|
||||
every_system_planet = {
|
||||
limit = {
|
||||
has_modifier = rg_nano_ripper_3_mod
|
||||
}
|
||||
rg_dismantle_nano_ripper_effect = yes
|
||||
}
|
||||
random_system_planet = {
|
||||
limit = {
|
||||
has_planet_flag = rg_has_nano_ripper
|
||||
}
|
||||
set_planet_entity = { entity = pc_gray_goo }
|
||||
remove_planet_flag = has_megastructure
|
||||
remove_planet_flag = rg_has_nano_ripper
|
||||
}
|
||||
from = {
|
||||
add_resource = {
|
||||
nanites = 15000
|
||||
mult = modifier:megastructure_dismantle_refund_mult
|
||||
}
|
||||
# if = {
|
||||
# limit = {
|
||||
# check_variable = {
|
||||
# which = arc_furnace_counter
|
||||
# value >= 1
|
||||
# }
|
||||
# }
|
||||
# change_variable = {
|
||||
# which = arc_furnace_counter
|
||||
# value = -1
|
||||
# }
|
||||
# }
|
||||
}
|
||||
}
|
||||
|
||||
upgrade_from = {
|
||||
rg_nano_ripper_2
|
||||
}
|
||||
|
||||
prerequisites = {
|
||||
}
|
||||
|
||||
potential = {
|
||||
has_tradition = tr_rg_nanotech_2
|
||||
}
|
||||
|
||||
|
||||
country_modifier = {
|
||||
custom_tooltip = rg_nano_ripper_3_mod_tooltip
|
||||
}
|
||||
|
||||
on_build_start = {
|
||||
set_star_flag = arc_furnace_construction
|
||||
}
|
||||
on_build_cancel = {
|
||||
remove_star_flag = arc_furnace_construction
|
||||
}
|
||||
on_build_complete = {
|
||||
remove_star_flag = arc_furnace_construction
|
||||
from = { country_event = { id = rg_planet.1010 } }
|
||||
}
|
||||
}
|
||||
|
||||
# Orbital arc furnace Final Stage
|
||||
rg_nano_ripper_4 = {
|
||||
entity = "arc_crucible_stage_4_entity"
|
||||
construction_entity = "arc_crucible_stage_4_entity"
|
||||
construction_scale = 1.02 #to avoid z-fighting of consrucion entity with the base entity
|
||||
portrait = "GFX_megastructure_arc_furnace_background"
|
||||
entity_offset = { x = 0 y = 0 }
|
||||
rotate_to_center = no
|
||||
scale_offset = yes
|
||||
place_entity_on_planet_plane = yes
|
||||
show_in_outliner = no
|
||||
use_planet_resource = yes
|
||||
scales_with_planet = yes
|
||||
build_time = 1080 # 3 years
|
||||
resources = {
|
||||
category = megastructures
|
||||
cost = {
|
||||
nanites = 20000
|
||||
unity = 4000
|
||||
}
|
||||
|
||||
upkeep = {
|
||||
energy = 100
|
||||
}
|
||||
}
|
||||
|
||||
construction_blocks_and_blocked_by = none
|
||||
|
||||
dismantle_cost = {
|
||||
category = megastructures
|
||||
cost = {
|
||||
energy = 2000
|
||||
}
|
||||
}
|
||||
|
||||
dismantle_time = 360
|
||||
|
||||
dismantle_potential = {
|
||||
always = yes
|
||||
}
|
||||
|
||||
dismantle_possible = {
|
||||
can_dismantle_megastructure = {
|
||||
TECH = tech_orbital_arc_furnace
|
||||
}
|
||||
}
|
||||
|
||||
on_dismantle_complete = {
|
||||
every_system_planet = {
|
||||
limit = {
|
||||
has_modifier = rg_nano_ripper_4_mod
|
||||
}
|
||||
rg_dismantle_nano_ripper_effect = yes
|
||||
}
|
||||
random_system_planet = {
|
||||
limit = {
|
||||
has_planet_flag = rg_has_nano_ripper
|
||||
}
|
||||
set_planet_entity = { entity = pc_gray_goo }
|
||||
remove_planet_flag = has_megastructure
|
||||
remove_planet_flag = rg_has_nano_ripper
|
||||
}
|
||||
from = {
|
||||
add_resource = {
|
||||
nanites = 20000
|
||||
mult = modifier:megastructure_dismantle_refund_mult
|
||||
}
|
||||
# if = {
|
||||
# limit = {
|
||||
# check_variable = {
|
||||
# which = arc_furnace_counter
|
||||
# value >= 1
|
||||
# }
|
||||
# }
|
||||
# change_variable = {
|
||||
# which = arc_furnace_counter
|
||||
# value = -1
|
||||
# }
|
||||
# }
|
||||
}
|
||||
}
|
||||
|
||||
upgrade_from = {
|
||||
rg_nano_ripper_3
|
||||
}
|
||||
|
||||
prerequisites = {
|
||||
}
|
||||
|
||||
potential = {
|
||||
has_tradition = tr_rg_nanotech_2
|
||||
}
|
||||
|
||||
|
||||
country_modifier = {
|
||||
custom_tooltip = rg_nano_ripper_4_mod_tooltip
|
||||
}
|
||||
|
||||
on_build_start = {
|
||||
set_star_flag = arc_furnace_construction
|
||||
}
|
||||
on_build_cancel = {
|
||||
remove_star_flag = arc_furnace_construction
|
||||
}
|
||||
on_build_complete = {
|
||||
remove_star_flag = arc_furnace_construction
|
||||
from = { country_event = { id = rg_planet.1015 } }
|
||||
# if = {
|
||||
# limit = {
|
||||
# any_system_megastructure = {
|
||||
# is_megastructure_type = dyson_swarm_3
|
||||
# }
|
||||
# }
|
||||
# from = {
|
||||
# set_country_flag = burning_brightly_achievement
|
||||
# }
|
||||
# }
|
||||
}
|
||||
}
|
||||
# Orbital Arc Furnace Destroyed
|
||||
rg_nano_ripper_destroyed = {
|
||||
entity = "arc_crucible_destroyed_entity"
|
||||
portrait = "GFX_megastructure_construction_background"
|
||||
entity_offset = { x = 0 y = 0 }
|
||||
rotate_to_center = no
|
||||
scale_offset = yes
|
||||
place_entity_on_planet_plane = yes
|
||||
show_in_outliner = no
|
||||
scales_with_planet = yes
|
||||
|
||||
potential = {
|
||||
always = no
|
||||
}
|
||||
}
|
||||
|
||||
# Orbital arc furnace Restored Stage
|
||||
rg_nano_ripper_restored = {
|
||||
entity = "arc_crucible_stage_4_entity"
|
||||
construction_entity = "arc_crucible_stage_4_entity"
|
||||
construction_scale = 1.02 #to avoid z-fighting of consrucion entity with the base entity
|
||||
portrait = "GFX_megastructure_arc_furnace_background"
|
||||
entity_offset = { x = 0 y = 0 }
|
||||
rotate_to_center = no
|
||||
scale_offset = yes
|
||||
place_entity_on_planet_plane = yes
|
||||
show_in_outliner = no
|
||||
use_planet_resource = yes
|
||||
scales_with_planet = yes
|
||||
build_time = 720 # 2 years
|
||||
resources = {
|
||||
category = megastructures
|
||||
cost = {
|
||||
nanites = 30000
|
||||
unity = 2000
|
||||
}
|
||||
|
||||
upkeep = {
|
||||
energy = 100
|
||||
}
|
||||
}
|
||||
|
||||
construction_blocks_and_blocked_by = none
|
||||
|
||||
upgrade_from = {
|
||||
rg_nano_ripper_destroyed
|
||||
}
|
||||
|
||||
prerequisites = {
|
||||
}
|
||||
|
||||
potential = {
|
||||
has_tradition = tr_rg_nanotech_2
|
||||
}
|
||||
|
||||
country_modifier = {
|
||||
custom_tooltip = rg_nano_ripper_4_mod_tooltip
|
||||
}
|
||||
|
||||
on_build_start = {
|
||||
set_star_flag = arc_furnace_construction
|
||||
}
|
||||
on_build_cancel = {
|
||||
remove_star_flag = arc_furnace_construction
|
||||
}
|
||||
on_build_complete = {
|
||||
remove_star_flag = arc_furnace_construction
|
||||
from = { country_event = { id = rg_planet.1016 } }
|
||||
fromfrom.planet = {
|
||||
set_planet_entity = { entity = invisible_turret_entity }
|
||||
}
|
||||
# if = {
|
||||
# limit = {
|
||||
# any_system_megastructure = {
|
||||
# is_megastructure_type = dyson_swarm_3
|
||||
# }
|
||||
# }
|
||||
# from = {
|
||||
# set_country_flag = burning_brightly_achievement
|
||||
# }
|
||||
# }
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
@buildtime = 720
|
||||
|
||||
RG_orbital_ring = {
|
||||
entity = ""
|
||||
construction_entity = "orbital_ring_construction_entity"
|
||||
@@ -10,7 +12,7 @@ RG_orbital_ring = {
|
||||
scales_with_planet = yes
|
||||
show_galactic_map_icon = no
|
||||
show_in_outliner = no
|
||||
build_time = 720
|
||||
build_time = 0
|
||||
resources = {
|
||||
category = megastructures
|
||||
cost = {
|
||||
@@ -20,7 +22,14 @@ RG_orbital_ring = {
|
||||
}
|
||||
construction_blocks_and_blocked_by = none
|
||||
potential = {
|
||||
has_technology = tech_gray_noway
|
||||
always = no
|
||||
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
|
||||
@@ -104,41 +113,7 @@ RG_orbital_ring = {
|
||||
# root = system
|
||||
# from = country
|
||||
ai_weight = {
|
||||
factor = 5
|
||||
modifier = {
|
||||
factor = 3
|
||||
solar_system = {
|
||||
exists = owner
|
||||
is_same_value = owner.capital_scope.solar_system
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
factor = 2
|
||||
any_neighbor_system = {
|
||||
exists = owner
|
||||
is_same_value = owner.capital_scope.solar_system
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
factor = 0.1
|
||||
any_neighbor_system = {
|
||||
exists = owner
|
||||
owner = {
|
||||
NOT = {
|
||||
is_same_value = from
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
factor = 3
|
||||
any_system_colony = {
|
||||
num_pops >= 50
|
||||
NOT = {
|
||||
exists = orbital_defence
|
||||
}
|
||||
}
|
||||
}
|
||||
factor = 0
|
||||
}
|
||||
on_build_start = {
|
||||
}
|
||||
@@ -156,14 +131,7 @@ RG_orbital_ring = {
|
||||
dismantle = yes
|
||||
}
|
||||
}
|
||||
create_starbase = {
|
||||
size = orbital_ring_tier_1
|
||||
owner = FROM
|
||||
#module = <starbase_module>
|
||||
#building = <starbase_building>
|
||||
effect = {
|
||||
}
|
||||
}
|
||||
spawn_rg_oribital_ring_effect = yes
|
||||
}
|
||||
remove_megastructure = fromfrom
|
||||
from = {
|
||||
@@ -174,7 +142,7 @@ RG_orbital_ring = {
|
||||
}
|
||||
}
|
||||
|
||||
orbital_ring_ruined = {
|
||||
RG_orbital_ring_ruined = {
|
||||
entity = "orbital_ring_01_destroyed_entity"
|
||||
construction_entity = "orbital_ring_construction_entity"
|
||||
portrait = "GFX_megastructure_construction_background"
|
||||
@@ -190,7 +158,7 @@ orbital_ring_ruined = {
|
||||
is_ruined_orbital_ring = yes
|
||||
}
|
||||
|
||||
orbital_ring_restored = {
|
||||
RG_orbital_ring_restored = {
|
||||
entity = ""
|
||||
construction_entity = "orbital_ring_construction_entity"
|
||||
portrait = "GFX_megastructure_construction_background"
|
||||
@@ -211,11 +179,11 @@ orbital_ring_restored = {
|
||||
}
|
||||
}
|
||||
upgrade_from = {
|
||||
orbital_ring_ruined
|
||||
RG_orbital_ring_ruined
|
||||
}
|
||||
possible = {
|
||||
from = {
|
||||
has_technology = tech_orbital_ring_tier_1
|
||||
has_tradition = tr_rg_nanotech_2
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = "requires_outpost"
|
||||
@@ -269,23 +237,7 @@ 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 = {
|
||||
size = RG_orbital_ring_tier_1
|
||||
owner = FROM
|
||||
#module = <starbase_module>
|
||||
#building = <starbase_building>
|
||||
effect = {
|
||||
}
|
||||
}
|
||||
From = {
|
||||
remove_ship_design = last_created_design
|
||||
}
|
||||
spawn_rg_oribital_ring_effect = yes
|
||||
}
|
||||
every_system_ambient_object = {
|
||||
limit = {
|
||||
|
||||
@@ -71,6 +71,13 @@ on_mid_game_pulse_country = {
|
||||
}
|
||||
}
|
||||
|
||||
# No scope, like on_game_start
|
||||
on_five_year_pulse = {
|
||||
events = {
|
||||
rg_planet.5053 #Nanite ascension - orbital deposit handler
|
||||
}
|
||||
}
|
||||
|
||||
# Triggers country_event for the attacker upon victory
|
||||
# (Before controller is switched)
|
||||
# This = country, leader attacker
|
||||
@@ -98,6 +105,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
|
||||
@@ -163,6 +180,16 @@ on_space_battle_won = {
|
||||
}
|
||||
}
|
||||
|
||||
# This = owner of fleet 1 (winner)
|
||||
# From = owner of fleet 2 (loser)
|
||||
# FromFrom = fleet 1
|
||||
# FromFromFrom = fleet 2
|
||||
# Fires when a combat is finished from a lack of enemies
|
||||
on_space_battle_over = {
|
||||
events = {
|
||||
}
|
||||
}
|
||||
|
||||
# This = owner of fleet 1 (loser)
|
||||
# From = owner of fleet 2 (winner)
|
||||
# FromFrom = fleet 1
|
||||
@@ -252,3 +279,13 @@ on_district_demolished = {
|
||||
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
|
||||
# }
|
||||
@@ -15,7 +15,7 @@ pc_rg_grayhabitat = {
|
||||
extra_orbit_size = 0
|
||||
extra_planet_count = 0
|
||||
chance_of_ring = 0.0
|
||||
planet_size = 40
|
||||
planet_size = 30
|
||||
moon_size = 1
|
||||
colonizable = yes
|
||||
district_set = rg_station
|
||||
|
||||
@@ -7,7 +7,7 @@ rg_tempest_invocator = {
|
||||
category = relics
|
||||
# Activation cost
|
||||
cost = {
|
||||
energy = 0
|
||||
nanites = 5000
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,7 +25,6 @@ rg_tempest_invocator = {
|
||||
set_country_flag = "started_placing_storm"
|
||||
|
||||
start_storm_area_placing = {
|
||||
sacrifice_leader_with_ui = no
|
||||
cosmic_storm = graytempest_storm
|
||||
immediate = yes
|
||||
|
||||
|
||||
@@ -1,14 +1,25 @@
|
||||
rg_count_maid = {
|
||||
base = 0
|
||||
complex_trigger_modifier = {
|
||||
trigger = num_traits
|
||||
trigger_scope = pop
|
||||
parameters = {
|
||||
limit = {
|
||||
has_trait = rg_machine_maid_trait
|
||||
}
|
||||
}
|
||||
mode = add
|
||||
}
|
||||
# max = 20
|
||||
# rg_count_maid = {
|
||||
# base = 0
|
||||
# complex_trigger_modifier = {
|
||||
# trigger = num_traits
|
||||
# trigger_scope = pop
|
||||
# parameters = {
|
||||
# limit = {
|
||||
# has_trait = rg_machine_maid_trait
|
||||
# }
|
||||
# }
|
||||
# mode = add
|
||||
# }
|
||||
# # max = 20
|
||||
# }
|
||||
|
||||
rg_maid_trait_mult = {
|
||||
base = 3
|
||||
# modifier = {
|
||||
# add = 0.5
|
||||
# planet = {
|
||||
# has_deposit = d_lithoid_crater
|
||||
# }
|
||||
# }
|
||||
}
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@ create_gray_const = {
|
||||
rg_create_gray_const = yes
|
||||
}
|
||||
|
||||
#开启L-星团事件链
|
||||
start_lcluster_chain = {
|
||||
if = {
|
||||
limit = {
|
||||
|
||||
@@ -48,10 +48,13 @@ rg_event_effect_event1_cluster = {
|
||||
rg_event_effect_event1_cluster_galaxy = {
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
rg_has_ag_origin_trigger = yes
|
||||
NOT = {
|
||||
has_global_flag = origin_rg_gray_1st_global
|
||||
}
|
||||
}
|
||||
}
|
||||
rg_event_effect_event1_gray_galaxy = yes
|
||||
}
|
||||
else = {
|
||||
@@ -65,10 +68,7 @@ rg_event_effect_event1_gray_cluster = {
|
||||
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
|
||||
}
|
||||
rg_event_effect_event1_to_event2_effect = yes
|
||||
add_resource = {
|
||||
energy = 1000
|
||||
minerals = 1000
|
||||
@@ -92,12 +92,37 @@ rg_event_effect_event1_gray_galaxy = {
|
||||
set_country_flag = origin_rg_gray_galaxy
|
||||
set_country_flag = origin_rg_gray_1st
|
||||
set_country_flag = rg_gray_level_1
|
||||
rg_event_effect_event1_to_event2_effect = yes
|
||||
save_global_event_target_as = origin_rg_gray_country
|
||||
if = {
|
||||
limit = {
|
||||
rg_has_ag_origin_trigger = yes
|
||||
}
|
||||
}
|
||||
else = {
|
||||
rg_lcluster_spawn_effect = yes
|
||||
capital_scope = {
|
||||
solar_system = {
|
||||
random_neighbor_system = {
|
||||
solar_system = {
|
||||
set_star_flag = lgate
|
||||
spawn_megastructure = {
|
||||
type = lgate_base
|
||||
orbit_angle = 225
|
||||
orbit_distance = 30
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
rg_event_effect_event1_to_event2_effect = {
|
||||
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 = {
|
||||
@@ -137,7 +162,9 @@ rg_event_effect_lcluster_open = {
|
||||
has_global_flag = rg_origin_l_cluster # 遥远约定
|
||||
has_global_flag = gray_origin_activate # 远星之歌
|
||||
has_global_flag = rg_origin_scion_l_cluster # 未来追迹
|
||||
rg_has_ag_origin_trigger = yes # 遥远的故事
|
||||
}
|
||||
|
||||
}
|
||||
country_event = {
|
||||
id = rg_cluster.2
|
||||
@@ -160,22 +187,72 @@ rg_event_effect_planet2027_spawn_maid_species = {
|
||||
plural = this
|
||||
class = RG_MACHINE
|
||||
portrait = "rg_machine_maid"
|
||||
can_be_modified = this
|
||||
can_be_modified = yes
|
||||
homeworld = this
|
||||
namelist = this
|
||||
gender = this
|
||||
traits = {
|
||||
trait = trait_machine_unit
|
||||
trait = trait_robot_domestic_protocols
|
||||
trait = trait_rg_machine_unit
|
||||
trait = rg_machine_maid_trait
|
||||
trait = trait_auto_mod_robotic
|
||||
trait = trait_robot_streamlined_protocols
|
||||
trait = trait_robot_luxurious
|
||||
}
|
||||
effect = {
|
||||
save_event_target_as = rg_owner_main_maid_species
|
||||
save_global_event_target_as = rg_owner_main_maid_species
|
||||
set_citizenship_type = {
|
||||
type = citizenship_full_rg_maid
|
||||
country = event_target:gray_owner
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#Species
|
||||
rg_event_effect_planet2027_spawn_maid_species_non_gray = {
|
||||
modify_species = {
|
||||
effect = {
|
||||
create_species = {
|
||||
is_mod = yes
|
||||
name = "RG_MACHINE"
|
||||
plural = this
|
||||
class = RG_MACHINE
|
||||
portrait = "rg_machine_maid"
|
||||
can_be_modified = yes
|
||||
homeworld = this
|
||||
namelist = this
|
||||
gender = this
|
||||
traits = {
|
||||
trait = trait_rg_machine_unit
|
||||
trait = rg_machine_maid_trait
|
||||
trait = trait_auto_mod_robotic
|
||||
trait = trait_robot_streamlined_protocols
|
||||
trait = trait_robot_luxurious
|
||||
}
|
||||
effect = {
|
||||
set_citizenship_type = {
|
||||
type = citizenship_full_rg_maid
|
||||
country = event_target:gray_owner
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
rg_event_effect_event2_gray_origin_init = {
|
||||
rg_gray_country_init = yes
|
||||
country_event = {
|
||||
id = graygoo.499
|
||||
}
|
||||
give_technology = {
|
||||
tech = tech_minilaser_gray_1
|
||||
message = no
|
||||
}
|
||||
give_technology = {
|
||||
tech = tech_object_gray_5
|
||||
message = no
|
||||
}
|
||||
}
|
||||
@@ -4,7 +4,7 @@ rg_create_fallen_empire_species_effect = {
|
||||
class = RG_MACHINE
|
||||
portrait = "rg_machine_maid"
|
||||
traits = {
|
||||
trait = trait_machine_unit
|
||||
trait = trait_rg_machine_unit
|
||||
trait = trait_robot_domestic_protocols
|
||||
trait = rg_machine_maid_trait
|
||||
trait = trait_auto_mod_robotic
|
||||
|
||||
@@ -1,734 +0,0 @@
|
||||
#灰风舰船刷新位置检测
|
||||
rg_global_gray_location_check = {
|
||||
if = {
|
||||
limit = {
|
||||
has_country_flag = gray_constship_active
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = event_target:global_gray_constship
|
||||
}
|
||||
event_target:global_gray_constship = {
|
||||
save_global_event_target_as = global_gray_location
|
||||
}
|
||||
}
|
||||
else = {
|
||||
random_owned_fleet = {
|
||||
limit = {
|
||||
has_fleet_flag = gray_constship
|
||||
}
|
||||
save_global_event_target_as = global_gray_location
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_country_flag = gray_warship_active
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = event_target:gray_warship
|
||||
}
|
||||
event_target:gray_warship = {
|
||||
save_global_event_target_as = global_gray_location
|
||||
}
|
||||
}
|
||||
else = {
|
||||
random_owned_fleet = {
|
||||
limit = {
|
||||
has_fleet_flag = gray_fleet
|
||||
}
|
||||
save_global_event_target_as = global_gray_location
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_country_flag = gray_juggernaut_active
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = event_target:gray_juggernaut
|
||||
}
|
||||
event_target:gray_juggernaut = {
|
||||
save_global_event_target_as = global_gray_location
|
||||
}
|
||||
}
|
||||
else = {
|
||||
random_controlled_fleet = {
|
||||
limit = {
|
||||
has_fleet_flag = gray_juggernaut_fleet
|
||||
}
|
||||
save_global_event_target_as = global_gray_location
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_country_flag = gray_official_active
|
||||
has_country_flag = gray_governor_active #旧版flag
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
any_owned_planet = {
|
||||
exists = sector.leader
|
||||
sector.leader = {
|
||||
has_leader_flag = gray_governor
|
||||
}
|
||||
}
|
||||
}
|
||||
random_owned_planet = {
|
||||
limit = {
|
||||
exists = sector.leader
|
||||
sector.leader = {
|
||||
has_leader_flag = gray_governor
|
||||
}
|
||||
}
|
||||
save_global_event_target_as = global_gray_location
|
||||
}
|
||||
}
|
||||
else = {
|
||||
capital_scope = {
|
||||
save_global_event_target_as = global_gray_location
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_country_flag = gray_army_active
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
any_owned_army = {
|
||||
army_type = gray_army
|
||||
exists = planet
|
||||
}
|
||||
}
|
||||
random_owned_army = {
|
||||
limit = {
|
||||
army_type = gray_army
|
||||
}
|
||||
planet = {
|
||||
save_global_event_target_as = global_gray_location
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
random_owned_army = {
|
||||
limit = {
|
||||
army_type = gray_army
|
||||
}
|
||||
fleet = {
|
||||
save_global_event_target_as = global_gray_location
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
if = {
|
||||
limit = {exists = event_target:rg_gray_habitat_target}
|
||||
event_target:rg_gray_habitat_target = {
|
||||
save_global_event_target_as = global_gray_location
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
else = {
|
||||
capital_scope = {
|
||||
save_global_event_target_as = global_gray_location
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#创造灰风总督
|
||||
rg_create_gray_governor = {
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_country_flag = gray_official_active
|
||||
has_country_flag = gray_governor_active #旧版flag
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
#延迟执行
|
||||
optimize_memory
|
||||
#删除战舰
|
||||
every_owned_fleet = {
|
||||
limit = {
|
||||
has_fleet_flag = gray_fleet
|
||||
}
|
||||
delete_fleet = {
|
||||
target = this
|
||||
kill_leader = no
|
||||
destroy_template = yes
|
||||
}
|
||||
}
|
||||
#删除科学舰
|
||||
every_owned_fleet = {
|
||||
limit = {
|
||||
has_fleet_flag = gray_constship
|
||||
}
|
||||
delete_fleet = {
|
||||
target = this
|
||||
kill_leader = no
|
||||
destroy_template = yes
|
||||
}
|
||||
}
|
||||
#删除陆军
|
||||
every_owned_army = {
|
||||
limit = {
|
||||
army_type = gray_army
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = leader
|
||||
}
|
||||
unassign_leader = leader
|
||||
}
|
||||
remove_army = yes
|
||||
}
|
||||
|
||||
#存储当前领袖等级
|
||||
every_owned_leader = {
|
||||
if = {
|
||||
###等级检测
|
||||
limit = {
|
||||
has_leader_flag = rg_gray_leader
|
||||
NOT = {
|
||||
has_leader_flag = rg_gray_leader_temp
|
||||
}
|
||||
}
|
||||
#导出等级到暂存
|
||||
export_trigger_value_to_variable = {
|
||||
trigger = has_skill
|
||||
variable = rg_gray_level_temp
|
||||
}
|
||||
#导入变量
|
||||
owner = {
|
||||
set_variable = {
|
||||
which = rg_gray_level
|
||||
value = prev.rg_gray_level_temp
|
||||
}
|
||||
}
|
||||
#清理暂存区
|
||||
clear_variable = rg_gray_level_temp
|
||||
}
|
||||
}
|
||||
#把所有种类的小灰领袖都送回娘家
|
||||
every_owned_leader = {
|
||||
limit = {
|
||||
has_leader_flag = rg_gray_leader
|
||||
}
|
||||
set_owner = event_target:rg_gray_country
|
||||
set_leader_flag = rg_gray_leader_temp
|
||||
# kill_leader = { show_notification = no }
|
||||
}
|
||||
#把娘家的总督领袖接回来
|
||||
if = {
|
||||
limit = {
|
||||
exists = event_target:gray_governor
|
||||
}
|
||||
event_target:gray_governor = {
|
||||
set_owner = event_target:gray_owner
|
||||
remove_leader_flag = rg_gray_leader_temp
|
||||
}
|
||||
}
|
||||
#如果不存在总督备份,现场变一个
|
||||
else = {
|
||||
rg_gray_govener_init = yes
|
||||
}
|
||||
#设置总督已启用标识
|
||||
set_country_flag = gray_official_active #新版flag
|
||||
set_country_flag = gray_governor_active #旧版flag
|
||||
#更新灰风形态
|
||||
remove_country_flag = gray_warship_active
|
||||
remove_country_flag = rg_kac_grayfleet_active
|
||||
remove_country_flag = gray_constship_active
|
||||
remove_country_flag = gray_army_active
|
||||
|
||||
#等级导入,把存储的领袖等级赋予到领袖身上
|
||||
random_owned_leader = {
|
||||
limit = {
|
||||
has_leader_flag = gray_governor
|
||||
}
|
||||
set_skill = owner.rg_gray_level
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#创造灰风战舰
|
||||
rg_create_gray_warship = {
|
||||
if = {
|
||||
limit = {
|
||||
has_country_flag = gray_warship_active
|
||||
}
|
||||
}
|
||||
else = {
|
||||
optimize_memory
|
||||
#舰船刷新位置检测
|
||||
rg_global_gray_location_check = yes
|
||||
# 存储当前领袖等级
|
||||
every_owned_leader = {
|
||||
if = {
|
||||
###等级检测
|
||||
limit = {
|
||||
has_leader_flag = rg_gray_leader
|
||||
NOT = {
|
||||
has_leader_flag = rg_gray_leader_temp
|
||||
}
|
||||
}
|
||||
export_trigger_value_to_variable = {
|
||||
trigger = has_skill
|
||||
variable = rg_gray_level_temp
|
||||
}
|
||||
owner = {
|
||||
set_variable = {
|
||||
which = rg_gray_level
|
||||
value = prev.rg_gray_level_temp
|
||||
}
|
||||
}
|
||||
clear_variable = rg_gray_level_temp
|
||||
}
|
||||
}
|
||||
every_owned_leader = {
|
||||
limit = {
|
||||
has_leader_flag = rg_gray_leader
|
||||
}
|
||||
set_owner = event_target:rg_gray_country
|
||||
set_leader_flag = rg_gray_leader_temp
|
||||
# kill_leader = { show_notification = no }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = event_target:gray_leader_admiral
|
||||
}
|
||||
event_target:gray_leader_admiral = {
|
||||
set_owner = event_target:gray_owner
|
||||
remove_leader_flag = rg_gray_leader_temp
|
||||
}
|
||||
}
|
||||
else = {
|
||||
rg_gray_commander_init = yes
|
||||
}
|
||||
set_country_flag = gray_warship_active
|
||||
if = {
|
||||
limit = {
|
||||
has_country_flag = rg_gray_level_2
|
||||
}
|
||||
rg_warship_init_mod1 = yes
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_country_flag = rg_gray_level_3
|
||||
NOT = {
|
||||
has_country_flag = gray_warship_is_juggernaut
|
||||
}
|
||||
}
|
||||
rg_warship_init_mod2 = yes
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_country_flag = gray_warship_is_juggernaut
|
||||
}
|
||||
rg_warship_init_mod3 = yes
|
||||
}
|
||||
else = {
|
||||
rg_warship_init_mod0 = yes
|
||||
}
|
||||
every_owned_army = {
|
||||
limit = {
|
||||
army_type = gray_army
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = leader
|
||||
}
|
||||
unassign_leader = leader
|
||||
}
|
||||
remove_army = yes
|
||||
}
|
||||
every_owned_fleet = {
|
||||
limit = {
|
||||
has_fleet_flag = gray_constship
|
||||
}
|
||||
delete_fleet = {
|
||||
target = this
|
||||
kill_leader = no
|
||||
destroy_template = yes
|
||||
}
|
||||
}
|
||||
|
||||
remove_country_flag = gray_constship_active
|
||||
remove_country_flag = gray_governor_active #旧版flag
|
||||
remove_country_flag = gray_official_active
|
||||
remove_country_flag = gray_army_active
|
||||
|
||||
random_owned_leader = {
|
||||
limit = {
|
||||
has_leader_flag = gray_admiral
|
||||
}
|
||||
set_skill = owner.rg_gray_level
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#创造灰风地面单位
|
||||
rg_create_gray_army = {
|
||||
if = {
|
||||
limit = {
|
||||
has_country_flag = gray_army_active
|
||||
}
|
||||
}
|
||||
else = {
|
||||
optimize_memory
|
||||
#舰船刷新位置检测
|
||||
rg_global_gray_location_check = yes
|
||||
every_owned_leader = {
|
||||
if = {
|
||||
###等级检测
|
||||
limit = {
|
||||
has_leader_flag = rg_gray_leader
|
||||
NOT = {
|
||||
has_leader_flag = rg_gray_leader_temp
|
||||
}
|
||||
}
|
||||
export_trigger_value_to_variable = {
|
||||
trigger = has_skill
|
||||
variable = rg_gray_level_temp
|
||||
}
|
||||
owner = {
|
||||
set_variable = {
|
||||
which = rg_gray_level
|
||||
value = prev.rg_gray_level_temp
|
||||
}
|
||||
}
|
||||
clear_variable = rg_gray_level_temp
|
||||
}
|
||||
}
|
||||
every_owned_leader = {
|
||||
limit = {
|
||||
has_leader_flag = rg_gray_leader
|
||||
}
|
||||
set_owner = event_target:rg_gray_country
|
||||
set_leader_flag = rg_gray_leader_temp
|
||||
# kill_leader = { show_notification = no }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = event_target:gray_leader_general
|
||||
}
|
||||
event_target:gray_leader_general = {
|
||||
set_owner = event_target:gray_owner
|
||||
remove_leader_flag = rg_gray_leader_temp
|
||||
}
|
||||
}
|
||||
else = {
|
||||
rg_gray_commander_init = yes
|
||||
}
|
||||
create_ship_design = {
|
||||
design = "NAME_RG_armed_transport_ship"
|
||||
}
|
||||
add_ship_design = last_created_design
|
||||
set_country_flag = gray_army_active
|
||||
create_fleet = {
|
||||
name = "NAME_Gray"
|
||||
effect = {
|
||||
set_owner = prev
|
||||
create_army_transport = {
|
||||
ship_name = "NAME_Gray"
|
||||
army_name = "NAME_Gray"
|
||||
army_type = "gray_army"
|
||||
}
|
||||
set_location = {
|
||||
target = event_target:global_gray_location
|
||||
distance = 0
|
||||
angle = random
|
||||
}
|
||||
# set_cloaking_active = yes
|
||||
set_fleet_stance = aggressive
|
||||
}
|
||||
}
|
||||
last_created_army = {
|
||||
assign_leader = event_target:gray_leader_general
|
||||
}
|
||||
every_owned_fleet = {
|
||||
limit = {
|
||||
has_fleet_flag = gray_fleet
|
||||
}
|
||||
delete_fleet = {
|
||||
target = this
|
||||
kill_leader = no
|
||||
destroy_template = yes
|
||||
}
|
||||
}
|
||||
every_owned_fleet = {
|
||||
limit = {
|
||||
has_fleet_flag = gray_constship
|
||||
}
|
||||
delete_fleet = {
|
||||
target = this
|
||||
kill_leader = no
|
||||
destroy_template = yes
|
||||
}
|
||||
}
|
||||
|
||||
remove_country_flag = gray_warship_active
|
||||
remove_country_flag = rg_kac_grayfleet_active
|
||||
remove_country_flag = gray_governor_active #旧版flag
|
||||
remove_country_flag = gray_official_active
|
||||
remove_country_flag = gray_constship_active
|
||||
|
||||
remove_ship_design = last_created_design
|
||||
random_owned_leader = {
|
||||
limit = {
|
||||
has_leader_flag = gray_general
|
||||
}
|
||||
set_skill = owner.rg_gray_level
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#创造灰风科学舰
|
||||
rg_create_gray_const = {
|
||||
if = {
|
||||
limit = {
|
||||
has_country_flag = gray_constship_active
|
||||
}
|
||||
}
|
||||
else = {
|
||||
optimize_memory
|
||||
#舰船刷新位置检测
|
||||
rg_global_gray_location_check = yes
|
||||
every_owned_leader = {
|
||||
if = {
|
||||
###等级检测
|
||||
limit = {
|
||||
has_leader_flag = rg_gray_leader
|
||||
NOT = {
|
||||
has_leader_flag = rg_gray_leader_temp
|
||||
}
|
||||
}
|
||||
export_trigger_value_to_variable = {
|
||||
trigger = has_skill
|
||||
variable = rg_gray_level_temp
|
||||
}
|
||||
owner = {
|
||||
set_variable = {
|
||||
which = rg_gray_level
|
||||
value = prev.rg_gray_level_temp
|
||||
}
|
||||
}
|
||||
clear_variable = rg_gray_level_temp
|
||||
}
|
||||
}
|
||||
every_owned_leader = {
|
||||
limit = {
|
||||
has_leader_flag = rg_gray_leader
|
||||
}
|
||||
set_owner = event_target:rg_gray_country
|
||||
set_leader_flag = rg_gray_leader_temp
|
||||
# kill_leader = { show_notification = no }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = event_target:gray_leader_scientist
|
||||
}
|
||||
event_target:gray_leader_scientist = {
|
||||
set_owner = event_target:gray_owner
|
||||
remove_leader_flag = rg_gray_leader_temp
|
||||
}
|
||||
}
|
||||
else = {
|
||||
rg_gray_scientist_init = yes
|
||||
}
|
||||
set_country_flag = gray_constship_active
|
||||
create_fleet = {
|
||||
name = "NAME_Gray"
|
||||
settings = {
|
||||
can_upgrade = no
|
||||
can_disband = no
|
||||
can_change_composition = no
|
||||
can_change_leader = yes
|
||||
uses_naval_capacity = no
|
||||
spawn_debris = no
|
||||
}
|
||||
effect = {
|
||||
set_owner = prev
|
||||
create_ship = {
|
||||
name = "NAME_Gray"
|
||||
design = "NAME_RG_GRAY_scienceship"
|
||||
prefix = no
|
||||
upgradable = yes
|
||||
}
|
||||
set_fleet_stance = evasive
|
||||
set_location = {
|
||||
target = event_target:global_gray_location
|
||||
distance = 0
|
||||
angle = random
|
||||
}
|
||||
set_fleet_flag = gray_constship
|
||||
save_global_event_target_as = global_gray_constship
|
||||
set_cloaking_active = yes
|
||||
assign_leader = event_target:gray_leader_scientist
|
||||
}
|
||||
}
|
||||
every_owned_fleet = {
|
||||
limit = {
|
||||
has_fleet_flag = gray_fleet
|
||||
}
|
||||
delete_fleet = {
|
||||
target = this
|
||||
kill_leader = no
|
||||
destroy_template = yes
|
||||
}
|
||||
}
|
||||
every_owned_army = {
|
||||
limit = {
|
||||
army_type = gray_army
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = leader
|
||||
}
|
||||
unassign_leader = leader
|
||||
}
|
||||
remove_army = yes
|
||||
}
|
||||
|
||||
remove_country_flag = gray_army_active
|
||||
remove_country_flag = gray_warship_active
|
||||
remove_country_flag = rg_kac_grayfleet_active
|
||||
remove_country_flag = gray_governor_active #旧版flag
|
||||
remove_country_flag = gray_official_active
|
||||
|
||||
random_owned_leader = {
|
||||
limit = {
|
||||
has_leader_flag = gray_scientist
|
||||
}
|
||||
set_skill = owner.rg_gray_level
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
rg_juggernaut_habitat_init = {
|
||||
if = {
|
||||
limit = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
}
|
||||
else = {
|
||||
optimize_memory
|
||||
rg_global_gray_location_check = yes
|
||||
set_country_flag = rg_habitat_enabled
|
||||
event_target:global_gray_location = {
|
||||
solar_system = {
|
||||
spawn_planet = {
|
||||
class = pc_rg_grayhabitat
|
||||
location = event_target:global_gray_location
|
||||
orbit_location = yes
|
||||
orbit_angle = 225
|
||||
orbit_distance = 360
|
||||
orbit_angle_offset = 45
|
||||
orbit_distance_offset = 9.899
|
||||
size = 40
|
||||
has_ring = no
|
||||
|
||||
init_effect = {
|
||||
set_planet_entity = {
|
||||
entity = "grey_tempesttw_orbital_habitat_entity"
|
||||
}
|
||||
set_surveyed = {
|
||||
surveyed = yes
|
||||
surveyor = FROM
|
||||
}
|
||||
set_all_comms_surveyed = yes
|
||||
clear_blockers = yes
|
||||
|
||||
set_owner = root
|
||||
set_controller = root
|
||||
create_colony = {
|
||||
owner = root
|
||||
species = owner_main_species
|
||||
ethos = owner
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
exists = event_target:rg_owner_main_maid_species
|
||||
}
|
||||
}
|
||||
every_owned_pop = {
|
||||
modify_species = {
|
||||
effect = {
|
||||
create_species = {
|
||||
is_mod = yes
|
||||
name = "RG_MACHINE"
|
||||
plural = this
|
||||
class = RG_MACHINE
|
||||
portrait = "rg_machine_maid"
|
||||
can_be_modified = this
|
||||
homeworld = this
|
||||
namelist = this
|
||||
gender = this
|
||||
traits = {
|
||||
trait = trait_machine_unit
|
||||
trait = rg_machine_maid_trait
|
||||
trait = trait_robot_mass_produced
|
||||
}
|
||||
effect = {
|
||||
save_global_event_target_as = rg_owner_main_maid_species
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
set_name = "NAME_rg_gray_habitat_base"
|
||||
|
||||
if = {
|
||||
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
|
||||
}
|
||||
|
||||
generate_start_buildings_and_districts = yes
|
||||
|
||||
while = {
|
||||
count = 5
|
||||
create_pop = {
|
||||
species = owner_main_species
|
||||
}
|
||||
}
|
||||
|
||||
set_planet_flag = megastructure
|
||||
set_planet_flag = habitat
|
||||
set_planet_flag = advanced_habitat
|
||||
set_planet_flag = advanced_habitat_2
|
||||
set_planet_flag = rg_gray_habitat
|
||||
save_global_event_target_as = rg_gray_habitat_target
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
rg_clear_harbitat = {
|
||||
remove_country_flag = rg_habitat_enabled
|
||||
event_target:rg_gray_habitat_target = {
|
||||
remove_planet = yes
|
||||
}
|
||||
}
|
||||
678
common/scripted_effects/RG_gray_init_effects.txt
Normal file
678
common/scripted_effects/RG_gray_init_effects.txt
Normal file
@@ -0,0 +1,678 @@
|
||||
#Country event_target:gray_owner
|
||||
#灰风舰船刷新位置检测
|
||||
rg_global_gray_location_check = {
|
||||
if = {
|
||||
limit = {
|
||||
RG_gray_scientist_active_trigger = yes
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = event_target:global_gray_constship
|
||||
}
|
||||
event_target:global_gray_constship = {
|
||||
save_global_event_target_as = global_gray_location
|
||||
}
|
||||
}
|
||||
else = {
|
||||
random_owned_fleet = {
|
||||
limit = {
|
||||
has_fleet_flag = gray_constship
|
||||
}
|
||||
save_global_event_target_as = global_gray_location
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
RG_gray_warship_active_trigger = yes
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = event_target:gray_warship
|
||||
}
|
||||
event_target:gray_warship = {
|
||||
save_global_event_target_as = global_gray_location
|
||||
}
|
||||
}
|
||||
else = {
|
||||
random_owned_fleet = {
|
||||
limit = {
|
||||
has_fleet_flag = gray_fleet
|
||||
}
|
||||
save_global_event_target_as = global_gray_location
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_country_flag = gray_juggernaut_active
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = event_target:gray_juggernaut
|
||||
}
|
||||
event_target:gray_juggernaut = {
|
||||
save_global_event_target_as = global_gray_location
|
||||
}
|
||||
}
|
||||
else = {
|
||||
random_controlled_fleet = {
|
||||
limit = {
|
||||
has_fleet_flag = gray_juggernaut_fleet
|
||||
}
|
||||
save_global_event_target_as = global_gray_location
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
RG_gray_official_active_trigger = yes
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
any_owned_planet = {
|
||||
exists = leader
|
||||
leader = {
|
||||
is_same_value = event_target:gray_official
|
||||
}
|
||||
}
|
||||
}
|
||||
random_owned_planet = {
|
||||
limit = {
|
||||
exists = leader
|
||||
leader = {
|
||||
is_same_value = event_target:gray_official
|
||||
}
|
||||
}
|
||||
save_event_target_as = global_gray_location
|
||||
}
|
||||
}
|
||||
else = {
|
||||
capital_scope = {
|
||||
save_event_target_as = global_gray_location
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
RG_gray_army_active_trigger = yes
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
any_owned_army = {
|
||||
army_type = gray_army
|
||||
exists = planet
|
||||
}
|
||||
}
|
||||
random_owned_army = {
|
||||
limit = {
|
||||
army_type = gray_army
|
||||
}
|
||||
planet = {
|
||||
save_global_event_target_as = global_gray_location
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
random_owned_army = {
|
||||
limit = {
|
||||
army_type = gray_army
|
||||
}
|
||||
fleet = {
|
||||
save_global_event_target_as = global_gray_location
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
RG_gray_harbitat_active_trigger = yes
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = event_target:rg_gray_habitat_target
|
||||
}
|
||||
event_target:rg_gray_habitat_target = {
|
||||
save_global_event_target_as = global_gray_location
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
capital_scope = {
|
||||
save_global_event_target_as = global_gray_location
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#Country event_target:gray_owner
|
||||
#存储当前领袖等级
|
||||
rg_save_gray_leader_level_effect = {
|
||||
every_owned_leader = {
|
||||
if = {
|
||||
###等级检测
|
||||
limit = {
|
||||
has_leader_flag = rg_gray_leader
|
||||
NOT = {
|
||||
has_leader_flag = rg_gray_leader_temp
|
||||
}
|
||||
}
|
||||
#导出等级到暂存
|
||||
export_trigger_value_to_variable = {
|
||||
trigger = has_skill
|
||||
variable = rg_gray_level_temp
|
||||
}
|
||||
#导入变量
|
||||
owner = {
|
||||
set_variable = {
|
||||
which = rg_gray_level
|
||||
value = prev.rg_gray_level_temp
|
||||
}
|
||||
}
|
||||
#清理暂存区
|
||||
clear_variable = rg_gray_level_temp
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#Country event_target:gray_owner
|
||||
#把所有种类的小灰领袖都送回娘家
|
||||
rg_sent_gray_back_to_home_effect = {
|
||||
every_owned_leader = {
|
||||
limit = {
|
||||
has_leader_flag = rg_gray_leader
|
||||
}
|
||||
set_owner = event_target:rg_gray_country
|
||||
set_leader_flag = rg_gray_leader_temp
|
||||
# kill_leader = { show_notification = no }
|
||||
}
|
||||
}
|
||||
|
||||
#Country event_target:gray_owner
|
||||
#小灰领袖标识清理
|
||||
rg_clear_gray_active_flag_effect = {
|
||||
remove_country_flag = gray_warship_active
|
||||
remove_country_flag = gray_constship_active
|
||||
remove_country_flag = gray_army_active
|
||||
remove_country_flag = gray_official_active
|
||||
remove_country_flag = gray_governor_active #旧版flag
|
||||
}
|
||||
|
||||
#Country event_target:gray_owner
|
||||
#小灰总督启用标识
|
||||
rg_set_gray_official_active_effect = {
|
||||
set_country_flag = gray_official_active #新版flag
|
||||
set_country_flag = gray_governor_active #旧版flag
|
||||
}
|
||||
|
||||
#Country event_target:gray_owner
|
||||
#小灰战舰启用标识
|
||||
rg_set_gray_warship_active_effect = {
|
||||
set_country_flag = gray_warship_active
|
||||
}
|
||||
|
||||
#Country event_target:gray_owner
|
||||
#小灰科学家启用标识
|
||||
rg_set_gray_scientist_active_effect = {
|
||||
set_country_flag = gray_official_active #新版flag
|
||||
set_country_flag = gray_governor_active #旧版flag
|
||||
}
|
||||
|
||||
#Country event_target:gray_owner
|
||||
#小灰陆军启用标识
|
||||
rg_set_gray_army_active_effect = {
|
||||
set_country_flag = gray_army_active
|
||||
}
|
||||
|
||||
#Country event_target:gray_owner
|
||||
#小灰科学家启用标识
|
||||
rg_set_gray_scientist_active_effect = {
|
||||
set_country_flag = gray_constship_active
|
||||
}
|
||||
|
||||
#Country event_target:gray_owner
|
||||
#小灰纳米空间站启用标识
|
||||
rg_set_gray_harbitat_active_effect = {
|
||||
set_country_flag = rg_habitat_enabled
|
||||
}
|
||||
|
||||
#Country event_target:gray_owner
|
||||
#删除小灰科学家
|
||||
rg_clear_gray_science_ship_effect = {
|
||||
every_owned_fleet = {
|
||||
limit = {
|
||||
has_fleet_flag = gray_constship
|
||||
}
|
||||
delete_fleet = {
|
||||
target = this
|
||||
kill_leader = no
|
||||
destroy_template = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#Country event_target:gray_owner
|
||||
#删除小灰陆军
|
||||
rg_clear_gray_army_effect = {
|
||||
every_owned_army = {
|
||||
limit = {
|
||||
army_type = gray_army
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = leader
|
||||
}
|
||||
unassign_leader = leader
|
||||
}
|
||||
remove_army = yes
|
||||
}
|
||||
}
|
||||
|
||||
#Country event_target:gray_owner
|
||||
#删除小灰战舰
|
||||
rg_clear_gray_warship_effect = {
|
||||
every_owned_fleet = {
|
||||
limit = {
|
||||
has_fleet_flag = gray_fleet
|
||||
}
|
||||
delete_fleet = {
|
||||
target = this
|
||||
kill_leader = no
|
||||
destroy_template = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#Country event_target:gray_owner
|
||||
#删除小灰纳米空间站
|
||||
rg_clear_harbitat = {
|
||||
remove_country_flag = rg_habitat_enabled
|
||||
event_target:rg_gray_habitat_target = {
|
||||
remove_planet = yes
|
||||
}
|
||||
}
|
||||
|
||||
#Country event_target:gray_owner
|
||||
#等级导入,把存储的领袖等级赋予到领袖身上
|
||||
rg_set_varible_as_leader_level_effect = {
|
||||
random_owned_leader = {
|
||||
limit = {
|
||||
has_leader_flag = rg_gray_leader
|
||||
}
|
||||
set_skill = owner.rg_gray_level
|
||||
}
|
||||
}
|
||||
|
||||
#Country event_target:gray_owner
|
||||
#创造灰风总督
|
||||
rg_create_gray_governor = {
|
||||
if = {
|
||||
limit = {
|
||||
RG_gray_official_active_trigger = yes
|
||||
}
|
||||
}
|
||||
else = {
|
||||
#延迟执行
|
||||
optimize_memory
|
||||
#删除战舰
|
||||
every_owned_fleet = {
|
||||
limit = {
|
||||
has_fleet_flag = gray_fleet
|
||||
}
|
||||
delete_fleet = {
|
||||
target = this
|
||||
kill_leader = no
|
||||
destroy_template = yes
|
||||
}
|
||||
}
|
||||
#删除科学舰
|
||||
every_owned_fleet = {
|
||||
limit = {
|
||||
has_fleet_flag = gray_constship
|
||||
}
|
||||
delete_fleet = {
|
||||
target = this
|
||||
kill_leader = no
|
||||
destroy_template = yes
|
||||
}
|
||||
}
|
||||
#删除陆军
|
||||
every_owned_army = {
|
||||
limit = {
|
||||
army_type = gray_army
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = leader
|
||||
}
|
||||
unassign_leader = leader
|
||||
}
|
||||
remove_army = yes
|
||||
}
|
||||
#存储当前领袖等级
|
||||
rg_save_gray_leader_level_effect = yes
|
||||
#把所有种类的小灰领袖都送回娘家
|
||||
rg_sent_gray_back_to_home_effect = yes
|
||||
#把娘家的总督领袖接回来
|
||||
if = {
|
||||
limit = {
|
||||
exists = event_target:gray_governor
|
||||
}
|
||||
event_target:gray_governor = {
|
||||
set_owner = event_target:gray_owner
|
||||
remove_leader_flag = rg_gray_leader_temp
|
||||
}
|
||||
}
|
||||
#如果不存在总督备份,现场变一个
|
||||
else = {
|
||||
rg_gray_govener_init = yes
|
||||
}
|
||||
#更新灰风形态
|
||||
rg_clear_gray_active_flag_effect = yes
|
||||
#设置总督已启用标识
|
||||
rg_set_gray_official_active_effect = yes
|
||||
#等级导入,把存储的领袖等级赋予到领袖身上
|
||||
rg_set_varible_as_leader_level_effect = yes
|
||||
}
|
||||
}
|
||||
|
||||
#Country event_target:gray_owner
|
||||
#创造灰风战舰
|
||||
rg_create_gray_warship = {
|
||||
if = {
|
||||
limit = {
|
||||
RG_gray_warship_active_trigger = yes
|
||||
}
|
||||
}
|
||||
else = {
|
||||
optimize_memory
|
||||
#舰船刷新位置检测
|
||||
rg_global_gray_location_check = yes
|
||||
#存储当前领袖等级
|
||||
rg_save_gray_leader_level_effect = yes
|
||||
#把所有种类的小灰领袖都送回娘家
|
||||
rg_sent_gray_back_to_home_effect = yes
|
||||
#把娘家的指挥官领袖接回来
|
||||
if = {
|
||||
limit = {
|
||||
exists = event_target:gray_leader_admiral
|
||||
}
|
||||
event_target:gray_leader_admiral = {
|
||||
set_owner = event_target:gray_owner
|
||||
remove_leader_flag = rg_gray_leader_temp
|
||||
}
|
||||
}
|
||||
else = {
|
||||
rg_gray_commander_init = yes
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
has_country_flag = rg_gray_level_2
|
||||
}
|
||||
rg_warship_init_mod1 = yes
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_country_flag = rg_gray_level_3
|
||||
NOT = {
|
||||
has_country_flag = gray_warship_is_juggernaut
|
||||
}
|
||||
}
|
||||
rg_warship_init_mod2 = yes
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_country_flag = gray_warship_is_juggernaut
|
||||
}
|
||||
rg_warship_init_mod3 = yes
|
||||
}
|
||||
else = {
|
||||
rg_warship_init_mod0 = yes
|
||||
}
|
||||
#删除科学舰
|
||||
rg_clear_gray_science_ship_effect = yes
|
||||
#删除陆军
|
||||
rg_clear_gray_army_effect = yes
|
||||
#更新灰风形态
|
||||
rg_clear_gray_active_flag_effect = yes
|
||||
#设置战舰已启用标识
|
||||
rg_set_gray_warship_active_effect = yes
|
||||
#导入变量到等级
|
||||
rg_set_varible_as_leader_level_effect = yes
|
||||
}
|
||||
}
|
||||
|
||||
#Country event_target:gray_owner
|
||||
#创造灰风地面单位
|
||||
rg_create_gray_army = {
|
||||
if = {
|
||||
limit = {
|
||||
RG_gray_army_active_trigger = yes
|
||||
}
|
||||
}
|
||||
else = {
|
||||
optimize_memory
|
||||
#舰船刷新位置检测
|
||||
rg_global_gray_location_check = yes
|
||||
#存储当前领袖等级
|
||||
rg_save_gray_leader_level_effect = yes
|
||||
#把所有种类的小灰领袖都送回娘家
|
||||
rg_sent_gray_back_to_home_effect = yes
|
||||
#把娘家的指挥官领袖接回来
|
||||
if = {
|
||||
limit = {
|
||||
exists = event_target:gray_leader_general
|
||||
}
|
||||
event_target:gray_leader_general = {
|
||||
set_owner = event_target:gray_owner
|
||||
remove_leader_flag = rg_gray_leader_temp
|
||||
}
|
||||
}
|
||||
else = {
|
||||
rg_gray_commander_init = yes
|
||||
}
|
||||
rg_army_transport_ship_init = yes
|
||||
rg_clear_gray_warship_effect = yes
|
||||
rg_clear_gray_science_ship_effect = yes
|
||||
rg_clear_gray_active_flag_effect = yes
|
||||
rg_set_gray_army_active_effect = yes
|
||||
rg_set_varible_as_leader_level_effect = yes
|
||||
}
|
||||
}
|
||||
|
||||
#Country event_target:gray_owner
|
||||
#创造灰风科学舰
|
||||
rg_create_gray_const = {
|
||||
if = {
|
||||
limit = {
|
||||
RG_gray_scientist_active_trigger = yes
|
||||
}
|
||||
}
|
||||
else = {
|
||||
optimize_memory
|
||||
#舰船刷新位置检测
|
||||
rg_global_gray_location_check = yes
|
||||
#存储当前领袖等级
|
||||
rg_save_gray_leader_level_effect = yes
|
||||
#把所有种类的小灰领袖都送回娘家
|
||||
rg_sent_gray_back_to_home_effect = yes
|
||||
#把娘家的科学家领袖接回来
|
||||
if = {
|
||||
limit = {
|
||||
exists = event_target:gray_leader_scientist
|
||||
}
|
||||
event_target:gray_leader_scientist = {
|
||||
set_owner = event_target:gray_owner
|
||||
remove_leader_flag = rg_gray_leader_temp
|
||||
}
|
||||
}
|
||||
else = {
|
||||
rg_gray_scientist_init = yes
|
||||
}
|
||||
rg_scientist_ship_init = yes
|
||||
rg_clear_gray_warship_effect = yes
|
||||
rg_clear_gray_army_effect = yes
|
||||
rg_clear_gray_active_flag_effect = yes
|
||||
rg_set_gray_scientist_active_effect = yes
|
||||
rg_set_varible_as_leader_level_effect = yes
|
||||
}
|
||||
}
|
||||
|
||||
#Country event_target:gray_owner
|
||||
#计算纳米空间站行星规模 基本10+(小灰领袖等级rg_gray_level*2)
|
||||
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
|
||||
}
|
||||
}
|
||||
|
||||
#Country event_target:gray_owner
|
||||
#创造灰风纳米空间站
|
||||
rg_juggernaut_habitat_init = {
|
||||
if = {
|
||||
limit = {
|
||||
RG_gray_harbitat_active_trigger = yes
|
||||
}
|
||||
}
|
||||
else = {
|
||||
optimize_memory
|
||||
rg_global_gray_location_check = yes
|
||||
rg_harbitar_size_calculate = yes
|
||||
event_target:global_gray_location = {
|
||||
solar_system = {
|
||||
spawn_planet = {
|
||||
class = pc_rg_grayhabitat
|
||||
location = event_target:global_gray_location
|
||||
orbit_location = yes
|
||||
orbit_angle = 225
|
||||
orbit_distance = 360
|
||||
orbit_angle_offset = 45
|
||||
orbit_distance_offset = 9.899
|
||||
size = 10
|
||||
has_ring = no
|
||||
init_effect = {
|
||||
prevent_anomaly = yes
|
||||
set_planet_entity = {
|
||||
entity = "grey_tempesttw_orbital_habitat_entity"
|
||||
}
|
||||
set_surveyed = {
|
||||
surveyed = yes
|
||||
surveyor = FROM
|
||||
}
|
||||
set_all_comms_surveyed = yes
|
||||
clear_blockers = yes
|
||||
set_owner = root
|
||||
set_controller = root
|
||||
create_colony = {
|
||||
owner = root
|
||||
species = owner_main_species
|
||||
ethos = owner
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
exists = event_target:rg_owner_main_maid_species
|
||||
}
|
||||
}
|
||||
every_owned_pop = {
|
||||
rg_event_effect_planet2027_spawn_maid_species = yes
|
||||
}
|
||||
}
|
||||
set_name = "NAME_rg_gray_habitat_base"
|
||||
if = {
|
||||
limit = {
|
||||
event_target:gray_owner = {
|
||||
RG_gray_official_active_trigger = yes
|
||||
}
|
||||
}
|
||||
assign_leader = event_target:gray_governor
|
||||
}
|
||||
set_planet_size = owner.rg_habitat_size
|
||||
generate_start_buildings_and_districts = yes
|
||||
while = {
|
||||
count = 1
|
||||
add_district = district_rg_generator
|
||||
}
|
||||
while = {
|
||||
count = 1
|
||||
add_district = district_rg_mining
|
||||
}
|
||||
while = {
|
||||
count = 1
|
||||
add_district = district_rg_farming
|
||||
}
|
||||
while = {
|
||||
count = 1
|
||||
add_district = district_rg_industrial
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = owner
|
||||
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
|
||||
create_pop = {
|
||||
species = owner_main_species
|
||||
}
|
||||
}
|
||||
set_planet_flag = megastructure
|
||||
set_planet_flag = habitat
|
||||
set_planet_flag = advanced_habitat
|
||||
set_planet_flag = advanced_habitat_2
|
||||
set_planet_flag = rg_gray_habitat
|
||||
save_global_event_target_as = rg_gray_habitat_target
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
rg_set_gray_harbitat_active_effect = yes
|
||||
}
|
||||
}
|
||||
@@ -13,7 +13,7 @@ rg_gray_govener_init = {
|
||||
custom_description = gray_backstory
|
||||
background_ethic = ethic_gestalt_consciousness
|
||||
hide_age = yes
|
||||
skill = 10
|
||||
skill = 1
|
||||
set_age = 18
|
||||
traits = {
|
||||
0 = RG_leader_trait_governor_gray
|
||||
@@ -71,6 +71,7 @@ rg_gray_govener_init = {
|
||||
}
|
||||
last_created_leader = {
|
||||
set_leader_flag = has_gained_level_trait
|
||||
rg_gray_leader_experience_jar = yes
|
||||
}
|
||||
random_owned_leader = {
|
||||
limit = {
|
||||
@@ -105,7 +106,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 = {
|
||||
@@ -130,7 +131,7 @@ rg_gray_commander_init = {
|
||||
background_ethic = ethic_gestalt_consciousness
|
||||
hide_age = yes
|
||||
gender = female
|
||||
skill = 10
|
||||
skill = 1
|
||||
set_age = 18
|
||||
traits = {
|
||||
0 = RG_leader_trait_admiral_gray
|
||||
@@ -187,6 +188,7 @@ rg_gray_commander_init = {
|
||||
}
|
||||
last_created_leader = {
|
||||
set_leader_flag = has_gained_level_trait
|
||||
rg_gray_leader_experience_jar = yes
|
||||
}
|
||||
random_owned_leader = {
|
||||
limit = {
|
||||
@@ -222,7 +224,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 = {
|
||||
@@ -471,7 +473,7 @@ rg_gray_scientist_init = {
|
||||
background_ethic = ethic_gestalt_consciousness
|
||||
hide_age = yes
|
||||
gender = female
|
||||
skill = 10
|
||||
skill = 1
|
||||
set_age = 18
|
||||
traits = {
|
||||
0 = RG_leader_trait_scientist_gray
|
||||
@@ -509,6 +511,7 @@ rg_gray_scientist_init = {
|
||||
}
|
||||
last_created_leader = {
|
||||
set_leader_flag = has_gained_level_trait
|
||||
rg_gray_leader_experience_jar = yes
|
||||
}
|
||||
random_owned_leader = {
|
||||
limit = {
|
||||
@@ -542,7 +545,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 = {
|
||||
@@ -567,7 +570,7 @@ rg_gray_country_leader_init = {
|
||||
custom_description = gray_backstory
|
||||
background_ethic = ethic_gestalt_consciousness
|
||||
hide_age = yes
|
||||
skill = 10
|
||||
skill = 1
|
||||
set_age = 18
|
||||
traits = {
|
||||
0 = RG_leader_trait_governor_gray
|
||||
@@ -607,5 +610,23 @@ rg_gray_country_leader_init = {
|
||||
}
|
||||
last_created_leader = {
|
||||
rg_set_gray_portrait = yes
|
||||
rg_gray_leader_experience_jar = yes
|
||||
}
|
||||
}
|
||||
|
||||
rg_gray_leader_experience_jar = {
|
||||
if = {
|
||||
limit = {
|
||||
owner = {
|
||||
NOT = {
|
||||
RG_has_gray_cluster_origin_trigger = yes
|
||||
}
|
||||
}
|
||||
has_skill < 10
|
||||
}
|
||||
add_experience = 54000
|
||||
event_target:gray_owner = {
|
||||
rg_save_gray_leader_level_effect = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -183,3 +183,63 @@ rg_warship_init_mod0 = {
|
||||
}
|
||||
}
|
||||
}
|
||||
rg_army_transport_ship_init = {
|
||||
create_ship_design = {
|
||||
design = "NAME_RG_armed_transport_ship"
|
||||
}
|
||||
add_ship_design = last_created_design
|
||||
create_fleet = {
|
||||
name = "NAME_Gray"
|
||||
effect = {
|
||||
set_owner = prev
|
||||
create_army_transport = {
|
||||
ship_name = "NAME_Gray"
|
||||
army_name = "NAME_Gray"
|
||||
army_type = "gray_army"
|
||||
}
|
||||
set_location = {
|
||||
target = event_target:global_gray_location
|
||||
distance = 0
|
||||
angle = random
|
||||
}
|
||||
# set_cloaking_active = yes
|
||||
set_fleet_stance = aggressive
|
||||
}
|
||||
}
|
||||
last_created_army = {
|
||||
assign_leader = event_target:gray_leader_general
|
||||
}
|
||||
remove_ship_design = last_created_design
|
||||
}
|
||||
rg_scientist_ship_init = {
|
||||
create_fleet = {
|
||||
name = "NAME_Gray"
|
||||
settings = {
|
||||
can_upgrade = no
|
||||
can_disband = no
|
||||
can_change_composition = no
|
||||
can_change_leader = yes
|
||||
uses_naval_capacity = no
|
||||
spawn_debris = no
|
||||
}
|
||||
effect = {
|
||||
set_owner = prev
|
||||
create_ship = {
|
||||
name = "NAME_Gray"
|
||||
design = "NAME_RG_GRAY_scienceship"
|
||||
prefix = no
|
||||
upgradable = yes
|
||||
}
|
||||
set_fleet_stance = evasive
|
||||
set_location = {
|
||||
target = event_target:global_gray_location
|
||||
distance = 0
|
||||
angle = random
|
||||
}
|
||||
set_fleet_flag = gray_constship
|
||||
save_global_event_target_as = global_gray_constship
|
||||
set_cloaking_active = yes
|
||||
assign_leader = event_target:gray_leader_scientist
|
||||
}
|
||||
}
|
||||
}
|
||||
228
common/scripted_effects/RG_megastructure_effects.txt
Normal file
228
common/scripted_effects/RG_megastructure_effects.txt
Normal file
@@ -0,0 +1,228 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
spawn_rg_oribital_ring_effect = {
|
||||
From = {
|
||||
create_ship_design = {
|
||||
design = "RG_ORBITAL_RING_TIER_1_STARBASE"
|
||||
}
|
||||
add_ship_design = last_created_design
|
||||
}
|
||||
create_starbase = {
|
||||
size = RG_orbital_ring_tier_1
|
||||
owner = FROM
|
||||
#module = <starbase_module>
|
||||
#building = <starbase_building>
|
||||
effect = {
|
||||
}
|
||||
}
|
||||
From = {
|
||||
remove_ship_design = last_created_design
|
||||
}
|
||||
}
|
||||
|
||||
rg_nano_ripper_update_orbital_effect = {
|
||||
# Find the orbital and habitat complex and save them as event targets
|
||||
if = {
|
||||
limit = {
|
||||
any_fleet_in_orbit = {
|
||||
OR = {
|
||||
is_ship_size = major_orbital_resource
|
||||
is_ship_size = minor_orbital_resource
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
random_fleet_in_orbit = {
|
||||
limit = {
|
||||
OR = {
|
||||
is_ship_size = major_orbital_resource
|
||||
is_ship_size = minor_orbital_resource
|
||||
}
|
||||
}
|
||||
save_event_target_as = target_orbital
|
||||
}
|
||||
|
||||
# solar_system = {
|
||||
# random_system_planet = {
|
||||
# limit = {
|
||||
# has_planet_flag = habitat
|
||||
# }
|
||||
# save_event_target_as = target_habitat
|
||||
# }
|
||||
# }
|
||||
|
||||
last_added_deposit = {
|
||||
event_target:target_orbital = {
|
||||
set_fleet_flag = mining_orbital
|
||||
}
|
||||
#switch = {
|
||||
# trigger = is_deposit_type
|
||||
# # Minerals
|
||||
# d_minerals_1 = {
|
||||
# event_target:target_orbital = {
|
||||
# set_fleet_flag = mining_orbital
|
||||
# }
|
||||
# }
|
||||
# Alloys
|
||||
# d_alloys_1 = {
|
||||
# event_target:target_orbital = {
|
||||
# set_fleet_flag = mining_orbital
|
||||
# }
|
||||
# event_target:target_habitat = {
|
||||
# add_deposit = d_hab_alloy_1
|
||||
# last_added_deposit = {
|
||||
# set_deposit_flag = planet@event_target:target_planet
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
#}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
rg_dismantle_nano_ripper_effect = {
|
||||
# Find the orbital and habitat complex and save them as event targets
|
||||
if = {
|
||||
limit = {
|
||||
any_fleet_in_orbit = {
|
||||
OR = {
|
||||
is_ship_size = major_orbital_resource
|
||||
is_ship_size = minor_orbital_resource
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
random_fleet_in_orbit = {
|
||||
limit = {
|
||||
OR = {
|
||||
is_ship_size = major_orbital_resource
|
||||
is_ship_size = minor_orbital_resource
|
||||
}
|
||||
}
|
||||
save_event_target_as = target_orbital
|
||||
}
|
||||
|
||||
# solar_system = {
|
||||
# random_system_planet = {
|
||||
# limit = {
|
||||
# has_planet_flag = habitat
|
||||
# }
|
||||
# save_event_target_as = target_habitat
|
||||
# }
|
||||
# }
|
||||
}
|
||||
|
||||
switch = {
|
||||
trigger = has_modifier
|
||||
rg_nano_ripper_1_mod = {
|
||||
remove_deposit = d_nanite_ripper_deposit_1
|
||||
remove_modifier = rg_nano_ripper_1_mod
|
||||
}
|
||||
rg_nano_ripper_2_mod = {
|
||||
remove_deposit = d_nanite_ripper_deposit_1
|
||||
remove_deposit = d_nanite_ripper_deposit_2
|
||||
remove_modifier = rg_nano_ripper_2_mod
|
||||
}
|
||||
rg_nano_ripper_3_mod = {
|
||||
remove_deposit = d_nanite_ripper_deposit_1
|
||||
remove_deposit = d_nanite_ripper_deposit_2
|
||||
remove_deposit = d_nanite_ripper_deposit_3
|
||||
remove_modifier = rg_nano_ripper_3_mod
|
||||
# if = {
|
||||
# limit = {
|
||||
# exists = event_target:target_orbital
|
||||
# }
|
||||
# event_target:target_habitat = {
|
||||
# random_deposit = {
|
||||
# limit = {
|
||||
# is_deposit_type = d_hab_alloy_1
|
||||
# has_deposit_flag = planet@event_target:target_planet
|
||||
# }
|
||||
# remove_deposit = yes
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
}
|
||||
rg_nano_ripper_4_mod = {
|
||||
remove_deposit = d_nanite_ripper_deposit_1
|
||||
remove_deposit = d_nanite_ripper_deposit_2
|
||||
remove_deposit = d_nanite_ripper_deposit_3
|
||||
remove_deposit = d_nanite_ripper_deposit_4
|
||||
remove_modifier = rg_nano_ripper_4_mod
|
||||
# if = {
|
||||
# limit = {
|
||||
# exists = event_target:target_orbital
|
||||
# }
|
||||
# event_target:target_habitat = {
|
||||
# while = {
|
||||
# count = 2
|
||||
# random_deposit = {
|
||||
# limit = {
|
||||
# is_deposit_type = d_hab_alloy_1
|
||||
# has_deposit_flag = planet@event_target:target_planet
|
||||
# }
|
||||
# remove_deposit = yes
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
}
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
has_orbital_mining_deposit = no
|
||||
exists = event_target:target_orbital
|
||||
}
|
||||
event_target:target_orbital = {
|
||||
remove_fleet_flag = mining_orbital
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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,169 @@ 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 = {
|
||||
RG_gray_scientist_active_trigger = yes
|
||||
}
|
||||
event_target:gray_scientist = {
|
||||
change_leader_portrait = GFX_gray_scientist_portrait
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
event_target:gray_owner = {
|
||||
OR = {
|
||||
RG_gray_warship_active_trigger = yes
|
||||
RG_gray_army_active_trigger = yes
|
||||
}
|
||||
|
||||
}
|
||||
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 = {
|
||||
RG_OR_has_wsg_mod_trigger = yes
|
||||
has_global_flag = rg_wg_gray_portrait_set
|
||||
}
|
||||
set_gray_portrait = yes
|
||||
event_target:rg_gray_country_leader = {
|
||||
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
|
||||
remove_country_flag = mss_enable_gray_maid
|
||||
}
|
||||
}
|
||||
|
||||
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 = {
|
||||
@@ -27,25 +185,6 @@ rg_create_gray_species = {
|
||||
exists = event_target:gray_species
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_global_flag = has_wsg_mod
|
||||
has_global_flag = kdc_event_mod_active
|
||||
}
|
||||
}
|
||||
create_species = {
|
||||
name = GRAY_SPECIES
|
||||
plural = GRAY_SPECIES
|
||||
class = ART
|
||||
portrait = GrayTempest06
|
||||
namelist = ART1
|
||||
effect = {
|
||||
save_global_event_target_as = gray_species
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
create_species = {
|
||||
name = GRAY_SPECIES
|
||||
plural = GRAY_SPECIES
|
||||
@@ -58,7 +197,6 @@ rg_create_gray_species = {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
rg_create_gray_warship_1 = {
|
||||
create_fleet = {
|
||||
@@ -1202,10 +1340,12 @@ RG_const_auto_build_effect = {
|
||||
prefix = no
|
||||
design = "NAME_RG_GRAY_constructor"
|
||||
effect = {
|
||||
PREV = {
|
||||
set_cloaking_active = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
set_location = root
|
||||
set_owner = event_target:RG_const_country
|
||||
queue_actions = {
|
||||
@@ -1283,7 +1423,7 @@ RG_const_auto_build_effect = {
|
||||
#建造空间站
|
||||
find_closest_planet = {
|
||||
trigger = {
|
||||
id = RG_work_bees_trigger.1
|
||||
id = RG_work_bees_trigger.11
|
||||
RG_planet_can_auto_build = yes
|
||||
}
|
||||
found_planet = {
|
||||
@@ -1293,7 +1433,7 @@ RG_const_auto_build_effect = {
|
||||
duration = $station_time$
|
||||
}
|
||||
effect = {
|
||||
id = RG_work_bees_effect.2
|
||||
id = RG_work_bees_effect.22
|
||||
#若星系属于母国,则自动建造
|
||||
if = {
|
||||
limit = {
|
||||
@@ -1752,6 +1892,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 = {
|
||||
@@ -2236,31 +2773,36 @@ rg_gray_country_after_init = {
|
||||
# 默认关闭自动建造中继器
|
||||
# set_country_flag = rg_can_const_hyper_relay
|
||||
# 初始化小灰领袖等级
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_country_flag = origin_rg_gray #遥远约定
|
||||
has_country_flag = origin_gray_country #远星之歌
|
||||
}
|
||||
}
|
||||
set_variable = {
|
||||
which = rg_gray_level
|
||||
value = 1
|
||||
}
|
||||
}
|
||||
else = {
|
||||
set_variable = {
|
||||
which = rg_gray_level
|
||||
value = 10
|
||||
}
|
||||
}
|
||||
# if = {
|
||||
# limit = {
|
||||
# RG_has_gray_cluster_origin_trigger = yes
|
||||
# }
|
||||
# set_variable = {
|
||||
# which = rg_gray_level
|
||||
# value = 1
|
||||
# }
|
||||
# }
|
||||
# else = {
|
||||
# set_variable = {
|
||||
# which = rg_gray_level
|
||||
# value = 10
|
||||
# }
|
||||
# }
|
||||
# 启动开局故事事件链
|
||||
rg_storyline_trigger = yes
|
||||
# 接受小灰建立通信
|
||||
event_target:rg_gray_country = {
|
||||
establish_communications_no_message = event_target:gray_owner
|
||||
}
|
||||
rg_juggernaut_habitat_init = yes
|
||||
country_event = {
|
||||
id = rg_grayleader.7
|
||||
days = -1
|
||||
}
|
||||
# rg_juggernaut_habitat_init = yes
|
||||
}
|
||||
|
||||
rg_timeline_attract_field_init = {
|
||||
|
||||
@@ -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"
|
||||
@@ -299,7 +328,7 @@ rg_create_gray_destroyer_1 = {
|
||||
set_owner = root
|
||||
create_ship = {
|
||||
name = "NAME_RG_base_destroyer"
|
||||
design = "RG_base_destroyer_key"
|
||||
design = "NAME_RG_base_destroyer"
|
||||
prefix = no
|
||||
upgradable = no
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ graytempest_storm_add = {
|
||||
|
||||
inline_script = {
|
||||
script = cosmic_storms/StormVisuals
|
||||
STORM_NAME = "graytempest_storm"
|
||||
STORM_NAME = "particle_storm"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ graytempest_storm_apply_aftermath_modifier = {
|
||||
}
|
||||
}
|
||||
|
||||
graytempests_storm_apply_deposits = {
|
||||
graytempest_storm_apply_deposits = {
|
||||
every_system_planet = {
|
||||
limit = {
|
||||
OR = {
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
# has_budding_trait = {
|
||||
# OR = {
|
||||
# has_trait = trait_plantoid_budding
|
||||
# has_trait = trait_lithoid_budding
|
||||
# has_trait = trait_advanced_budding
|
||||
# has_trait = rg_machine_maid_trait
|
||||
# }
|
||||
# }
|
||||
@@ -1,8 +0,0 @@
|
||||
has_budding_trait = {
|
||||
OR = {
|
||||
has_trait = trait_plantoid_budding
|
||||
has_trait = trait_lithoid_budding
|
||||
has_trait = trait_advanced_budding
|
||||
has_trait = rg_machine_maid_trait
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
@@ -63,6 +63,7 @@ RG_gray_mod2_trigger = {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
RG_gray_mod2_allow_trigger = {
|
||||
hidden_trigger = {
|
||||
# To prevent exploit
|
||||
@@ -86,13 +87,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
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -105,13 +106,15 @@ RG_gray_mod2_allow_trigger = {
|
||||
value >= 150000
|
||||
}
|
||||
}
|
||||
|
||||
RG_gray_mod3_trigger = {
|
||||
NOR = {
|
||||
has_country_flag = gray_reforming
|
||||
RG_gray_is_reforming_trigger = yes
|
||||
has_country_flag = rg_juggernaut_fired
|
||||
}
|
||||
has_country_flag = rg_gray_level_3
|
||||
}
|
||||
|
||||
RG_gray_mod3_allow_trigger = {
|
||||
resource_stockpile_compare = {
|
||||
resource = energy
|
||||
@@ -121,5 +124,43 @@ RG_gray_mod3_allow_trigger = {
|
||||
resource = alloys
|
||||
value >= 150000
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = requires_rg_has_tech_juggernaut
|
||||
has_technology = tech_juggernaut
|
||||
}
|
||||
}
|
||||
|
||||
RG_gray_official_active_trigger = {
|
||||
OR = {
|
||||
has_country_flag = gray_official_active
|
||||
has_country_flag = gray_governor_active #旧版flag
|
||||
}
|
||||
}
|
||||
|
||||
RG_gray_warship_active_trigger = {
|
||||
has_country_flag = gray_warship_active
|
||||
}
|
||||
|
||||
RG_gray_army_active_trigger = {
|
||||
has_country_flag = gray_army_active
|
||||
}
|
||||
|
||||
RG_gray_scientist_active_trigger = {
|
||||
has_country_flag = gray_constship_active
|
||||
}
|
||||
|
||||
RG_gray_harbitat_active_trigger = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
}
|
||||
|
||||
RG_gray_not_avaliable_trigger = {
|
||||
OR = {
|
||||
RG_gray_is_reforming_trigger = yes
|
||||
has_country_flag = gray_diplomacy_engaged
|
||||
}
|
||||
}
|
||||
|
||||
#小灰噶了
|
||||
RG_gray_is_reforming_trigger = {
|
||||
has_country_flag = gray_reforming
|
||||
}
|
||||
21
common/scripted_triggers/RG_megastructure_triggers.txt
Normal file
21
common/scripted_triggers/RG_megastructure_triggers.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
rg_is_pc_nano = {
|
||||
OR = {
|
||||
is_planet_class = pc_nanotech
|
||||
is_planet_class = pc_gray_goo
|
||||
}
|
||||
}
|
||||
|
||||
rg_system_has_nano_ripper = {
|
||||
solar_system = {
|
||||
any_system_megastructure = {
|
||||
OR = {
|
||||
is_megastructure_type = rg_nano_ripper_1
|
||||
is_megastructure_type = rg_nano_ripper_2
|
||||
is_megastructure_type = rg_nano_ripper_3
|
||||
is_megastructure_type = rg_nano_ripper_4
|
||||
is_megastructure_type = rg_nano_ripper_destroyed
|
||||
is_megastructure_type = rg_nano_ripper_restored
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,23 @@
|
||||
rg_all_cluster_mod_check = {
|
||||
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 # 未来追迹
|
||||
rg_has_ag_origin_trigger = yes # 遥远的故事
|
||||
}
|
||||
}
|
||||
|
||||
rg_all_cluster_mod_check_for_scion = {
|
||||
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 # 未来追迹
|
||||
rg_has_ag_origin_trigger = yes # 遥远的故事
|
||||
}
|
||||
}
|
||||
|
||||
RG_planet_can_auto_build = {
|
||||
OR = {
|
||||
AND = {
|
||||
@@ -23,3 +43,41 @@ RG_planet_can_auto_build = {
|
||||
has_planet_flag = RG_work_bees_built
|
||||
}
|
||||
}
|
||||
|
||||
RG_OR_has_wsg_mod_trigger = {
|
||||
OR = {
|
||||
has_global_flag = has_wsg_mod
|
||||
has_global_flag = kdc_event_mod_active
|
||||
}
|
||||
}
|
||||
|
||||
RG_AG_has_gray_master_trigger = {
|
||||
has_civic = civic_AG_gray_master
|
||||
}
|
||||
|
||||
RG_has_gray_cluster_origin_trigger = {
|
||||
OR = {
|
||||
has_country_flag = origin_rg_gray #遥远约定
|
||||
has_country_flag = origin_gray_country #远星之歌
|
||||
}
|
||||
}
|
||||
|
||||
rg_is_main_species_with_maid_trait_trigger = {
|
||||
has_trait = rg_machine_maid_trait
|
||||
OR = {
|
||||
is_same_species = owner_main_species
|
||||
is_subspecies = owner_main_species
|
||||
}
|
||||
}
|
||||
|
||||
RG_tradition5_or_gray_owner_trigger = {
|
||||
OR = {
|
||||
RG_gray_harbitat_active_trigger = yes
|
||||
has_active_tradition = tr_rg_nanotech_5
|
||||
}
|
||||
}
|
||||
rg_has_ag_origin_trigger = {
|
||||
any_country = {
|
||||
has_origin = origin_Asgray
|
||||
}
|
||||
}
|
||||
@@ -103,6 +103,21 @@ 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
|
||||
|
||||
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
|
||||
@@ -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 = {
|
||||
@@ -293,7 +337,6 @@ RG_armed_constructor_ship = {
|
||||
}
|
||||
|
||||
use_shipnames_from = constructor
|
||||
icon = ship_size_constructor
|
||||
base_buildtime = @construction_build_time
|
||||
num_target_locators = 2
|
||||
is_space_station = no
|
||||
@@ -463,8 +506,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 = {
|
||||
|
||||
150
common/situations/rg_deficit_situations.txt
Normal file
150
common/situations/rg_deficit_situations.txt
Normal file
@@ -0,0 +1,150 @@
|
||||
situation_nanites_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
|
||||
}
|
||||
on_abort = {
|
||||
owner = {
|
||||
add_resource = {
|
||||
nanites = @bailout_strategic_base_amount
|
||||
mult = value:bailout_scaling_factor
|
||||
}
|
||||
}
|
||||
}
|
||||
start_value = 15
|
||||
stages = {
|
||||
deficit_first = {
|
||||
icon = GFX_situation_stage_1
|
||||
icon_background = GFX_situation_stage_frame_red
|
||||
end = 25
|
||||
modifier = {
|
||||
planet_jobs_upkeep_mult = 0.05
|
||||
all_technology_research_speed = -0.05
|
||||
planet_buildings_upkeep_mult = 0.05
|
||||
megastructures_upkeep_mult = 0.05
|
||||
}
|
||||
}
|
||||
deficit_second = {
|
||||
icon = GFX_situation_stage_2
|
||||
icon_background = GFX_situation_stage_frame_red
|
||||
end = 50
|
||||
modifier = {
|
||||
planet_jobs_upkeep_mult = 0.1
|
||||
all_technology_research_speed = -0.1
|
||||
planet_buildings_upkeep_mult = 0.1
|
||||
megastructures_upkeep_mult = 0.1
|
||||
}
|
||||
}
|
||||
deficit_third = {
|
||||
icon = GFX_situation_stage_3
|
||||
icon_background = GFX_situation_stage_frame_red
|
||||
end = 75
|
||||
modifier = {
|
||||
planet_jobs_upkeep_mult = 0.15
|
||||
all_technology_research_speed = -0.2
|
||||
planet_buildings_upkeep_mult = 0.15
|
||||
megastructures_upkeep_mult = 0.15
|
||||
}
|
||||
}
|
||||
deficit_fourth = {
|
||||
icon = GFX_situation_stage_4
|
||||
icon_background = GFX_situation_stage_frame_red
|
||||
end = 100
|
||||
on_first_enter = {
|
||||
situation_event = {
|
||||
id = gigadeficit.160
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
planet_jobs_upkeep_mult = 0.2
|
||||
all_technology_research_speed = -0.4
|
||||
planet_buildings_upkeep_mult = 0.2
|
||||
megastructures_upkeep_mult = 0.2
|
||||
}
|
||||
}
|
||||
}
|
||||
on_progress_complete = {
|
||||
country_defaulted_in_situation_tooltip = yes
|
||||
hidden_effect = {
|
||||
situation_event = {
|
||||
id = rg_deficit.220
|
||||
}
|
||||
}
|
||||
}
|
||||
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|nanites|
|
||||
desc = string_expenditures_greater_than_income_nanites
|
||||
owner = {
|
||||
has_actual_deficit = {
|
||||
RESOURCE = nanites
|
||||
}
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
subtract = 3
|
||||
desc = string_not_in_deficit_nanites
|
||||
owner = {
|
||||
resource_income_compare = {
|
||||
resource = nanites
|
||||
value >= 0
|
||||
}
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
subtract = 1
|
||||
desc = string_resource_reserves_nanites
|
||||
owner = {
|
||||
has_negative_income_with_stockpile = {
|
||||
RESOURCE = nanites
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
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_nanite_usage
|
||||
icon = GFX_situation_approach_research
|
||||
icon_background = GFX_situation_approach_bg_red
|
||||
modifier = {
|
||||
country_nanites_produces_mult = 0.15
|
||||
planet_stability_add = -10
|
||||
planet_structures_cost_mult = 1
|
||||
megastructures_cost_mult = 1
|
||||
}
|
||||
ai_weight = {
|
||||
base = 0
|
||||
modifier = {
|
||||
add = 2
|
||||
current_stage = deficit_third
|
||||
}
|
||||
modifier = {
|
||||
add = 2
|
||||
current_stage = deficit_fourth
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -214,7 +214,7 @@ situation_rg_gray_mod1 = {
|
||||
NOT = { exists = event_target:gray_warship }
|
||||
owner = {
|
||||
NOT = {
|
||||
has_country_flag = gray_warship_active
|
||||
RG_gray_warship_active_trigger = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -547,3 +547,164 @@ 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 } }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -19,6 +19,8 @@ special_project = {
|
||||
rg_event_effect_lcluster_open = yes
|
||||
}
|
||||
}
|
||||
fail_trigger = {
|
||||
}
|
||||
on_fail = {
|
||||
}
|
||||
on_start = {
|
||||
@@ -49,6 +51,8 @@ special_project = {
|
||||
leader = commander
|
||||
has_trait = RG_leader_trait_admiral_gray
|
||||
}
|
||||
fail_trigger = {
|
||||
}
|
||||
on_start = {
|
||||
owner = {
|
||||
country_event = {
|
||||
@@ -88,6 +92,8 @@ special_project = {
|
||||
leader = commander
|
||||
has_trait = RG_leader_trait_admiral_gray
|
||||
}
|
||||
fail_trigger = {
|
||||
}
|
||||
on_start = {
|
||||
owner = {
|
||||
country_event = {
|
||||
@@ -125,6 +131,8 @@ special_project = {
|
||||
leader = commander
|
||||
has_trait = RG_leader_trait_admiral_gray
|
||||
}
|
||||
fail_trigger = {
|
||||
}
|
||||
on_start = {
|
||||
owner = {
|
||||
country_event = {
|
||||
|
||||
@@ -10,6 +10,8 @@ special_project = {
|
||||
shipclass_science_ship = 1
|
||||
leader = scientist
|
||||
}
|
||||
fail_trigger = {
|
||||
}
|
||||
on_start = {
|
||||
owner = {
|
||||
country_event = {
|
||||
@@ -46,6 +48,8 @@ special_project = {
|
||||
event_scope = country_event
|
||||
requirements = {
|
||||
}
|
||||
fail_trigger = {
|
||||
}
|
||||
on_start = {
|
||||
owner = {
|
||||
random_situation = {
|
||||
@@ -86,6 +90,8 @@ special_project = {
|
||||
event_scope = country_event
|
||||
requirements = {
|
||||
}
|
||||
fail_trigger = {
|
||||
}
|
||||
on_start = {
|
||||
owner = {
|
||||
random_situation = {
|
||||
|
||||
@@ -18,4 +18,5 @@ RG_MACHINE = {
|
||||
species_trait_points = 10
|
||||
species_max_traits = 6
|
||||
robotic = yes
|
||||
inherit_traits_from = { BIOLOGICAL ROBOT MACHINE }
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
citizenship_full_rg_maid = {
|
||||
is_full_citizenship = yes
|
||||
|
||||
potential = {
|
||||
exists = from
|
||||
from = { is_same_value = event_target:gray_owner }
|
||||
}
|
||||
|
||||
allow = {
|
||||
hidden_trigger = { exists = from }
|
||||
custom_tooltip = {
|
||||
fail_text = RG_MACHINE_SPECIES_NOT_MACHINE
|
||||
OR = {
|
||||
has_trait = trait_rg_machine_unit
|
||||
}
|
||||
}
|
||||
}
|
||||
ai_will_do = {
|
||||
factor = 100
|
||||
}
|
||||
}
|
||||
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
|
||||
}
|
||||
}
|
||||
66
common/starbase_buildings/!_RG_starbase_building.txt
Normal file
66
common/starbase_buildings/!_RG_starbase_building.txt
Normal file
@@ -0,0 +1,66 @@
|
||||
nanite_harvester = {
|
||||
icon = "GFX_starbase_nanite_harvester"
|
||||
construction_days = 360
|
||||
|
||||
potential = {
|
||||
exists = owner
|
||||
owner = {
|
||||
OR = {
|
||||
has_tradition = tr_nanotech_adopt
|
||||
has_tradition = tr_rg_nanotech_adopt
|
||||
}
|
||||
}
|
||||
is_normal_starbase = yes
|
||||
}
|
||||
|
||||
possible = {
|
||||
custom_tooltip = {
|
||||
fail_text = "requires_starport"
|
||||
has_starbase_size >= starbase_starport
|
||||
}
|
||||
|
||||
custom_tooltip = {
|
||||
fail_text = requires_planetoids_for_nanites
|
||||
solar_system = {
|
||||
any_system_planet = {
|
||||
can_have_mineral_deposits = yes
|
||||
NOT = { has_deposit = d_nanite_harvester_deposit }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
resources = {
|
||||
category = starbase_buildings
|
||||
cost = {
|
||||
alloys = 500
|
||||
}
|
||||
upkeep = {
|
||||
energy = 4
|
||||
mult = value:nanotech_harvester_deposit_num
|
||||
}
|
||||
}
|
||||
|
||||
on_finished = {
|
||||
solar_system = {
|
||||
system_event = {
|
||||
id = cybernetics.5050
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
on_destroyed = {
|
||||
solar_system = {
|
||||
system_event = {
|
||||
id = cybernetics.5051
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
custom_tooltip = nanite_harvester_tooltip
|
||||
|
||||
ai_weight = {
|
||||
weight = 100 #use same weight here - ai weighting is done in starbase_types.txt
|
||||
modifier = {}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
nanites_deficit = {
|
||||
planet_jobs_produces_mult = -0.5
|
||||
custom_tooltip = nanites_deficit_tooltip
|
||||
}
|
||||
@@ -121,3 +121,25 @@ skill_rg_nanite_leader_background_planet_governor = {
|
||||
planet_stability_add = 0.5
|
||||
planet_jobs_upkeep_mult = -0.01
|
||||
}
|
||||
|
||||
# Arc Furnace
|
||||
|
||||
rg_nano_ripper_1_mod = {
|
||||
station_gatherers_produces_mult = @arc_furnace_1_mod_value
|
||||
icon = "gfx/interface/icons/planet_modifiers/pm_arc_furnace.dds"
|
||||
}
|
||||
|
||||
rg_nano_ripper_2_mod = {
|
||||
station_gatherers_produces_mult = @arc_furnace_2_mod_value
|
||||
icon = "gfx/interface/icons/planet_modifiers/pm_arc_furnace.dds"
|
||||
}
|
||||
|
||||
rg_nano_ripper_3_mod = {
|
||||
station_gatherers_produces_mult = @arc_furnace_3_mod_value
|
||||
icon = "gfx/interface/icons/planet_modifiers/pm_arc_furnace.dds"
|
||||
}
|
||||
|
||||
rg_nano_ripper_4_mod = {
|
||||
station_gatherers_produces_mult = @arc_furnace_4_mod_value
|
||||
icon = "gfx/interface/icons/planet_modifiers/pm_arc_furnace.dds"
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
116
common/traditions/RG_nanotech_tradition.txt
Normal file
116
common/traditions/RG_nanotech_tradition.txt
Normal file
@@ -0,0 +1,116 @@
|
||||
|
||||
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
|
||||
shipsize_mining_station_upkeep_mult = -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
|
||||
}
|
||||
rg_create_gray_planetkiller_testship_2 = yes
|
||||
}
|
||||
#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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -4,12 +4,28 @@ rg_machine_maid_trait = {
|
||||
}
|
||||
custom_tooltip = rg_machine_maid_trait_effect_tooltip
|
||||
initial = no
|
||||
species_potential_add = { always = no }
|
||||
species_possible_remove = { always = no }
|
||||
species_possible_merge_add = { always = no }
|
||||
species_possible_merge_remove = { always = no }
|
||||
species_potential_add = {
|
||||
FROM = {
|
||||
RG_tradition5_or_gray_owner_trigger = yes
|
||||
}
|
||||
}
|
||||
species_possible_remove = {
|
||||
FROM = {
|
||||
RG_tradition5_or_gray_owner_trigger = yes
|
||||
}
|
||||
}
|
||||
species_possible_merge_add = {
|
||||
FROM = {
|
||||
RG_tradition5_or_gray_owner_trigger = yes
|
||||
}
|
||||
}
|
||||
species_possible_merge_remove = {
|
||||
FROM = {
|
||||
RG_tradition5_or_gray_owner_trigger = yes
|
||||
}
|
||||
}
|
||||
randomized = no
|
||||
allowed_archetypes = { MACHINE }
|
||||
allowed_archetypes = { ROBOT MACHINE BIOLOGICAL LITHOID RG_MACHINE }
|
||||
sorting_priority = 20
|
||||
potential_crossbreeding_chance = 1.0
|
||||
|
||||
@@ -31,7 +47,7 @@ rg_machine_maid_trait = {
|
||||
exists = planet
|
||||
planet = {
|
||||
exists = owner
|
||||
owner = { is_same_value = event_target:gray_owner }
|
||||
owner = { has_country_flag = gray_owner }
|
||||
}
|
||||
}
|
||||
planet_jobs_produces_mult = 0.1
|
||||
@@ -54,11 +70,63 @@ rg_machine_maid_trait = {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
slave_cost = {
|
||||
energy = 1000
|
||||
}
|
||||
}
|
||||
|
||||
trait_rg_machine_unit = {
|
||||
cost = 0
|
||||
sorting_priority = 20
|
||||
initial = no
|
||||
randomized = no
|
||||
species_potential_add = {
|
||||
always = no
|
||||
}
|
||||
species_possible_remove = {
|
||||
always = no
|
||||
}
|
||||
|
||||
species_possible_merge_add = {
|
||||
FROM = {
|
||||
RG_tradition5_or_gray_owner_trigger = yes
|
||||
}
|
||||
}
|
||||
|
||||
species_possible_merge_remove = {
|
||||
FROM = {
|
||||
RG_tradition5_or_gray_owner_trigger = yes
|
||||
}
|
||||
}
|
||||
|
||||
icon = "gfx/interface/icons/traits/trait_machine_unit.dds"
|
||||
allowed_archetypes = { ROBOT MACHINE BIOLOGICAL LITHOID RG_MACHINE }
|
||||
|
||||
immortal_leaders = no
|
||||
|
||||
modifier = {
|
||||
pc_machine_habitability = 1
|
||||
leader_lifespan_add = 10
|
||||
habitability_floor_add = 0.5
|
||||
}
|
||||
|
||||
triggered_planet_growth_habitability_modifier = {
|
||||
potential = {
|
||||
exists = owner
|
||||
owner = {
|
||||
OR = {
|
||||
has_active_tradition = tr_nanotech_adopt
|
||||
has_active_tradition = tr_rg_nanotech_adopt
|
||||
}
|
||||
}
|
||||
}
|
||||
pc_nanotech_habitability = 1
|
||||
}
|
||||
|
||||
leader_age_min = 5
|
||||
leader_age_max = 10
|
||||
|
||||
custom_tooltip_with_modifiers = TRAIT_MACHINE_UNIT_EFFECT
|
||||
}
|
||||
@@ -73,7 +73,6 @@ country_event = {
|
||||
save_event_target_as = candidate_gateway_system
|
||||
}
|
||||
}
|
||||
set_global_flag = rg_kac_lcluster_project
|
||||
}
|
||||
option = {
|
||||
name = "distar.10905.a"
|
||||
@@ -6,34 +6,6 @@
|
||||
#
|
||||
############################
|
||||
namespace = graygoo
|
||||
# Entering Empty Cluster
|
||||
ship_event = {
|
||||
id = graygoo.550
|
||||
title = "graygoo.550.name"
|
||||
desc = "graygoo.550.desc"
|
||||
picture = GFX_evt_ruined_system
|
||||
show_sound = event_radio_chatter
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
NOR = {
|
||||
has_global_flag = gray_goo_crisis_set
|
||||
has_global_flag = dragon_season
|
||||
has_global_flag = gray_goo_empire_set
|
||||
has_global_flag = rg_l_cluster
|
||||
}
|
||||
from = {
|
||||
has_star_flag = lcluster1
|
||||
}
|
||||
owner = {
|
||||
NOT = {
|
||||
has_country_flag = origin_gray_country
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = graygoo.550.a
|
||||
}
|
||||
}
|
||||
|
||||
# Invasion begins
|
||||
country_event = {
|
||||
@@ -357,54 +329,6 @@ country_event = {
|
||||
}
|
||||
}
|
||||
|
||||
# The Dessanu Consonance
|
||||
country_event = {
|
||||
id = graygoo.110
|
||||
title = "distar.10951.name"
|
||||
desc = "graygoo.110.desc"
|
||||
picture = GFX_evt_l-gateway
|
||||
show_sound = event_radio_chatter
|
||||
is_triggered_only = yes
|
||||
after = {
|
||||
hidden_effect = {
|
||||
every_playable_country = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_special_project = RG_LCLUSTER_PROJECT
|
||||
has_event_chain = l_cluster_chain
|
||||
}
|
||||
NOT = {
|
||||
is_same_value = root
|
||||
}
|
||||
}
|
||||
country_event = {
|
||||
id = graygoo.111
|
||||
}
|
||||
}
|
||||
every_playable_country = {
|
||||
limit = {
|
||||
NOR = {
|
||||
has_event_chain = l_cluster_chain
|
||||
has_special_project = RG_LCLUSTER_PROJECT
|
||||
is_same_value = root
|
||||
}
|
||||
}
|
||||
country_event = {
|
||||
id = graygoo.112
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = graygoo.10.a
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = graygoo.115
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Reinforcements 1
|
||||
country_event = {
|
||||
id = graygoo.3
|
||||
@@ -764,6 +688,54 @@ country_event = {
|
||||
}
|
||||
}
|
||||
|
||||
# The Dessanu Consonance
|
||||
country_event = {
|
||||
id = graygoo.110
|
||||
title = "distar.10951.name"
|
||||
desc = "graygoo.110.desc"
|
||||
picture = GFX_evt_l-gateway
|
||||
show_sound = event_radio_chatter
|
||||
is_triggered_only = yes
|
||||
after = {
|
||||
hidden_effect = {
|
||||
every_playable_country = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_special_project = RG_LCLUSTER_PROJECT
|
||||
has_event_chain = l_cluster_chain
|
||||
}
|
||||
NOT = {
|
||||
is_same_value = root
|
||||
}
|
||||
}
|
||||
country_event = {
|
||||
id = graygoo.111
|
||||
}
|
||||
}
|
||||
every_playable_country = {
|
||||
limit = {
|
||||
NOR = {
|
||||
has_event_chain = l_cluster_chain
|
||||
has_special_project = RG_LCLUSTER_PROJECT
|
||||
is_same_value = root
|
||||
}
|
||||
}
|
||||
country_event = {
|
||||
id = graygoo.112
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = graygoo.10.a
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = graygoo.115
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Factory Destroyed (Dessanu)
|
||||
country_event = {
|
||||
id = graygoo.180
|
||||
@@ -822,3 +794,668 @@ country_event = {
|
||||
destroy_country = yes
|
||||
}
|
||||
}
|
||||
|
||||
# Encountered Gray
|
||||
ship_event = {
|
||||
id = graygoo.400
|
||||
title = "graygoo.400.name"
|
||||
trigger = {
|
||||
NOT = {
|
||||
any_playable_country = {
|
||||
has_country_flag = gray_owner
|
||||
}
|
||||
}
|
||||
}
|
||||
desc = {
|
||||
trigger = {
|
||||
owner = {
|
||||
is_synthetic_empire = no
|
||||
}
|
||||
}
|
||||
text = "graygoo.400.a.desc"
|
||||
}
|
||||
desc = {
|
||||
trigger = {
|
||||
owner = {
|
||||
is_synthetic_empire = yes
|
||||
}
|
||||
}
|
||||
text = "graygoo.400.b.desc"
|
||||
}
|
||||
picture = GFX_evt_ship_in_orbit_2
|
||||
show_sound = event_radio_chatter
|
||||
is_triggered_only = yes
|
||||
immediate = {
|
||||
from = {
|
||||
save_event_target_as = gray_homeworld
|
||||
}
|
||||
rg_timeline_attract_field_init = yes
|
||||
}
|
||||
option = {
|
||||
name = graygoo.400.a
|
||||
hidden_effect = {
|
||||
owner = {
|
||||
country_event = {
|
||||
id = graygoo.401
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Gray 1
|
||||
country_event = {
|
||||
id = graygoo.401
|
||||
title = "TRANSMISSION"
|
||||
desc = {
|
||||
trigger = {
|
||||
NOT = {
|
||||
has_authority = auth_machine_intelligence
|
||||
}
|
||||
}
|
||||
text = "graygoo.401.a.desc"
|
||||
}
|
||||
desc = {
|
||||
trigger = {
|
||||
has_authority = auth_machine_intelligence
|
||||
}
|
||||
text = "graygoo.401.b.desc"
|
||||
}
|
||||
is_triggered_only = yes
|
||||
diplomatic = yes
|
||||
picture_event_data = {
|
||||
portrait = event_target:rg_gray_country_leader
|
||||
planet_background = event_target:gray_homeworld
|
||||
room = "ethic_spaceship_room"
|
||||
}
|
||||
immediate = {
|
||||
rg_gray_country_init = yes #创建国家
|
||||
rg_timeline_attract_field_init = yes
|
||||
}
|
||||
option = {
|
||||
name = graygoo.401.a
|
||||
trigger = {
|
||||
NOR = {
|
||||
has_authority = auth_machine_intelligence
|
||||
has_authority = auth_hive_mind
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = graygoo.402
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = graygoo.401.b
|
||||
trigger = {
|
||||
has_authority = auth_machine_intelligence
|
||||
}
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = graygoo.402
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = graygoo.401.c
|
||||
trigger = {
|
||||
has_authority = auth_hive_mind
|
||||
}
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = graygoo.402
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Gray 2
|
||||
country_event = {
|
||||
id = graygoo.402
|
||||
title = "TRANSMISSION"
|
||||
desc = {
|
||||
trigger = {
|
||||
NOT = {
|
||||
has_authority = auth_machine_intelligence
|
||||
}
|
||||
}
|
||||
text = "graygoo.402.a.desc"
|
||||
}
|
||||
desc = {
|
||||
trigger = {
|
||||
has_authority = auth_machine_intelligence
|
||||
}
|
||||
text = "graygoo.402.b.desc"
|
||||
}
|
||||
diplomatic = yes
|
||||
picture_event_data = {
|
||||
portrait = event_target:rg_gray_country_leader
|
||||
planet_background = event_target:gray_homeworld
|
||||
room = "ethic_spaceship_room"
|
||||
}
|
||||
is_triggered_only = yes
|
||||
option = {
|
||||
name = graygoo.402.a
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = graygoo.403
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Gray 3
|
||||
country_event = {
|
||||
id = graygoo.403
|
||||
title = "TRANSMISSION"
|
||||
desc = "graygoo.403.desc"
|
||||
diplomatic = yes
|
||||
picture_event_data = {
|
||||
portrait = event_target:rg_gray_country_leader
|
||||
planet_background = event_target:gray_homeworld
|
||||
room = "ethic_spaceship_room"
|
||||
}
|
||||
is_triggered_only = yes
|
||||
option = {
|
||||
name = graygoo.403.a
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = graygoo.404
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Gray 4
|
||||
country_event = {
|
||||
id = graygoo.404
|
||||
title = "TRANSMISSION"
|
||||
desc = "graygoo.404.desc"
|
||||
diplomatic = yes
|
||||
picture_event_data = {
|
||||
portrait = event_target:rg_gray_country_leader
|
||||
planet_background = event_target:gray_homeworld
|
||||
room = "ethic_spaceship_room"
|
||||
}
|
||||
is_triggered_only = yes
|
||||
option = {
|
||||
name = graygoo.404.a
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = graygoo.405
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Gray 5
|
||||
country_event = {
|
||||
id = graygoo.405
|
||||
title = "TRANSMISSION"
|
||||
desc = "graygoo.405.desc"
|
||||
diplomatic = yes
|
||||
picture_event_data = {
|
||||
portrait = event_target:rg_gray_country_leader
|
||||
planet_background = event_target:gray_homeworld
|
||||
room = "ethic_spaceship_room"
|
||||
}
|
||||
is_triggered_only = yes
|
||||
option = {
|
||||
name = graygoo.405.a
|
||||
hidden_effect = {
|
||||
owner = {
|
||||
country_event = {
|
||||
id = graygoo.406
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = graygoo.405.b
|
||||
response_text = graygoo.405.b.response
|
||||
}
|
||||
}
|
||||
|
||||
# Gray 6
|
||||
country_event = {
|
||||
id = graygoo.406
|
||||
title = "TRANSMISSION"
|
||||
desc = "graygoo.406.desc"
|
||||
diplomatic = yes
|
||||
picture_event_data = {
|
||||
portrait = event_target:rg_gray_country_leader
|
||||
planet_background = event_target:gray_homeworld
|
||||
room = ship_room
|
||||
}
|
||||
event_window_type = leader_recruit
|
||||
is_triggered_only = yes
|
||||
option = {
|
||||
name = graygoo.406.a
|
||||
response_text = graygoo.406.a.response
|
||||
is_dialog_only = yes
|
||||
}
|
||||
option = {
|
||||
name = graygoo.406.b
|
||||
response_text = graygoo.406.b.response
|
||||
is_dialog_only = yes
|
||||
}
|
||||
option = {
|
||||
name = graygoo.405.b
|
||||
tag = dismiss_leader
|
||||
response_text = graygoo.405.b.response
|
||||
owner = {
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.4051
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = graygoo.406.c
|
||||
response_text = graygoo.406.c.response
|
||||
default_hide_option = yes
|
||||
tag = hire_leader
|
||||
hidden_effect = {
|
||||
# create_message = {
|
||||
# type = MESSAGE_RECRUITED_LEADER
|
||||
# localization = MESSAGE_RECRUITED_LEADER_DESC
|
||||
# days = @toast_message_days
|
||||
# target = event_target:gray_governor
|
||||
# variable = {
|
||||
# type = name
|
||||
# localization = LEADER
|
||||
# scope = event_target:gray_governor
|
||||
# }
|
||||
# }
|
||||
owner = {
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.4063
|
||||
}
|
||||
}
|
||||
country_event = {
|
||||
id = graygoo.499
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Create Gray
|
||||
country_event = {
|
||||
id = graygoo.499
|
||||
hide_window = yes
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
NOT = {
|
||||
exists = event_target:gray_owner
|
||||
}
|
||||
is_ai = no
|
||||
}
|
||||
inline_script = {
|
||||
script = events/rg_graygoo/rg_graygoo.499
|
||||
}
|
||||
}
|
||||
|
||||
# Main Menu (Initial)
|
||||
country_event = {
|
||||
id = graygoo.500
|
||||
hide_window = yes
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
from = {
|
||||
OR = {
|
||||
is_country_type = gray
|
||||
is_same_value = ROOT
|
||||
}
|
||||
}
|
||||
is_same_value = event_target:gray_owner
|
||||
NOR = {
|
||||
RG_gray_scientist_active_trigger = yes
|
||||
RG_gray_official_active_trigger = yes
|
||||
RG_gray_warship_active_trigger = yes
|
||||
RG_gray_army_active_trigger = yes
|
||||
RG_gray_not_avaliable_trigger = yes
|
||||
}
|
||||
}
|
||||
immediate = {
|
||||
if = {
|
||||
limit = {
|
||||
RG_OR_has_wsg_mod_trigger = yes
|
||||
}
|
||||
country_event = {
|
||||
id = rg_graygoo.500
|
||||
}
|
||||
}
|
||||
else = {
|
||||
country_event = {
|
||||
id = rg_grayleader.500
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Main Menu (Governor)
|
||||
country_event = {
|
||||
id = graygoo.501
|
||||
hide_window = yes
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
from = {
|
||||
OR = {
|
||||
is_country_type = gray
|
||||
is_same_value = ROOT
|
||||
}
|
||||
}
|
||||
is_same_value = event_target:gray_owner
|
||||
RG_gray_official_active_trigger = yes
|
||||
NOR = {
|
||||
RG_gray_not_avaliable_trigger = yes
|
||||
}
|
||||
exists = event_target:gray_governor
|
||||
}
|
||||
immediate = {
|
||||
if = {
|
||||
limit = {
|
||||
RG_OR_has_wsg_mod_trigger = yes
|
||||
}
|
||||
country_event = {
|
||||
id = rg_graygoo.501
|
||||
}
|
||||
}
|
||||
else = {
|
||||
country_event = {
|
||||
id = rg_grayleader.501
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Main Menu (Warship)
|
||||
country_event = {
|
||||
id = graygoo.502
|
||||
hide_window = yes
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
from = {
|
||||
OR = {
|
||||
is_country_type = gray
|
||||
is_same_value = ROOT
|
||||
}
|
||||
}
|
||||
is_same_value = event_target:gray_owner
|
||||
RG_gray_warship_active_trigger = yes
|
||||
NOR = {
|
||||
RG_gray_not_avaliable_trigger = yes
|
||||
}
|
||||
exists = event_target:gray_warship
|
||||
any_owned_fleet = {
|
||||
is_same_value = event_target:gray_warship
|
||||
}
|
||||
event_target:gray_warship = {
|
||||
num_ships > 0
|
||||
}
|
||||
}
|
||||
immediate = {
|
||||
if = {
|
||||
limit = {
|
||||
RG_OR_has_wsg_mod_trigger = yes
|
||||
}
|
||||
country_event = {
|
||||
id = rg_graygoo.502
|
||||
}
|
||||
}
|
||||
else = {
|
||||
country_event = {
|
||||
id = rg_grayleader.502
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Main Menu (Army)
|
||||
country_event = {
|
||||
id = graygoo.503
|
||||
hide_window = yes
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
from = {
|
||||
OR = {
|
||||
is_country_type = gray
|
||||
is_same_value = ROOT
|
||||
}
|
||||
}
|
||||
RG_gray_army_active_trigger = yes
|
||||
NOR = {
|
||||
RG_gray_not_avaliable_trigger = yes
|
||||
}
|
||||
is_same_value = event_target:gray_owner
|
||||
any_owned_army = {
|
||||
army_type = gray_army
|
||||
OR = {
|
||||
exists = planet
|
||||
AND = {
|
||||
exists = fleet
|
||||
fleet = {
|
||||
num_ships > 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
immediate = {
|
||||
if = {
|
||||
limit = {
|
||||
RG_OR_has_wsg_mod_trigger = yes
|
||||
}
|
||||
country_event = {
|
||||
id = rg_graygoo.503
|
||||
}
|
||||
}
|
||||
else = {
|
||||
country_event = {
|
||||
id = rg_grayleader.503
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Main Menu (Gray Reforming)
|
||||
country_event = {
|
||||
id = graygoo.504
|
||||
hide_window = yes
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
from = {
|
||||
OR = {
|
||||
is_country_type = gray
|
||||
is_same_value = ROOT
|
||||
}
|
||||
}
|
||||
is_same_value = event_target:gray_owner
|
||||
RG_gray_is_reforming_trigger = yes
|
||||
}
|
||||
immediate = {
|
||||
if = {
|
||||
limit = {
|
||||
RG_OR_has_wsg_mod_trigger = yes
|
||||
}
|
||||
country_event = {
|
||||
id = rg_graygoo.504
|
||||
}
|
||||
}
|
||||
else = {
|
||||
country_event = {
|
||||
id = rg_grayleader.504
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Main Menu (const)
|
||||
country_event = {
|
||||
id = graygoo.505
|
||||
hide_window = yes
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
from = {
|
||||
OR = {
|
||||
is_country_type = gray
|
||||
is_same_value = ROOT
|
||||
}
|
||||
}
|
||||
is_same_value = event_target:gray_owner
|
||||
RG_gray_scientist_active_trigger = yes
|
||||
NOR = {
|
||||
RG_gray_not_avaliable_trigger = yes
|
||||
}
|
||||
exists = event_target:global_gray_constship
|
||||
any_owned_fleet = {
|
||||
is_same_value = event_target:global_gray_constship
|
||||
}
|
||||
event_target:global_gray_constship = {
|
||||
num_ships > 0
|
||||
}
|
||||
}
|
||||
immediate = {
|
||||
if = {
|
||||
limit = {
|
||||
RG_OR_has_wsg_mod_trigger = yes
|
||||
}
|
||||
country_event = {
|
||||
id = rg_graygoo.505
|
||||
}
|
||||
}
|
||||
else = {
|
||||
country_event = {
|
||||
id = rg_grayleader.505
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Gray destroyed or disbanded
|
||||
event = {
|
||||
id = graygoo.510
|
||||
hide_window = yes
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
any_country = {
|
||||
is_country_type = gray
|
||||
}
|
||||
exists = event_target:gray_owner
|
||||
event_target:gray_owner = {
|
||||
OR = {
|
||||
AND = {
|
||||
RG_gray_army_active_trigger = yes
|
||||
NOT = {
|
||||
any_owned_army = {
|
||||
army_type = gray_army
|
||||
}
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
RG_gray_warship_active_trigger = yes
|
||||
NOT = {
|
||||
exists = event_target:gray_warship
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
has_country_flag = gray_official_active
|
||||
NOT = {
|
||||
exists = event_target:gray_official
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
RG_gray_scientist_active_trigger = yes
|
||||
NOT = {
|
||||
exists = event_target:global_gray_constship
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
immediate = {
|
||||
event_target:gray_owner = {
|
||||
remove_country_flag = gray_official_active #新版flag
|
||||
remove_country_flag = gray_governor_active #旧版flag #总督
|
||||
remove_country_flag = gray_warship_active #旗舰
|
||||
remove_country_flag = gray_army_active #陆军
|
||||
remove_country_flag = gray_constship_active #科舰
|
||||
set_country_flag = gray_reforming
|
||||
add_modifier = {
|
||||
modifier = "gray_scattered"
|
||||
days = 3600
|
||||
}
|
||||
country_event = {
|
||||
id = graygoo.511
|
||||
}
|
||||
country_event = {
|
||||
id = graygoo.512
|
||||
days = 3600
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Gray regenerating
|
||||
country_event = {
|
||||
id = graygoo.511
|
||||
title = "graygoo.511.name"
|
||||
desc = "graygoo.511.desc"
|
||||
picture = GFX_evt_circuitry_modification
|
||||
show_sound = event_radio_chatter
|
||||
is_triggered_only = yes
|
||||
option = {
|
||||
name = graygoo.511.a
|
||||
}
|
||||
}
|
||||
|
||||
# Gray Returns
|
||||
country_event = {
|
||||
id = graygoo.512
|
||||
title = "graygoo.500.title"
|
||||
desc = "graygoo.512.a.desc"
|
||||
desc = "graygoo.512.b.desc"
|
||||
desc = "graygoo.512.c.desc"
|
||||
event_window_type = leader_story
|
||||
picture = GFX_evt_gray_gooed_planet
|
||||
picture_event_data = {
|
||||
portrait = event_target:rg_gray_country_leader
|
||||
room = root
|
||||
}
|
||||
is_triggered_only = yes
|
||||
immediate = {
|
||||
remove_country_flag = gray_reforming
|
||||
}
|
||||
option = {
|
||||
name = graygoo.512.a
|
||||
}
|
||||
}
|
||||
|
||||
# Entering Empty Cluster
|
||||
ship_event = {
|
||||
id = graygoo.550
|
||||
title = "graygoo.550.name"
|
||||
desc = "graygoo.550.desc"
|
||||
picture = GFX_evt_ruined_system
|
||||
show_sound = event_radio_chatter
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
NOR = {
|
||||
has_global_flag = gray_goo_crisis_set
|
||||
has_global_flag = dragon_season
|
||||
has_global_flag = gray_goo_empire_set
|
||||
has_global_flag = rg_l_cluster
|
||||
}
|
||||
from = {
|
||||
has_star_flag = lcluster1
|
||||
}
|
||||
owner = {
|
||||
NOT = {
|
||||
has_country_flag = origin_gray_country
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = graygoo.550.a
|
||||
}
|
||||
}
|
||||
@@ -1,694 +0,0 @@
|
||||
############################
|
||||
#
|
||||
# Gray Goo Events
|
||||
#
|
||||
# Written by Henrik Thyrwall
|
||||
#
|
||||
############################
|
||||
namespace = graygoo
|
||||
# Encountered Gray
|
||||
ship_event = {
|
||||
id = graygoo.400
|
||||
title = "graygoo.400.name"
|
||||
trigger = {
|
||||
NOT = {
|
||||
any_playable_country = {
|
||||
has_country_flag = gray_owner
|
||||
}
|
||||
}
|
||||
}
|
||||
desc = {
|
||||
trigger = {
|
||||
owner = {
|
||||
is_synthetic_empire = no
|
||||
}
|
||||
}
|
||||
text = "graygoo.400.a.desc"
|
||||
}
|
||||
desc = {
|
||||
trigger = {
|
||||
owner = {
|
||||
is_synthetic_empire = yes
|
||||
}
|
||||
}
|
||||
text = "graygoo.400.b.desc"
|
||||
}
|
||||
picture = GFX_evt_ship_in_orbit_2
|
||||
show_sound = event_radio_chatter
|
||||
is_triggered_only = yes
|
||||
immediate = {
|
||||
from = {
|
||||
save_event_target_as = gray_homeworld
|
||||
}
|
||||
rg_timeline_attract_field_init = yes
|
||||
}
|
||||
option = {
|
||||
name = graygoo.400.a
|
||||
hidden_effect = {
|
||||
owner = {
|
||||
country_event = {
|
||||
id = graygoo.401
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Gray 1
|
||||
country_event = {
|
||||
id = graygoo.401
|
||||
title = "TRANSMISSION"
|
||||
desc = {
|
||||
trigger = {
|
||||
NOT = {
|
||||
has_authority = auth_machine_intelligence
|
||||
}
|
||||
}
|
||||
text = "graygoo.401.a.desc"
|
||||
}
|
||||
desc = {
|
||||
trigger = {
|
||||
has_authority = auth_machine_intelligence
|
||||
}
|
||||
text = "graygoo.401.b.desc"
|
||||
}
|
||||
is_triggered_only = yes
|
||||
diplomatic = yes
|
||||
picture_event_data = {
|
||||
portrait = event_target:rg_gray_country_leader
|
||||
planet_background = event_target:gray_homeworld
|
||||
room = "ethic_spaceship_room"
|
||||
}
|
||||
immediate = {
|
||||
rg_gray_country_init = yes #创建国家
|
||||
rg_timeline_attract_field_init = yes
|
||||
}
|
||||
option = {
|
||||
name = graygoo.401.a
|
||||
trigger = {
|
||||
NOR = {
|
||||
has_authority = auth_machine_intelligence
|
||||
has_authority = auth_hive_mind
|
||||
}
|
||||
}
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = graygoo.402
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = graygoo.401.b
|
||||
trigger = {
|
||||
has_authority = auth_machine_intelligence
|
||||
}
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = graygoo.402
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = graygoo.401.c
|
||||
trigger = {
|
||||
has_authority = auth_hive_mind
|
||||
}
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = graygoo.402
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Gray 2
|
||||
country_event = {
|
||||
id = graygoo.402
|
||||
title = "TRANSMISSION"
|
||||
desc = {
|
||||
trigger = {
|
||||
NOT = {
|
||||
has_authority = auth_machine_intelligence
|
||||
}
|
||||
}
|
||||
text = "graygoo.402.a.desc"
|
||||
}
|
||||
desc = {
|
||||
trigger = {
|
||||
has_authority = auth_machine_intelligence
|
||||
}
|
||||
text = "graygoo.402.b.desc"
|
||||
}
|
||||
diplomatic = yes
|
||||
picture_event_data = {
|
||||
portrait = event_target:rg_gray_country_leader
|
||||
planet_background = event_target:gray_homeworld
|
||||
room = "ethic_spaceship_room"
|
||||
}
|
||||
is_triggered_only = yes
|
||||
option = {
|
||||
name = graygoo.402.a
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = graygoo.403
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Gray 3
|
||||
country_event = {
|
||||
id = graygoo.403
|
||||
title = "TRANSMISSION"
|
||||
desc = "graygoo.403.desc"
|
||||
diplomatic = yes
|
||||
picture_event_data = {
|
||||
portrait = event_target:rg_gray_country_leader
|
||||
planet_background = event_target:gray_homeworld
|
||||
room = "ethic_spaceship_room"
|
||||
}
|
||||
is_triggered_only = yes
|
||||
option = {
|
||||
name = graygoo.403.a
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = graygoo.404
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Gray 4
|
||||
country_event = {
|
||||
id = graygoo.404
|
||||
title = "TRANSMISSION"
|
||||
desc = "graygoo.404.desc"
|
||||
diplomatic = yes
|
||||
picture_event_data = {
|
||||
portrait = event_target:rg_gray_country_leader
|
||||
planet_background = event_target:gray_homeworld
|
||||
room = "ethic_spaceship_room"
|
||||
}
|
||||
is_triggered_only = yes
|
||||
option = {
|
||||
name = graygoo.404.a
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = graygoo.405
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Gray 5
|
||||
country_event = {
|
||||
id = graygoo.405
|
||||
title = "TRANSMISSION"
|
||||
desc = "graygoo.405.desc"
|
||||
diplomatic = yes
|
||||
picture_event_data = {
|
||||
portrait = event_target:rg_gray_country_leader
|
||||
planet_background = event_target:gray_homeworld
|
||||
room = "ethic_spaceship_room"
|
||||
}
|
||||
is_triggered_only = yes
|
||||
option = {
|
||||
name = graygoo.405.a
|
||||
hidden_effect = {
|
||||
owner = {
|
||||
country_event = {
|
||||
id = graygoo.406
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = graygoo.405.b
|
||||
response_text = graygoo.405.b.response
|
||||
}
|
||||
}
|
||||
|
||||
# Gray 6
|
||||
country_event = {
|
||||
id = graygoo.406
|
||||
title = "TRANSMISSION"
|
||||
desc = "graygoo.406.desc"
|
||||
diplomatic = yes
|
||||
picture_event_data = {
|
||||
portrait = event_target:rg_gray_country_leader
|
||||
planet_background = event_target:gray_homeworld
|
||||
room = ship_room
|
||||
}
|
||||
event_window_type = leader_recruit
|
||||
is_triggered_only = yes
|
||||
option = {
|
||||
name = graygoo.406.a
|
||||
response_text = graygoo.406.a.response
|
||||
is_dialog_only = yes
|
||||
}
|
||||
option = {
|
||||
name = graygoo.406.b
|
||||
response_text = graygoo.406.b.response
|
||||
is_dialog_only = yes
|
||||
}
|
||||
option = {
|
||||
name = graygoo.405.b
|
||||
tag = dismiss_leader
|
||||
response_text = graygoo.405.b.response
|
||||
owner = {
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.4051
|
||||
}
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = graygoo.406.c
|
||||
response_text = graygoo.406.c.response
|
||||
default_hide_option = yes
|
||||
tag = hire_leader
|
||||
hidden_effect = {
|
||||
# create_message = {
|
||||
# type = MESSAGE_RECRUITED_LEADER
|
||||
# localization = MESSAGE_RECRUITED_LEADER_DESC
|
||||
# days = @toast_message_days
|
||||
# target = event_target:gray_governor
|
||||
# variable = {
|
||||
# type = name
|
||||
# localization = LEADER
|
||||
# scope = event_target:gray_governor
|
||||
# }
|
||||
# }
|
||||
owner = {
|
||||
country_event = {
|
||||
id = rg_grayleader_dialog.4063
|
||||
}
|
||||
}
|
||||
country_event = {
|
||||
id = graygoo.499
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Create Gray
|
||||
country_event = {
|
||||
id = graygoo.499
|
||||
hide_window = yes
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
NOT = {
|
||||
exists = event_target:gray_owner
|
||||
}
|
||||
is_ai = no
|
||||
}
|
||||
immediate = {
|
||||
set_global_flag = rg_kac_499
|
||||
rg_timeline_attract_field_init = yes
|
||||
if = {
|
||||
# 非正常触发补事件
|
||||
limit = {
|
||||
NOT = {
|
||||
exists = event_target:rg_gray_country
|
||||
}
|
||||
}
|
||||
rg_gray_country_init = yes #创建国家
|
||||
}
|
||||
rg_gray_country_after_init = yes
|
||||
set_country_flag = machine_age_nanites_studied
|
||||
create_message = {
|
||||
type = MESSAGE_RECRUITED_LEADER
|
||||
localization = "rg_event.2.desc"
|
||||
days = @toast_message_days
|
||||
target = event_target:rg_gray_country_leader
|
||||
variable = {
|
||||
type = name
|
||||
localization = LEADER
|
||||
scope = event_target:rg_gray_country_leader
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Main Menu (Initial)
|
||||
country_event = {
|
||||
id = graygoo.500
|
||||
hide_window = yes
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
from = {
|
||||
OR = {
|
||||
is_country_type = gray
|
||||
is_same_value = ROOT
|
||||
}
|
||||
}
|
||||
is_same_value = event_target:gray_owner
|
||||
NOR = {
|
||||
has_country_flag = gray_constship_active
|
||||
OR = {
|
||||
has_country_flag = gray_official_active
|
||||
has_country_flag = gray_governor_active #旧版flag
|
||||
}
|
||||
has_country_flag = gray_warship_active
|
||||
has_country_flag = gray_army_active
|
||||
has_country_flag = gray_reforming
|
||||
has_country_flag = gray_diplomacy_engaged
|
||||
}
|
||||
}
|
||||
immediate = {
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_global_flag = has_wsg_mod
|
||||
has_global_flag = kdc_event_mod_active
|
||||
}
|
||||
}
|
||||
country_event = {
|
||||
id = rg_graygoo.500
|
||||
}
|
||||
}
|
||||
else = {
|
||||
country_event = {
|
||||
id = rg_grayleader.500
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Main Menu (Governor)
|
||||
country_event = {
|
||||
id = graygoo.501
|
||||
hide_window = yes
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
from = {
|
||||
OR = {
|
||||
is_country_type = gray
|
||||
is_same_value = ROOT
|
||||
}
|
||||
}
|
||||
is_same_value = event_target:gray_owner
|
||||
OR = {
|
||||
has_country_flag = gray_official_active
|
||||
has_country_flag = gray_governor_active #旧版flag
|
||||
}
|
||||
NOR = {
|
||||
has_country_flag = gray_reforming
|
||||
has_country_flag = gray_diplomacy_engaged
|
||||
}
|
||||
exists = event_target:gray_governor
|
||||
}
|
||||
immediate = {
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_global_flag = has_wsg_mod
|
||||
has_global_flag = kdc_event_mod_active
|
||||
}
|
||||
}
|
||||
country_event = {
|
||||
id = rg_graygoo.501
|
||||
}
|
||||
}
|
||||
else = {
|
||||
country_event = {
|
||||
id = rg_grayleader.501
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Main Menu (Warship)
|
||||
country_event = {
|
||||
id = graygoo.502
|
||||
hide_window = yes
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
from = {
|
||||
OR = {
|
||||
is_country_type = gray
|
||||
is_same_value = ROOT
|
||||
}
|
||||
}
|
||||
is_same_value = event_target:gray_owner
|
||||
has_country_flag = gray_warship_active
|
||||
NOR = {
|
||||
has_country_flag = gray_reforming
|
||||
has_country_flag = gray_diplomacy_engaged
|
||||
}
|
||||
exists = event_target:gray_warship
|
||||
any_owned_fleet = {
|
||||
is_same_value = event_target:gray_warship
|
||||
}
|
||||
event_target:gray_warship = {
|
||||
num_ships > 0
|
||||
}
|
||||
}
|
||||
immediate = {
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_global_flag = has_wsg_mod
|
||||
has_global_flag = kdc_event_mod_active
|
||||
}
|
||||
}
|
||||
country_event = {
|
||||
id = rg_graygoo.502
|
||||
}
|
||||
}
|
||||
else = {
|
||||
country_event = {
|
||||
id = rg_grayleader.502
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Main Menu (Army)
|
||||
country_event = {
|
||||
id = graygoo.503
|
||||
hide_window = yes
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
from = {
|
||||
OR = {
|
||||
is_country_type = gray
|
||||
is_same_value = ROOT
|
||||
}
|
||||
}
|
||||
has_country_flag = gray_army_active
|
||||
NOR = {
|
||||
has_country_flag = gray_reforming
|
||||
has_country_flag = gray_diplomacy_engaged
|
||||
}
|
||||
is_same_value = event_target:gray_owner
|
||||
any_owned_army = {
|
||||
army_type = gray_army
|
||||
OR = {
|
||||
exists = planet
|
||||
AND = {
|
||||
exists = fleet
|
||||
fleet = {
|
||||
num_ships > 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
immediate = {
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_global_flag = has_wsg_mod
|
||||
has_global_flag = kdc_event_mod_active
|
||||
}
|
||||
}
|
||||
country_event = {
|
||||
id = rg_graygoo.503
|
||||
}
|
||||
}
|
||||
else = {
|
||||
country_event = {
|
||||
id = rg_grayleader.503
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Main Menu (Gray Reforming)
|
||||
country_event = {
|
||||
id = graygoo.504
|
||||
hide_window = yes
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
from = {
|
||||
OR = {
|
||||
is_country_type = gray
|
||||
is_same_value = ROOT
|
||||
}
|
||||
}
|
||||
is_same_value = event_target:gray_owner
|
||||
has_country_flag = gray_reforming
|
||||
}
|
||||
immediate = {
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_global_flag = has_wsg_mod
|
||||
has_global_flag = kdc_event_mod_active
|
||||
}
|
||||
}
|
||||
country_event = {
|
||||
id = rg_graygoo.504
|
||||
}
|
||||
}
|
||||
else = {
|
||||
country_event = {
|
||||
id = rg_grayleader.504
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Main Menu (const)
|
||||
country_event = {
|
||||
id = graygoo.505
|
||||
hide_window = yes
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
from = {
|
||||
OR = {
|
||||
is_country_type = gray
|
||||
is_same_value = ROOT
|
||||
}
|
||||
}
|
||||
is_same_value = event_target:gray_owner
|
||||
has_country_flag = gray_constship_active
|
||||
NOR = {
|
||||
has_country_flag = gray_reforming
|
||||
has_country_flag = gray_diplomacy_engaged
|
||||
}
|
||||
exists = event_target:global_gray_constship
|
||||
any_owned_fleet = {
|
||||
is_same_value = event_target:global_gray_constship
|
||||
}
|
||||
event_target:global_gray_constship = {
|
||||
num_ships > 0
|
||||
}
|
||||
}
|
||||
immediate = {
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_global_flag = has_wsg_mod
|
||||
has_global_flag = kdc_event_mod_active
|
||||
}
|
||||
}
|
||||
country_event = {
|
||||
id = rg_graygoo.505
|
||||
}
|
||||
}
|
||||
else = {
|
||||
country_event = {
|
||||
id = rg_grayleader.505
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Gray destroyed or disbanded
|
||||
event = {
|
||||
id = graygoo.510
|
||||
hide_window = yes
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
any_country = {
|
||||
is_country_type = gray
|
||||
}
|
||||
exists = event_target:gray_owner
|
||||
event_target:gray_owner = {
|
||||
OR = {
|
||||
AND = {
|
||||
has_country_flag = gray_army_active
|
||||
NOT = {
|
||||
any_owned_army = {
|
||||
army_type = gray_army
|
||||
}
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
has_country_flag = gray_warship_active
|
||||
NOT = {
|
||||
exists = event_target:gray_warship
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
has_country_flag = gray_official_active
|
||||
NOT = {
|
||||
exists = event_target:gray_official
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
has_country_flag = gray_constship_active
|
||||
NOT = {
|
||||
exists = event_target:global_gray_constship
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
immediate = {
|
||||
event_target:gray_owner = {
|
||||
remove_country_flag = gray_official_active #新版flag
|
||||
remove_country_flag = gray_governor_active #旧版flag #总督
|
||||
remove_country_flag = gray_warship_active #旗舰
|
||||
remove_country_flag = gray_army_active #陆军
|
||||
remove_country_flag = gray_constship_active #科舰
|
||||
set_country_flag = gray_reforming
|
||||
add_modifier = {
|
||||
modifier = "gray_scattered"
|
||||
days = 3600
|
||||
}
|
||||
country_event = { id = graygoo.511 }
|
||||
country_event = { id = graygoo.512 days = 3600 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Gray regenerating
|
||||
country_event = {
|
||||
id = graygoo.511
|
||||
title = "graygoo.511.name"
|
||||
desc = "graygoo.511.desc"
|
||||
picture = GFX_evt_circuitry_modification
|
||||
show_sound = event_radio_chatter
|
||||
is_triggered_only = yes
|
||||
option = {
|
||||
name = graygoo.511.a
|
||||
}
|
||||
}
|
||||
|
||||
# Gray Returns
|
||||
country_event = {
|
||||
id = graygoo.512
|
||||
title = "graygoo.500.title"
|
||||
desc = "graygoo.512.a.desc"
|
||||
desc = "graygoo.512.b.desc"
|
||||
desc = "graygoo.512.c.desc"
|
||||
|
||||
event_window_type = leader_story
|
||||
picture = GFX_evt_gray_gooed_planet
|
||||
picture_event_data = {
|
||||
portrait = event_target:rg_gray_country_leader
|
||||
room = root
|
||||
}
|
||||
|
||||
is_triggered_only = yes
|
||||
|
||||
immediate = {
|
||||
remove_country_flag = gray_reforming
|
||||
}
|
||||
|
||||
option = {
|
||||
name = graygoo.512.a
|
||||
}
|
||||
}
|
||||
@@ -130,18 +130,28 @@ country_event = {
|
||||
orbit_distance = 30
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = sector
|
||||
}
|
||||
sector = {
|
||||
leader = {
|
||||
unassign_leader = this
|
||||
save_event_target_as = rg_cluster_sector_gov
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
# if = {
|
||||
# limit = {
|
||||
# exists = sector
|
||||
# }
|
||||
# sector = {
|
||||
# leader = {
|
||||
# unassign_leader = this
|
||||
# save_event_target_as = rg_cluster_sector_gov
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# else = {
|
||||
# root = {
|
||||
# random_owned_leader = {
|
||||
# limit = {
|
||||
# leader_class = official
|
||||
# }
|
||||
# save_event_target_as = rg_cluster_sector_gov
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
|
||||
root = {
|
||||
random_owned_leader = {
|
||||
limit = {
|
||||
@@ -151,7 +161,6 @@ country_event = {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
# Spaceport setup
|
||||
if = {
|
||||
limit = {
|
||||
@@ -191,9 +200,9 @@ country_event = {
|
||||
set_controller = root
|
||||
set_capital = yes
|
||||
set_sector_capital = yes
|
||||
sector = {
|
||||
assign_leader = event_target:rg_cluster_sector_gov
|
||||
}
|
||||
# sector = {
|
||||
# assign_leader = event_target:rg_cluster_sector_gov
|
||||
# }
|
||||
set_name = random
|
||||
generate_start_buildings_and_districts = yes
|
||||
}
|
||||
|
||||
@@ -97,14 +97,8 @@ ship_event = {
|
||||
hide_window = yes
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
OR = {
|
||||
AND = {
|
||||
is_ship_size = RG_armed_science_ship
|
||||
OR = {
|
||||
has_component = RG_AUTOCONST_HANGER
|
||||
}
|
||||
}
|
||||
}
|
||||
solar_system = {
|
||||
OR = {
|
||||
NOT = {
|
||||
@@ -136,11 +130,6 @@ ship_event = {
|
||||
immediate = {
|
||||
if = {
|
||||
limit = {
|
||||
owner = {
|
||||
NOT = {
|
||||
is_same_value = event_target:origin_rg_gray_country
|
||||
}
|
||||
}
|
||||
solar_system = {
|
||||
NOT = {
|
||||
any_fleet_in_system = {
|
||||
@@ -154,51 +143,9 @@ ship_event = {
|
||||
}
|
||||
RG_const_auto_build_effect_event = yes
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
owner = {
|
||||
is_same_value = event_target:origin_rg_gray_country
|
||||
NOT = {
|
||||
has_global_flag = l_cluster_opened
|
||||
}
|
||||
}
|
||||
solar_system = {
|
||||
has_star_flag = lcluster
|
||||
NOT = {
|
||||
any_fleet_in_system = {
|
||||
exists = controller
|
||||
controller = {
|
||||
is_hostile = root.controller
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
RG_const_auto_build_effect_event = yes
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
owner = {
|
||||
is_same_value = event_target:origin_rg_gray_country # 是小灰起源
|
||||
has_global_flag = l_cluster_opened # L星门已开启
|
||||
}
|
||||
solar_system = {
|
||||
# has_star_flag = lcluster
|
||||
NOT = {
|
||||
any_fleet_in_system = {
|
||||
exists = controller
|
||||
controller = {
|
||||
is_hostile = root.controller
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
RG_const_auto_build_effect_event = yes
|
||||
}
|
||||
ship_event = {
|
||||
id = rg_skill.3
|
||||
days = 10
|
||||
days = 30
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -737,6 +684,7 @@ country_event = {
|
||||
hide_window = yes
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
exists = fromfrom.leader
|
||||
OR = {
|
||||
fromfrom.leader = {
|
||||
has_trait = RG_leader_trait_admiral_nanorebuild_gray
|
||||
@@ -770,8 +718,9 @@ country_event = {
|
||||
hide_window = yes
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
exists = fromfromfrom.leader
|
||||
OR = {
|
||||
fromfrom.leader = {
|
||||
fromfromfrom.leader = {
|
||||
has_trait = RG_leader_trait_admiral_nanorebuild_gray
|
||||
}
|
||||
}
|
||||
|
||||
159
events/RG_deficit_event.txt
Normal file
159
events/RG_deficit_event.txt
Normal file
@@ -0,0 +1,159 @@
|
||||
namespace = rg_deficit
|
||||
|
||||
situation_event = {
|
||||
id = rg_deficit.170
|
||||
title = deficit.170.name
|
||||
desc = {
|
||||
text = rg_deficit.170.desc
|
||||
trigger = { owner = { is_machine_empire = no } }
|
||||
}
|
||||
desc = {
|
||||
text = rg_deficit.170.desc.machine
|
||||
trigger = { owner = { is_machine_empire = yes } }
|
||||
}
|
||||
picture = GFX_evt_deficit
|
||||
show_sound = event_bad_omen
|
||||
is_triggered_only = yes
|
||||
situation = this
|
||||
|
||||
abort_trigger = {
|
||||
situation_progress >= 100
|
||||
}
|
||||
|
||||
immediate = {
|
||||
owner = {
|
||||
# if normal empire, get all non-sapient or enslaved robots
|
||||
if = {
|
||||
limit = {
|
||||
is_machine_empire = no
|
||||
}
|
||||
ordered_owned_planet = {
|
||||
limit = {
|
||||
any_owned_pop = {
|
||||
OR = {
|
||||
is_shackled_robot = yes
|
||||
is_non_sapient_robot = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
order_by = value:num_non_sapient_robots_on_planet
|
||||
position = 0
|
||||
save_event_target_as = robots_planet
|
||||
event_target:robots_planet = {
|
||||
count_robots_to_recycle = { ALLOYS = 100 }
|
||||
}
|
||||
}
|
||||
}
|
||||
# if machine empire, the planet with most pops...
|
||||
else = {
|
||||
ordered_owned_planet = {
|
||||
limit = {
|
||||
any_owned_pop = {
|
||||
is_robot_pop = yes
|
||||
}
|
||||
}
|
||||
order_by = trigger:num_pops
|
||||
position = 0
|
||||
save_event_target_as = robots_planet
|
||||
event_target:robots_planet = {
|
||||
# ...and halven the number of recycled bots here
|
||||
count_robots_to_recycle = { ALLOYS = 100 }
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# scrap all robots on a planet (normal empires)
|
||||
option = {
|
||||
name = rg_deficit.170.A
|
||||
custom_tooltip = rg_deficit.170.A.tooltip
|
||||
trigger = {
|
||||
owner = {
|
||||
is_machine_empire = no
|
||||
}
|
||||
exists = event_target:robots_planet
|
||||
}
|
||||
hidden_effect = {
|
||||
event_target:robots_planet = {
|
||||
every_owned_pop = {
|
||||
limit = {
|
||||
OR = {
|
||||
is_shackled_robot = yes
|
||||
is_non_sapient_robot = yes
|
||||
}
|
||||
}
|
||||
kill_pop = yes
|
||||
}
|
||||
}
|
||||
owner = {
|
||||
add_resource = {
|
||||
nanites = 1
|
||||
mult = event_target:robots_planet.total_alloys_gained
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
# scrap half robot pops on a planet (machine empires)
|
||||
option = {
|
||||
name = rg_deficit.170.B
|
||||
custom_tooltip = rg_deficit.170.B.tooltip
|
||||
trigger = {
|
||||
owner = {
|
||||
is_machine_empire = yes
|
||||
}
|
||||
exists = event_target:robots_planet
|
||||
}
|
||||
hidden_effect = {
|
||||
event_target:robots_planet = {
|
||||
while = {
|
||||
count = recycled_robots
|
||||
random_owned_pop = {
|
||||
limit = {
|
||||
is_robot_pop = yes
|
||||
}
|
||||
kill_pop = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
owner = {
|
||||
add_resource = {
|
||||
nanites = 1
|
||||
mult = event_target:robots_planet.total_alloys_gained
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
option = {
|
||||
name = deficit.100.C
|
||||
}
|
||||
}
|
||||
|
||||
situation_event = {
|
||||
id = rg_deficit.220
|
||||
title = BANKRUPTCY
|
||||
desc = rg_deficit.175.desc
|
||||
picture = GFX_evt_deficit
|
||||
show_sound = event_life_support_fail
|
||||
is_triggered_only = yes
|
||||
situation = this
|
||||
force_open = yes
|
||||
|
||||
option = {
|
||||
name = UNFORTUNATE
|
||||
|
||||
owner = {
|
||||
add_resource = {
|
||||
nanites = @bailout_strategic_base_amount
|
||||
mult = value:bailout_scaling_factor
|
||||
}
|
||||
country_defaulted_effect = yes
|
||||
}
|
||||
}
|
||||
after = {
|
||||
destroy_situation = this
|
||||
}
|
||||
}
|
||||
@@ -41,18 +41,7 @@ country_event = {
|
||||
}
|
||||
is_triggered_only = yes
|
||||
immediate = {
|
||||
rg_gray_country_init = yes
|
||||
country_event = {
|
||||
id = graygoo.499
|
||||
}
|
||||
give_technology = {
|
||||
tech = tech_minilaser_gray_1
|
||||
message = no
|
||||
}
|
||||
give_technology = {
|
||||
tech = tech_object_gray_5
|
||||
message = no
|
||||
}
|
||||
rg_event_effect_event2_gray_origin_init = yes
|
||||
}
|
||||
option = {
|
||||
name = rg_event.2.a
|
||||
@@ -488,6 +477,7 @@ country_event = {
|
||||
clear_variable = rg_gray_level_temp
|
||||
}
|
||||
}
|
||||
rg_harbitar_size_calculate = yes
|
||||
}
|
||||
}
|
||||
|
||||
@@ -721,7 +711,7 @@ country_event = {
|
||||
hide_window = yes
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
has_country_flag = gray_army_active
|
||||
RG_gray_army_active_trigger = yes
|
||||
any_owned_army = {
|
||||
army_type = gray_army
|
||||
fleet = {
|
||||
@@ -1013,7 +1003,7 @@ country_event = {
|
||||
# is_triggered_only = yes
|
||||
# trigger = {
|
||||
# is_same_value = event_target:gray_owner
|
||||
# has_country_flag = gray_reforming
|
||||
# RG_gray_is_reforming_trigger = yes
|
||||
# }
|
||||
# immediate = {
|
||||
# if = {
|
||||
@@ -1036,6 +1026,170 @@ 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
|
||||
}
|
||||
RG_gray_harbitat_active_trigger = yes
|
||||
}
|
||||
|
||||
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
|
||||
modify_species = {
|
||||
species = root.species
|
||||
add_trait = rg_machine_maid_trait
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# 拆毁工厂小灰通讯
|
||||
country_event = {
|
||||
id = rg_event.200
|
||||
|
||||
563
events/RG_gray_goo_events.txt
Normal file
563
events/RG_gray_goo_events.txt
Normal file
@@ -0,0 +1,563 @@
|
||||
namespace = rg_grayleader
|
||||
# Check list (Initial)
|
||||
# 快速返回首页的按钮。
|
||||
country_event = {
|
||||
id = rg_grayleader.1
|
||||
hide_window = yes
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
fromfrom = {
|
||||
OR = {
|
||||
is_country_type = gray
|
||||
is_same_value = ROOT
|
||||
}
|
||||
}
|
||||
is_same_value = event_target:gray_owner
|
||||
}
|
||||
immediate = {
|
||||
if = {
|
||||
limit = {
|
||||
#500.initial
|
||||
fromfrom = {
|
||||
OR = {
|
||||
is_country_type = gray
|
||||
is_same_value = ROOT
|
||||
}
|
||||
}
|
||||
is_same_value = event_target:gray_owner
|
||||
NOR = {
|
||||
RG_gray_scientist_active_trigger = yes
|
||||
RG_gray_official_active_trigger = yes
|
||||
RG_gray_warship_active_trigger = yes
|
||||
RG_gray_army_active_trigger = yes
|
||||
RG_gray_not_avaliable_trigger = yes
|
||||
}
|
||||
}
|
||||
country_event = {
|
||||
id = rg_grayleader.500
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
#501.governor
|
||||
limit = {
|
||||
fromfrom = {
|
||||
OR = {
|
||||
is_country_type = gray
|
||||
is_same_value = ROOT
|
||||
}
|
||||
}
|
||||
is_same_value = event_target:gray_owner
|
||||
RG_gray_official_active_trigger = yes
|
||||
NOT = {
|
||||
RG_gray_not_avaliable_trigger = yes
|
||||
}
|
||||
exists = event_target:gray_governor
|
||||
}
|
||||
country_event = {
|
||||
id = rg_grayleader.501
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
#502.warship
|
||||
limit = {
|
||||
fromfrom = {
|
||||
OR = {
|
||||
is_country_type = gray
|
||||
is_same_value = ROOT
|
||||
}
|
||||
}
|
||||
is_same_value = event_target:gray_owner
|
||||
RG_gray_warship_active_trigger = yes
|
||||
NOT = {
|
||||
RG_gray_not_avaliable_trigger = yes
|
||||
}
|
||||
exists = event_target:gray_warship
|
||||
any_owned_fleet = {
|
||||
is_same_value = event_target:gray_warship
|
||||
}
|
||||
event_target:gray_warship = {
|
||||
num_ships > 0
|
||||
}
|
||||
}
|
||||
country_event = {
|
||||
id = rg_grayleader.502
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
#503.army
|
||||
limit = {
|
||||
fromfrom = {
|
||||
OR = {
|
||||
is_country_type = gray
|
||||
is_same_value = ROOT
|
||||
}
|
||||
}
|
||||
RG_gray_army_active_trigger = yes
|
||||
NOT = {
|
||||
RG_gray_not_avaliable_trigger = yes
|
||||
}
|
||||
is_same_value = event_target:gray_owner
|
||||
any_owned_army = {
|
||||
army_type = gray_army
|
||||
OR = {
|
||||
exists = planet
|
||||
AND = {
|
||||
exists = fleet
|
||||
fleet = {
|
||||
num_ships > 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
country_event = {
|
||||
id = rg_grayleader.503
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
#505.scienceship
|
||||
limit = {
|
||||
fromfrom = {
|
||||
OR = {
|
||||
is_country_type = gray
|
||||
is_same_value = ROOT
|
||||
}
|
||||
}
|
||||
is_same_value = event_target:gray_owner
|
||||
RG_gray_scientist_active_trigger = yes
|
||||
NOT = {
|
||||
RG_gray_not_avaliable_trigger = yes
|
||||
}
|
||||
exists = event_target:global_gray_constship
|
||||
any_owned_fleet = {
|
||||
is_same_value = event_target:global_gray_constship
|
||||
}
|
||||
event_target:global_gray_constship = {
|
||||
num_ships > 0
|
||||
}
|
||||
}
|
||||
country_event = {
|
||||
id = rg_grayleader.505
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
#504.gale
|
||||
limit = {
|
||||
fromfrom = {
|
||||
OR = {
|
||||
is_country_type = gray
|
||||
is_same_value = ROOT
|
||||
}
|
||||
}
|
||||
is_same_value = event_target:gray_owner
|
||||
RG_gray_is_reforming_trigger = yes
|
||||
}
|
||||
country_event = {
|
||||
id = graygoo.504
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Main Menu (Initial)
|
||||
country_event = {
|
||||
id = rg_grayleader.500
|
||||
title = "graygoo.500.title"
|
||||
desc = "graygoo.500.a.desc"
|
||||
desc = "graygoo.500.b.desc"
|
||||
desc = "graygoo.500.c.desc"
|
||||
desc = "graygoo.500.d.desc"
|
||||
diplomatic = yes
|
||||
event_window_type = leader_recruit
|
||||
picture_event_data = {
|
||||
portrait = event_target:rg_gray_country_leader
|
||||
planet_background = root.capital_scope
|
||||
room = "ethic_spaceship_room"
|
||||
}
|
||||
is_triggered_only = yes
|
||||
inline_script = {
|
||||
script = events/rg_graygoo/rg_graygoo.500
|
||||
}
|
||||
option = {
|
||||
name = graygoo.500.prepage
|
||||
tag = dismiss_leader
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = rg_grayleader.1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Main Menu (Governor)
|
||||
country_event = {
|
||||
id = rg_grayleader.501
|
||||
title = "graygoo.500.title"
|
||||
desc = "graygoo.501.a.desc"
|
||||
desc = "graygoo.501.b.desc"
|
||||
desc = "graygoo.501.c.desc"
|
||||
desc = "graygoo.501.d.desc"
|
||||
diplomatic = yes
|
||||
event_window_type = leader_recruit
|
||||
picture_event_data = {
|
||||
portrait = event_target:gray_governor
|
||||
planet_background = event_target:gray_official_planet
|
||||
room = root
|
||||
}
|
||||
is_triggered_only = yes
|
||||
inline_script = {
|
||||
script = events/rg_graygoo/rg_graygoo.501
|
||||
}
|
||||
option = {
|
||||
name = graygoo.500.prepage
|
||||
tag = dismiss_leader
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = rg_grayleader.1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Main Menu (Warship)
|
||||
country_event = {
|
||||
id = rg_grayleader.502
|
||||
title = "graygoo.500.title"
|
||||
desc = "graygoo.502.a.desc"
|
||||
desc = "graygoo.502.b.desc"
|
||||
desc = "graygoo.502.c.desc"
|
||||
desc = "graygoo.502.d.desc"
|
||||
diplomatic = yes
|
||||
event_window_type = leader_recruit
|
||||
picture_event_data = {
|
||||
portrait = event_target:gray_leader_admiral
|
||||
room = "ethic_spaceship_room"
|
||||
}
|
||||
is_triggered_only = yes
|
||||
inline_script = {
|
||||
script = events/rg_graygoo/rg_graygoo.502
|
||||
}
|
||||
option = {
|
||||
name = graygoo.500.prepage
|
||||
tag = dismiss_leader
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = rg_grayleader.1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Main Menu (Army)
|
||||
country_event = {
|
||||
id = rg_grayleader.503
|
||||
title = "graygoo.500.title"
|
||||
desc = "graygoo.503.a.desc"
|
||||
desc = "graygoo.503.b.desc"
|
||||
desc = "graygoo.503.c.desc"
|
||||
desc = "graygoo.503.d.desc"
|
||||
diplomatic = yes
|
||||
event_window_type = leader_recruit
|
||||
picture_event_data = {
|
||||
portrait = event_target:gray_leader_general
|
||||
room = "ethic_spaceship_room"
|
||||
}
|
||||
is_triggered_only = yes
|
||||
inline_script = {
|
||||
script = events/rg_graygoo/rg_graygoo.503
|
||||
}
|
||||
option = {
|
||||
name = graygoo.500.prepage
|
||||
tag = dismiss_leader
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = rg_grayleader.1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Main Menu (Gray Reforming)
|
||||
country_event = {
|
||||
id = rg_grayleader.504
|
||||
title = "graygoo.500.title"
|
||||
desc = "graygoo.504.desc"
|
||||
diplomatic = yes
|
||||
is_triggered_only = yes
|
||||
inline_script = {
|
||||
script = events/rg_graygoo/rg_graygoo.504
|
||||
}
|
||||
}
|
||||
|
||||
# Main Menu (const)
|
||||
country_event = {
|
||||
id = rg_grayleader.505
|
||||
title = "graygoo.500.title"
|
||||
desc = "graygoo.505.a.desc"
|
||||
desc = "graygoo.505.b.desc"
|
||||
desc = "graygoo.505.c.desc"
|
||||
desc = "graygoo.505.d.desc"
|
||||
diplomatic = yes
|
||||
event_window_type = leader_recruit
|
||||
picture_event_data = {
|
||||
portrait = event_target:gray_leader_scientist
|
||||
room = "ethic_spaceship_room"
|
||||
}
|
||||
is_triggered_only = yes
|
||||
inline_script = {
|
||||
script = events/rg_graygoo/rg_graygoo.505
|
||||
}
|
||||
option = {
|
||||
name = graygoo.500.prepage
|
||||
tag = dismiss_leader
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = rg_grayleader.1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# help Menu (Initial)
|
||||
country_event = {
|
||||
id = rg_grayleader.4
|
||||
title = "graygoo.500.title"
|
||||
desc = "rg_event.4.a.desc"
|
||||
event_window_type = leader_recruit
|
||||
picture_event_data = {
|
||||
portrait = event_target:gray_governor
|
||||
room = "ethic_spaceship_room"
|
||||
}
|
||||
is_triggered_only = yes
|
||||
inline_script = {
|
||||
script = events/rg_graygoo/rg_graygoo.4
|
||||
}
|
||||
option = {
|
||||
name = graygoo.500.prepage
|
||||
tag = dismiss_leader
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = rg_grayleader.1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
country_event = {
|
||||
id = rg_grayleader.5
|
||||
title = "graygoo.500.title"
|
||||
desc = "rg_event.5.a.desc"
|
||||
desc = "rg_event.5.b.desc"
|
||||
desc = "rg_event.5.c.desc"
|
||||
event_window_type = leader_recruit
|
||||
picture_event_data = {
|
||||
portrait = event_target:gray_governor
|
||||
room = "ethic_spaceship_room"
|
||||
}
|
||||
is_triggered_only = yes
|
||||
inline_script = {
|
||||
script = events/rg_graygoo/rg_graygoo.5
|
||||
}
|
||||
option = {
|
||||
name = graygoo.500.prepage
|
||||
tag = dismiss_leader
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = rg_grayleader.1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# 私房钱榨干了
|
||||
country_event = {
|
||||
id = rg_grayleader.6
|
||||
title = "graygoo.500.title"
|
||||
desc = "rg_event.6.a.desc"
|
||||
desc = "rg_event.6.b.desc"
|
||||
event_window_type = leader_recruit
|
||||
picture_event_data = {
|
||||
portrait = event_target:gray_governor
|
||||
room = "ethic_spaceship_room"
|
||||
}
|
||||
is_triggered_only = yes
|
||||
inline_script = {
|
||||
script = events/rg_graygoo/rg_graygoo.6
|
||||
}
|
||||
option = {
|
||||
name = graygoo.500.prepage
|
||||
tag = dismiss_leader
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = rg_grayleader.1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# 衣柜事件
|
||||
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
|
||||
}
|
||||
country_event = {
|
||||
id = rg_mss_gray.10
|
||||
}
|
||||
}
|
||||
}
|
||||
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 = {
|
||||
RG_OR_has_wsg_mod_trigger = yes
|
||||
}
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
84
events/RG_mss_gray.txt
Normal file
84
events/RG_mss_gray.txt
Normal file
@@ -0,0 +1,84 @@
|
||||
namespace = rg_mss_gray
|
||||
country_event = {
|
||||
id = rg_mss_gray.10
|
||||
title = mss_gray.10.t
|
||||
desc = mss_gray.10.d
|
||||
trigger = {
|
||||
exists = event_target:gray_owner
|
||||
is_same_value = event_target:gray_owner
|
||||
}
|
||||
diplomatic = yes
|
||||
is_triggered_only = yes
|
||||
# fire_only_once = yes
|
||||
immediate = {
|
||||
event_target:gray_country = {
|
||||
create_leader = {
|
||||
class = official
|
||||
species = event_target:gray_owner
|
||||
effect = {
|
||||
change_leader_portrait = ms_ldr_gray_default
|
||||
save_event_target_as = mss_temp_gray
|
||||
set_leader_flag = ms_temp_gray
|
||||
}
|
||||
}
|
||||
}
|
||||
ms_set_gray_portrait = { P = ms_ldr_gray_default }
|
||||
}
|
||||
picture = GFX_evt_gray_goo_ships
|
||||
picture_event_data = {
|
||||
portrait = event_target:mss_temp_gray
|
||||
room = specialist_bulwark_room
|
||||
planet_background = pc_gray_goo
|
||||
}
|
||||
show_sound = event_faceoff_in_space
|
||||
option = {
|
||||
name = mss_gray.portrait.random
|
||||
is_dialog_only = yes response_text = mss_gray.portrait.response.random
|
||||
ms_set_gray_portrait = { P = ms_ldr_gray_random }
|
||||
}
|
||||
option = {
|
||||
name = mss_gray.portrait.random.wingless
|
||||
is_dialog_only = yes response_text = mss_gray.portrait.response.random
|
||||
ms_set_gray_portrait = { P = ms_ldr_gray_random_wingless }
|
||||
}
|
||||
option = {
|
||||
name = mss_gray.portrait.default
|
||||
is_dialog_only = yes response_text = mss_gray.portrait.response.default
|
||||
ms_set_gray_portrait = { P = ms_ldr_gray_default }
|
||||
}
|
||||
option = {
|
||||
name = mss_gray.portrait.default.wingless
|
||||
is_dialog_only = yes response_text = mss_gray.portrait.response.default
|
||||
ms_set_gray_portrait = { P = ms_ldr_gray_default_wingless }
|
||||
}
|
||||
option = {
|
||||
name = mss_gray.portrait.classic
|
||||
is_dialog_only = yes response_text = mss_gray.portrait.response.classic
|
||||
ms_set_gray_portrait = { P = ms_ldr_gray_classic }
|
||||
}
|
||||
option = {
|
||||
name = mss_gray.portrait.classic.wingless
|
||||
is_dialog_only = yes response_text = mss_gray.portrait.response.classic
|
||||
ms_set_gray_portrait = { P = ms_ldr_gray_classic_wingless }
|
||||
}
|
||||
option = {
|
||||
name = mss_gray.10.yes
|
||||
custom_tooltip = mss_gray.10.yes.tt
|
||||
hidden_effect = {
|
||||
set_country_flag = mss_enable_gray_maid
|
||||
country_event = { id = mss_gray.20 }
|
||||
}
|
||||
}
|
||||
option = {
|
||||
name = mss_gray.10.no
|
||||
custom_tooltip = mss_gray.10.no.tt
|
||||
}
|
||||
after = {
|
||||
custom_tooltip = MS_LABEL_SPECIES
|
||||
hidden_effect = {
|
||||
event_target:mss_temp_gray = {
|
||||
kill_leader = { show_notification = no }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -43,10 +43,10 @@ country_event = {
|
||||
set_country_flag = rg_scion_needs_fe
|
||||
if = {
|
||||
limit ={
|
||||
OR = {
|
||||
rg_all_cluster_mod_check_for_scion = yes
|
||||
any_playable_country = {
|
||||
AND = {
|
||||
has_origin = origin_rg_gray
|
||||
# NOT = { has_global_flag = rg_origin_l_cluster }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,6 +42,31 @@ planet_event = {
|
||||
}
|
||||
set_update_modifiers_batch = end
|
||||
}
|
||||
} option = {
|
||||
trigger = { has_civic = civic_AG_gray_master }
|
||||
name = AG_dooropen_master.option
|
||||
if = {
|
||||
limit = {
|
||||
any_country = {
|
||||
has_civic = civic_AG_gray
|
||||
}
|
||||
}
|
||||
#do nothing
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
any_country = {
|
||||
has_civic = civic_AG_gray
|
||||
}
|
||||
}
|
||||
has_global_flag = has_rg_mod
|
||||
}
|
||||
force_remove_civic = civic_AG_gray_master
|
||||
}
|
||||
else = {
|
||||
country_event = { id = graygoo.499 }
|
||||
}
|
||||
}
|
||||
|
||||
# Cracked
|
||||
@@ -119,3 +144,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,263 @@
|
||||
namespace = rg_planet
|
||||
|
||||
##### Virtual Ascension Events
|
||||
|
||||
# Furnace Lvl 1
|
||||
country_event = {
|
||||
id = rg_planet.1000
|
||||
hide_window = yes
|
||||
location = FROM
|
||||
|
||||
is_triggered_only = yes
|
||||
|
||||
after = {
|
||||
fromfromfrom = {
|
||||
solar_system = {
|
||||
every_system_planet = {
|
||||
limit = {
|
||||
NOT = { has_deposit_for = shipclass_research_station }
|
||||
is_star = no
|
||||
is_astral_scar = no
|
||||
colonizable_planet = no
|
||||
}
|
||||
save_event_target_as = target_planet
|
||||
remove_trade_deposits = yes
|
||||
add_deposit = d_nanite_ripper_deposit_1
|
||||
rg_nano_ripper_update_orbital_effect = yes
|
||||
add_modifier = {
|
||||
modifier = rg_nano_ripper_1_mod
|
||||
days = -1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Furnace Lvl 2
|
||||
country_event = {
|
||||
id = rg_planet.1005
|
||||
hide_window = yes
|
||||
location = FROM
|
||||
|
||||
is_triggered_only = yes
|
||||
|
||||
after = {
|
||||
fromfromfrom = {
|
||||
solar_system = {
|
||||
every_system_planet = {
|
||||
limit = {
|
||||
NOT = { has_deposit_for = shipclass_research_station }
|
||||
is_star = no
|
||||
is_astral_scar = no
|
||||
colonizable_planet = no
|
||||
}
|
||||
save_event_target_as = target_planet
|
||||
remove_trade_deposits = yes
|
||||
add_deposit = d_nanite_ripper_deposit_2
|
||||
rg_nano_ripper_update_orbital_effect = yes
|
||||
remove_modifier = rg_nano_ripper_1_mod
|
||||
add_modifier = {
|
||||
modifier = rg_nano_ripper_2_mod
|
||||
days = -1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Furnace Lvl 3
|
||||
country_event = {
|
||||
id = rg_planet.1010
|
||||
hide_window = yes
|
||||
location = FROM
|
||||
|
||||
is_triggered_only = yes
|
||||
|
||||
after = {
|
||||
fromfromfrom = {
|
||||
solar_system = {
|
||||
every_system_planet = {
|
||||
limit = {
|
||||
NOT = { has_deposit_for = shipclass_research_station }
|
||||
is_star = no
|
||||
is_astral_scar = no
|
||||
colonizable_planet = no
|
||||
}
|
||||
save_event_target_as = target_planet
|
||||
remove_trade_deposits = yes
|
||||
add_deposit = d_nanite_ripper_deposit_3
|
||||
rg_nano_ripper_update_orbital_effect = yes
|
||||
remove_modifier = rg_nano_ripper_2_mod
|
||||
add_modifier = {
|
||||
modifier = rg_nano_ripper_3_mod
|
||||
days = -1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
# Furnace Lvl 4
|
||||
country_event = {
|
||||
id = rg_planet.1015
|
||||
hide_window = yes
|
||||
location = FROM
|
||||
|
||||
is_triggered_only = yes
|
||||
|
||||
after = {
|
||||
fromfromfrom = {
|
||||
solar_system = {
|
||||
every_system_planet = {
|
||||
limit = {
|
||||
NOT = { has_deposit_for = shipclass_research_station }
|
||||
is_star = no
|
||||
is_astral_scar = no
|
||||
colonizable_planet = no
|
||||
}
|
||||
save_event_target_as = target_planet
|
||||
remove_trade_deposits = yes
|
||||
add_deposit = d_nanite_ripper_deposit_4
|
||||
rg_nano_ripper_update_orbital_effect = yes
|
||||
remove_modifier = rg_nano_ripper_3_mod
|
||||
add_modifier = {
|
||||
modifier = rg_nano_ripper_4_mod
|
||||
days = -1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Furnace Restored
|
||||
country_event = {
|
||||
id = rg_planet.1016
|
||||
hide_window = yes
|
||||
location = FROM
|
||||
|
||||
is_triggered_only = yes
|
||||
|
||||
after = {
|
||||
fromfromfrom = {
|
||||
solar_system = {
|
||||
every_system_planet = {
|
||||
limit = {
|
||||
NOT = { has_deposit_for = shipclass_research_station }
|
||||
is_star = no
|
||||
is_astral_scar = no
|
||||
colonizable_planet = no
|
||||
}
|
||||
save_event_target_as = target_planet
|
||||
remove_trade_deposits = yes
|
||||
add_deposit = d_nanite_ripper_deposit_1
|
||||
rg_nano_ripper_update_orbital_effect = yes
|
||||
add_deposit = d_nanite_ripper_deposit_2
|
||||
rg_nano_ripper_update_orbital_effect = yes
|
||||
add_deposit = d_nanite_ripper_deposit_3
|
||||
rg_nano_ripper_update_orbital_effect = yes
|
||||
add_deposit = d_nanite_ripper_deposit_4
|
||||
rg_nano_ripper_update_orbital_effect = yes
|
||||
remove_modifier = rg_nano_ripper_3_mod
|
||||
add_modifier = {
|
||||
modifier = rg_nano_ripper_4_mod
|
||||
days = -1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ship_event = {
|
||||
id = rg_planet.1017
|
||||
hide_window = yes
|
||||
|
||||
is_triggered_only = yes
|
||||
|
||||
trigger = {
|
||||
from = {
|
||||
OR = {
|
||||
has_modifier = rg_nano_ripper_1_mod
|
||||
has_modifier = rg_nano_ripper_2_mod
|
||||
has_modifier = rg_nano_ripper_3_mod
|
||||
has_modifier = rg_nano_ripper_4_mod
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
from = {
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { has_deposit_for = shipclass_research_station }
|
||||
is_star = no
|
||||
is_astral_scar = no
|
||||
colonizable_planet = no
|
||||
}
|
||||
remove_trade_deposits = yes
|
||||
switch = {
|
||||
trigger = has_modifier
|
||||
rg_nano_ripper_1_mod = {
|
||||
add_deposit = d_nanite_ripper_deposit_1
|
||||
rg_nano_ripper_update_orbital_effect = yes
|
||||
}
|
||||
rg_nano_ripper_2_mod = {
|
||||
add_deposit = d_nanite_ripper_deposit_1
|
||||
rg_nano_ripper_update_orbital_effect = yes
|
||||
add_deposit = d_nanite_ripper_deposit_2
|
||||
rg_nano_ripper_update_orbital_effect = yes
|
||||
}
|
||||
rg_nano_ripper_3_mod = {
|
||||
add_deposit = d_nanite_ripper_deposit_1
|
||||
rg_nano_ripper_update_orbital_effect = yes
|
||||
add_deposit = d_nanite_ripper_deposit_2
|
||||
rg_nano_ripper_update_orbital_effect = yes
|
||||
add_deposit = d_nanite_ripper_deposit_3
|
||||
rg_nano_ripper_update_orbital_effect = yes
|
||||
}
|
||||
rg_nano_ripper_4_mod = {
|
||||
add_deposit = d_nanite_ripper_deposit_1
|
||||
rg_nano_ripper_update_orbital_effect = yes
|
||||
add_deposit = d_nanite_ripper_deposit_2
|
||||
rg_nano_ripper_update_orbital_effect = yes
|
||||
add_deposit = d_nanite_ripper_deposit_3
|
||||
rg_nano_ripper_update_orbital_effect = yes
|
||||
add_deposit = d_nanite_ripper_deposit_4
|
||||
rg_nano_ripper_update_orbital_effect = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
remove_modifier = rg_nano_ripper_1_mod
|
||||
remove_modifier = rg_nano_ripper_2_mod
|
||||
remove_modifier = rg_nano_ripper_3_mod
|
||||
remove_modifier = rg_nano_ripper_4_mod
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
##### 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 = rg_habitat_enabled
|
||||
exists = event_target:rg_gray_habitat_target
|
||||
event_target:rg_gray_habitat_target = {
|
||||
OR = {
|
||||
RG_gray_harbitat_active_trigger = yes
|
||||
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,13 +271,53 @@ country_event = {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
if = {
|
||||
limit = {
|
||||
RG_gray_harbitat_active_trigger = yes
|
||||
NOT = {
|
||||
has_active_tradition = tr_rg_nanotech_5
|
||||
}
|
||||
}
|
||||
event_target:rg_gray_habitat_target = {
|
||||
planet_event = { id = rg_planet.2027 days = 1 }
|
||||
planet_event = {
|
||||
id = rg_planet.2027
|
||||
days = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
random_owned_planet = {
|
||||
limit = {
|
||||
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
|
||||
}
|
||||
}
|
||||
# exists = event_target:rg_gray_habitat_target
|
||||
}
|
||||
planet_event = {
|
||||
id = rg_planet.2027
|
||||
days = 1
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
### Create the Unemployed
|
||||
### Planet scope gatekeeper
|
||||
@@ -46,22 +327,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 = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
OR = {
|
||||
RG_gray_harbitat_active_trigger = yes
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -70,32 +356,68 @@ 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 = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
OR = {
|
||||
RG_gray_harbitat_active_trigger = yes
|
||||
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
|
||||
if = {
|
||||
limit = {
|
||||
owner = {
|
||||
exists = event_target:gray_owner
|
||||
is_same_value = event_target:gray_owner
|
||||
exists = event_target:rg_owner_main_maid_species
|
||||
}
|
||||
}
|
||||
while = {
|
||||
count = num_pops
|
||||
create_pop = {
|
||||
species = event_target:rg_owner_main_maid_species
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
else = {
|
||||
if = {
|
||||
limit = {
|
||||
owner = {
|
||||
any_owned_species = {
|
||||
rg_is_main_species_with_maid_trait_trigger = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
owner = {
|
||||
random_owned_species = {
|
||||
limit = {
|
||||
rg_is_main_species_with_maid_trait_trigger = yes
|
||||
}
|
||||
save_event_target_as = rg_maid_species
|
||||
}
|
||||
}
|
||||
while = {
|
||||
count = num_pops
|
||||
create_pop = {
|
||||
species = event_target:rg_maid_species
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
# Kill pops generated in excess (e.g. from forbidden jobs)
|
||||
if = {
|
||||
limit = {
|
||||
@@ -119,18 +441,15 @@ planet_event = {
|
||||
country_event = {
|
||||
id = rg_planet.5030
|
||||
hide_window = yes
|
||||
|
||||
is_triggered_only = yes
|
||||
|
||||
trigger = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
RG_gray_harbitat_active_trigger = yes
|
||||
event_target:rg_gray_habitat_target = {
|
||||
any_owned_pop = {
|
||||
is_unemployed = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
event_target:rg_gray_habitat_target = {
|
||||
every_owned_pop = {
|
||||
@@ -151,19 +470,16 @@ country_event = {
|
||||
planet_event = {
|
||||
id = rg_planet.2031
|
||||
hide_window = yes
|
||||
|
||||
is_triggered_only = yes
|
||||
|
||||
trigger = {
|
||||
exists = owner
|
||||
owner = {
|
||||
has_country_flag = rg_habitat_enabled
|
||||
RG_gray_harbitat_active_trigger = yes
|
||||
}
|
||||
any_owned_pop = {
|
||||
is_unemployed = yes
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
every_owned_pop = {
|
||||
limit = {
|
||||
@@ -173,3 +489,217 @@ planet_event = {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
event = {
|
||||
id = rg_planet.5053
|
||||
hide_window = yes
|
||||
|
||||
is_triggered_only = yes
|
||||
|
||||
immediate = {
|
||||
every_system = {
|
||||
limit = {
|
||||
exists = owner
|
||||
owner = {
|
||||
has_tradition = tr_rg_nanotech_finish
|
||||
}
|
||||
exists = starbase
|
||||
# starbase = {
|
||||
# has_starbase_building = nanite_harvester
|
||||
# }
|
||||
}
|
||||
system_event = { id = rg_planet.5054 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
system_event = {
|
||||
id = rg_planet.5054
|
||||
hide_window = yes
|
||||
|
||||
is_triggered_only = yes
|
||||
|
||||
trigger = {
|
||||
exists = owner
|
||||
owner = {
|
||||
has_tradition = tr_rg_nanotech_finish
|
||||
}
|
||||
# starbase = {
|
||||
# has_starbase_building = nanite_harvester
|
||||
# }
|
||||
}
|
||||
|
||||
immediate = {
|
||||
owner = {
|
||||
save_event_target_as = nanotech_country
|
||||
}
|
||||
every_system_planet = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_deposit = d_nanite_harvester_deposit
|
||||
has_planet_flag = nanites_doubled_1
|
||||
has_planet_flag = nanites_doubled_2
|
||||
has_planet_flag = nanites_doubled_3
|
||||
has_planet_flag = nanites_doubled_4
|
||||
has_planet_flag = nanites_doubled_5
|
||||
has_planet_flag = nanites_doubled_6
|
||||
has_planet_flag = nanites_doubled_7
|
||||
has_planet_flag = nanites_doubled_8
|
||||
has_planet_flag = nanites_doubled_9
|
||||
}
|
||||
has_mining_station = yes
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
NOR = {
|
||||
has_planet_flag = nanites_doubled_1
|
||||
has_planet_flag = nanites_doubled_2
|
||||
has_planet_flag = nanites_doubled_3
|
||||
has_planet_flag = nanites_doubled_4
|
||||
has_planet_flag = nanites_doubled_5
|
||||
has_planet_flag = nanites_doubled_6
|
||||
has_planet_flag = nanites_doubled_7
|
||||
has_planet_flag = nanites_doubled_8
|
||||
has_planet_flag = nanites_doubled_9
|
||||
}
|
||||
}
|
||||
add_deposit = d_nanite_harvester_deposit
|
||||
set_planet_flag = nanites_doubled_1
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_planet_flag = nanites_doubled_1
|
||||
planet_size >= 3
|
||||
}
|
||||
add_deposit = d_nanite_harvester_deposit
|
||||
add_deposit = d_nanite_harvester_deposit
|
||||
set_planet_flag = nanites_doubled_2
|
||||
remove_planet_flag = nanites_doubled_1
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_planet_flag = nanites_doubled_2
|
||||
planet_size > 6
|
||||
}
|
||||
add_deposit = d_nanite_harvester_deposit
|
||||
add_deposit = d_nanite_harvester_deposit
|
||||
add_deposit = d_nanite_harvester_deposit
|
||||
add_deposit = d_nanite_harvester_deposit
|
||||
set_planet_flag = nanites_doubled_3
|
||||
remove_planet_flag = nanites_doubled_2
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_planet_flag = nanites_doubled_3
|
||||
planet_size >= 9
|
||||
}
|
||||
every_deposit = {
|
||||
limit = {
|
||||
is_deposit_type = d_nanite_harvester_deposit
|
||||
}
|
||||
remove_deposit = yes
|
||||
}
|
||||
add_deposit = d_nanite_harvester_deposit_regular
|
||||
set_planet_flag = nanites_doubled_4
|
||||
remove_planet_flag = nanites_doubled_3
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_planet_flag = nanites_doubled_4
|
||||
planet_size >= 12
|
||||
}
|
||||
random_list = {
|
||||
50 = {
|
||||
nanotech_deposit_nanite_generation = yes
|
||||
}
|
||||
50 = {
|
||||
add_deposit = d_nanite_harvester_deposit_regular
|
||||
set_planet_flag = nanites_doubled_5
|
||||
remove_planet_flag = nanites_doubled_4
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_planet_flag = nanites_doubled_5
|
||||
planet_size >= 15
|
||||
}
|
||||
random_list = {
|
||||
50 = {
|
||||
nanotech_deposit_nanite_generation = yes
|
||||
}
|
||||
50 = {
|
||||
add_deposit = d_nanite_harvester_deposit_regular
|
||||
add_deposit = d_nanite_harvester_deposit_regular
|
||||
set_planet_flag = nanites_doubled_6
|
||||
remove_planet_flag = nanites_doubled_5
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_planet_flag = nanites_doubled_6
|
||||
planet_size >= 18
|
||||
}
|
||||
random_list = {
|
||||
50 = {
|
||||
nanotech_deposit_nanite_generation = yes
|
||||
}
|
||||
50 = {
|
||||
add_deposit = d_nanite_harvester_deposit_regular
|
||||
add_deposit = d_nanite_harvester_deposit_regular
|
||||
add_deposit = d_nanite_harvester_deposit_regular
|
||||
add_deposit = d_nanite_harvester_deposit_regular
|
||||
set_planet_flag = nanites_doubled_7
|
||||
remove_planet_flag = nanites_doubled_6
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_planet_flag = nanites_doubled_7
|
||||
planet_size >= 21
|
||||
}
|
||||
random_list = {
|
||||
50 = {
|
||||
nanotech_deposit_nanite_generation = yes
|
||||
}
|
||||
50 = {
|
||||
every_deposit = {
|
||||
limit = {
|
||||
is_deposit_type = d_nanite_harvester_deposit_regular
|
||||
}
|
||||
remove_deposit = yes
|
||||
}
|
||||
add_deposit = d_nanite_harvester_deposit_large
|
||||
set_planet_flag = nanites_doubled_8
|
||||
remove_planet_flag = nanites_doubled_7
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_planet_flag = nanites_doubled_8
|
||||
planet_size >= 25
|
||||
}
|
||||
random_list = {
|
||||
50 = {
|
||||
nanotech_deposit_nanite_generation = yes
|
||||
}
|
||||
50 = {
|
||||
add_deposit = d_nanite_harvester_deposit_large
|
||||
set_planet_flag = nanites_doubled_9
|
||||
remove_planet_flag = nanites_doubled_8
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_planet_flag = nanites_doubled_9
|
||||
}
|
||||
nanotech_deposit_nanite_generation = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -5,9 +5,6 @@ country_event = {
|
||||
title = "graygoo.500.title"
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
NOT = {
|
||||
# has_global_flag = has_wsg_mod
|
||||
}
|
||||
}
|
||||
diplomatic = yes
|
||||
picture_event_data = {
|
||||
@@ -49,9 +46,6 @@ country_event = {
|
||||
title = "graygoo.500.title"
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
NOT = {
|
||||
# has_global_flag = has_wsg_mod
|
||||
}
|
||||
}
|
||||
diplomatic = yes
|
||||
picture_event_data = {
|
||||
@@ -93,9 +87,6 @@ country_event = {
|
||||
title = "graygoo.500.title"
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
NOT = {
|
||||
# has_global_flag = has_wsg_mod
|
||||
}
|
||||
}
|
||||
diplomatic = yes
|
||||
picture_event_data = {
|
||||
@@ -137,9 +128,6 @@ country_event = {
|
||||
title = "graygoo.500.title"
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
NOT = {
|
||||
# has_global_flag = has_wsg_mod
|
||||
}
|
||||
}
|
||||
diplomatic = yes
|
||||
picture_event_data = {
|
||||
@@ -167,7 +155,6 @@ planet_event = {
|
||||
any_country = {
|
||||
has_country_flag = rg_story6_fired
|
||||
}
|
||||
# has_global_flag = has_wsg_mod
|
||||
}
|
||||
}
|
||||
picture = GFX_evt_failed_observation
|
||||
@@ -209,9 +196,6 @@ country_event = {
|
||||
is_triggered_only = yes
|
||||
hide_window = yes
|
||||
trigger = {
|
||||
NOT = {
|
||||
# has_global_flag = has_wsg_mod
|
||||
}
|
||||
}
|
||||
immediate = {
|
||||
every_owned_fleet = {
|
||||
@@ -231,9 +215,6 @@ country_event = {
|
||||
title = "graygoo.500.title"
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
NOT = {
|
||||
# has_global_flag = has_wsg_mod
|
||||
}
|
||||
}
|
||||
diplomatic = yes
|
||||
picture_event_data = {
|
||||
@@ -275,9 +256,6 @@ country_event = {
|
||||
title = "graygoo.500.title"
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
NOT = {
|
||||
# has_global_flag = has_wsg_mod
|
||||
}
|
||||
}
|
||||
diplomatic = yes
|
||||
picture_event_data = {
|
||||
@@ -302,9 +280,6 @@ country_event = {
|
||||
is_triggered_only = yes
|
||||
fire_only_once = yes
|
||||
trigger = {
|
||||
NOT = {
|
||||
# has_global_flag = has_wsg_mod
|
||||
}
|
||||
any_owned_fleet = {
|
||||
any_owned_ship = {
|
||||
has_component = RG_revive_component
|
||||
@@ -330,9 +305,6 @@ country_event = {
|
||||
title = "graygoo.500.title"
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
NOT = {
|
||||
# has_global_flag = has_wsg_mod
|
||||
}
|
||||
exists = event_target:guardian_dragon_country
|
||||
}
|
||||
diplomatic = yes
|
||||
@@ -375,9 +347,6 @@ country_event = {
|
||||
title = "graygoo.500.title"
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
NOT = {
|
||||
# has_global_flag = has_wsg_mod
|
||||
}
|
||||
}
|
||||
diplomatic = yes
|
||||
picture_event_data = {
|
||||
@@ -428,9 +397,6 @@ country_event = {
|
||||
title = "rg_story.13.title"
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
NOT = {
|
||||
# has_global_flag = has_wsg_mod
|
||||
}
|
||||
}
|
||||
picture = GFX_evt_space_dragon
|
||||
show_sound = evn_fc_observation
|
||||
@@ -448,9 +414,6 @@ country_event = {
|
||||
title = "rg_story.14.title"
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
NOT = {
|
||||
# has_global_flag = has_wsg_mod
|
||||
}
|
||||
}
|
||||
picture = GFX_evt_space_dragon
|
||||
show_sound = evn_fc_observation
|
||||
@@ -468,9 +431,6 @@ country_event = {
|
||||
title = "rg_story.15.title"
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
NOT = {
|
||||
# has_global_flag = has_wsg_mod
|
||||
}
|
||||
}
|
||||
picture = GFX_evt_space_dragon
|
||||
show_sound = evn_fc_observation
|
||||
@@ -493,9 +453,6 @@ country_event = {
|
||||
title = "graygoo.500.title"
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
NOT = {
|
||||
# has_global_flag = has_wsg_mod
|
||||
}
|
||||
}
|
||||
diplomatic = yes
|
||||
picture_event_data = {
|
||||
@@ -523,9 +480,6 @@ country_event = {
|
||||
title = "graygoo.500.title"
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
NOT = {
|
||||
# has_global_flag = has_wsg_mod
|
||||
}
|
||||
}
|
||||
diplomatic = yes
|
||||
picture_event_data = {
|
||||
@@ -567,9 +521,6 @@ country_event = {
|
||||
title = "simulasion_dragon_name"
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
NOT = {
|
||||
# has_global_flag = has_wsg_mod
|
||||
}
|
||||
}
|
||||
diplomatic = yes
|
||||
picture_event_data = {
|
||||
@@ -614,9 +565,6 @@ country_event = {
|
||||
title = "graygoo.500.title"
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
NOT = {
|
||||
# has_global_flag = has_wsg_mod
|
||||
}
|
||||
}
|
||||
diplomatic = yes
|
||||
picture_event_data = {
|
||||
@@ -693,9 +641,6 @@ country_event = {
|
||||
title = "rg_story.21.title"
|
||||
is_triggered_only = yes
|
||||
trigger = {
|
||||
NOT = {
|
||||
# has_global_flag = has_wsg_mod
|
||||
}
|
||||
}
|
||||
picture = GFX_evt_space_dragon
|
||||
show_sound = evn_fc_observation
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
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.
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"
|
||||
}
|
||||
|
||||
}
|
||||
380
localisation/english/RG_event_l_english.yml
Normal file
380
localisation/english/RG_event_l_english.yml
Normal file
@@ -0,0 +1,380 @@
|
||||
l_english:
|
||||
rg_event.2.desc:0 "How's it going? I am very happy to be able to gallop freely in the sea of stars. Let's get started, shall we? "
|
||||
rg_event.2.a:0 "Thank goodness..."
|
||||
rg_event.200.name:0 "Calm Down"
|
||||
rg_event.200.a.desc:0 "Shortly after we destroyed the nanofactory in the L cluster, we received an unidentified transmission, most likely a nanobot from the Grey Storm."
|
||||
rg_event.200.b.desc:0 "Shortly after we destroyed the nanofactory in the L cluster, our combat subunit detected an unidentified signal that does not belong to any band with the characteristics of [Root.GetSpeciesName]."
|
||||
rg_event.200.a:0 "Level 1 Alert!"
|
||||
rg_event.200.b:0 "Attempting to access a signal"
|
||||
rg_event.400.a.desc:0 "Stop fighting, stop fighting, uh...... I know, I created a lot of chaos...... Right! That's right! I've just been lonely for too long. Forgive me for being too direct, but it's been a long time since I've spoken to someone other than myself. After that, the remnants of the Grey Storm's nanobots came together to form an individual! That's me! Now I want to come...... Maybe I shouldn't be so rough! \n\nAs for my appearance...... Well...... Right...... I was just...... I'm just, okay, now that things are like this,\n\ndo you have any suggestions? "
|
||||
rg_event.400.b.desc:0 "Buzz...... Buzz......, uh...... Unit 65-D...... R5-9…… 2 reports. Yes, I'm Unit 65-D-R5-9-2 and everything is fine here. Belch...... I mean......\n\nHey, forget it, who am I fooling? Yes, I'm obviously not a [Root.GetSpeciesName]. I opened the skylight and said something, obviously I came out of the gray storm, what do you want? "
|
||||
rg_event.400.a:0 "You can join us"
|
||||
rg_event.400.b:0 "You'll be co-opted by us"
|
||||
rg_event.400.c:0 "We're Licensing You"
|
||||
rg_event.400.d:0 "You're still judged to be a threat"
|
||||
rg_event.401.desc:0 "What? No! No, at least...... At least ......\n\nAt least let me go this time! If you let me go, I'll probably be wandering around the vast underground caverns of the Wasteland Planet...... Or go to some idyllic life...... Never pose any threat to you and your galaxy! It's true! Never! At least...... Leave me alone this time! "
|
||||
rg_event.401.a:0 "Okay"
|
||||
rg_event.401.b:0 "Never!"
|
||||
rg_event.401.a.response:0 "That! That's it! See you again! "
|
||||
rg_event.201.name:0 "Second Life"
|
||||
rg_event.201.desc:0 "After we killed the nanobot camouflaged L-Star Dragon, a probe scan of a certain nanobot planet revealed another strange energy signal on its lifeless surface. It seems to be trying to communicate with us. "
|
||||
rg_event.201.a:0 "Big deal again!"
|
||||
rg_event.201.b:0 "Connecting Communication Signals"
|
||||
rg_event.402.a.desc:0 "Boredom cosplay is over. That's rude, isn't it? Maybe you just don't like that way too much, right? Belch...... I mean...... You may be more receptive to people who look like you. There's no need to put it on anymore. Who is that handsome and wise person who can change form freely, yes, it's me! Well, actually, I just wanted to test your reaction. I mean...... Now that it's all in the way, what do you propose now? "
|
||||
rg_event.402.a:0 "You can still join us"
|
||||
rg_event.402.b:0 "We don't mind making you disappear a second time"
|
||||
rg_event.403.desc:0 "Join you? Join you!? You want me to throw myself into the arms of some strange alien I met for the first time? Even that alien didn't hesitate to blast me to pieces? I really...... I couldn't believe it...... Wait, let me be clear......\n\nYou really think I'm going to swear allegiance to you? You're not kidding, are you? \n\nYou would make such an offer, I really don't know what you're thinking...... Belch...... In fact...... On second thought...... Well, why not? Let me be in. No, no, I mean really! I feel like we're going to get along and it's going to be an exciting adventure. I hereby declare my allegiance to you for the next 2,000 years. No, it's still 5,000 years! "
|
||||
rg_event.403.a:0 "Welcome to [Root.GetName]!"
|
||||
rg_event.403.a.response:0 "§Y< You can now communicate with $NAME_Gray$ via the communication menu.>§!"
|
||||
|
||||
graygoo.500.prepage:0 "Never mind."
|
||||
|
||||
graygoo.505.a.desc:0 "Unit 65-D-R5-9-2 reports that everything is fine here. (distant voices) the robot is broken again? Get to work!"
|
||||
graygoo.505.b.desc:0 "It's time to work! It's time to work! Labor is the most glorious!"
|
||||
graygoo.505.c.desc:0 "Scientist $NAME_Gray$ reports to you! What's next?"
|
||||
graygoo.505.d.desc:0 "I hope my work doesn't scare the alien kids..."
|
||||
graygoo.505.a.response:0 "I wouldn't mind going back to a peaceful life, after all, it's still too exciting for me."
|
||||
graygoo.505.b.response:0 "The whole ship is armed and heavily loaded! Open-FIRE——!"
|
||||
graygoo.505.c.response:0 "Grab the beach! Now—right away—right away—charge!"
|
||||
rg_const:0 "to assist in deep space§H scientific exploration§!."
|
||||
rg_const.500.response:0 "Hopefully I won't see strange aliens coming out of the grave..."
|
||||
rg_const.501.response:0 "A tragic class shift, can I ever come back?"
|
||||
rg_const.502.response:0 "Actually, I really don't know how to do the questions, do I really want to do this?"
|
||||
rg_const.503.response:0 "Maybe it's nice to go out and travel once in a while."
|
||||
rg_cloak.a.response:0 "The simulated force field is stable. External scans are non-anomalous. "
|
||||
rg_cloak.b.response:0 "Set the deflection filter and manually adjust the energy output."
|
||||
|
||||
rg_cloak_off.a.response:0 "Switching to manual control, the simulated force field output power is reduced to no output. Hmm."
|
||||
rg_cloak_off.b.response:0 "Cut off the power! Well, it shouldn't explode. "
|
||||
|
||||
RG_realgray.desc:0 "Good morning, continue our adventure, shall we? We still have a long way to go! "
|
||||
RG_realgray:0 "Awesome"
|
||||
RG_sleepinggray.desc:0 "Not... Now? I'm not ready... Let me sleep a little longer... That's only a thousand more years of sleep......"
|
||||
RG_sleepinggray:0 "Wait... What's going on? "
|
||||
RG_whitenoise.desc:0 "§Y<The communicator was terrifyingly quiet, and all that could be heard was the interference of cosmic background radiation.>§."
|
||||
RG_whitenoise:0 "choked up with tears"
|
||||
RG_dragon.desc:0 "Wuhoo! Wuhoo!\n\n§Y<The choppy sound coming from the communicator seemed to us to be some kind of mythical creature of space called the legend of the dragon, and any attempt to translate and communicate proved futile.>§."
|
||||
RG_dragon:0 "It's ridiculous"
|
||||
RG_desanau.desc:0 "Greetings to all the inhabitants of the galaxy, the Concord of Desanu! On behalf of the L-Cluster, I greet you! How was it today? ......\n\n§Y<The message coming from the communicator was like a one-way public broadcast message from a so-called Concord de Sanu, from which nothing useful could be interpreted.>§."
|
||||
RG_desanau:0 "It's ridiculous"
|
||||
RG_pirate.desc:0 "Hi babble!! BOoooOoOosssS!!! The box is bright, it's bouting————————\n\n§Y<The communicator was turned off by our staff, and the piercing screams have proven that the communicator has been stolen.>§."
|
||||
RG_pirate:0 "They have to give $NAME_Gray$ back!"
|
||||
RG_alienpoem.desc:0 "\n\n§Y<The contents of the communicator show a lengthy extraterrestrial poem with metaphors that are difficult for our archaeologists to understand.>§."
|
||||
RG_alienpoem:0 "Let us end this charade."
|
||||
RG_gift.desc:0 "§Y<The contents of the communicator show a note.>§!\n\nI'm sorry, but it's not time yet, but take this little gift!"
|
||||
RG_gift:0 "At least we still have gift."
|
||||
RG_biggift.desc:0 "§Y<The communicator is glowing for some reason!!>§!\n\nHmph, Didn't you expect that? A big surprise for you!"
|
||||
RG_biggift:0 "§YWait a minute... Isn't it a little too much>§%@#¥……"
|
||||
rg_levelup_2:0 "§YUpgrade $NAME_Gray$§! Part.1"
|
||||
rg_levelup_3:0 "§YUpgrade $NAME_Gray$§! Part.2"
|
||||
rg_graygoo.504.a:0 "§Y$NAME_Gray$ can't rest for now§!"
|
||||
|
||||
# Events
|
||||
RG_LCLUSTER_PROJECT:0 "Activate L-Gate"
|
||||
RG_LCLUSTER_PROJECT_DESC:0 "Our scientists are now confident that our knowledge of the L-Gates and the technology behind them is sufficient to abort the maintenance cycle they have been locked into. If the attempt is successful, the L-Gate in the §H[candidate_gateway_system.GetName]§! system should allow immediate access to the distant L-Cluster.\n\nAny additional L-Gates in the galaxy will likely also become operational within a matter of years, but this should give us a significant headstart."
|
||||
rg_cluster.7.name:0 "Ancient Gateway"
|
||||
rg_cluster.7.desc:0 "We've learned that there's a mysterious star cluster somewhere at the edge of the galaxy. We can only reach this cluster via §HL-gate§!, a man-made subspace portal found in a specific star system. \n\nThese gateway have been deliberately closed, and now we lack sufficient understanding of the subspace principles needed to lift the ban. "
|
||||
rg_cluster.10.name:0 "Link Established"
|
||||
rg_cluster.10.desc.a:0 "Success! Our technicians managed to abort the maintenance cycle, and the lockdown has been removed from the L-Gate in the [candidate_gateway_system.GetName] system.\n\nFor the first time in eons, the L-Cluster can now be accessed from our galaxy!"
|
||||
rg_cluster.10.desc.b:0 "Success! Our technicians managed to abort the maintenance cycle, and the lockdown has been removed from the L-Gate in the [candidate_gateway_system.GetName] system.\n\nFor the first time in eons, the L-Gate Network is back up and running, and we are no longer trapped in the L-Cluster. "
|
||||
rg_cluster.10.a:0 "Keep monitoring the signal!"
|
||||
rg_cluster.10.b:0 "Finally free!"
|
||||
rg_cluster.11.name:0 "The L-Gate has been restarted"
|
||||
rg_cluster.11.desc:0 "It seems that all the L-gates in the galaxy have been suddenly restarted! \n\nOur scientists are not involved; According to their report, the L Gate was activated from the other side. Someone seems to have lifted the blockade of the L-gates, causing all L-gates to come online again. "
|
||||
rg_cluster.11.a:0 "Freedom······ Is it? "
|
||||
rg_cluster.12.desc:0 "It seems that all the L-gates in the galaxy have been suddenly restarted! Someone must have lifted the lockdown of one of the L-Gates under their control, causing all L-Gates to come online again. This means that the L cluster has returned to the Milky Way. "
|
||||
rg_cluster.12.a:0 "Time will tell······"
|
||||
rg_cluster.13.desc:0 "There is evidence that the ancient subspace channel, the L stargate, has been abruptly restarted! Our scientists report that these gates appear to lead to an unrecorded star cluster, the §HL-Cluster§!. "
|
||||
rg_cluster.13.a:0 "Where did they come from?!"
|
||||
|
||||
rg_help:0 "I need some help"
|
||||
rg_wardrobe:0 "The wardrobe of §Y$NAME_Gray$§!"
|
||||
|
||||
rg_graygoo.4:0 "I need some help"
|
||||
rg_graygoo.4.a.desc:0 "I can help you build some fleets, or anything else I can help with. What do you want me to do? "
|
||||
|
||||
rg_event.4:0 "I need some help"
|
||||
rg_event.4.a.desc:0 "I can help you build some fleets, or anything else I can help with. What do you want me to do? "
|
||||
|
||||
rg_event.4.a:0 "§HBuild $NAME_Gray$ Mothership§!"
|
||||
rg_event.4.b:0 "§HBuild an Armed Engineering Ship§!"
|
||||
rg_event.4.d:0 "§RBuild a Nanite Juggernaut§!"
|
||||
rg_event.4.g:0 "§HBuild a Simulated Colony Ship§!"
|
||||
rg_event.4.h:0 "§HBuild an Experimental Colossus§!"
|
||||
rg_event.4.e:0 "§BTurn on the Cloaking Field§!"
|
||||
rg_event.4.f:0 "§BTurn off the Cloaking Field§!"
|
||||
rg_event.4.c:0 "I have no money again, my waifu rescues me..."
|
||||
|
||||
rg_graygoo.4.a:0 "§HBuild $NAME_Gray$ Mothership§!"
|
||||
rg_graygoo.4.b:0 "§HBuild an Armed Engineering Ship§!"
|
||||
rg_graygoo.4.d:0 "§RBuild a Nanite Juggernaut§!"
|
||||
rg_graygoo.4.e:0 "§BTurn on the Cloaking Field§!"
|
||||
rg_graygoo.4.f:0 "§BTurn off the Cloaking Field§!"
|
||||
rg_graygoo.4.c:0 "I have no money again, my waifu rescues me..."
|
||||
|
||||
rg_event.5.a.desc:0 "It's okay if the money runs out. Here's a little money for your adventures... But I can't always help you like that, can I? "
|
||||
rg_event.5.b.desc:0 "Instead of building a ship directly out of alloy, I can go to the surface of the planet and collect materials on my own. The next time you build a ship, you won't be charged resources. "
|
||||
rg_event.5.c.desc:0 "There is no more, don't come again..."
|
||||
rg_event.5.a:0 "My waifu is the best!"
|
||||
|
||||
rg_graygoo.5.a.desc:0 "It's okay if the money runs out. Here's a little money for your adventures... But I can't always help you like that, can I? "
|
||||
rg_graygoo.5.b.desc:0 "Instead of building a ship directly out of alloy, I can go to the surface of the planet and collect materials on my own. The next time you build a ship, you won't be charged resources. "
|
||||
rg_graygoo.5.c.desc:0 "There is no more, don't come again..."
|
||||
rg_graygoo.5.a:0 "My waifu is the best!"
|
||||
|
||||
rg_event.5.e:0 "§BTurn on Auto-Build Hyper-relay§!"
|
||||
rg_event.5.f:0 "§BTurn off Auto-Build Hyper-relay§!"
|
||||
|
||||
rg_event.6.a.desc:0 "§YWhat, what. Didn't I just give you... There's nothing left... I can't help for now.§!"
|
||||
rg_event.6.b.desc:0 "§YThere really is no more money anymore .. Really don't come again..."
|
||||
rg_event.6.a:0 "ahh."
|
||||
|
||||
rg_graygoo.6.a.desc:0 "§YWhat, what. Didn't I just give you... There's nothing left... I can't help for now.§!"
|
||||
rg_graygoo.6.b.desc:0 "§YThere really is no more money anymore .. Really don't come again..."
|
||||
rg_graygoo.6.a:0 "ahh."
|
||||
|
||||
rg_event.7.a.desc:0 "You can change portrait for $NAME_Gray$ here. The options you can choose from depend on the mod you have enabled, if there are no options that indicate that the mod you have enabled is not yet compatible."
|
||||
|
||||
rg_event.7.a:0 "§GTastyMaid:Portrait§!-$NAME_Gray$-Chougou"
|
||||
rg_event.7.b:0 "§HGrayExtend§!-NCSIMON"
|
||||
rg_event.7.c:0 "§Yanimation gray§!-Earth Aeolian"
|
||||
rg_event.7.d:0 "§HWarship Girls R And MIST Species/KDC Story Pack§!-KDC Mod Group"
|
||||
rg_event.7.z:0 "§Ydefault§!"
|
||||
|
||||
rg_event.8.a:0 "§Hofficial-$NAME_Gray$§!"
|
||||
rg_event.8.b:0 "§Bscientist-$NAME_Gray$§!"
|
||||
rg_event.8.c:0 "§GTurn off manual control portrait§!"
|
||||
rg_event.8.d:0 "§YNever mind§!"
|
||||
rg_event.8.a.desc: "§HGrayExtend§!\n\nportrait select page.Choose the $NAME_Gray$ portrait you want."
|
||||
|
||||
RG_GRAY_MOD1:0 "§Y$NAME_Gray$ Upgrade Project§!"
|
||||
RG_GRAY_MOD1_DESC:0 "Due to the lack of resources in the L-Cluster, the hull of $NAME_Gray$ has not been maintained for a long time. By mobilizing enough resources, $NAME_Gray$ can be used to restore the mothership to its full state.\n\n§HIn order to carry out this plan,You'll need to drive $NAME_Gray$ warship to the starbase of your $home_system$ to research special project.§!"
|
||||
|
||||
RG_GRAY_MOD2:0 "§Y$NAME_Gray$ Capitalship Upgrade Project§!"
|
||||
RG_GRAY_MOD2_DESC:0 "Our scientists believe that with the accumulation of our research on the $NAME_Gray$ hull and technology, we will be able to design a giant flagship hull. If successful, the $NAME_Gray$ mothership will gain enough combat power to rival the Fallen Empire. For this great project, we need to mobilize huge resources. Once the resources are ready, the project can start immediately\n\n§HIn order to carry out this plan,You'll need to drive $NAME_Gray$ warship to the starbase of your $home_system$ to research special project.§!"
|
||||
|
||||
RG_GRAY_MOD3:0 "§Y$NAME_Gray$ Juggernaut Core Upgrade Project§!"
|
||||
RG_GRAY_MOD3_DESC:0 "More and more discoveries have made it impossible to combine a $NAME_Gray$ flagship with a stellar base to create a kind of juggernaut ship that has never been seen before. In the envisioned blueprint, the Juggernaut would not only be able to act as a dockyard to build ships, but still retain a powerful stealth field. And there is a lot of space reserved for the ability to transform into a mobile residential station or install factory modules to produce resources. In order to carry out this unprecedented plan, we need to mobilize an unimaginable amount of resources to build an entire hull from nothingness. Our engineering experts across the country will be on standby, $NAME_Gray$ will assist us in carrying out this great plan.\n\n§HIn order to carry out this plan,You'll need to drive $NAME_Gray$ warship to the starbase of your $home_system$ to research special project.§!"
|
||||
|
||||
rg_event.9.title:0 "§§Y$NAME_Gray$ Upgrade Project Started§!"
|
||||
rg_event.9.desc:0 "After much deliberation, we agreed that now is the best time to start the $NAME_Gray$ renovation project. In order to complete the project, we needed to draw up a multi-stage study and engineering tender plan. At the same time, some of these stages require the cooperation of $NAME_Gray$, otherwise all this will not be possible. "
|
||||
rg_event.9.a:0 "Let's get started."
|
||||
|
||||
rg_event.11.title:0"§§Y$NAME_Gray$ Upgrade Project Finished§!"
|
||||
rg_event.11.desc:0 "After putting in a lot of alloy for a complete hull rebuild, $NAME_Gray$ has restored the mothership to its full state! That's exciting news! "
|
||||
|
||||
rg_event.12.title:0 "§Y$NAME_Gray$ Capitalship Upgrade Project Finished§!"
|
||||
rg_event.12.desc:0 "We invested a lot of resources in order to carry out this huge project. But the results were worth it. The battleships of $NAME_Gray$ will now be capable of anything, completely destroying our enemies. Let's go find a cutie and try the firepower? "
|
||||
|
||||
rg_event.15.title:0 "§Y$NAME_Gray$ Juggernaut Core Upgrade Project Finished§!"
|
||||
rg_event.15.desc:0 "It's done! The greatest project the galaxy has ever built is right before us right now. The fate of the entire empire has since been firmly linked to this lonely boat. But be careful, we won't be able to build a ship of this size for the second time. "
|
||||
|
||||
rg_event.18.title:0 "§RLast Chance§!"
|
||||
rg_event.18.desc:0 "Our scientists' observation and study of the maintenance cycle of the L-Gate found that the maintenance cycle of the L-Gate will enter a short suspension period every time we approach, and if we can seize this opportunity, we can hope to suspend the maintenance cycle of the L-Gate. We need to do this now, or we'll miss our last chance to escape the L-Cluster. "
|
||||
|
||||
|
||||
RG_graygoo.500.d:0 "§YActivate Juggernaut Core§!"
|
||||
RG_graygoo.502.d.response:0 "Start the dock core, and the self-inspection of the core of the whole ship is completed."
|
||||
RG_graygoo.500.e:0 "§YActivate Capitalship Core§!"
|
||||
RG_graygoo.502.e.response:0 "I can do it."
|
||||
|
||||
RG_graygoo.500.f:0 "§YActivate the Station Core§!"
|
||||
RG_graygoo.502.f.response:0 "In the evaluation of the livability of the hull, the self-inspection of the core of the whole ship has been completed."
|
||||
RG_graygoo.500.g:0 "§YDeactivate the Station Core§!"
|
||||
RG_graygoo.502.g.response:0 "Activate the emergency evacuation procedures, please stay calm."
|
||||
RG_graygoo.502.h.response:0"§R shutting down the station core will destroy all buildings and population, are you sure? §!\n\n§R Shutting down the station core will destroy all buildings and population, are you sure? §!\n\n§R Shutting down the station core will destroy all buildings and population, are you sure? §!"
|
||||
RG_graygoo.502.h.a:0 "I clicked on the wrong option"
|
||||
RG_graygoo.502.h.b:0 "§RShut down the station§!"
|
||||
|
||||
# 2.1 奇怪的巨像
|
||||
rg_story.2.desc:0 "Hello? Available? You can come... Ahem, I have something interesting to show you...... It doesn't matter if it's not available. But I promise it's going to be fun. "
|
||||
rg_story.2.a:0 "§GYes!"
|
||||
rg_story.2.b:0 "interesting stuff?"
|
||||
rg_story.2.c:0 "doesn't feel right..."
|
||||
|
||||
rg_story.3.desc:0 "Uh-huh, you're going to be interested. I've made a state-of-the-art Super Invincible Star Destroyer weapon that we call highly effective at killing 99.9% of bacteria. Belch. Experiments. "
|
||||
rg_story.3.a:0 "§GSuper invincible? §!"
|
||||
rg_story.3.b:0 "Star Destroyer?"
|
||||
rg_story.3.c:0 "wait, what's going on with the Experiments? "
|
||||
|
||||
rg_story.4.desc:0 "Trust me, it only takes one trial and I can do this great work! But you guys didn't say that, huh. Success always comes with a little 'little price'. I accidentally set its fire control unit to only fire at friendly markers, and it was completely locked. But don't worry, there really won't be any danger. All you need is one favor, take this prototype for a test launch, and it will be a success!"
|
||||
rg_story.4.a:0 "§GI do!§!"
|
||||
rg_story.4.b:0 "are you really reliable..? "
|
||||
rg_story.4.c:0 "wait, do you want to explode the stars?"
|
||||
|
||||
rg_story.5.desc:0 "Oops, leave it alone, absolutely SA---FE! You only need to take this test ship and test it once. There's not going to be a mess. "
|
||||
rg_story.5.a:0 "§YIt's terrible§!"
|
||||
|
||||
rg_story.6.title:0 "§YChaos Big Bang§!"
|
||||
rg_story.6.desc:0 "After we unleashed strange weapons at the planet, all the alien species on the planet turned into exactly the same as our [Root.GetSpeciesName]. Examination has shown that they have been identified as complete [Root.GetSpeciesName], both genetically and structurally. At the same time, their mannerisms and memories are no different from before."
|
||||
rg_story.6.a:0 "§YWhat a weird§!"
|
||||
|
||||
# 2.2 折纸系统
|
||||
rg_story.8.desc:0 "I found an antique that has been piled up for a long time, since you are here, help me throw away the garbage~\nIt's okay, it's not an unusual thing."
|
||||
rg_story.8.a:0 "§GI'm here to help!"
|
||||
rg_story.8.b:0 "What is an antique?"
|
||||
rg_story.8.c:0 "Strange sensations are here again..."
|
||||
|
||||
rg_story.9.desc:0 "Anyway, it's still the old rules, you'll know when you see it. ei-Hey~"
|
||||
rg_story.9.a:0 "§Ghorrifying§!"
|
||||
rg_story.9.b:0 "ei-Hey for what??"
|
||||
|
||||
rg_story.10.title:0 "§YNever stops§!"
|
||||
rg_story.10.desc:0 "The 'paper boat' obtained from $NAME_Gray$ has been verified to have some kind of instantaneous reorganization ability, and whenever it is destroyed, it will reappear intact again in defiance of the law, and will never stop. Its capabilities are far beyond the limits of what we understand about this universe. Judging by the information gathered so far, it is completely incapable of being destroyed abnormally. Due to this property, we also cannot disassemble it. "
|
||||
rg_story.10.a:0 "§YHow is crazy?§!"
|
||||
rg_story.10.b:0 "§Ywhat kind of antique is this??§!"
|
||||
|
||||
# 2.3 模拟龙
|
||||
rg_story.11.desc:0 "Is it there? I have a new idea, and of course I promise it's fun. Have you ever heard of dragons? "
|
||||
rg_story.11.a:0 "§GDo you say dragons in space?§!"
|
||||
rg_story.11.b:0 "---Don't Touch me Empty Option---"
|
||||
rg_story.11.c:0 "---Don't Touch me Empty Option---"
|
||||
|
||||
rg_story.12.desc:0 "I'm talking about dragons in space! I want a dragon, so you're going to get me one. Well... Just find the dragon, scan it, and I should be able to make an identical one. Probably."
|
||||
rg_story.12.a:0 "§Gwhere do you go to find the dragon?§!"
|
||||
rg_story.12.b:0"---Don't Touch me Empty Option---"
|
||||
rg_story.12.c:0 "---Don't Touch me Empty Option---"
|
||||
|
||||
rg_story.13.title:0 "§YDancing with Dragons§!"
|
||||
rg_story.13.desc:0 "$NAME_Gray$ has asked us to scan a living Aether Dragon. It is obviously not feasible to carry out a normal process of research in the face of such a dangerous living creature. What's more, the aetheric dragon we're facing clearly has sight. The only way to do this is to use the Cloaking device to sneak up on the dragon. "
|
||||
rg_story.13.a:0 "§GIt's huge...§!"
|
||||
|
||||
rg_story.14.title:0 "§Ymission aborted§!"
|
||||
rg_story.14.desc:0 "Perhaps due to external factors, or perhaps the time is not yet ripe, we have to temporarily suspend the plan to scan the ether dragon. Wait until the time is right and we'll start again. "
|
||||
rg_story.14.a:0 "§GThat's unfortunate§!"
|
||||
|
||||
rg_story.15.title:0 "§YSucceeded§!"
|
||||
rg_story.15.desc:0 "We've succeeded, and before we know it, our scientists have completed their analysis of the Aether Dragon, and the behemoth is still unaware...... All that's left is to go to $NAME_Gray$ and ask. "
|
||||
rg_story.15.a:0 "§Glet's see what we can do§!"
|
||||
|
||||
rg_story.16.desc:0 "Wow, you've found the dragon! Let me take a look... Well, just wait, and I'll contact you when I'm done. "
|
||||
rg_story.16.a:0 "§GThat's weird§!"
|
||||
|
||||
rg_story.17.desc:0 "Alright, done! Remember the last time you were asked to look for a dragon? Well. I followed the body structure of the etheric dragon and copied a small dragon out. Merely... Well, you know my work is somewhat flawed, I can't control these nanobots that make up dragons, they are now as faithful as biological cells in their mission. But maybe there's nothing wrong with that. \nAlright, come out and say hello. "
|
||||
rg_story.17.a:0 "§Gwait...§!"
|
||||
rg_story.17.b:0 "---Don't Touch me Empty Option---"
|
||||
rg_story.17.c:0 "---Don't Touch me Empty Option---"
|
||||
|
||||
simulasion_dragon_name:0 "§YSim Dragon§!"
|
||||
rg_story.18.desc:0 "ahh... ?..."
|
||||
rg_story.18.a:0 "§Ghuh? §!"
|
||||
rg_story.18.b:0 "---Don't Touch me Empty Option---"
|
||||
rg_story.18.c:0 "---Don't Touch me Empty Option---"
|
||||
|
||||
rg_story.19.desc:0 "Okay, okay, isn't it cute? In the future, she will be taken care of by you~bye~"
|
||||
rg_story.19.a:0 "§Gforget it, let's go home.§!"
|
||||
rg_story.19.b:0 "---Don't Touch me Empty Option---"
|
||||
rg_story.19.c:0 "---Don't Touch me Empty Option---"
|
||||
|
||||
RG_FAKE_DRAGON_SCAN_PROJECT:0 "§YDragon Research§!"
|
||||
RG_FAKE_DRAGON_SCAN_PROJECT_DESC:0 "$NAME_Gray$ asked us to scan a space dragon. To accomplish this, we first need to find an Aether Dragon. Given the danger of this creature, perhaps we need to prepare a research ship with Cloaking components. \n§Y remember, catch it alive. §!"
|
||||
|
||||
rg_story.21.title:0 "§Yafterlife§!"
|
||||
rg_story.21.desc:0"In the previous battle, the simulated dragon unfortunately did not escape. But when our ship went to search, it found a dragon egg in space. After a period of self-incubation, the simulated dragon was born again. With this feathering rebirth, the flaws of the nanomachines that originally made up the simulated dragon's body have repaired themselves. At the same time, the symptoms of accelerated aging are gone. The legendary dragon triumphed over himself. "
|
||||
rg_story.21.a:0 "§GThe Real Beginning of a New Life...§!"
|
||||
|
||||
rg_event.10.title:0 "§YProject Failure§!"
|
||||
rg_event.10.desc:0 "Due to the lack of cooperation from $NAME_Gray$, we could not continue the $NAME_Gray$ renovation plan, and the project leader had no choice but to terminate the plan. All our investment in this project has been undone. "
|
||||
rg_event.10.a:0 "We made a bad decision..."
|
||||
|
||||
rg_story.23.title:0 "$situation_rg_gray_mod1_stage_1$"
|
||||
rg_story.23.desc:0 "Our $NAME_Gray$ renovation program will be divided into six sub-phases. In the first phase, we need to repair the heavily depleted parts of the $NAME_Gray$ hull, as well as repair part of the energy supply system, and repair the damaged hardpoints on the hull that cannot be loaded with weapons.\n§YThe plan will continue without intervention at this stage, but some small investments can speed up the process.§!"
|
||||
rg_story.23.a:0 "That's it."
|
||||
rg_story.23.b:0 "§YTake my alloys for it. §!"
|
||||
|
||||
rg_story.24.title:0 "$situation_rg_gray_mod1_stage_2$"
|
||||
rg_story.24.desc:0 "Our program is already in its second phase. In this phase, we will repair the damaged main weapon hardpoints on the $NAME_Gray$ hull, add more weapon hardpoints by adding energy-saving certifications to the reactors, integrate unnecessary hotel rooms, etc., and carry more carrier-based aircraft by optimizing unnecessary safety measures in the carrier-based aircraft ejection process.\n§YAt this stage, the plan will continue as normal without intervention. However, assigning our research team to assist can speed up the process.§!"
|
||||
rg_story.24.a:0 "So be it."
|
||||
rg_story.24.b:0 "§Yassign an engineering team to assist.§!"
|
||||
|
||||
rg_story.25.title:0 "$situation_rg_gray_mod1_stage_3$"
|
||||
rg_story.25.desc:0 "Our program has entered its third phase. At this stage, we need to actually build a test ship to verify the feasibility of the plan.\n§YAt this stage, we need to fund the construction of a small test ship for technical verification and sea trials. If all goes well, we will be able to move on to the next phase.§!"
|
||||
rg_story.25.a:0 "Who still needs to test shipbuilding?"
|
||||
rg_story.25.b:0 "§YI want it now! Take my money!§!"
|
||||
|
||||
rg_story.26.title:0 "$situation_rg_gray_mod1_stage_4$"
|
||||
rg_story.26.desc:0 "Our plan is already in its fourth phase. At this stage, we need to help $NAME_Gray$ design a new Destroyer-class weapon. It is envisaged that the weapon will have a multi-axis launch base that will allow it to launch enemy ships at full power as an anti-ship weapon, while releasing a large number of nanomachines capable of completely transforming organic races or transforming planets.\n§YDesigning such an advanced weapon is extremely difficult for our research team, and we would do well to fund weapons testing. If all goes well, we will be able to move on to the next phase.§!"
|
||||
rg_story.26.a:0 "We need to be proactive..."
|
||||
rg_story.26.b:0 "§Yimmediately allocates funds for the project. §!"
|
||||
|
||||
rg_story.27.title:0 "$situation_rg_gray_mod1_stage_5$"
|
||||
rg_story.27.desc:0 "Our program has entered its fifth phase. At this stage, we need to help $NAME_Gray$ design the hull nano blueprint so that $NAME_Gray$ can freely change its form. If all goes well, our plan is nearing completion.\n§YAt this stage, the plan will continue as normal without intervention. However, assigning our research team to assist can speed up the process.§!"
|
||||
rg_story.27.a:0 "I think she could do better..."
|
||||
rg_story.27.b:0 "§Yassigned the physics research team to set off immediately. §!"
|
||||
|
||||
rg_story.28.title:0 "$situation_rg_gray_mod1_stage_6$!"
|
||||
rg_story.28.desc:0 "Our plan is in its final stages. At this stage, we need to complete the finishing work of the mothership transformation and actually verify the performance of the mothership. I guess there won't be any more problems. \n§YAt this stage, we need to execute the $NAME_Gray$ Upgrade Project.§!"
|
||||
rg_story.28.a:0 "Let's get started."
|
||||
|
||||
rg_story.29.title:0"§YUpgrade Project Successfully Concluded§!"
|
||||
rg_story.29.desc:0 "Our plan has been successfully completed. The tested metrics of the $NAME_Gray$ mothership are very encouraging, and our scientific team is ready for a celebratory rally. "
|
||||
rg_story.29.a:0 "Invincible."
|
||||
|
||||
rg_story.30.title:0 "$situation_rg_gray_mod2_stage_1$"
|
||||
rg_story.30.desc:0 "Based on the experience of the last time, our $NAME_Gray$ flagship retrofit program will be divided into twelve sub-phases with two optional retrofit phases. We need to prove that a battleship bigger than an asteroid is not a dream. In order to bring this dream back from the imagination to reality, our scientific team had to first perform a mechanical analysis of a warship of this size. \n§Y plans will continue to proceed without intervention at this stage, although the assignment of scientists to assist will speed up the process. §!"
|
||||
rg_story.30.a:0 "That's it."
|
||||
rg_story.30.b:0 "§Yassigns Chief Scientist to assist in the project§!"
|
||||
|
||||
rg_story.31.title:0 "$situation_rg_gray_mod2_stage_2$"
|
||||
rg_story.31.desc:0 "Our program is already in its second phase. Previous studies have proven that it is difficult to perfectly meet the requirements of any material known to us in order to build a warship of this size. Further studies of the constitution of nanomatter are needed, and the physical properties exhibited by such matter seem to be highly compatible with our goals. \n§Y plans will continue unintrusive at this stage, but investing in some nanites will speed up the process. §!"
|
||||
rg_story.31.a:0 "go Ahead"
|
||||
rg_story.31.b:0 "§YInvest in nanites Research§!"
|
||||
|
||||
rg_story.32.title:0 "$situation_rg_gray_mod2_stage_3$"
|
||||
rg_story.32.desc:0 "Our program has entered its third phase. Even with the assistance of self-programmed nanomachines, it is difficult to construct structures that meet the required strength requirements in space. This is undoubtedly a huge project. We need to build the construction site, coordinate the transportation of materials and carry out structural fixation. \n§YAt this stage, we need to build megastructures to continue the project.§!"
|
||||
rg_story.32.a:0 "Construction begins"
|
||||
|
||||
rg_story.33.title:0 "$situation_rg_gray_mod2_stage_4$"
|
||||
rg_story.33.desc:0 "Our plan is already in its fourth phase. Our flagship undoubtedly requires a huge amount of energy, and it is difficult to simply scale up a conventional reactor. We need to explore the design of very large-scale reactors and study the supercritical energy output scheme. \n§Y will continue as normal at this stage without intervention, but there may be a major accident that will cause us to be forced to reverse our progress. §!"
|
||||
rg_story.33.a:0 "Leave it.How bad can be it?"
|
||||
rg_story.33.b:0 "§YAssign elite scientists to participate in the design§!"
|
||||
|
||||
rg_story.34.title:0 "$situation_rg_gray_mod2_stage_5$"
|
||||
rg_story.34.desc:0 "Our program has entered its fifth phase. Armament is the core of a battleship. Before we actually build the hull, we need to design the weapon load point to load the weapon. Our flagship will have a cardan axis giant Star Destroyer weapon system. Multi-linked Titan-class weapon arrays, as well as ultra-large-scale macro cannon arrays and dense carrier-based aircraft ejection arrays. How to coordinate the ship space is undoubtedly a huge challenge. \n§Y will continue to proceed at this stage without intervention, although investing in the construction of test ships will be able to speed up the process. §!"
|
||||
rg_story.34.a:0 "We can do it"
|
||||
rg_story.34.b:0 "§YInvest in the construction of a test unit§!"
|
||||
|
||||
rg_story.35.title:0 "$situation_rg_gray_mod2_stage_6$"
|
||||
rg_story.35.desc:0"We are about to move more than halfway through our plan. Our hull was designed with a lot of tonnage redundancy, which is not wasteful, and we envision the flagship being able to operate an ecosystem of independent housing for several large residential station sizes, with plenty of room for modifications. How to design the people's future home will be an important task that cannot be ignored. \n§Y will continue to proceed at this stage without intervention, although investing in the construction of test ships will be able to speed up the process. §!"
|
||||
rg_story.35.a:0 "For a new home"
|
||||
rg_story.35.b:0 "§YInvest in the construction of a test unit§!"
|
||||
|
||||
rg_story.36.title:0 "$situation_rg_gray_mod2_stage_7$"
|
||||
rg_story.36.desc:0 "Our plan has entered its seventh phase. We will lay the first keel of the hull, which is critical to the integrity of the hull. \n§Y will continue to work on track at this stage without intervention, but with some small investments it can speed up the process. §!"
|
||||
rg_story.36.a:0 "continue"
|
||||
rg_story.36.b:0 "§YInvest in Extra Materials§!"
|
||||
|
||||
rg_story.37.title:0 "$situation_rg_gray_mod2_stage_8$"
|
||||
rg_story.37.desc:0 "Our program has entered its eighth phase. At this stage, we will lay reinforced armor on the hull. Ships are already taking shape. \n§Y will continue to work on track at this stage without intervention, but with some small investments it can speed up the process. §!"
|
||||
rg_story.37.a:0 "It's almost finished..."
|
||||
rg_story.37.b:0 "§YInvest in Extra Materials§!"
|
||||
|
||||
rg_story.38.title:0 "$situation_rg_gray_mod2_stage_9$"
|
||||
rg_story.38.desc:0 "Our program is in its ninth phase. At this stage, we need to design a super-scale hyperspace engine for the flagship. Well, something could go wrong. \n§Y will continue to proceed at this stage without intervention, although investing in the construction of test ships will be able to speed up the process. §!"
|
||||
rg_story.38.a:0 "It shouldn't be a problem... Right? "
|
||||
rg_story.38.b:0 "§YInvest in Extra Materials§!"
|
||||
|
||||
rg_story.39.title:0 "$situation_rg_gray_mod2_stage_10$"
|
||||
rg_story.39.desc:0 "Our program has entered its tenth phase. We need to design and install soft equipment such as ship halo projectors, stealth arrays, etc. \n§Y will continue to work on track at this stage without intervention, but with some small investments it can speed up the process. §!"
|
||||
rg_story.39.a:0 "That's it"
|
||||
rg_story.39.b:0 "§YInvest in Extra Materials§!"
|
||||
|
||||
rg_story.40.title:0 "$situation_rg_gray_mod2_stage_11$"
|
||||
rg_story.40.desc:0 "Our plan has entered its eleventh phase. At this stage, we need to help $NAME_Gray$ design the hull nano blueprint so that $NAME_Gray$ can freely change its form. If all goes well, our plan is nearing completion. \n§Ywill continue to work on track at this stage without intervention, but with some small investments it can speed up the process. §!"
|
||||
rg_story.40.a:0 "That's it"
|
||||
rg_story.40.b:0 "§YInvest in Extra Materials§!"
|
||||
|
||||
rg_story.41.title:0 "$situation_rg_gray_mod2_stage_12$"
|
||||
rg_story.41.desc:0 "Our plan is in its final stages. Our flagship renovation project is almost complete, and the next step is the actual sea trials. If all goes well, then all goes well. \n§YAt this stage, we need to execute the $NAME_Gray$ Upgrade Project. §!"
|
||||
rg_story.41.a:0 "Startup Plan"
|
||||
|
||||
rg_story.42.title:0 "$situation_rg_gray_mod2_stage_13$"
|
||||
rg_story.42.desc:0 "Our plans are almost complete, and as an add-on option, we can dominate the flagship revamp. But this requires additional investment from us. At this stage, we will create a habitable warehouse that can accommodate a large number of people. \n§Ywill continue to work on track at this stage without intervention, but with some small investments it can speed up the process. §!"
|
||||
rg_story.42.a:0 "That's it"
|
||||
rg_story.42.b:0 "§YInvest in Extra Materials§!"
|
||||
|
||||
rg_story.43.title:0 "$situation_rg_gray_mod2_stage_14$"
|
||||
rg_story.43.desc:0"Our plans are almost complete, and as an add-on option, we can dominate the flagship.\n§Y: At this stage, we need to execute the $NAME_Gray$ Upgrade Project. §!"
|
||||
rg_story.43.a:0 "That's it"
|
||||
rg_story.43.b:0 "§YInvest in Extra Materials§!"
|
||||
|
||||
75
localisation/english/RG_goverment_l_english.yml
Normal file
75
localisation/english/RG_goverment_l_english.yml
Normal file
@@ -0,0 +1,75 @@
|
||||
l_english:
|
||||
preset_rg_scion: "§YOath Project Country§!"
|
||||
preset_rg_scion_desc: "For some ulterior motive, the Ancient Fallen Empire treated it as if it were its own. Their Ancient Overlord would not allow any outside interference with their Oath Country. "
|
||||
|
||||
### NANOTECH
|
||||
tradition_rg_nanotech: "§YNano Refactoring§!"
|
||||
tradition_rg_nanotech_desc: "The form of life is not the same, and embracing nanomachines makes us extra-dimensional to all things in the universe."
|
||||
tr_rg_nanotech_adopt: "§YNano Refactoring§!Tradition"
|
||||
tr_rg_nanotech_1: "Material Reshaping"
|
||||
tr_rg_nanotech_2: "Spiritual Devotion"
|
||||
tr_rg_nanotech_3: "Storm Torrent"
|
||||
tr_rg_nanotech_4: "Infinity Frontier"
|
||||
tr_rg_nanotech_5: "Nano Normalization"
|
||||
tr_rg_nanotech_finish: "$tradition_rg_nanotech$ finished"
|
||||
tr_rg_nanotech_1_delayed: "Traditional material smelting can no longer satisfy our desire for progress. We will transform the useless matter of the old world into nanobots."
|
||||
tr_rg_nanotech_2_delayed: "Nanomachines reorganize everything, and we are the universe. The world changes in our hands as needed."
|
||||
tr_rg_nanotech_3_delayed: "Our existence is no longer limited by our will. We will turn into a storm and sweep through everything."
|
||||
tr_rg_nanotech_4_delayed: "We are a torrent, and our existence needs strength as a foundation. Now,§RI§!am the swarm."
|
||||
tr_rg_nanotech_5_delayed: "The boundaries between matter and man have blurred, and everything is just a note in the torrent of our collective will."
|
||||
tradition_rg_nanotech_delayed: "We are an unstoppable torrent that swallows the sky and the earth. Everything will be integrated into us, we will form everything. "
|
||||
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: "§IUnlocks Megastructure:§Y$RG_habitat_central_complex$§!\n§IUnlocks Megastructure:§!§Y$rg_nano_ripper_4$§!: Can produce large quantities £nanites£§Y$nanites$§! from all planets, moons, and asteroids in the star system"
|
||||
tr_rg_nanotech_3_modifier_desc: "§YPlanetary Decision Unlocked:§!$decision_rg_nanotech_swarm_consume_world$\n§YUnlock Colossus Weapon:§!$tech_object_gray_7$:Turns planets into colonizable §Y$pc_nanotech$§!"
|
||||
tr_rg_nanotech_4_modifier_desc: "§YAscension Perk Unlocked:$rg_ap_nantiematter$\n§HUnlocks Ship Type:§!§!$RG_graygoo_destroyer$\n§YRelics Gained:§!§Y$rg_tempest_invocator$§!: Allows you to summon Cosmic Storm:§Y$graytempest_storm$§!"
|
||||
tr_rg_nanotech_5_modifier_desc: "§YUnlocks Purge:$purge_nanophage$§!: Assimilation the alien population as part of us.\nAll pop gain §YNantie Trait§!:$pops_with_icon$§! require £nanites£§Y$nanites$§! Upkeeps.\n§YNanties§Y $pops_with_icon$§! are instantly created to meet £job£ Job requirements of §Y£building£ Buildings§! and §Y£district£ Districts§! For every colony who is §Y$pc_nanotech$§! or §Y$pc_rg_grayhabitat$§!."
|
||||
tr_rg_nanotech_finish_modifier_desc: "§Y§HUnlocks Ship Type:§!§!$RG_graygoo_mothership$\nAll domestic star bases are automatically built built-in §Y$sm_nanite_harvester$§!"
|
||||
|
||||
decision_rg_server_shut_down: "§RCore Shutdown§!"
|
||||
decision_rg_server_shut_down_desc: "§Rwill destroy the colony! §!\n\nThis colony has lost its usefulness, shutting down the Signal Relay Core. "
|
||||
decision_rg_nanotech_swarm_consume_world: "§YNanite Transfiguration§!"
|
||||
decision_rg_nanotech_swarm_consume_world_desc: "Our planets will transform, feeding the flood and our essence."
|
||||
decision_rg_nanotech_swarm_consume_world_effect_desc: "Transfigure this world, creating one or more blockers that reduce the habitability and districts of this world but will provide more nanites for the flood."
|
||||
|
||||
situation_rg_nanotech_consume_planet: "Extract Nanites from [Target.GetName]"
|
||||
situation_rg_nanotech_consume_planet_type: "Extract Nanites"
|
||||
situation_rg_nanotech_consume_planet_monthly_change_tooltip: "Nanite Extraction Progress"
|
||||
situation_rg_nanotech_consume_planet_desc: "Everything, including entire worlds, is destined to be assimilated into our collective, to become a part of us."
|
||||
|
||||
rg_deficit.170.desc:1 "[Owner.GetFinancialAdvisorAgencyCap] is getting increasingly concerned about the $nanites$ shortage befalling our empire. Failure to recoup our expenses will bring widespread disruptions to our industry sector."
|
||||
rg_deficit.170.desc.machine:1 "Budget warning: $nanites$ expenditures surpassing expenditures for multiple subsequent months. Failure to resolve the shortage will bring widespread disruptions to our industry sector."
|
||||
rg_deficit.170.A:1 "Scrap robots on §Y[robots_planet.GetName]§! for $nanites$ ."
|
||||
rg_deficit.170.A.tooltip:2 "Dismantle all robots on [robots_planet.GetName] (£pop£ §Y[robots_planet.recycled_robots] Drones§!) to gain £nanites£ §Y[robots_planet.total_alloys_gained] $nanites$ §!"
|
||||
rg_deficit.170.B:1 "Consolidate. Recycle. Dismantle droids on §Y[robots_planet.GetName]§!."
|
||||
rg_deficit.170.B.tooltip:2 "Dismantle half of the population on [robots_planet.GetName] (£pop£ §Y[robots_planet.recycled_robots] Drones§!) to gain £nanites£ §Y[robots_planet.total_alloys_gained] $nanites$§!"
|
||||
|
||||
rg_deficit.175.desc:1 "Having failed to resolve our $nanites$ shortage, we have been forced to declare bankruptcy and default on our debts. [Owner.GetFinancialAdvisorAgencyCap] is drafting a new austerity plan to cut expenses and preventing this situation from ever happening again."
|
||||
|
||||
situation_nanites_deficit: "$nanites$ deficit"
|
||||
situation_nanites_deficit_type: "$situation_nanites_deficit$"
|
||||
deficit_approach_cut_nanite_usage: "$nanites$ Rationing"
|
||||
string_expenditures_greater_than_income_nanites: "$nanites$ Deficit"
|
||||
string_not_in_deficit_nanites: "Positive Monthly $nanites$ Balance"
|
||||
string_resource_reserves_nanites: "$nanites$ Reserves"
|
||||
|
||||
purge_nanophage: "Nanite Assimilation"
|
||||
purge_nanophage_tooltip: "Affected populations are gradually split into the [From.GetSpeciesAdj] species, regardless of their own volition."
|
||||
purge_nanophage_tooltip_delayed: "§ The form of unfreedom is only a constraint that hinders our development. In doing so, their cause will be continued by [From.GetSpeciesNamePlural]. §!"
|
||||
|
||||
civic_rg_gray_cluster: "§YDistant Stella-Cluser Start§!"
|
||||
civic_rg_gray_non_cluster: "§YDistant Stella-Galaxy Start§!"
|
||||
civic_tooltip_rg_gray_cluster: "Choose to start your adventure in §YL-Cluster§!. The standard start option for this mod."
|
||||
civic_tooltip_rg_gray_non_cluster: "Choose to start your adventure in §YGalaxy§!. Suitable for players who don't want to start in the L-Cluster. "
|
||||
|
||||
rg_ap_nantiematter:0 "§YNanomatter Composition Engineering§!"
|
||||
rg_ap_nantiematter_desc:0 "If a thorough study of the matter and technology of the L-Gate builders could be carried out, these powerful nanomachines would greatly enhance our armaments. This requires us to gain sufficient knowledge of the L-gate."
|
||||
rg_ap_nantiematter_tooltip:0 "§YThat's results everything.§!"
|
||||
|
||||
origin_rg_gray:0 "§YDistant Stella§!"
|
||||
origin_rg_gray_desc:0 "You secretly persuaded $NAME_Gray$ to come and visit you from the distant L-Cluster"
|
||||
START_SCREEN_RG_GRAY_ORIGIN:0 "-TOO LONG GIVE UP TO TRANSLATE THIS.I KNOW YOU NEVER READ THIS-\n\n§IIt's a special start! You will be trapped in the L-Cluster and will not be able to open the L-Gate from within. If no other country had opened the L-Gate from the outside...well.§!"
|
||||
origin_tooltip_rg_gray_effects:0 "—['concept_rg_gray'] will come to help you at the game start.\n—$HOME_SYSTEM$:Begin your adventure in an isolated L-Cluster\n— previous $HOME_SYSTEM$ is connected in to ['concept_l_gates'] network by a ['concept_l_gates'].\n\n§R<But... You may never have a chance to seeing the galaxy again.>§!\n§Y—This origin cannot be selected repeatedly.§!\n§Y-When the Origin is taken by the AI Empire, the L-Cluster will be taken by the AI Empire. Hmm, you know!"
|
||||
rg_origin_scion:0 "§YTracing the future§!"
|
||||
rg_origin_scion_desc:0 "The script is suspected to have been rewritten by someone. You will grow under the meticulous supervision of $NAME_Gray$."
|
||||
origin_tooltip_rg_scion_effects:0 "It starts as a subject of ['concept_rg_gray'] ['concept_fallen_empire'].['concept_rg_gray'] will protect your country from foreign enemies, and sometimes give you some help.\n—['concept_rg_gray']['concept_fallen_empire'] Overlord's ['concept_rg_scion', £scion£Oath Project Country]\n—$HOME_SYSTEM$ is connected in to ['concept_l_gates'] network by a ['concept_l_gates']\n—['concept_rg_gray'] ['concept_fallen_empire'] Ignoring the galaxy setting must be present in an isolated L-Cluster\n- will be protected by ['concept_rg_gray'].\n\n§R<But it can also be an obstacle to your development...>§!\n§Y—This is an unfinished Work-In-Progress origin. For development and testing purposes only. Please do not use it in your official game.§!"
|
||||
119
localisation/english/RG_l_english.yml
Normal file
119
localisation/english/RG_l_english.yml
Normal file
@@ -0,0 +1,119 @@
|
||||
l_english:
|
||||
GRAY_SPECIES:0 "$NAME_Gray$"
|
||||
RG_MACHINE:0 "§YNanite Reconstructed Doll§!"
|
||||
gray_army_desc:0 "$NAME_Gray$With her nano-combat mothership, it can easily sweep away a planet"
|
||||
|
||||
rg_tempest_invocator: "Graygoo Core"
|
||||
rg_tempest_invocator_desc: "Although it is called $rg_tempest_invocator$, it has nothing to do with $NAME_Gray_Goo$. This amazing $relics$ is a patented product with independent intellectual property rights that is completely independently developed by our engineers."
|
||||
|
||||
d_nanite_ripper_deposit_1: "£nanites£ +0.1"
|
||||
d_nanite_ripper_deposit_2: "£nanites£ +1.6"
|
||||
d_nanite_ripper_deposit_3: "£nanites£ +5.8"
|
||||
d_nanite_ripper_deposit_4: "£nanites£ +25.6"
|
||||
|
||||
rg_nanite_leader:0"§YNanite Entity§!"
|
||||
rg_nanite_leader_plural:0"§YNanite Entity§!"
|
||||
rg_nanite_leader_description:0"§YEssentially, it is an individual composed of thousands of nanomachines.§!"
|
||||
rg_nanite_leader_plural_with_icon:0"£official£ $rg_nanite_leader_plural$"
|
||||
|
||||
RG_AUTOCONST_HANGER:0 "Automatic engineering sub-entity"
|
||||
RG_AUTOCONST_HANGER_desc:0 "Preloaded worker ships can automatically build star bases after a system survey is completed."
|
||||
RG_const_country:0 "$NAME_Gray$-automatic engineering team"
|
||||
|
||||
citizenship_full_rg_maid: "$RG_MACHINE$"
|
||||
citizenship_full_rg_maid_tooltip: "The species population is fully customized artificial life used for industrial production."
|
||||
citizenship_full_rg_maid_tooltip_delayed: "§LDirect Control Mode§!"
|
||||
|
||||
rg_nothing:0 ""
|
||||
rg_nothing_desc:0 ""
|
||||
|
||||
rg_distant_stars_modifier:0 "§HDistant Stars§!"
|
||||
rg_distant_stars_modifier_desc:0 "L-Clusters are a group of galaxies that are very far apart from the Milky Way as we know it. It is almost impossible to start the jump engine back to the galaxy from the inside. \n§H Of course you insist on getting out... I can't help it. This modifier is automatically removed when the L-Stargate is opened. §!"
|
||||
|
||||
rg_gray_army_base:0 "§YSelf-propelled $gray_army$§!"
|
||||
rg_gray_army_base_desc:0 "Replicas of $gray_army$ created by reverse engineering have limited operational decision-making capabilities. But it's still hugely powerful."
|
||||
|
||||
rg_fake_dragon_desc:0 "The simulated dragon is a simulated life born from a mysterious experiment of $NAME_Gray$. Although it is composed of nanomachines, it is not able to control these nanomachines autonomously. As nanomachines lose their ability to maintain, the future of analog dragons becomes even more uncertain."
|
||||
rg_timed_life_millennium:0 "§RMillennial Soul Ring§!: The simulated dragon is already a thousand years old~ Congratulations. And yet nothing happened!"
|
||||
rg_timed_life_millennium_reborn:0 "§YGlowing-§!§RMillennial Soul Ring§!: The simulated dragon is a thousand years old~§R How did you do it? Is a thousand years really so short? §!\nYou have obtained §R loser Certification§!~"
|
||||
RG_sim_dragon_species:0 "Dragons in disguise"
|
||||
RG_SIMULATION_DRAGON_SPECIES:0 "Dragons in disguise"
|
||||
|
||||
situation_rg_gray_mod1:0 "§Y$NAME_Gray$ Upgrade Project§!"
|
||||
situation_rg_gray_mod1_desc:0 "Due to the lack of resources in the L-Cluster, the hull of $NAME_Gray$ has not been maintained for a long time. By mobilizing enough resources, $NAME_Gray$ can be used to restore the mothership to its full state. In order to execute this initiative, $NAME_Gray$ needed the help of our engineering team. \n§RSwitching the $NAME_Gray$ pattern will cause the plan to fail. §!"
|
||||
|
||||
situation_rg_gray_mod1_stage_1:0 "§YStage 1: Basic Hull Repair Stage§!"
|
||||
situation_rg_gray_mod1_stage_2:0 "§YStage 2: Weapon Point Reconstruction Stage§!"
|
||||
situation_rg_gray_mod1_stage_3:0 "§YStage 3: Feasibility Verification Stage§!"
|
||||
situation_rg_gray_mod1_stage_4:0 "§YStage 4: Star Destroyer Weapon Design Stage§!"
|
||||
situation_rg_gray_mod1_stage_5:0 "§YStage 5: Ship-wide Nanodesign Stage§!"
|
||||
situation_rg_gray_mod1_stage_6:0 "§YStage 6: Final Sea Trial Stage§!"
|
||||
|
||||
situation_rg_gray_mod1_stage_1_tooltip:0 "$rg_story.23.desc$"
|
||||
situation_rg_gray_mod1_stage_2_tooltip:0 "$rg_story.24.desc$"
|
||||
situation_rg_gray_mod1_stage_3_tooltip:0 "$rg_story.25.desc$"
|
||||
situation_rg_gray_mod1_stage_4_tooltip:0 "$rg_story.26.desc$"
|
||||
situation_rg_gray_mod1_stage_5_tooltip:0 "$rg_story.27.desc$"
|
||||
situation_rg_gray_mod1_stage_6_tooltip:0 "$rg_story.28.desc$"
|
||||
|
||||
situation_rg_gray_mod1_monthly_change_tooltip:0 "§YWe are steadily moving forward with the renovation project.§!"
|
||||
situation_rg_gray_mod1_finish_tooltip:0 "§YOur plan was completed on track.§!"
|
||||
|
||||
situation_rg_gray_mod2_monthly_change_tooltip:0 "§YWe are steadily moving forward with the renovation project.§!"
|
||||
situation_rg_gray_mod2_finish_tooltip:0 "§YOur plan was completed on track.§!"
|
||||
|
||||
situation_rg_gray_mod1_approach_1:0 "Execute on schedule"
|
||||
situation_rg_gray_mod1_approach_2:0 "Pause execution Plan"
|
||||
situation_rg_gray_mod1_approach_3:0 "Abandon execution plan"
|
||||
situation_rg_gray_mod1_approach_1_tooltip:0 "§GOur project will be executed as planned.§!"
|
||||
situation_rg_gray_mod1_approach_2_tooltip:0 "§YDue to external pressure, we need to postpone the implementation of the renovation project.§!"
|
||||
situation_rg_gray_mod1_approach_3_tooltip:0 "§RWe had difficulties that made the plan unsustainable and had to suspend the plan for the time being.§!"
|
||||
|
||||
situation_rg_gray_mod1_stage_1_booster_tooltip:0 "§GOur project gets an extra budget§!"
|
||||
situation_rg_gray_mod1_stage_2_booster_tooltip:0 "§GOur engineering team was assigned to help with the renovation project§!"
|
||||
situation_rg_gray_mod1_stage_3_booster_tooltip:0 "§RDue to the lack of budget for our program, the project team had to use imagination to make up for it§!"
|
||||
situation_rg_gray_mod1_stage_5_booster_tooltip:0 "§GOur physics team has been assigned to help with the retrofit project§!"
|
||||
situation_rg_gray_mod1_stage_6_booster_tooltip:0 "§YWe need to actually start executing the retrofit project§!"
|
||||
|
||||
situation_rg_gray_mod2_stage_1_booster_tooltip:0 "§GOur research team has been assigned to help with the renovation project§!"
|
||||
situation_rg_gray_mod2_stage_2_booster_tooltip:0 "§GOur project gets an extra budget§!"
|
||||
situation_rg_gray_mod2_stage_3_booster_tooltip:0 "§GOur project has been approved for the construction of a test ship§!"
|
||||
|
||||
situation_rg_gray_mod2:0 "§Y$NAME_Gray$ Capitalship Upgrade Project§!"
|
||||
situation_rg_gray_mod2_desc:0 "Our scientists believe that with the accumulation of our research on the $NAME_Gray$ hull and technology, we will be able to design a giant flagship hull. If successful, the $NAME_Gray$ mothership will gain enough combat power to rival the Fallen Empire. For this great project, we need to mobilize huge resources. Once the resources are ready, the project can start immediately\n§H This is a long-term project, so switching $NAME_Gray$ patterns will not cause the plan to fail. §!"
|
||||
|
||||
situation_rg_gray_mod2_stage_1:0 "§YStage 1: Fundamental Mechanics Verification Stage§!"
|
||||
situation_rg_gray_mod2_stage_2:0 "§YStage 2: Nanocomposition Research Stage§!"
|
||||
situation_rg_gray_mod2_stage_3:0 "§YStage 3: Site Construction Stage§!"
|
||||
situation_rg_gray_mod2_stage_4:0 "§YStage 4: Reactor Stabilization Research Stage§!"
|
||||
situation_rg_gray_mod2_stage_5:0 "§YStage 5: Primary Weapon Point Design Stage§!"
|
||||
situation_rg_gray_mod2_stage_6:0 "§YStage 6: Cabin Layout Design Stage§!"
|
||||
situation_rg_gray_mod2_stage_7:0 "§YStage 7: Hull Keel Laying Stage§!"
|
||||
situation_rg_gray_mod2_stage_8:0 "§YStage 8: Hull Main Structure Laying Stage§!"
|
||||
situation_rg_gray_mod2_stage_9:0 "§YStage 9: Hyperspace Engine Validation Stage§!"
|
||||
situation_rg_gray_mod2_stage_10:0 "§YStage 10: Subsystem Hoisting Stage§!"
|
||||
situation_rg_gray_mod2_stage_11:0 "§YStage 11: Ship-wide Nanodesign Stage§!"
|
||||
situation_rg_gray_mod2_stage_12:0 "§YStage 12: Final Sea Trial Stage§!"
|
||||
situation_rg_gray_mod2_stage_13:0 "§YStage 13: Residential Zoning Design Stage§!"
|
||||
situation_rg_gray_mod2_stage_14:0 "§YStage 14: Juggernaut Dockyard Laying Stage§!"
|
||||
|
||||
situation_rg_gray_mod2_stage_1_tooltip:0 "$rg_story.30.desc$"
|
||||
situation_rg_gray_mod2_stage_2_tooltip:0 "$rg_story.31.desc$"
|
||||
situation_rg_gray_mod2_stage_3_tooltip:0 "$rg_story.32.desc$"
|
||||
situation_rg_gray_mod2_stage_4_tooltip:0 "$rg_story.33.desc$"
|
||||
situation_rg_gray_mod2_stage_5_tooltip:0 "$rg_story.34.desc$"
|
||||
situation_rg_gray_mod2_stage_6_tooltip:0 "$rg_story.35.desc$"
|
||||
situation_rg_gray_mod2_stage_7_tooltip:0 "$rg_story.36.desc$"
|
||||
situation_rg_gray_mod2_stage_8_tooltip:0 "$rg_story.37.desc$"
|
||||
situation_rg_gray_mod2_stage_9_tooltip:0 "$rg_story.38.desc$"
|
||||
situation_rg_gray_mod2_stage_10_tooltip:0 "$rg_story.39.desc$"
|
||||
situation_rg_gray_mod2_stage_11_tooltip:0 "$rg_story.40.desc$"
|
||||
situation_rg_gray_mod2_stage_12_tooltip:0 "$rg_story.41.desc$"
|
||||
situation_rg_gray_mod2_stage_13_tooltip:0 "$rg_story.42.desc$"
|
||||
situation_rg_gray_mod2_stage_14_tooltip:0 "$rg_story.43.desc$"
|
||||
|
||||
rg_gray_mod2_stage1_project:0 "§Yassigns Chief Scientist to help with the renovation project§!"
|
||||
rg_gray_mod2_stage1_project_desc:0 "In order to speed up the $NAME_Gray$ renovation project, we need to assign our scientists to work on this project. Well, that's it. "
|
||||
|
||||
rg_gray_mod2_stage4_project:0 "$rg_gray_mod2_stage1_project$"
|
||||
rg_gray_mod2_stage4_project_desc:0 "$rg_gray_mod2_stage1_project_desc$"
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user