迁移No.128 更新于:5 月 23 日 上午 10:33上git
This commit is contained in:
48
common/armies/!_RG_event_armies.txt
Normal file
48
common/armies/!_RG_event_armies.txt
Normal file
@@ -0,0 +1,48 @@
|
||||
# Gray Nanite Army
|
||||
gray_army = {
|
||||
damage = 30.0
|
||||
health = 104.0
|
||||
has_morale = no
|
||||
morale_damage = 18.0
|
||||
collateral_damage = 15.0
|
||||
war_exhaustion = 12.0
|
||||
time = 5
|
||||
resources = {
|
||||
category = armies
|
||||
produces = {
|
||||
energy = 1
|
||||
}
|
||||
}
|
||||
has_species = no
|
||||
icon = GFX_army_type_machine_assault
|
||||
|
||||
potential = {
|
||||
always = no
|
||||
}
|
||||
}
|
||||
# Gray Nanite Army
|
||||
rg_gray_army_base = {
|
||||
damage = 10.0
|
||||
health = 18.0
|
||||
has_morale = no
|
||||
morale_damage = 6.0
|
||||
collateral_damage = 5.0
|
||||
war_exhaustion = 4.0
|
||||
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 = {
|
||||
}
|
||||
}
|
||||
32
common/ascension_perks/rg_ascension_perks.txt
Normal file
32
common/ascension_perks/rg_ascension_perks.txt
Normal file
@@ -0,0 +1,32 @@
|
||||
rg_ap_nantiematter = {
|
||||
on_enabled = {
|
||||
custom_tooltip = "rg_ap_nantiematter_tooltip"
|
||||
add_research_option = tech_gray_weapon_lance_1
|
||||
}
|
||||
|
||||
possible = {
|
||||
OR = {
|
||||
has_country_flag = origin_rg_gray
|
||||
has_country_flag = gray_owner
|
||||
has_technology = tech_lgate_activation
|
||||
can_research_technology = tech_lgate_activation
|
||||
}
|
||||
NOT = {
|
||||
has_ascension_perk = rg_nantiematter
|
||||
}
|
||||
}
|
||||
|
||||
potential = {
|
||||
OR = {
|
||||
has_country_flag = origin_rg_gray
|
||||
has_country_flag = gray_owner
|
||||
has_event_chain = l_cluster_chain
|
||||
has_technology = tech_lgate_activation
|
||||
}
|
||||
is_ai = no
|
||||
}
|
||||
|
||||
ai_weight = {
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
53
common/bombardment_stances/!_RG_bombardment_stances.txt
Normal file
53
common/bombardment_stances/!_RG_bombardment_stances.txt
Normal file
@@ -0,0 +1,53 @@
|
||||
#example = {
|
||||
# # root = fleet
|
||||
# trigger = {
|
||||
# always = yes
|
||||
# }
|
||||
#
|
||||
# icon_frame = 1 # This is the frame for the shared icon file, will also need a GFX_fleet_order_button_ground_support_NAME entry
|
||||
# default = yes # Is this the default stance that new fleets will use?
|
||||
#
|
||||
# stop_when_armies_dead = yes # Will this stance continue to bombard planets where all defensive armies are dead? default = no
|
||||
# abduct_pops = no # Will this stance attempt to abduct pops to your own planets instead of killing them? default = no
|
||||
#
|
||||
# planet_damage = 0.5 # General scale of damage to planet, default = 1.0
|
||||
# army_damage = 1.0 # General scale of damage to armies, default = 1.0
|
||||
#
|
||||
# kill_pop_chance = { # Chance that a pop is killed when planetary damage reaches 100%, default = 0
|
||||
# base = 0.25
|
||||
# }
|
||||
# min_pops_to_kill_pop = 8 # Will not kill/abduct pops if pops <= this number already, default = 0. Doesn't work for nations that doesn't have diplomatic wars!
|
||||
#
|
||||
# # root = fleet
|
||||
# # from = planet
|
||||
# ai_weight = {
|
||||
# weight = 1
|
||||
# }
|
||||
#}
|
||||
graygoo = {
|
||||
trigger = {
|
||||
owner = {
|
||||
has_country_flag = gray_owner
|
||||
}
|
||||
}
|
||||
|
||||
icon_frame = 3
|
||||
default = no
|
||||
|
||||
stop_when_armies_dead = no
|
||||
abduct_pops = no
|
||||
|
||||
planet_damage = 100.0
|
||||
army_damage = 2.0
|
||||
|
||||
kill_pop_chance = {
|
||||
base = 3.0
|
||||
}
|
||||
min_pops_to_kill_pop = 0
|
||||
|
||||
# root = fleet
|
||||
# from = planet
|
||||
ai_weight = {
|
||||
weight = 0
|
||||
}
|
||||
}
|
||||
188
common/component_sets/RG_weapon_sets.txt
Normal file
188
common/component_sets/RG_weapon_sets.txt
Normal file
@@ -0,0 +1,188 @@
|
||||
component_set = {
|
||||
key = "RG_SP_CANNON_INSTANT"
|
||||
|
||||
icon = "GFX_ship_part_space_whale_weapon_1"
|
||||
icon_frame = 1
|
||||
}
|
||||
|
||||
component_set = {
|
||||
key = "LARGE_GRAY_WEAPON_LANCE"
|
||||
|
||||
icon = "GFX_ship_part_gray_laser_1"
|
||||
icon_frame = 1
|
||||
}
|
||||
|
||||
component_set = {
|
||||
key = "SMALL_GRAY_WEAPON_LANCE"
|
||||
|
||||
icon = "GFX_ship_part_gray_laser_1"
|
||||
icon_frame = 1
|
||||
}
|
||||
|
||||
component_set = {
|
||||
key = "GRAY_BEAM_STATIC_X"
|
||||
|
||||
icon = "GFX_ship_part_gray_lance_2"
|
||||
icon_frame = 1
|
||||
}
|
||||
|
||||
component_set = {
|
||||
key = "GRAY_BEAM_STATIC_MX"
|
||||
|
||||
icon = "GFX_ship_part_gray_lance_2"
|
||||
icon_frame = 1
|
||||
}
|
||||
|
||||
component_set = {
|
||||
key = "GRAY_BEAM_STATIC_EX"
|
||||
|
||||
icon = "GFX_ship_part_archaeo_titan_beam"
|
||||
icon_frame = 1
|
||||
}
|
||||
|
||||
component_set = {
|
||||
key = "LARGE_GRAY_WEAPON_KIN"
|
||||
|
||||
icon = "GFX_ship_part_autocannon_4"
|
||||
icon_frame = 1
|
||||
}
|
||||
|
||||
component_set = {
|
||||
key = "HUGE_GRAY_WEAPON_KIN"
|
||||
|
||||
icon = "GFX_ship_part_autocannon_4"
|
||||
icon_frame = 1
|
||||
}
|
||||
|
||||
component_set = {
|
||||
key = "RG_FLAK_BATTERY"
|
||||
|
||||
icon = "GFX_ship_part_flak_batteries_4"
|
||||
icon_frame = 1
|
||||
}
|
||||
|
||||
component_set = {
|
||||
key = "RG_FLAK_PHOENIX"
|
||||
|
||||
icon = "GFX_ship_part_flak_batteries_3"
|
||||
icon_frame = 1
|
||||
}
|
||||
|
||||
component_set = {
|
||||
key = "RG_ENERGY_MISSILE"
|
||||
|
||||
icon = "GFX_ship_part_graymine"
|
||||
icon_frame = 1
|
||||
}
|
||||
|
||||
component_set = {
|
||||
key = "RG_ENERGY_MISSILE_KIN"
|
||||
|
||||
icon = "GFX_ship_part_graymine"
|
||||
icon_frame = 1
|
||||
}
|
||||
|
||||
component_set = {
|
||||
key = "RG_CARRIER_RADAR"
|
||||
|
||||
icon = "GFX_ship_part_sensor_1"
|
||||
icon_frame = 1
|
||||
}
|
||||
|
||||
component_set = {
|
||||
key = "LARGE_GRAY_MIX_ARMOR"
|
||||
|
||||
icon = "GFX_ship_part_gray_armor"
|
||||
icon_frame = 1
|
||||
}
|
||||
|
||||
component_set = {
|
||||
key = "HUGE_GRAY_MIX_ARMOR"
|
||||
|
||||
icon = "GFX_ship_part_gray_armor"
|
||||
icon_frame = 1
|
||||
}
|
||||
|
||||
component_set = {
|
||||
key = "RG_BOMBER_HANGAR_ATTACK_ROCKET"
|
||||
|
||||
icon = "STRIKE_CRAFT_HANGAR_3"
|
||||
icon_frame = 1
|
||||
}
|
||||
|
||||
component_set = {
|
||||
key = "RG_BOMBER_HANGAR_NEUTRON_TORPEDO"
|
||||
|
||||
icon = "GFX_ship_part_strike_craft_bomber_3"
|
||||
icon_frame = 1
|
||||
}
|
||||
|
||||
component_set = {
|
||||
key = "RG_BOMBER_HANGAR_AP_BOMB"
|
||||
|
||||
icon = "GFX_ship_part_strike_craft_bomber_3"
|
||||
icon_frame = 1
|
||||
}
|
||||
|
||||
component_set = {
|
||||
key = "RG_FIGHTER_HANGAR_BEAM"
|
||||
|
||||
icon = "GFX_ship_part_strike_craft_bomber_3"
|
||||
icon_frame = 1
|
||||
}
|
||||
|
||||
component_set = {
|
||||
key = "RG_ANTIBAKAHALO_RADAR"
|
||||
|
||||
icon = "GFX_ship_part_sensor_1"
|
||||
icon_frame = 1
|
||||
}
|
||||
|
||||
component_set = {
|
||||
key = "RG_BAKAHALO_RADAR"
|
||||
|
||||
icon = "GFX_ship_part_sensor_2"
|
||||
icon_frame = 1
|
||||
}
|
||||
|
||||
component_set = {
|
||||
key = "RG_AUTO_REPAIR"
|
||||
|
||||
icon = "GFX_ship_part_ship_part_nanite_repair_system"
|
||||
icon_frame = 1
|
||||
}
|
||||
|
||||
component_set = {
|
||||
key = "RG_ENIGMATIC_SCHEDULER"
|
||||
|
||||
icon = "GFX_ship_part_enigmatic_encoder"
|
||||
icon_frame = 1
|
||||
}
|
||||
|
||||
component_set = {
|
||||
key = "RG_ARMOR_BOOSTER"
|
||||
|
||||
icon = "GFX_ship_part_rg_armor_hardener"
|
||||
icon_frame = 1
|
||||
}
|
||||
|
||||
component_set = { # Nanobot Assimilation
|
||||
key = "RG_PLANET_KILLER"
|
||||
|
||||
icon = "GFX_ship_part_devolution_beam"
|
||||
icon_frame = 1
|
||||
}
|
||||
|
||||
component_set = {
|
||||
key = "RG_CLOAKING_3"
|
||||
|
||||
icon = "GFX_ship_part_cloak_3"
|
||||
icon_frame = 1
|
||||
}
|
||||
|
||||
component_set = {
|
||||
key = "RG_REVIVE_COMPONENT"
|
||||
|
||||
icon = "GFX_ship_part_aura_inspiring_presence"
|
||||
icon_frame = 1
|
||||
}
|
||||
12
common/component_tags/RG_weapon_tags.txt
Normal file
12
common/component_tags/RG_weapon_tags.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
weapon_type_rg_sp
|
||||
weapon_type_rg_jumpdrive
|
||||
weapon_type_rg_clocking_comp
|
||||
weapon_type_rg_thruster
|
||||
weapon_type_rg_sensor
|
||||
weapon_type_rg_halo
|
||||
weapon_type_rg_aux
|
||||
weapon_type_rg_computer
|
||||
weapon_type_rg_secondary
|
||||
weapon_type_rg_torpedoe
|
||||
weapon_type_rg_main
|
||||
weapon_type_rg_armor
|
||||
881
common/component_templates/RG_interdictor_parts.txt
Normal file
881
common/component_templates/RG_interdictor_parts.txt
Normal file
@@ -0,0 +1,881 @@
|
||||
utility_component_template = {
|
||||
key = "RG_Interdictor_FISSION_REACTOR"
|
||||
size = small
|
||||
icon = "GFX_ship_part_reactor_1"
|
||||
icon_frame = 1
|
||||
power = 1550
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = 80
|
||||
}
|
||||
upkeep = {
|
||||
energy = 0.80
|
||||
alloys = 0.08
|
||||
}
|
||||
}
|
||||
|
||||
prerequisites = { "tech_fission_power" }
|
||||
component_set = "power_core"
|
||||
size_restriction = { RG_graygoo_interdictor RG_graygoo_Buff RG_graygoo_mothership RG_graygoo_icebreaker_interdictor }
|
||||
upgrades_to = "RG_Interdictor_FUSION_REACTOR"
|
||||
|
||||
ai_weight = {
|
||||
weight = 1
|
||||
}
|
||||
}
|
||||
|
||||
utility_component_template = {
|
||||
key = "RG_Interdictor_FUSION_REACTOR"
|
||||
size = small
|
||||
icon = "GFX_ship_part_reactor_2"
|
||||
icon_frame = 1
|
||||
power = 1720
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = 104
|
||||
}
|
||||
upkeep = {
|
||||
energy = 1.04
|
||||
alloys = 0.104
|
||||
}
|
||||
}
|
||||
|
||||
prerequisites = { "tech_fusion_power" }
|
||||
component_set = "power_core"
|
||||
size_restriction = { RG_graygoo_interdictor RG_graygoo_Buff RG_graygoo_mothership RG_graygoo_icebreaker_interdictor }
|
||||
upgrades_to = "RG_Interdictor_COLD_FUSION_REACTOR"
|
||||
|
||||
ai_weight = {
|
||||
weight = 2
|
||||
}
|
||||
}
|
||||
|
||||
utility_component_template = {
|
||||
key = "RG_Interdictor_COLD_FUSION_REACTOR"
|
||||
size = small
|
||||
icon = "GFX_ship_part_reactor_3"
|
||||
icon_frame = 1
|
||||
power = 1950
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = 136
|
||||
}
|
||||
upkeep = {
|
||||
energy = 1.35
|
||||
alloys = 0.135
|
||||
}
|
||||
}
|
||||
|
||||
prerequisites = { "tech_cold_fusion_power" }
|
||||
component_set = "power_core"
|
||||
size_restriction = { RG_graygoo_interdictor RG_graygoo_Buff RG_graygoo_mothership RG_graygoo_icebreaker_interdictor }
|
||||
upgrades_to = "RG_Interdictor_ANTIMATTER_REACTOR"
|
||||
|
||||
ai_weight = {
|
||||
weight = 3
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
utility_component_template = {
|
||||
key = "RG_Interdictor_ANTIMATTER_REACTOR"
|
||||
size = small
|
||||
icon = "GFX_ship_part_reactor_4"
|
||||
icon_frame = 1
|
||||
power = 2250
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = 176
|
||||
}
|
||||
upkeep = {
|
||||
energy = 1.76
|
||||
alloys = 0.176
|
||||
}
|
||||
}
|
||||
|
||||
prerequisites = { "tech_antimatter_power" }
|
||||
component_set = "power_core"
|
||||
size_restriction = { RG_graygoo_interdictor RG_graygoo_Buff RG_graygoo_mothership RG_graygoo_icebreaker_interdictor }
|
||||
upgrades_to = "RG_Interdictor_ZERO_POINT_REACTOR"
|
||||
|
||||
ai_weight = {
|
||||
weight = 4
|
||||
}
|
||||
}
|
||||
|
||||
utility_component_template = {
|
||||
key = "RG_Interdictor_ZERO_POINT_REACTOR"
|
||||
size = small
|
||||
icon = "GFX_ship_part_reactor_5"
|
||||
icon_frame = 1
|
||||
power = 2550
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = 196
|
||||
}
|
||||
upkeep = {
|
||||
energy = 2.29
|
||||
alloys = 0.229
|
||||
}
|
||||
}
|
||||
|
||||
prerequisites = { "tech_zero_point_power" }
|
||||
component_set = "power_core"
|
||||
size_restriction = { RG_graygoo_interdictor RG_graygoo_Buff RG_graygoo_icebreaker_interdictor }
|
||||
upgrades_to = "RG_Interdictor_DARK_MATTER_REACTOR"
|
||||
|
||||
ai_weight = {
|
||||
weight = 5
|
||||
}
|
||||
}
|
||||
|
||||
utility_component_template = {
|
||||
key = "RG_Mothership_ZERO_POINT_REACTOR"
|
||||
size = small
|
||||
icon = "GFX_ship_part_reactor_5"
|
||||
icon_frame = 1
|
||||
power = 5000
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = 224
|
||||
}
|
||||
upkeep = {
|
||||
energy = 2.29
|
||||
alloys = 0.229
|
||||
}
|
||||
}
|
||||
|
||||
prerequisites = { "tech_zero_point_power" }
|
||||
component_set = "power_core"
|
||||
size_restriction = { RG_graygoo_mothership }
|
||||
upgrades_to = "RG_Interdictor_DARK_MATTER_REACTOR"
|
||||
|
||||
ai_weight = {
|
||||
weight = 5
|
||||
}
|
||||
}
|
||||
|
||||
utility_component_template = {
|
||||
key = "RG_Interdictor_DARK_MATTER_REACTOR"
|
||||
size = small
|
||||
icon = "GFX_ship_part_dark_matter_power_core"
|
||||
icon_frame = 1
|
||||
power = 3000
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = 296
|
||||
sr_dark_matter = 8
|
||||
}
|
||||
upkeep = {
|
||||
energy = 2.98
|
||||
alloys = 0.298
|
||||
}
|
||||
}
|
||||
|
||||
prerequisites = { "tech_dark_matter_power_core" }
|
||||
component_set = "power_core"
|
||||
size_restriction = { RG_graygoo_interdictor RG_graygoo_Buff RG_graygoo_icebreaker_interdictor }
|
||||
|
||||
ai_weight = {
|
||||
weight = 6
|
||||
modifier = {
|
||||
factor = 0.0
|
||||
no_resource_for_component = { RESOURCE = sr_dark_matter }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
utility_component_template = {
|
||||
key = "RG_Mothership_DARK_MATTER_REACTOR"
|
||||
size = small
|
||||
icon = "GFX_ship_part_dark_matter_power_core"
|
||||
icon_frame = 1
|
||||
power = 6000
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = 296
|
||||
sr_dark_matter = 8
|
||||
}
|
||||
upkeep = {
|
||||
energy = 2.98
|
||||
alloys = 0.298
|
||||
}
|
||||
}
|
||||
|
||||
prerequisites = { "tech_dark_matter_power_core" }
|
||||
component_set = "power_core"
|
||||
size_restriction = { RG_graygoo_mothership }
|
||||
|
||||
ai_weight = {
|
||||
weight = 6
|
||||
modifier = {
|
||||
factor = 0.0
|
||||
no_resource_for_component = { RESOURCE = sr_dark_matter }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
utility_component_template = {
|
||||
key = "RG_Arsenal_FISSION_REACTOR"
|
||||
size = small
|
||||
icon = "GFX_ship_part_reactor_1"
|
||||
icon_frame = 1
|
||||
power = 500
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = 80
|
||||
}
|
||||
upkeep = {
|
||||
energy = 0.80
|
||||
alloys = 0.08
|
||||
}
|
||||
}
|
||||
|
||||
component_set = "power_core"
|
||||
size_restriction = { RG_graygoo_Arsenal }
|
||||
|
||||
ai_weight = {
|
||||
weight = 1
|
||||
}
|
||||
}
|
||||
|
||||
utility_component_template = {
|
||||
key = "RG_ID_SHIP_THRUSTER_1"
|
||||
size = small
|
||||
icon = "GFX_ship_part_thruster_1"
|
||||
icon_frame = 1
|
||||
power = @battleship_power_1
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = 80
|
||||
}
|
||||
}
|
||||
|
||||
modifier = {
|
||||
}
|
||||
|
||||
prerequisites = { "tech_thrusters_1" }
|
||||
component_set = "thruster_components"
|
||||
size_restriction = { RG_graygoo_interdictor RG_graygoo_Buff RG_graygoo_Arsenal RG_graygoo_mothership RG_graygoo_icebreaker_interdictor }
|
||||
upgrades_to = "BATTLESHIP_SHIP_THRUSTER_2"
|
||||
|
||||
ai_weight = {
|
||||
weight = 1
|
||||
}
|
||||
}
|
||||
|
||||
utility_component_template = {
|
||||
key = "RG_ID_SHIP_THRUSTER_2"
|
||||
size = small
|
||||
icon = "GFX_ship_part_thruster_2"
|
||||
icon_frame = 1
|
||||
power = @battleship_power_2
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = 107
|
||||
}
|
||||
}
|
||||
|
||||
modifier = {
|
||||
ship_base_speed_mult = 0.25
|
||||
ship_evasion_add = 2
|
||||
}
|
||||
|
||||
prerequisites = { "tech_thrusters_2" }
|
||||
component_set = "thruster_components"
|
||||
size_restriction = { RG_graygoo_interdictor RG_graygoo_Buff RG_graygoo_Arsenal RG_graygoo_mothership RG_graygoo_icebreaker_interdictor }
|
||||
upgrades_to = "BATTLESHIP_SHIP_THRUSTER_3"
|
||||
|
||||
ai_weight = {
|
||||
weight = 2
|
||||
}
|
||||
}
|
||||
|
||||
utility_component_template = {
|
||||
key = "RG_ID_SHIP_THRUSTER_3"
|
||||
size = small
|
||||
icon = "GFX_ship_part_thruster_3"
|
||||
icon_frame = 1
|
||||
power = @battleship_power_3
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = 136
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
ship_base_speed_mult = 0.50
|
||||
ship_evasion_add = 4
|
||||
}
|
||||
|
||||
prerequisites = { "tech_thrusters_3" }
|
||||
component_set = "thruster_components"
|
||||
size_restriction = { RG_graygoo_interdictor RG_graygoo_Buff RG_graygoo_Arsenal RG_graygoo_mothership RG_graygoo_icebreaker_interdictor }
|
||||
upgrades_to = "BATTLESHIP_SHIP_THRUSTER_4"
|
||||
|
||||
ai_weight = {
|
||||
weight = 3
|
||||
}
|
||||
}
|
||||
|
||||
utility_component_template = {
|
||||
key = "RG_ID_SHIP_THRUSTER_4"
|
||||
size = small
|
||||
icon = "GFX_ship_part_thruster_4"
|
||||
icon_frame = 1
|
||||
power = @battleship_power_4
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = 176
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
ship_base_speed_mult = 0.75
|
||||
ship_evasion_add = 6
|
||||
}
|
||||
|
||||
prerequisites = { "tech_thrusters_4" }
|
||||
component_set = "thruster_components"
|
||||
size_restriction = { RG_graygoo_interdictor RG_graygoo_Buff RG_graygoo_Arsenal RG_graygoo_mothership RG_graygoo_icebreaker_interdictor }
|
||||
upgrades_to = "BATTLESHIP_SHIP_THRUSTER_5"
|
||||
|
||||
ai_weight = {
|
||||
weight = 4
|
||||
}
|
||||
}
|
||||
|
||||
utility_component_template = {
|
||||
key = "RG_ID_SHIP_THRUSTER_5"
|
||||
size = small
|
||||
icon = "GFX_ship_part_thruster_5"
|
||||
icon_frame = 1
|
||||
power = @battleship_power_5
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = 176
|
||||
sr_dark_matter = 8
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
ship_base_speed_mult = 1.25
|
||||
ship_evasion_add = 8
|
||||
}
|
||||
|
||||
prerequisites = { "tech_dark_matter_propulsion" }
|
||||
component_set = "thruster_components"
|
||||
size_restriction = { RG_graygoo_interdictor RG_graygoo_Buff RG_graygoo_Arsenal RG_graygoo_mothership RG_graygoo_icebreaker_interdictor }
|
||||
|
||||
ai_weight = {
|
||||
weight = 5
|
||||
modifier = {
|
||||
factor = 0.0
|
||||
no_resource_for_component = { RESOURCE = sr_dark_matter }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
####################
|
||||
#原版部件
|
||||
####################
|
||||
|
||||
weapon_component_template = { # World Cracker
|
||||
key = "RG_PLANET_KILLER_CRACKER"
|
||||
size = planet_killer
|
||||
type = planet_killer
|
||||
use_ship_kill_target = no
|
||||
|
||||
prerequisites = { "tech_pk_cracker" }
|
||||
|
||||
icon = GFX_ship_part_world_cracker
|
||||
icon_frame = 1
|
||||
|
||||
size_restriction = { RG_graygoo_Buff RG_graygoo_mothership }
|
||||
component_set = "PLANET_KILLER_CRACKER"
|
||||
|
||||
planet_destruction_gfx = "shatter_planet_gfx"
|
||||
}
|
||||
|
||||
weapon_component_template = { # Pacifier
|
||||
key = "RG_PLANET_KILLER_SHIELDER"
|
||||
size = planet_killer
|
||||
type = planet_killer
|
||||
use_ship_kill_target = no
|
||||
|
||||
prerequisites = { "tech_pk_shielder" }
|
||||
|
||||
icon = GFX_ship_part_global_pacifier
|
||||
icon_frame = 1
|
||||
|
||||
size_restriction = { RG_graygoo_Buff RG_graygoo_mothership }
|
||||
component_set = "PLANET_KILLER_SHIELDER"
|
||||
|
||||
planet_destruction_gfx = "global_pacifier_gfx"
|
||||
}
|
||||
|
||||
weapon_component_template = { # Neutron Beam
|
||||
key = "RG_PLANET_KILLER_NEUTRON"
|
||||
size = planet_killer
|
||||
type = planet_killer
|
||||
use_ship_kill_target = no
|
||||
|
||||
prerequisites = { "tech_pk_neutron" }
|
||||
|
||||
icon = GFX_ship_part_neutron_sweep
|
||||
icon_frame = 1
|
||||
|
||||
size_restriction = { RG_graygoo_Buff RG_graygoo_mothership }
|
||||
component_set = "PLANET_KILLER_NEUTRON"
|
||||
|
||||
planet_destruction_gfx = "neutron_planet_gfx"
|
||||
}
|
||||
|
||||
weapon_component_template = { # God Ray
|
||||
key = "RG_PLANET_KILLER_GODRAY"
|
||||
size = planet_killer
|
||||
type = planet_killer
|
||||
use_ship_kill_target = no
|
||||
|
||||
prerequisites = { "tech_pk_godray" }
|
||||
|
||||
icon = GFX_ship_part_divine_enforcer
|
||||
icon_frame = 1
|
||||
|
||||
size_restriction = { RG_graygoo_Buff RG_graygoo_mothership }
|
||||
component_set = "PLANET_KILLER_GODRAY"
|
||||
|
||||
planet_destruction_gfx = "god_ray_gfx"
|
||||
}
|
||||
|
||||
weapon_component_template = { # Nanobot Assimilation
|
||||
key = "RG_PLANET_KILLER_NANOBOTS"
|
||||
size = planet_killer
|
||||
type = planet_killer
|
||||
use_ship_kill_target = no
|
||||
|
||||
prerequisites = { "tech_pk_nanobots" }
|
||||
|
||||
icon = GFX_ship_part_nanobot_diffuser
|
||||
icon_frame = 1
|
||||
|
||||
size_restriction = { RG_graygoo_Buff RG_graygoo_mothership }
|
||||
component_set = "PLANET_KILLER_NANOBOTS"
|
||||
|
||||
planet_destruction_gfx = "assimilation_nanobots_gfx"
|
||||
}
|
||||
|
||||
weapon_component_template = { # Deluge
|
||||
key = "RG_PLANET_KILLER_DELUGE"
|
||||
size = planet_killer
|
||||
type = planet_killer
|
||||
use_ship_kill_target = no
|
||||
|
||||
valid_for_country = {
|
||||
has_ascension_perk = ap_hydrocentric
|
||||
}
|
||||
|
||||
icon = GFX_ship_part_deluge
|
||||
icon_frame = 1
|
||||
|
||||
size_restriction = { RG_graygoo_Buff RG_graygoo_mothership }
|
||||
component_set = "PLANET_KILLER_DELUGE"
|
||||
|
||||
planet_destruction_gfx = "planet_deluge_gfx"
|
||||
|
||||
ai_weight = {
|
||||
factor = 10
|
||||
}
|
||||
}
|
||||
#weapon_component_template = {
|
||||
# key = "RG_PLANET_KILLER_STAR_CRACKER"
|
||||
# size = planet_killer
|
||||
# type = planet_killer
|
||||
# use_ship_kill_target = no
|
||||
# can_destroy_stars = yes
|
||||
#
|
||||
# prerequisites = { "tech_btc_1" }
|
||||
#
|
||||
# icon = GFX_ship_part_nanobot_diffuser
|
||||
# icon_frame = 1
|
||||
#
|
||||
# size_restriction = { RG_graygoo_Buff }
|
||||
# component_set = "PLANET_KILLER_STAR_CRACKER"
|
||||
#
|
||||
# planet_destruction_gfx = "star_destroyer_effect_gfx"
|
||||
#}
|
||||
|
||||
####################
|
||||
#舰R部件
|
||||
####################
|
||||
|
||||
utility_component_template = {
|
||||
key = "RG_ID_wsg_alpha_REACTOR"
|
||||
size = small
|
||||
icon = "GFX_ship_part_wsg_alpha_REACTOR"
|
||||
icon_frame = 1
|
||||
power = 4800
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
sr_alpha = 24
|
||||
alloys = 120
|
||||
}
|
||||
upkeep = {
|
||||
energy = 0.8
|
||||
alloys = 0.5
|
||||
}
|
||||
}
|
||||
|
||||
prerequisites = { "tech_wsg_alpha_power" }
|
||||
component_set = "power_core"
|
||||
size_restriction = { RG_graygoo_interdictor RG_graygoo_Buff RG_graygoo_mothership RG_graygoo_icebreaker_interdictor }
|
||||
|
||||
ai_weight = {
|
||||
weight = 5
|
||||
}
|
||||
}
|
||||
|
||||
utility_component_template = {
|
||||
key = "RG_ID_SHIP_THRUSTER_WSG"
|
||||
size = small
|
||||
icon = "GFX_ship_part_thruster_wsg"
|
||||
icon_frame = 1
|
||||
power = -300
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
sr_alpha = 6
|
||||
alloys = 100
|
||||
sr_dark_matter = 8
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
ship_base_speed_mult = 1.35
|
||||
ship_evasion_add = 12
|
||||
}
|
||||
|
||||
prerequisites = { "tech_wsg_alpha_propulsion" }
|
||||
component_set = "thruster_components"
|
||||
size_restriction = { RG_graygoo_interdictor RG_graygoo_Buff RG_graygoo_Arsenal RG_graygoo_mothership RG_graygoo_icebreaker_interdictor }
|
||||
|
||||
ai_weight = {
|
||||
weight = 5
|
||||
modifier = {
|
||||
factor = 0.0
|
||||
has_monthly_income = { resource = sr_dark_matter value <= 0 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
utility_component_template = {
|
||||
key = "RG_ID_sh_senergy_REACTOR"
|
||||
size = small
|
||||
icon = "GFX_ship_part_sh_senergy_REACTOR"
|
||||
icon_frame = 1
|
||||
power = 4500
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
sr_se = 20
|
||||
}
|
||||
upkeep = {
|
||||
energy = 0.5
|
||||
alloys = 0.5
|
||||
}
|
||||
}
|
||||
prerequisites = {
|
||||
"tech_sh_senergy_reactor"
|
||||
}
|
||||
component_set = "power_core"
|
||||
size_restriction = { RG_graygoo_interdictor RG_graygoo_Buff RG_graygoo_mothership RG_graygoo_icebreaker_interdictor }
|
||||
ai_weight = {
|
||||
weight = 5
|
||||
}
|
||||
}
|
||||
|
||||
utility_component_template = {
|
||||
key = "RG_ID_SHIP_THRUSTER_SH"
|
||||
size = small
|
||||
icon = "GFX_ship_part_thruster_sh"
|
||||
icon_frame = 1
|
||||
power = -300
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = 100
|
||||
sr_se = 12
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
ship_base_speed_mult = 1.3
|
||||
ship_evasion_add = 17
|
||||
}
|
||||
prerequisites = {
|
||||
"tech_sh_propulsion"
|
||||
}
|
||||
component_set = "thruster_components"
|
||||
size_restriction = { RG_graygoo_interdictor RG_graygoo_Buff RG_graygoo_Arsenal RG_graygoo_mothership RG_graygoo_icebreaker_interdictor }
|
||||
ai_weight = {
|
||||
weight = 5
|
||||
modifier = {
|
||||
factor = 0
|
||||
has_monthly_income = {
|
||||
resource = sr_se
|
||||
value <= 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
utility_component_template = {
|
||||
key = "RG_ID_wsg_senergy_REACTOR"
|
||||
size = small
|
||||
icon = "GFX_ship_part_wsg_senergy_REACTOR"
|
||||
icon_frame = 1
|
||||
power = 4500
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
sr_se = 20
|
||||
}
|
||||
upkeep = {
|
||||
energy = 0.5
|
||||
alloys = 0.5
|
||||
}
|
||||
}
|
||||
prerequisites = {
|
||||
"tech_wsg_senergy_reactor"
|
||||
}
|
||||
component_set = "power_core"
|
||||
size_restriction = { RG_graygoo_interdictor RG_graygoo_Buff RG_graygoo_Arsenal RG_graygoo_mothership RG_graygoo_icebreaker_interdictor }
|
||||
ai_weight = {
|
||||
weight = 5
|
||||
}
|
||||
}
|
||||
|
||||
utility_component_template = {
|
||||
key = "RG_ID_WSG_SENERGY_SHIP_THRUSTER"
|
||||
size = small
|
||||
icon = "GFX_ship_part_wsg_senergy_thruster"
|
||||
icon_frame = 1
|
||||
power = -300
|
||||
resources = {
|
||||
category = ship_components
|
||||
cost = {
|
||||
alloys = 100
|
||||
sr_se = 12
|
||||
}
|
||||
}
|
||||
modifier = {
|
||||
ship_base_speed_mult = 1.3
|
||||
ship_evasion_add = 17
|
||||
}
|
||||
prerequisites = {
|
||||
"tech_wsg_senergy_propulsion"
|
||||
}
|
||||
component_set = "thruster_components"
|
||||
size_restriction = { RG_graygoo_interdictor RG_graygoo_Buff RG_graygoo_Arsenal RG_graygoo_mothership RG_graygoo_icebreaker_interdictor }
|
||||
ai_weight = {
|
||||
weight = 5
|
||||
modifier = {
|
||||
factor = 0
|
||||
has_monthly_income = {
|
||||
resource = sr_se
|
||||
value <= 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#######################################
|
||||
# Science Ships and Observation Posts #
|
||||
#######################################
|
||||
|
||||
# These go in a unique ship component slot and are automatically
|
||||
# equipped when the relevant technology is researched.
|
||||
|
||||
|
||||
utility_component_template = {
|
||||
key = "RG_SCIENCE_CLOAKING_EMPTY"
|
||||
size = small
|
||||
icon = "GFX_ship_part_empty_ftl_drive"
|
||||
icon_frame = 1
|
||||
power = 0
|
||||
|
||||
size_restriction = {RG_gray_juggernaut RG_graygoo_Buff RG_graygoo_icebreaker_interdictor RG_armed_science_ship RG_armed_constructor_ship RG_graygoo_capitalship RG_graygoo_mothership}
|
||||
prerequisites = { }
|
||||
component_set = "science_cloaking_components"
|
||||
upgrades_to = "RG_SCIENCE_CLOAKING_1"
|
||||
|
||||
ai_weight = {
|
||||
weight = 1
|
||||
}
|
||||
}
|
||||
|
||||
utility_component_template = {
|
||||
key = "RG_SCIENCE_CLOAKING_1"
|
||||
size = small
|
||||
icon = "GFX_ship_part_cloak_1"
|
||||
icon_frame = 1
|
||||
power = 0
|
||||
|
||||
modifier = {
|
||||
ship_cloaking_strength_add = 1
|
||||
}
|
||||
|
||||
triggered_ship_modifier = {
|
||||
potential = {
|
||||
is_cloaked = yes
|
||||
}
|
||||
modifier = {
|
||||
ship_shield_reduction = 1
|
||||
}
|
||||
}
|
||||
custom_tooltip = "CLOAKING_1_TOOLTIP"
|
||||
|
||||
size_restriction = {RG_gray_juggernaut RG_graygoo_Buff RG_graygoo_icebreaker_interdictor RG_armed_science_ship RG_armed_constructor_ship RG_graygoo_capitalship RG_graygoo_mothership}
|
||||
prerequisites = { "tech_cloaking_1" }
|
||||
component_set = "science_cloaking_components"
|
||||
upgrades_to = "RG_SCIENCE_CLOAKING_2"
|
||||
|
||||
ai_weight = {
|
||||
weight = 5
|
||||
}
|
||||
}
|
||||
|
||||
utility_component_template = {
|
||||
key = "RG_SCIENCE_CLOAKING_2"
|
||||
size = small
|
||||
icon = "GFX_ship_part_cloak_2"
|
||||
icon_frame = 1
|
||||
power = 0
|
||||
|
||||
modifier = {
|
||||
ship_cloaking_strength_add = 2
|
||||
}
|
||||
|
||||
triggered_ship_modifier = {
|
||||
potential = {
|
||||
is_cloaked = yes
|
||||
}
|
||||
modifier = {
|
||||
ship_shield_reduction = 1
|
||||
}
|
||||
}
|
||||
custom_tooltip = "CLOAKING_2_TOOLTIP"
|
||||
|
||||
size_restriction = {RG_gray_juggernaut RG_graygoo_Buff RG_graygoo_icebreaker_interdictor RG_armed_science_ship RG_armed_constructor_ship RG_graygoo_capitalship RG_graygoo_mothership}
|
||||
prerequisites = { "tech_cloaking_2" }
|
||||
component_set = "science_cloaking_components"
|
||||
upgrades_to = "RG_SCIENCE_CLOAKING_3"
|
||||
|
||||
ai_weight = {
|
||||
weight = 10
|
||||
}
|
||||
}
|
||||
|
||||
utility_component_template = {
|
||||
key = "RG_SCIENCE_CLOAKING_3"
|
||||
size = small
|
||||
icon = "GFX_ship_part_cloak_3"
|
||||
icon_frame = 1
|
||||
power = 0
|
||||
|
||||
modifier = {
|
||||
ship_cloaking_strength_add = 3
|
||||
}
|
||||
|
||||
triggered_ship_modifier = {
|
||||
potential = {
|
||||
is_cloaked = yes
|
||||
}
|
||||
modifier = {
|
||||
ship_shield_reduction = 1
|
||||
}
|
||||
}
|
||||
custom_tooltip = "CLOAKING_3_TOOLTIP"
|
||||
|
||||
size_restriction = {RG_gray_juggernaut RG_graygoo_Buff RG_graygoo_icebreaker_interdictor RG_armed_science_ship RG_armed_constructor_ship RG_graygoo_capitalship RG_graygoo_mothership}
|
||||
prerequisites = { "tech_cloaking_3" }
|
||||
component_set = "science_cloaking_components"
|
||||
upgrades_to = "RG_CIENCE_CLOAKING_DARK_MATTER"
|
||||
|
||||
ai_weight = {
|
||||
weight = 15
|
||||
}
|
||||
}
|
||||
|
||||
utility_component_template = {
|
||||
key = "RG_SCIENCE_CLOAKING_DARK_MATTER"
|
||||
size = small
|
||||
icon = "GFX_ship_part_cloak_dark_matter"
|
||||
icon_frame = 1
|
||||
power = 0
|
||||
|
||||
modifier = {
|
||||
ship_cloaking_strength_add = 4
|
||||
}
|
||||
|
||||
triggered_ship_modifier = {
|
||||
potential = {
|
||||
is_cloaked = yes
|
||||
}
|
||||
modifier = {
|
||||
ship_shield_reduction = 0.5
|
||||
}
|
||||
}
|
||||
custom_tooltip = "CLOAKING_DARK_MATTER_TOOLTIP"
|
||||
|
||||
size_restriction = {RG_gray_juggernaut RG_graygoo_Buff RG_graygoo_icebreaker_interdictor RG_armed_science_ship RG_armed_constructor_ship RG_graygoo_capitalship RG_graygoo_mothership}
|
||||
prerequisites = { "tech_cloaking_dark_matter" }
|
||||
component_set = "science_cloaking_components"
|
||||
upgrades_to = "RG_SCIENCE_CLOAKING_PSI"
|
||||
|
||||
ai_weight = {
|
||||
weight = 20
|
||||
}
|
||||
}
|
||||
|
||||
utility_component_template = {
|
||||
key = "RG_SCIENCE_CLOAKING_PSI"
|
||||
size = small
|
||||
icon = "GFX_ship_part_cloak_psi"
|
||||
icon_frame = 1
|
||||
power = 0
|
||||
|
||||
modifier = {
|
||||
ship_cloaking_strength_add = 5
|
||||
}
|
||||
|
||||
triggered_ship_modifier = {
|
||||
potential = {
|
||||
is_cloaked = yes
|
||||
has_non_psionic_shields = yes
|
||||
}
|
||||
modifier = {
|
||||
ship_shield_reduction = 1
|
||||
}
|
||||
}
|
||||
custom_tooltip = "CLOAKING_PSI_TOOLTIP"
|
||||
|
||||
size_restriction = {RG_gray_juggernaut RG_graygoo_Buff RG_graygoo_icebreaker_interdictor RG_armed_science_ship RG_armed_constructor_ship RG_graygoo_capitalship RG_graygoo_mothership}
|
||||
prerequisites = { "tech_cloaking_psi" }
|
||||
component_set = "science_cloaking_components"
|
||||
|
||||
ai_weight = {
|
||||
weight = 25
|
||||
}
|
||||
}
|
||||
|
||||
2047
common/component_templates/RG_ship_parts.txt
Normal file
2047
common/component_templates/RG_ship_parts.txt
Normal file
File diff suppressed because it is too large
Load Diff
64
common/component_templates/RG_special_ship_parts.txt
Normal file
64
common/component_templates/RG_special_ship_parts.txt
Normal file
@@ -0,0 +1,64 @@
|
||||
#歼星武器
|
||||
weapon_component_template = {
|
||||
key = "RG_PLANET_KILLER_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.0
|
||||
|
||||
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.0
|
||||
hull_damage = 10.0 #船体伤害
|
||||
shield_damage = 10.0 #护盾伤害
|
||||
armor_damage = 10.0 #装甲伤害
|
||||
shield_penetration = 10.0 #护盾穿透
|
||||
armor_penetration = 10.0 #装甲穿透
|
||||
tracking = 1.00 #追踪
|
||||
range = 800.00 #范围
|
||||
accuracy = 1.00 #命中
|
||||
|
||||
tags = { weapon_type_rg_main weapon_type_energy }
|
||||
size_restriction = { RG_graygoo_capitalship RG_graygoo_mothership }
|
||||
component_set = "RG_PLANET_KILLER"
|
||||
hidden = yes
|
||||
ship_limit = 1
|
||||
|
||||
ai_weight = {
|
||||
weight = 0
|
||||
}
|
||||
}
|
||||
|
||||
# 重组仪
|
||||
utility_component_template = {
|
||||
key = "RG_revive_component"
|
||||
size = aux
|
||||
icon = "GFX_ship_part_aura_inspiring_presence"
|
||||
icon_frame = 1
|
||||
power = 0
|
||||
component_set = "RG_REVIVE_COMPONENT"
|
||||
custom_tooltip = "RG_REVIVE_COMPONENT_tooltip"
|
||||
hidden = yes
|
||||
modifier = {
|
||||
ship_emergency_ftl_mult = 10 #舰船紧急超光速受损风险+1000%
|
||||
}
|
||||
ship_limit = 1
|
||||
ai_weight = {
|
||||
weight = 0
|
||||
}
|
||||
}
|
||||
28
common/country_types/!_RG_country_types.txt
Normal file
28
common/country_types/!_RG_country_types.txt
Normal file
@@ -0,0 +1,28 @@
|
||||
RG_gray_friendly = {
|
||||
show_in_contacts_list = no
|
||||
minimalist_contacts_list_profile = yes
|
||||
share_communications = yes
|
||||
default_ships = no
|
||||
government = no
|
||||
uses_origins = no
|
||||
share_survey_data = yes
|
||||
needs_survey = no
|
||||
observable = yes
|
||||
ai = {
|
||||
enabled = no
|
||||
}
|
||||
faction = {
|
||||
hostile = no
|
||||
needs_border_access = no
|
||||
generate_borders = no
|
||||
needs_colony = no
|
||||
auto_delete = no
|
||||
}
|
||||
custom_diplomacy = yes
|
||||
modules = {
|
||||
basic_technology_module = {}
|
||||
exclusive_diplomacy_module = {
|
||||
contact_rule = on_action_only
|
||||
}
|
||||
}
|
||||
}
|
||||
28
common/country_types/RG_country_types.txt
Normal file
28
common/country_types/RG_country_types.txt
Normal file
@@ -0,0 +1,28 @@
|
||||
RG_gray_friendly = {
|
||||
show_in_contacts_list = no
|
||||
minimalist_contacts_list_profile = yes
|
||||
share_communications = yes
|
||||
default_ships = no
|
||||
government = no
|
||||
uses_origins = no
|
||||
share_survey_data = yes
|
||||
needs_survey = no
|
||||
observable = yes
|
||||
ai = {
|
||||
enabled = no
|
||||
}
|
||||
faction = {
|
||||
hostile = no
|
||||
needs_border_access = no
|
||||
generate_borders = no
|
||||
needs_colony = no
|
||||
auto_delete = no
|
||||
}
|
||||
custom_diplomacy = yes
|
||||
modules = {
|
||||
basic_technology_module = {}
|
||||
exclusive_diplomacy_module = {
|
||||
contact_rule = on_action_only
|
||||
}
|
||||
}
|
||||
}
|
||||
1070
common/global_ship_designs/!_RG_event_ship_designs.txt
Normal file
1070
common/global_ship_designs/!_RG_event_ship_designs.txt
Normal file
File diff suppressed because it is too large
Load Diff
1811
common/global_ship_designs/!_RG_ship_designs_warship.txt
Normal file
1811
common/global_ship_designs/!_RG_ship_designs_warship.txt
Normal file
File diff suppressed because it is too large
Load Diff
240
common/global_ship_designs/RG_ship_designs_starbase.txt
Normal file
240
common/global_ship_designs/RG_ship_designs_starbase.txt
Normal file
@@ -0,0 +1,240 @@
|
||||
# 星环基地 1
|
||||
ship_design = {
|
||||
name = "RG_RG_ORBITAL_RING_TIER_1_STARBASE"
|
||||
ship_size = RG_orbital_ring_tier_1
|
||||
|
||||
section = {
|
||||
template = "RG_ORBITAL_RING_TIER_1_STARBASE_SECTION"
|
||||
slot = "core"
|
||||
|
||||
component = { slot = "LARGE_GUN_01" template = "LARGE_GRAY_WEAPON_LANCE" }
|
||||
component = { slot = "LARGE_GUN_02" template = "LARGE_GRAY_WEAPON_LANCE" }
|
||||
component = { slot = "LARGE_GUN_03" template = "LARGE_GRAY_WEAPON_LANCE" }
|
||||
component = { slot = "LARGE_GUN_04" template = "LARGE_GRAY_WEAPON_LANCE" }
|
||||
|
||||
component = { slot = "TORPEDO_01" template = "RG_ENERGY_MISSILE" }
|
||||
component = { slot = "TORPEDO_02" template = "RG_ENERGY_MISSILE" }
|
||||
component = { slot = "TORPEDO_03" template = "RG_ENERGY_MISSILE" }
|
||||
component = { slot = "TORPEDO_04" template = "RG_ENERGY_MISSILE" }
|
||||
component = { slot = "TORPEDO_05" template = "RG_ENERGY_MISSILE" }
|
||||
component = { slot = "TORPEDO_06" template = "RG_ENERGY_MISSILE" }
|
||||
component = { slot = "TORPEDO_07" template = "RG_ENERGY_MISSILE" }
|
||||
component = { slot = "TORPEDO_08" template = "RG_ENERGY_MISSILE" }
|
||||
|
||||
component = { slot = "STRIKE_CRAFT_01" template = "RG_FIGHTER_HANGAR_BEAM" }
|
||||
component = { slot = "STRIKE_CRAFT_02" template = "RG_FIGHTER_HANGAR_BEAM" }
|
||||
component = { slot = "STRIKE_CRAFT_03" template = "RG_FIGHTER_HANGAR_BEAM" }
|
||||
component = { slot = "STRIKE_CRAFT_04" template = "RG_FIGHTER_HANGAR_BEAM" }
|
||||
|
||||
component = { slot = "STRIKE_CRAFT_05" template = "RG_BOMBER_HANGAR_ATTACK_ROCKET" }
|
||||
component = { slot = "STRIKE_CRAFT_06" template = "RG_BOMBER_HANGAR_ATTACK_ROCKET" }
|
||||
component = { slot = "STRIKE_CRAFT_07" template = "RG_BOMBER_HANGAR_ATTACK_ROCKET" }
|
||||
component = { slot = "STRIKE_CRAFT_08" template = "RG_BOMBER_HANGAR_ATTACK_ROCKET" }
|
||||
|
||||
component = { slot = "MEDIUM_GUN_01" template = "SMALL_GRAY_WEAPON_LANCE" }
|
||||
component = { slot = "MEDIUM_GUN_02" template = "SMALL_GRAY_WEAPON_LANCE" }
|
||||
component = { slot = "MEDIUM_GUN_03" template = "SMALL_GRAY_WEAPON_LANCE" }
|
||||
component = { slot = "MEDIUM_GUN_04" template = "SMALL_GRAY_WEAPON_LANCE" }
|
||||
|
||||
component = { slot = "PD_01" template = "RG_FLAK_BATTERY" }
|
||||
component = { slot = "PD_02" template = "RG_FLAK_BATTERY" }
|
||||
component = { slot = "PD_03" template = "RG_FLAK_BATTERY" }
|
||||
component = { slot = "PD_04" template = "RG_FLAK_BATTERY" }
|
||||
|
||||
component = { slot = "LARGE_UTILITY_1" template = "LARGE_GRAY_MIX_ARMOR" }
|
||||
component = { slot = "LARGE_UTILITY_2" template = "LARGE_GRAY_MIX_ARMOR" }
|
||||
component = { slot = "LARGE_UTILITY_3" template = "LARGE_GRAY_MIX_ARMOR" }
|
||||
component = { slot = "LARGE_UTILITY_4" template = "LARGE_GRAY_MIX_ARMOR" }
|
||||
component = { slot = "LARGE_UTILITY_5" template = "LARGE_GRAY_MIX_ARMOR" }
|
||||
component = { slot = "LARGE_UTILITY_6" template = "LARGE_GRAY_MIX_ARMOR" }
|
||||
component = { slot = "LARGE_UTILITY_7" template = "LARGE_GRAY_MIX_ARMOR" }
|
||||
component = { slot = "LARGE_UTILITY_8" template = "LARGE_GRAY_MIX_ARMOR" }
|
||||
|
||||
component = { slot = "AUX_UTILITY_1" template = "RG_ARMOR_BOOSTER" }
|
||||
component = { slot = "AUX_UTILITY_2" template = "RG_AUTO_REPAIR" }
|
||||
|
||||
}
|
||||
required_component = "RG_gatebuilder_sensor"
|
||||
required_component = "TITAN_ZERO_POINT_REACTOR"
|
||||
required_component = "RG_COMBAT_COMPUTER_COLOSSUS"
|
||||
required_component = "RG_CORVETTE_CLOAKING_3"
|
||||
required_component = "STARBASE_AURA_FTL_INHIBITOR"
|
||||
}
|
||||
|
||||
# Factory
|
||||
ship_design = {
|
||||
name = "NAME_RG_Nanite_Starbase"
|
||||
ship_size = starbase_starfortress
|
||||
is_event_design = yes
|
||||
|
||||
section = {
|
||||
template = "RG_nanite_factory_key"
|
||||
slot = "mid"
|
||||
|
||||
component = {
|
||||
slot = "TITAN_01"
|
||||
template = "GRAY_BEAM_STATIC_EX"
|
||||
}
|
||||
component = {
|
||||
slot = "TORPEDO_01"
|
||||
template = "RG_ENERGY_MISSILE"
|
||||
}
|
||||
component = {
|
||||
slot = "TORPEDO_02"
|
||||
template = "RG_ENERGY_MISSILE"
|
||||
}
|
||||
component = {
|
||||
slot = "TORPEDO_03"
|
||||
template = "RG_ENERGY_MISSILE"
|
||||
}
|
||||
component = {
|
||||
slot = "TORPEDO_04"
|
||||
template = "RG_ENERGY_MISSILE"
|
||||
}
|
||||
component = {
|
||||
slot = "TORPEDO_05"
|
||||
template = "RG_ENERGY_MISSILE"
|
||||
}
|
||||
component = {
|
||||
slot = "TORPEDO_06"
|
||||
template = "RG_ENERGY_MISSILE"
|
||||
}
|
||||
component = {
|
||||
slot = "TORPEDO_07"
|
||||
template = "RG_ENERGY_MISSILE"
|
||||
}
|
||||
component = {
|
||||
slot = "TORPEDO_08"
|
||||
template = "RG_ENERGY_MISSILE"
|
||||
}
|
||||
component = {
|
||||
slot = "TORPEDO_09"
|
||||
template = "RG_ENERGY_MISSILE"
|
||||
}
|
||||
component = {
|
||||
slot = "TORPEDO_10"
|
||||
template = "RG_ENERGY_MISSILE"
|
||||
}
|
||||
component = {
|
||||
slot = "TORPEDO_11"
|
||||
template = "RG_ENERGY_MISSILE"
|
||||
}
|
||||
component = {
|
||||
slot = "TORPEDO_12"
|
||||
template = "RG_ENERGY_MISSILE"
|
||||
}
|
||||
component = {
|
||||
slot = "STRIKE_CRAFT_01"
|
||||
template = "RG_FIGHTER_HANGAR_BEAM"
|
||||
}
|
||||
component = {
|
||||
slot = "STRIKE_CRAFT_02"
|
||||
template = "RG_FIGHTER_HANGAR_BEAM"
|
||||
}
|
||||
component = {
|
||||
slot = "STRIKE_CRAFT_03"
|
||||
template = "RG_FIGHTER_HANGAR_BEAM"
|
||||
}
|
||||
component = {
|
||||
slot = "STRIKE_CRAFT_04"
|
||||
template = "RG_FIGHTER_HANGAR_BEAM"
|
||||
}
|
||||
component = {
|
||||
slot = "STRIKE_CRAFT_05"
|
||||
template = "RG_FIGHTER_HANGAR_BEAM"
|
||||
}
|
||||
component = {
|
||||
slot = "STRIKE_CRAFT_06"
|
||||
template = "RG_FIGHTER_HANGAR_BEAM"
|
||||
}
|
||||
component = {
|
||||
slot = "STRIKE_CRAFT_07"
|
||||
template = "RG_FIGHTER_HANGAR_BEAM"
|
||||
}
|
||||
component = {
|
||||
slot = "STRIKE_CRAFT_08"
|
||||
template = "RG_FIGHTER_HANGAR_BEAM"
|
||||
}
|
||||
component = {
|
||||
slot = "STRIKE_CRAFT_09"
|
||||
template = "RG_FIGHTER_HANGAR_BEAM"
|
||||
}
|
||||
component = {
|
||||
slot = "STRIKE_CRAFT_10"
|
||||
template = "RG_FIGHTER_HANGAR_BEAM"
|
||||
}
|
||||
component = {
|
||||
slot = "STRIKE_CRAFT_11"
|
||||
template = "RG_FIGHTER_HANGAR_BEAM"
|
||||
}
|
||||
component = {
|
||||
slot = "STRIKE_CRAFT_12"
|
||||
template = "RG_FIGHTER_HANGAR_BEAM"
|
||||
}
|
||||
component = {
|
||||
slot = "STRIKE_CRAFT_13"
|
||||
template = "RG_FIGHTER_HANGAR_BEAM"
|
||||
}
|
||||
component = {
|
||||
slot = "STRIKE_CRAFT_14"
|
||||
template = "RG_FIGHTER_HANGAR_BEAM"
|
||||
}
|
||||
component = {
|
||||
slot = "STRIKE_CRAFT_15"
|
||||
template = "RG_FIGHTER_HANGAR_BEAM"
|
||||
}
|
||||
component = {
|
||||
slot = "LARGE_UTILITY_1"
|
||||
template = "LARGE_GRAY_MIX_ARMOR"
|
||||
}
|
||||
component = {
|
||||
slot = "LARGE_UTILITY_2"
|
||||
template = "LARGE_GRAY_MIX_ARMOR"
|
||||
}
|
||||
component = {
|
||||
slot = "LARGE_UTILITY_3"
|
||||
template = "LARGE_GRAY_MIX_ARMOR"
|
||||
}
|
||||
component = {
|
||||
slot = "LARGE_UTILITY_4"
|
||||
template = "LARGE_GRAY_MIX_ARMOR"
|
||||
}
|
||||
component = {
|
||||
slot = "LARGE_UTILITY_5"
|
||||
template = "LARGE_GRAY_MIX_ARMOR"
|
||||
}
|
||||
component = {
|
||||
slot = "LARGE_UTILITY_6"
|
||||
template = "LARGE_GRAY_MIX_ARMOR"
|
||||
}
|
||||
component = {
|
||||
slot = "LARGE_UTILITY_7"
|
||||
template = "LARGE_GRAY_MIX_ARMOR"
|
||||
}
|
||||
component = {
|
||||
slot = "LARGE_UTILITY_8"
|
||||
template = "LARGE_GRAY_MIX_ARMOR"
|
||||
}
|
||||
component = {
|
||||
slot = "LARGE_UTILITY_9"
|
||||
template = "LARGE_GRAY_MIX_ARMOR"
|
||||
}
|
||||
component = {
|
||||
slot = "LARGE_UTILITY_10"
|
||||
template = "LARGE_GRAY_MIX_ARMOR"
|
||||
}
|
||||
component = {
|
||||
slot = "AUX_UTILITY_1"
|
||||
template = "RG_AUTO_REPAIR"
|
||||
}
|
||||
component = {
|
||||
slot = "AUX_UTILITY_2"
|
||||
template = "RG_ENIGMATIC_SCHEDULER"
|
||||
}
|
||||
}
|
||||
required_component = "RG_gatebuilder_sensor"
|
||||
required_component = "TITAN_ANTIMATTER_REACTOR"
|
||||
required_component = "COMBAT_COMPUTER_PLATFORM_ADVANCED"
|
||||
required_component = "RG_CORVETTE_CLOAKING_3"
|
||||
required_component = "STARBASE_AURA_FTL_INHIBITOR"
|
||||
}
|
||||
1811
common/global_ship_designs/RG_ship_designs_warship.txt
Normal file
1811
common/global_ship_designs/RG_ship_designs_warship.txt
Normal file
File diff suppressed because it is too large
Load Diff
196
common/global_ship_designs/RG_special_ship_designs.txt
Normal file
196
common/global_ship_designs/RG_special_ship_designs.txt
Normal file
@@ -0,0 +1,196 @@
|
||||
# 星海试验船
|
||||
ship_design = {
|
||||
name = "RG_COLOSSUS_interdictor_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_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 = "TITAN_ZERO_POINT_REACTOR"
|
||||
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"
|
||||
ship_size = RG_graygoo_interdictor
|
||||
is_event_design = yes
|
||||
section = {
|
||||
template = "RG_Buff_interdictor_key"
|
||||
slot = "mid"
|
||||
|
||||
component = {
|
||||
slot = "PD_01"
|
||||
template = "RG_FLAK_BATTERY"
|
||||
}
|
||||
component = {
|
||||
slot = "PD_02"
|
||||
template = "RG_FLAK_BATTERY"
|
||||
}
|
||||
|
||||
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 = "AUX_UTILITY_1"
|
||||
template = "RG_revive_component"
|
||||
}
|
||||
|
||||
}
|
||||
required_component = "TITAN_ZERO_POINT_REACTOR"
|
||||
required_component = "HYPER_DRIVE_3"
|
||||
required_component = "SENSOR_4"
|
||||
required_component = "RG_gatebuilder_thruster"
|
||||
required_component = "RG_COMBAT_COMPUTER_MotherShip"
|
||||
required_component = ""
|
||||
required_component = ""
|
||||
}
|
||||
|
||||
|
||||
# Nanite Dragon
|
||||
ship_design = {
|
||||
name = "NAME_RG_FAKE_Dragon"
|
||||
ship_size = nanite_space_dragon_baby
|
||||
is_event_design = yes
|
||||
|
||||
section = {
|
||||
template = "nanite_space_dragon_baby_key"
|
||||
slot = "mid"
|
||||
|
||||
component = {
|
||||
slot = "PRIMARY_GUN_01"
|
||||
template = "GRAY_BEAM_STATIC_X"
|
||||
}
|
||||
component = {
|
||||
slot = "SECONDARY_GUN_01"
|
||||
template = "SMALL_GRAY_WEAPON_LANCE"
|
||||
}
|
||||
component = {
|
||||
slot = "SECONDARY_GUN_02"
|
||||
template = "SMALL_GRAY_WEAPON_LANCE"
|
||||
}
|
||||
component = {
|
||||
slot = "SECONDARY_GUN_03"
|
||||
template = "SMALL_GRAY_WEAPON_LANCE"
|
||||
}
|
||||
component = {
|
||||
slot = "SECONDARY_GUN_04"
|
||||
template = "SMALL_GRAY_WEAPON_LANCE"
|
||||
}
|
||||
component = {
|
||||
slot = "SECONDARY_GUN_05"
|
||||
template = "SMALL_GRAY_WEAPON_LANCE"
|
||||
}
|
||||
component = {
|
||||
slot = "SECONDARY_GUN_06"
|
||||
template = "SMALL_GRAY_WEAPON_LANCE"
|
||||
}
|
||||
component = {
|
||||
slot = "SECONDARY_GUN_07"
|
||||
template = "SMALL_GRAY_WEAPON_LANCE"
|
||||
}
|
||||
component = {
|
||||
slot = "SECONDARY_GUN_08"
|
||||
template = "SMALL_GRAY_WEAPON_LANCE"
|
||||
}
|
||||
component = {
|
||||
slot = "TERTIARY_GUN_01"
|
||||
template = "RG_FLAK_BATTERY"
|
||||
}
|
||||
component = {
|
||||
slot = "TERTIARY_GUN_02"
|
||||
template = "RG_FLAK_BATTERY"
|
||||
}
|
||||
component = {
|
||||
slot = "TERTIARY_GUN_03"
|
||||
template = "RG_FLAK_BATTERY"
|
||||
}
|
||||
component = {
|
||||
slot = "TERTIARY_GUN_04"
|
||||
template = "RG_FLAK_BATTERY"
|
||||
}
|
||||
|
||||
component = {
|
||||
slot = "LARGE_UTILITY_1"
|
||||
template = "HUGE_GRAY_MIX_ARMOR"
|
||||
}
|
||||
component = {
|
||||
slot = "LARGE_UTILITY_2"
|
||||
template = "HUGE_GRAY_MIX_ARMOR"
|
||||
}
|
||||
component = {
|
||||
slot = "LARGE_UTILITY_3"
|
||||
template = "HUGE_GRAY_MIX_ARMOR"
|
||||
}
|
||||
component = {
|
||||
slot = "LARGE_UTILITY_4"
|
||||
template = "HUGE_GRAY_MIX_ARMOR"
|
||||
}
|
||||
component = {
|
||||
slot = "AUX_UTILITY_1"
|
||||
template = "RG_AUTO_REPAIR"
|
||||
}
|
||||
component = {
|
||||
slot = "AUX_UTILITY_2"
|
||||
template = "RG_ARMOR_BOOSTER"
|
||||
}
|
||||
}
|
||||
required_component="GUARDIAN_DRIVE"
|
||||
required_component="RG_COMBAT_COMPUTER_battle"
|
||||
required_component="GUARDIAN_PROPULSION"
|
||||
required_component="GUARDIAN_SENSORS"
|
||||
}
|
||||
17
common/governments/civics/!_RG_origins.txt
Normal file
17
common/governments/civics/!_RG_origins.txt
Normal file
@@ -0,0 +1,17 @@
|
||||
origin_rg_gray = {
|
||||
is_origin = yes
|
||||
icon = "gfx/interface/icons/origins/origins_fratricide.dds"
|
||||
picture = GFX_evt_ship_in_orbit_2
|
||||
|
||||
flags = { origin_rg_gray }
|
||||
|
||||
non_colonizable_planet_class_neighbor = yes
|
||||
|
||||
description = "origin_tooltip_rg_gray_effects"
|
||||
|
||||
advanced_start = yes
|
||||
|
||||
random_weight = {
|
||||
base = 0
|
||||
}
|
||||
}
|
||||
268
common/megastructures/RG_oribital_ring.txt
Normal file
268
common/megastructures/RG_oribital_ring.txt
Normal file
@@ -0,0 +1,268 @@
|
||||
RG_orbital_ring = {
|
||||
entity = ""
|
||||
construction_entity = "orbital_ring_construction_entity"
|
||||
portrait = "GFX_megastructure_construction_background"
|
||||
place_entity_on_planet_plane = yes
|
||||
entity_offset = { x = 0 y = 0 }
|
||||
scales_with_planet = yes
|
||||
show_galactic_map_icon = no
|
||||
show_in_outliner = no
|
||||
build_time = 720
|
||||
|
||||
resources = {
|
||||
category = megastructures
|
||||
cost = {
|
||||
alloys = 1000
|
||||
influence = 50
|
||||
}
|
||||
}
|
||||
construction_blocks_and_blocked_by = none
|
||||
|
||||
potential = { has_technology = tech_gray_noway }
|
||||
|
||||
possible = {
|
||||
exists = starbase
|
||||
custom_tooltip = {
|
||||
fail_text = "requires_inside_border"
|
||||
is_inside_border = from
|
||||
}
|
||||
}
|
||||
|
||||
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_colonized_planet_orbital_ring"
|
||||
# is_colony = yes
|
||||
exists = owner
|
||||
exists = controller
|
||||
controller = { is_same_value = prev.owner }
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = "requires_not_hostile_or_primitive"
|
||||
NOR = {
|
||||
planet_is_hostile_or_crisis = yes
|
||||
AND = {
|
||||
exists = owner
|
||||
owner = {
|
||||
is_country_type = primitive
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = "requires_no_existing_megastructure"
|
||||
#can_build_megastructure_on_planet = yes
|
||||
NOR = {
|
||||
has_planet_flag = megastructure
|
||||
AND = {
|
||||
has_planet_flag = has_megastructure
|
||||
# Special exception so you can build an orbital ring even if you have MSI's warship as a habitat.
|
||||
NOT = {
|
||||
has_planet_flag = has_payback_habitat
|
||||
}
|
||||
}
|
||||
has_planet_flag = ruined_orbital_ring_planet
|
||||
solar_system = {
|
||||
has_star_flag = ring_world_built
|
||||
}
|
||||
is_artificial = yes
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = "requires_no_orbital_debris"
|
||||
NOR = {
|
||||
has_planet_flag = has_orbital_debris
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
from = { is_ai = yes }
|
||||
}
|
||||
num_pops >= 25
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# 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 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
on_build_start = {}
|
||||
on_build_cancel = {}
|
||||
|
||||
on_build_complete = {
|
||||
fromfrom.planet = {
|
||||
set_planet_flag = has_megastructure
|
||||
save_event_target_as = orbital_ring_planet
|
||||
|
||||
if = {
|
||||
limit = { has_orbital_station = yes }
|
||||
orbital_station = {
|
||||
dismantle = yes
|
||||
}
|
||||
}
|
||||
create_starbase = {
|
||||
size = orbital_ring_tier_1
|
||||
owner = FROM
|
||||
#module = <starbase_module>
|
||||
#building = <starbase_building>
|
||||
effect = { }
|
||||
}
|
||||
}
|
||||
remove_megastructure = fromfrom
|
||||
from = {
|
||||
country_event = { id = tutorial.2121 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
orbital_ring_ruined = {
|
||||
entity = "orbital_ring_01_destroyed_entity"
|
||||
construction_entity = "orbital_ring_construction_entity"
|
||||
portrait = "GFX_megastructure_construction_background"
|
||||
place_entity_on_planet_plane = yes
|
||||
entity_offset = { x = 0 y = 0 }
|
||||
scales_with_planet = yes
|
||||
|
||||
potential = { always = no }
|
||||
is_ruined_orbital_ring = yes
|
||||
}
|
||||
|
||||
orbital_ring_restored = {
|
||||
entity = ""
|
||||
construction_entity = "orbital_ring_construction_entity"
|
||||
portrait = "GFX_megastructure_construction_background"
|
||||
place_entity_on_planet_plane = yes
|
||||
entity_offset = { x = 0 y = 0 }
|
||||
scales_with_planet = yes
|
||||
show_galactic_map_icon = no
|
||||
show_in_outliner = no
|
||||
build_time = 720
|
||||
|
||||
resources = {
|
||||
category = megastructures
|
||||
cost = {
|
||||
alloys = 500
|
||||
influence = 50
|
||||
}
|
||||
}
|
||||
|
||||
upgrade_from = { orbital_ring_ruined }
|
||||
|
||||
possible = {
|
||||
from = { has_technology = tech_orbital_ring_tier_1 }
|
||||
custom_tooltip = {
|
||||
fail_text = "requires_outpost"
|
||||
exists = starbase
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = "requires_inside_border"
|
||||
is_inside_border = from
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = "requires_no_anomaly"
|
||||
any_system_planet = {
|
||||
has_planet_flag = ruined_orbital_ring_planet
|
||||
NOT = { has_anomaly = yes }
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = "requires_colonized_planet_orbital_ring"
|
||||
any_system_colony = {
|
||||
has_planet_flag = ruined_orbital_ring_planet
|
||||
is_colony = yes
|
||||
exists = owner
|
||||
exists = controller
|
||||
owner = { is_same_value = from }
|
||||
controller = { is_same_value = from }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
on_build_start = {}
|
||||
on_build_cancel = {}
|
||||
|
||||
on_build_complete = {
|
||||
random_system_planet = {
|
||||
limit = { has_planet_flag = ruined_orbital_ring_planet }
|
||||
set_planet_flag = has_megastructure
|
||||
save_event_target_as = orbital_ring_planet
|
||||
|
||||
if = {
|
||||
limit = { has_orbital_station = yes }
|
||||
orbital_station = {
|
||||
dismantle = yes
|
||||
}
|
||||
}
|
||||
|
||||
create_starbase = {
|
||||
design = "RG_ORBITAL_RING_TIER_1_STARBASE_SECTION"
|
||||
owner = FROM
|
||||
#module = <starbase_module>
|
||||
#building = <starbase_building>
|
||||
effect = { }
|
||||
}
|
||||
}
|
||||
every_system_ambient_object = {
|
||||
limit = {
|
||||
OR = {
|
||||
is_ambient_object_type = medium_debris_01_object
|
||||
is_ambient_object_type = medium_debris_02_object
|
||||
}
|
||||
distance = {
|
||||
source = fromfrom
|
||||
max_distance <= 100
|
||||
same_solar_system = yes
|
||||
}
|
||||
}
|
||||
destroy_ambient_object = this
|
||||
}
|
||||
remove_megastructure = fromfrom
|
||||
from = {
|
||||
country_event = { id = tutorial.2121 }
|
||||
}
|
||||
}
|
||||
}
|
||||
168
common/on_actions/RG_on_actions.txt
Normal file
168
common/on_actions/RG_on_actions.txt
Normal file
@@ -0,0 +1,168 @@
|
||||
on_custom_diplomacy = {
|
||||
events = {
|
||||
graygoo.505
|
||||
|
||||
rg_graygoo.500
|
||||
rg_graygoo.501
|
||||
rg_graygoo.502
|
||||
rg_graygoo.503
|
||||
rg_graygoo.504
|
||||
rg_graygoo.505
|
||||
}
|
||||
}
|
||||
|
||||
# Triggers when ground combat starts
|
||||
# This = planet
|
||||
# From = country attacking
|
||||
on_ground_combat_started = {
|
||||
events = { # Tempest Incoming trait effect
|
||||
}
|
||||
}
|
||||
|
||||
#An army has been killed in ground combat
|
||||
# This = owner
|
||||
# From = army
|
||||
# FromFrom = opponent
|
||||
# FromFromFrom = planet
|
||||
on_army_killed_in_combat = {
|
||||
events = {
|
||||
rg_skill.8 # Tempest Incoming trait effect
|
||||
}
|
||||
}
|
||||
|
||||
on_game_start_country = {
|
||||
events = {
|
||||
rg_cluster.8
|
||||
rg.1
|
||||
}
|
||||
}
|
||||
|
||||
# This = country
|
||||
on_monthly_pulse_country = {
|
||||
events = {
|
||||
rg.8
|
||||
rg.16
|
||||
# rg_skill.9
|
||||
}
|
||||
}
|
||||
|
||||
on_yearly_pulse_country = {
|
||||
events = {
|
||||
rg.17
|
||||
rg.18
|
||||
rg.20
|
||||
}
|
||||
}
|
||||
|
||||
on_mid_game_pulse_country = {
|
||||
events = {
|
||||
# rg.18
|
||||
}
|
||||
}
|
||||
|
||||
# Triggers country_event for the attacker upon victory
|
||||
# (Before controller is switched)
|
||||
# This = country, leader attacker
|
||||
# From = country, planet owner
|
||||
# FromFrom = planet
|
||||
# IDENTITIES: attacker is the side that "IsHostile" to
|
||||
# the planet controller; e.g. spawned monster armies
|
||||
# are attackers, but if they win and the player attempts
|
||||
# to retake the planet, the player is the attacker
|
||||
on_planet_attackers_win = {
|
||||
events = {
|
||||
rg.16
|
||||
# rg_skill.9
|
||||
}
|
||||
}
|
||||
|
||||
# Triggers country_event for the attacker upon defeat
|
||||
# This = country, attack leader
|
||||
# From = country, planet owner
|
||||
# FromFrom = planet
|
||||
on_planet_attackers_lose = {
|
||||
events = {
|
||||
rg.16
|
||||
# rg_skill.9
|
||||
}
|
||||
}
|
||||
|
||||
# on_entering_battle = {
|
||||
# events = {
|
||||
# rg_skill.1
|
||||
# }
|
||||
# }
|
||||
#
|
||||
# on_space_battle_won = {
|
||||
# events = {
|
||||
# rg_skill.2
|
||||
# }
|
||||
# }
|
||||
# this = country
|
||||
on_destroy_planet_with_RG_PLANET_KILLER = {
|
||||
events = {
|
||||
RG_planet_killer.1
|
||||
RG_planet_killer.2
|
||||
origin.3245
|
||||
}
|
||||
}
|
||||
|
||||
on_destroy_planet_with_RG_PLANET_KILLER_queued = {
|
||||
}
|
||||
|
||||
on_destroy_planet_with_RG_PLANET_KILLER_unqueued = {
|
||||
}
|
||||
|
||||
on_destroy_planet_with_RG_PLANET_KILLER_SP = {
|
||||
events = {
|
||||
RG_planet_killer.3
|
||||
rg_story.6
|
||||
}
|
||||
}
|
||||
|
||||
on_destroy_planet_with_RG_PLANET_KILLER_SP_queued = {
|
||||
|
||||
}
|
||||
|
||||
on_destroy_planet_with_RG_PLANET_KILLER_SP_unqueued = {
|
||||
}
|
||||
|
||||
|
||||
#舰船建造完成
|
||||
# Root = Ship
|
||||
# From = Planet
|
||||
on_ship_built = {
|
||||
events = {
|
||||
rg_skill.3 #科研舰在无主权星系中被建造出来
|
||||
}
|
||||
}
|
||||
|
||||
#进入星系
|
||||
# Scope = Ship
|
||||
# From = System
|
||||
# FromFrom = Country
|
||||
on_entering_system = {
|
||||
events = {
|
||||
rg_skill.3
|
||||
}
|
||||
}
|
||||
|
||||
#舰船完成星系探测
|
||||
# Scope = ship
|
||||
# From = system
|
||||
on_system_survey_ship = {
|
||||
events = {
|
||||
rg_skill.3
|
||||
}
|
||||
}
|
||||
|
||||
# This = owner of ship 1 (combatant)
|
||||
# From = owner of ship 2 (destroyed)
|
||||
# FromFrom = ship 1
|
||||
# FromFromFrom = ship 2
|
||||
on_ship_destroyed_perp = {
|
||||
events = {
|
||||
rg_skill.11
|
||||
rg_story.10
|
||||
}
|
||||
}
|
||||
794
common/scripted_effects/!_RG_gray_goo_effects.txt
Normal file
794
common/scripted_effects/!_RG_gray_goo_effects.txt
Normal file
@@ -0,0 +1,794 @@
|
||||
|
||||
rg_create_gray_const = {
|
||||
optimize_memory
|
||||
if = {
|
||||
limit = { has_country_flag = gray_warship_active }
|
||||
if = {
|
||||
limit = { exists = event_target:gray_warship }
|
||||
event_target:gray_warship = {
|
||||
save_event_target_as = gray_constship_location
|
||||
}
|
||||
} else = {
|
||||
random_controlled_fleet = {
|
||||
limit = { has_fleet_flag = gray_fleet }
|
||||
save_event_target_as = gray_constship_location
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { has_country_flag = gray_juggernaut_active }
|
||||
if = {
|
||||
limit = { exists = event_target:gray_juggernaut }
|
||||
event_target:gray_juggernaut = {
|
||||
save_event_target_as = gray_constship_location
|
||||
}
|
||||
} else = {
|
||||
random_controlled_fleet = {
|
||||
limit = { has_fleet_flag = gray_juggernaut_fleet }
|
||||
save_event_target_as = gray_constship_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_event_target_as = gray_constship_location }
|
||||
}
|
||||
}
|
||||
else = {
|
||||
random_owned_army = {
|
||||
limit = { army_type = gray_army }
|
||||
fleet = { save_event_target_as = gray_constship_location }
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { has_country_flag = gray_governor_active }
|
||||
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_event_target_as = gray_constship_location
|
||||
}
|
||||
}
|
||||
else = {
|
||||
capital_scope = { save_event_target_as = gray_constship_location }
|
||||
}
|
||||
}
|
||||
else = {
|
||||
capital_scope = { save_event_target_as = gray_constship_location }
|
||||
}
|
||||
|
||||
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 = {
|
||||
create_leader = {
|
||||
class = scientist
|
||||
species = event_target:gray_species
|
||||
name = "NAME_Gray"
|
||||
immortal = yes
|
||||
event_leader = yes
|
||||
gender = female
|
||||
skill = 10
|
||||
set_age = 18
|
||||
traits = {
|
||||
trait = RG_leader_trait_scientist_gray
|
||||
trait = leader_trait_carefree
|
||||
}
|
||||
effect = {
|
||||
save_global_event_target_as = gray_leader_scientist
|
||||
set_leader_flag = rg_gray_leader
|
||||
set_leader_flag = gray_scientist
|
||||
change_leader_portrait = Gray
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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:gray_constship_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 = gray_governor_active
|
||||
|
||||
|
||||
random_owned_leader = {
|
||||
limit = { has_leader_flag = gray_scientist }
|
||||
set_skill = owner.rg_gray_level
|
||||
}
|
||||
}
|
||||
|
||||
rg_create_gray_army = {
|
||||
optimize_memory
|
||||
if = {
|
||||
limit = { has_country_flag = gray_constship_active }
|
||||
if = {
|
||||
limit = { exists = event_target:global_gray_constship }
|
||||
event_target:global_gray_constship = {
|
||||
save_event_target_as = gray_transport_location
|
||||
}
|
||||
} else = {
|
||||
random_owned_fleet = {
|
||||
limit = { has_fleet_flag = gray_constship }
|
||||
save_event_target_as = gray_transport_location
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { has_country_flag = gray_warship_active }
|
||||
if = {
|
||||
limit = { exists = event_target:gray_warship }
|
||||
event_target:gray_warship = {
|
||||
save_event_target_as = gray_transport_location
|
||||
}
|
||||
} else = {
|
||||
random_owned_fleet = {
|
||||
limit = { has_fleet_flag = gray_fleet }
|
||||
save_event_target_as = gray_transport_location
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { has_country_flag = gray_juggernaut_active }
|
||||
if = {
|
||||
limit = { exists = event_target:gray_juggernaut }
|
||||
event_target:gray_juggernaut = {
|
||||
save_event_target_as = gray_transport_location
|
||||
}
|
||||
} else = {
|
||||
random_controlled_fleet = {
|
||||
limit = { has_fleet_flag = gray_juggernaut_fleet }
|
||||
save_event_target_as = gray_transport_location
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { has_country_flag = gray_governor_active }
|
||||
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_event_target_as = gray_transport_location
|
||||
}
|
||||
}
|
||||
else = {
|
||||
capital_scope = { save_event_target_as = gray_warship_location }
|
||||
}
|
||||
}
|
||||
else = {
|
||||
capital_scope = { save_event_target_as = gray_transport_location }
|
||||
}
|
||||
|
||||
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 = {
|
||||
create_leader = {
|
||||
class = general
|
||||
species = event_target:gray_species
|
||||
name = "NAME_Gray"
|
||||
immortal = yes
|
||||
event_leader = yes
|
||||
gender = female
|
||||
skill = 10
|
||||
set_age = 18
|
||||
traits = {
|
||||
trait = RG_leader_trait_general_gray
|
||||
trait = leader_trait_army_logistician
|
||||
}
|
||||
effect = {
|
||||
save_global_event_target_as = gray_leader_general
|
||||
set_leader_flag = rg_gray_leader
|
||||
set_leader_flag = gray_general
|
||||
change_leader_portrait = Gray
|
||||
}
|
||||
}
|
||||
}
|
||||
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:gray_transport_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 = gray_governor_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_governor = {
|
||||
optimize_memory
|
||||
every_owned_leader = {
|
||||
limit = { has_leader_flag = rg_gray_leader }
|
||||
kill_leader = { show_notification = no }
|
||||
}
|
||||
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 = {
|
||||
create_leader = {
|
||||
class = governor
|
||||
species = event_target:gray_species
|
||||
name = "NAME_Gray"
|
||||
gender = female
|
||||
immortal = yes
|
||||
event_leader = yes
|
||||
skill = 10
|
||||
set_age = 18
|
||||
traits = {
|
||||
trait = RG_leader_trait_governor_gray
|
||||
trait = leader_trait_retired_fleet_officer
|
||||
}
|
||||
effect = {
|
||||
save_global_event_target_as = gray_governor
|
||||
set_leader_flag = rg_gray_leader
|
||||
set_leader_flag = gray_governor
|
||||
}
|
||||
}
|
||||
}
|
||||
set_country_flag = gray_governor_active
|
||||
|
||||
remove_country_flag = gray_warship_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 = {
|
||||
optimize_memory
|
||||
if = {
|
||||
limit = { has_country_flag = gray_constship_active }
|
||||
if = {
|
||||
limit = { exists = event_target:global_gray_constship }
|
||||
event_target:global_gray_constship = {
|
||||
save_event_target_as = gray_warship_location
|
||||
}
|
||||
} else = {
|
||||
random_controlled_fleet = {
|
||||
limit = { has_fleet_flag = gray_constship }
|
||||
save_event_target_as = gray_warship_location
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { has_country_flag = gray_juggernaut_active }
|
||||
if = {
|
||||
limit = { exists = event_target:gray_juggernaut }
|
||||
event_target:gray_juggernaut = {
|
||||
save_event_target_as = gray_warship_location
|
||||
}
|
||||
} else = {
|
||||
random_controlled_fleet = {
|
||||
limit = { has_fleet_flag = gray_juggernaut_fleet }
|
||||
save_event_target_as = gray_warship_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_event_target_as = gray_warship_location }
|
||||
}
|
||||
}
|
||||
else = {
|
||||
random_owned_army = {
|
||||
limit = { army_type = gray_army }
|
||||
fleet = { save_event_target_as = gray_warship_location }
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { has_country_flag = gray_governor_active }
|
||||
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_event_target_as = gray_warship_location
|
||||
}
|
||||
}
|
||||
else = {
|
||||
capital_scope = { save_event_target_as = gray_warship_location }
|
||||
}
|
||||
}
|
||||
else = {
|
||||
capital_scope = { save_event_target_as = gray_warship_location }
|
||||
}
|
||||
|
||||
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 = {
|
||||
create_leader = {
|
||||
class = admiral
|
||||
species = event_target:gray_species
|
||||
name = "NAME_Gray"
|
||||
immortal = yes
|
||||
event_leader = yes
|
||||
gender = female
|
||||
skill = 10
|
||||
set_age = 18
|
||||
traits = {
|
||||
trait = RG_leader_trait_admiral_gray
|
||||
trait = leader_trait_gale_speed
|
||||
}
|
||||
effect = {
|
||||
save_global_event_target_as = gray_leader_admiral
|
||||
set_leader_flag = rg_gray_leader
|
||||
set_leader_flag = gray_admiral
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
set_country_flag = gray_warship_active
|
||||
if = {
|
||||
limit = {
|
||||
has_country_flag = rg_gray_level_2
|
||||
}
|
||||
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_Gray_Warship"
|
||||
prefix = no
|
||||
upgradable = yes
|
||||
}
|
||||
set_fleet_stance = aggressive
|
||||
set_location = {
|
||||
target = event_target:gray_warship_location
|
||||
distance = 0
|
||||
angle = random
|
||||
}
|
||||
set_fleet_flag = gray_fleet
|
||||
save_global_event_target_as = gray_warship
|
||||
|
||||
assign_leader = event_target:gray_leader_admiral
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_country_flag = rg_gray_level_3
|
||||
NOT = {
|
||||
has_country_flag = gray_warship_is_juggernaut
|
||||
}
|
||||
}
|
||||
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_gray_capitalship"
|
||||
prefix = no
|
||||
upgradable = yes
|
||||
}
|
||||
set_fleet_stance = aggressive
|
||||
set_location = {
|
||||
target = event_target:gray_warship_location
|
||||
distance = 0
|
||||
angle = random
|
||||
}
|
||||
set_fleet_flag = gray_fleet
|
||||
save_global_event_target_as = gray_warship
|
||||
|
||||
assign_leader = event_target:gray_leader_admiral
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_country_flag = gray_warship_is_juggernaut
|
||||
}
|
||||
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_gray_juggernautship"
|
||||
prefix = no
|
||||
upgradable = yes
|
||||
}
|
||||
set_fleet_stance = aggressive
|
||||
set_location = {
|
||||
target = root.capital_scope
|
||||
distance = 0
|
||||
angle = random
|
||||
}
|
||||
set_fleet_flag = gray_fleet
|
||||
save_global_event_target_as = gray_warship
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
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_Gray_Warship_base"
|
||||
prefix = no
|
||||
upgradable = yes
|
||||
}
|
||||
set_fleet_stance = aggressive
|
||||
set_location = {
|
||||
target = event_target:gray_warship_location
|
||||
distance = 0
|
||||
angle = random
|
||||
}
|
||||
set_fleet_flag = gray_fleet
|
||||
save_global_event_target_as = gray_warship
|
||||
|
||||
assign_leader = event_target:gray_leader_admiral
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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
|
||||
remove_country_flag = gray_army_active
|
||||
|
||||
random_owned_leader = {
|
||||
limit = { has_leader_flag = gray_admiral }
|
||||
set_skill = owner.rg_gray_level
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
16
common/scripted_effects/!_RG_gray_goo_effects_overwrite.txt
Normal file
16
common/scripted_effects/!_RG_gray_goo_effects_overwrite.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
#创造灰风总督
|
||||
create_gray_governor = {
|
||||
rg_create_gray_governor = yes
|
||||
}
|
||||
#创造灰风战舰
|
||||
create_gray_warship = {
|
||||
rg_create_gray_warship = yes
|
||||
}
|
||||
#创造灰风地面单位
|
||||
create_gray_army = {
|
||||
rg_create_gray_army = yes
|
||||
}
|
||||
#创造灰风科学舰
|
||||
create_gray_const = {
|
||||
rg_create_gray_const = yes
|
||||
}
|
||||
270
common/scripted_effects/RG_combat_skill_effects.txt
Normal file
270
common/scripted_effects/RG_combat_skill_effects.txt
Normal file
@@ -0,0 +1,270 @@
|
||||
RG_leader_trait_tempest_incoming_random_kill_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
# Check if the general on side A has the supreme warrior trait
|
||||
any_ground_combat_$SIDE_A$ = {
|
||||
exists = leader
|
||||
leader = {
|
||||
has_trait = RG_leader_trait_general_gray_skill
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
check_variable = {
|
||||
which = rg_general_skill_combat_killed_variable
|
||||
value > 100
|
||||
}
|
||||
}
|
||||
random_ground_combat_$SIDE_B$ = {
|
||||
limit = {
|
||||
is_in_frontline = yes
|
||||
}
|
||||
remove_army = yes
|
||||
}
|
||||
}
|
||||
else = {
|
||||
if = {
|
||||
limit = {
|
||||
check_variable = {
|
||||
which = rg_general_skill_combat_killed_variable
|
||||
value <= 5
|
||||
}
|
||||
}
|
||||
random_list = {
|
||||
# NOTE: Update custom loc for effect when changing probablity
|
||||
95 = {}
|
||||
5 = {
|
||||
random_ground_combat_$SIDE_B$ = {
|
||||
limit = {
|
||||
is_in_frontline = yes
|
||||
}
|
||||
remove_army = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
check_variable = {
|
||||
which = rg_general_skill_combat_killed_variable
|
||||
value <= 10
|
||||
}
|
||||
}
|
||||
random_list = {
|
||||
# NOTE: Update custom loc for effect when changing probablity
|
||||
90 = {}
|
||||
10 = {
|
||||
random_ground_combat_$SIDE_B$ = {
|
||||
limit = {
|
||||
is_in_frontline = yes
|
||||
}
|
||||
remove_army = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
check_variable = {
|
||||
which = rg_general_skill_combat_killed_variable
|
||||
value <= 20
|
||||
}
|
||||
}
|
||||
random_list = {
|
||||
# NOTE: Update custom loc for effect when changing probablity
|
||||
80 = {}
|
||||
20 = {
|
||||
random_ground_combat_$SIDE_B$ = {
|
||||
limit = {
|
||||
is_in_frontline = yes
|
||||
}
|
||||
remove_army = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
check_variable = {
|
||||
which = rg_general_skill_combat_killed_variable
|
||||
value <= 30
|
||||
}
|
||||
}
|
||||
random_list = {
|
||||
# NOTE: Update custom loc for effect when changing probablity
|
||||
70 = {}
|
||||
30 = {
|
||||
random_ground_combat_$SIDE_B$ = {
|
||||
limit = {
|
||||
is_in_frontline = yes
|
||||
}
|
||||
remove_army = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
check_variable = {
|
||||
which = rg_general_skill_combat_killed_variable
|
||||
value <= 40
|
||||
}
|
||||
}
|
||||
random_list = {
|
||||
# NOTE: Update custom loc for effect when changing probablity
|
||||
60 = {}
|
||||
40 = {
|
||||
random_ground_combat_$SIDE_B$ = {
|
||||
limit = {
|
||||
is_in_frontline = yes
|
||||
}
|
||||
remove_army = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
check_variable = {
|
||||
which = rg_general_skill_combat_killed_variable
|
||||
value <= 40
|
||||
}
|
||||
}
|
||||
random_list = {
|
||||
# NOTE: Update custom loc for effect when changing probablity
|
||||
60 = {}
|
||||
40 = {
|
||||
random_ground_combat_$SIDE_B$ = {
|
||||
limit = {
|
||||
is_in_frontline = yes
|
||||
}
|
||||
remove_army = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
check_variable = {
|
||||
which = rg_general_skill_combat_killed_variable
|
||||
value <= 50
|
||||
}
|
||||
}
|
||||
random_list = {
|
||||
# NOTE: Update custom loc for effect when changing probablity
|
||||
50 = {}
|
||||
50 = {
|
||||
random_ground_combat_$SIDE_B$ = {
|
||||
limit = {
|
||||
is_in_frontline = yes
|
||||
}
|
||||
remove_army = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
check_variable = {
|
||||
which = rg_general_skill_combat_killed_variable
|
||||
value <= 60
|
||||
}
|
||||
}
|
||||
random_list = {
|
||||
# NOTE: Update custom loc for effect when changing probablity
|
||||
40 = {}
|
||||
60 = {
|
||||
random_ground_combat_$SIDE_B$ = {
|
||||
limit = {
|
||||
is_in_frontline = yes
|
||||
}
|
||||
remove_army = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
check_variable = {
|
||||
which = rg_general_skill_combat_killed_variable
|
||||
value <= 70
|
||||
}
|
||||
}
|
||||
random_list = {
|
||||
# NOTE: Update custom loc for effect when changing probablity
|
||||
30 = {}
|
||||
70 = {
|
||||
random_ground_combat_$SIDE_B$ = {
|
||||
limit = {
|
||||
is_in_frontline = yes
|
||||
}
|
||||
remove_army = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
check_variable = {
|
||||
which = rg_general_skill_combat_killed_variable
|
||||
value <= 80
|
||||
}
|
||||
}
|
||||
random_list = {
|
||||
# NOTE: Update custom loc for effect when changing probablity
|
||||
20 = {}
|
||||
80 = {
|
||||
random_ground_combat_$SIDE_B$ = {
|
||||
limit = {
|
||||
is_in_frontline = yes
|
||||
}
|
||||
remove_army = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
check_variable = {
|
||||
which = rg_general_skill_combat_killed_variable
|
||||
value <= 90
|
||||
}
|
||||
}
|
||||
random_list = {
|
||||
# NOTE: Update custom loc for effect when changing probablity
|
||||
10 = {}
|
||||
90 = {
|
||||
random_ground_combat_$SIDE_B$ = {
|
||||
limit = {
|
||||
is_in_frontline = yes
|
||||
}
|
||||
remove_army = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
check_variable = {
|
||||
which = rg_general_skill_combat_killed_variable
|
||||
value >= 90
|
||||
}
|
||||
}
|
||||
random_list = {
|
||||
# NOTE: Update custom loc for effect when changing probablity
|
||||
5 = {}
|
||||
95 = {
|
||||
random_ground_combat_$SIDE_B$ = {
|
||||
limit = {
|
||||
is_in_frontline = yes
|
||||
}
|
||||
remove_army = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
747
common/scripted_effects/RG_gray_goo_effects.txt
Normal file
747
common/scripted_effects/RG_gray_goo_effects.txt
Normal file
@@ -0,0 +1,747 @@
|
||||
#灰风
|
||||
|
||||
#创造灰风总督
|
||||
rg_create_gray_governor = {
|
||||
#延迟执行
|
||||
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_governor_active
|
||||
#更新灰风形态
|
||||
remove_country_flag = gray_warship_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 = {
|
||||
optimize_memory
|
||||
#舰船刷新位置检测
|
||||
if = {
|
||||
limit = { has_country_flag = gray_constship_active }
|
||||
if = {
|
||||
limit = { exists = event_target:global_gray_constship }
|
||||
event_target:global_gray_constship = {
|
||||
save_event_target_as = gray_warship_location
|
||||
}
|
||||
} else = {
|
||||
random_controlled_fleet = {
|
||||
limit = { has_fleet_flag = gray_constship }
|
||||
save_event_target_as = gray_warship_location
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { has_country_flag = gray_juggernaut_active }
|
||||
if = {
|
||||
limit = { exists = event_target:gray_juggernaut }
|
||||
event_target:gray_juggernaut = {
|
||||
save_event_target_as = gray_warship_location
|
||||
}
|
||||
} else = {
|
||||
random_controlled_fleet = {
|
||||
limit = { has_fleet_flag = gray_juggernaut_fleet }
|
||||
save_event_target_as = gray_warship_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_event_target_as = gray_warship_location }
|
||||
}
|
||||
}
|
||||
else = {
|
||||
random_owned_army = {
|
||||
limit = { army_type = gray_army }
|
||||
fleet = { save_event_target_as = gray_warship_location }
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { has_country_flag = gray_governor_active }
|
||||
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_event_target_as = gray_warship_location
|
||||
}
|
||||
}
|
||||
else = {
|
||||
capital_scope = { save_event_target_as = gray_warship_location }
|
||||
}
|
||||
}
|
||||
else = {
|
||||
capital_scope = { save_event_target_as = gray_warship_location }
|
||||
}
|
||||
# 存储当前领袖等级
|
||||
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_admiral_init = yes
|
||||
}
|
||||
|
||||
set_country_flag = gray_warship_active
|
||||
if = {
|
||||
limit = {
|
||||
has_country_flag = rg_gray_level_2
|
||||
}
|
||||
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_Gray_Warship"
|
||||
prefix = no
|
||||
upgradable = yes
|
||||
}
|
||||
set_fleet_stance = aggressive
|
||||
set_location = {
|
||||
target = event_target:gray_warship_location
|
||||
distance = 0
|
||||
angle = random
|
||||
}
|
||||
set_fleet_flag = gray_fleet
|
||||
save_global_event_target_as = gray_warship
|
||||
|
||||
assign_leader = event_target:gray_leader_admiral
|
||||
|
||||
if = {
|
||||
limit = { has_global_flag = kdc_event_mod_active }
|
||||
add_modifier = { modifier = remove_fleet_maintenance }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_country_flag = rg_gray_level_3
|
||||
NOT = {
|
||||
has_country_flag = gray_warship_is_juggernaut
|
||||
}
|
||||
}
|
||||
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_gray_capitalship"
|
||||
prefix = no
|
||||
upgradable = yes
|
||||
}
|
||||
set_fleet_stance = aggressive
|
||||
set_location = {
|
||||
target = event_target:gray_warship_location
|
||||
distance = 0
|
||||
angle = random
|
||||
}
|
||||
set_fleet_flag = gray_fleet
|
||||
save_global_event_target_as = gray_warship
|
||||
|
||||
assign_leader = event_target:gray_leader_admiral
|
||||
|
||||
if = {
|
||||
limit = { has_global_flag = kdc_event_mod_active }
|
||||
add_modifier = { modifier = remove_fleet_maintenance }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_country_flag = gray_warship_is_juggernaut
|
||||
}
|
||||
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_gray_juggernautship"
|
||||
prefix = no
|
||||
upgradable = yes
|
||||
}
|
||||
set_fleet_stance = aggressive
|
||||
set_location = {
|
||||
target = root.capital_scope
|
||||
distance = 0
|
||||
angle = random
|
||||
}
|
||||
set_fleet_flag = gray_fleet
|
||||
save_global_event_target_as = gray_warship
|
||||
|
||||
if = {
|
||||
limit = { has_global_flag = kdc_event_mod_active }
|
||||
add_modifier = { modifier = remove_fleet_maintenance }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
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_Gray_Warship_base"
|
||||
prefix = no
|
||||
upgradable = yes
|
||||
}
|
||||
set_fleet_stance = aggressive
|
||||
set_location = {
|
||||
target = event_target:gray_warship_location
|
||||
distance = 0
|
||||
angle = random
|
||||
}
|
||||
set_fleet_flag = gray_fleet
|
||||
save_global_event_target_as = gray_warship
|
||||
|
||||
assign_leader = event_target:gray_leader_admiral
|
||||
|
||||
if = {
|
||||
limit = { has_global_flag = kdc_event_mod_active }
|
||||
add_modifier = { modifier = remove_fleet_maintenance }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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
|
||||
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 = {
|
||||
optimize_memory
|
||||
if = {
|
||||
limit = { has_country_flag = gray_constship_active }
|
||||
if = {
|
||||
limit = { exists = event_target:global_gray_constship }
|
||||
event_target:global_gray_constship = {
|
||||
save_event_target_as = gray_transport_location
|
||||
}
|
||||
} else = {
|
||||
random_owned_fleet = {
|
||||
limit = { has_fleet_flag = gray_constship }
|
||||
save_event_target_as = gray_transport_location
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { has_country_flag = gray_warship_active }
|
||||
if = {
|
||||
limit = { exists = event_target:gray_warship }
|
||||
event_target:gray_warship = {
|
||||
save_event_target_as = gray_transport_location
|
||||
}
|
||||
} else = {
|
||||
random_owned_fleet = {
|
||||
limit = { has_fleet_flag = gray_fleet }
|
||||
save_event_target_as = gray_transport_location
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { has_country_flag = gray_juggernaut_active }
|
||||
if = {
|
||||
limit = { exists = event_target:gray_juggernaut }
|
||||
event_target:gray_juggernaut = {
|
||||
save_event_target_as = gray_transport_location
|
||||
}
|
||||
} else = {
|
||||
random_controlled_fleet = {
|
||||
limit = { has_fleet_flag = gray_juggernaut_fleet }
|
||||
save_event_target_as = gray_transport_location
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { has_country_flag = gray_governor_active }
|
||||
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_event_target_as = gray_transport_location
|
||||
}
|
||||
}
|
||||
else = {
|
||||
capital_scope = { save_event_target_as = gray_warship_location }
|
||||
}
|
||||
}
|
||||
else = {
|
||||
capital_scope = { save_event_target_as = gray_transport_location }
|
||||
}
|
||||
|
||||
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_general_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:gray_transport_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 = gray_governor_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 = {
|
||||
optimize_memory
|
||||
if = {
|
||||
limit = { has_country_flag = gray_warship_active }
|
||||
if = {
|
||||
limit = { exists = event_target:gray_warship }
|
||||
event_target:gray_warship = {
|
||||
save_event_target_as = gray_constship_location
|
||||
}
|
||||
} else = {
|
||||
random_controlled_fleet = {
|
||||
limit = { has_fleet_flag = gray_fleet }
|
||||
save_event_target_as = gray_constship_location
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { has_country_flag = gray_juggernaut_active }
|
||||
if = {
|
||||
limit = { exists = event_target:gray_juggernaut }
|
||||
event_target:gray_juggernaut = {
|
||||
save_event_target_as = gray_constship_location
|
||||
}
|
||||
} else = {
|
||||
random_controlled_fleet = {
|
||||
limit = { has_fleet_flag = gray_juggernaut_fleet }
|
||||
save_event_target_as = gray_constship_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_event_target_as = gray_constship_location }
|
||||
}
|
||||
}
|
||||
else = {
|
||||
random_owned_army = {
|
||||
limit = { army_type = gray_army }
|
||||
fleet = { save_event_target_as = gray_constship_location }
|
||||
}
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = { has_country_flag = gray_governor_active }
|
||||
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_event_target_as = gray_constship_location
|
||||
}
|
||||
}
|
||||
else = {
|
||||
capital_scope = { save_event_target_as = gray_constship_location }
|
||||
}
|
||||
}
|
||||
else = {
|
||||
capital_scope = { save_event_target_as = gray_constship_location }
|
||||
}
|
||||
|
||||
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:gray_constship_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 = gray_governor_active
|
||||
|
||||
random_owned_leader = {
|
||||
limit = { has_leader_flag = gray_scientist }
|
||||
set_skill = owner.rg_gray_level
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
309
common/scripted_effects/RG_gray_leader_init_effects.txt
Normal file
309
common/scripted_effects/RG_gray_leader_init_effects.txt
Normal file
@@ -0,0 +1,309 @@
|
||||
rg_gray_govener_init = {
|
||||
create_leader = {
|
||||
class = governor
|
||||
species = root
|
||||
name = "NAME_Gray"
|
||||
gender = female
|
||||
immortal = yes
|
||||
event_leader = yes
|
||||
skip_background_generation = yes
|
||||
custom_catch_phrase = gray_catch_phrase
|
||||
custom_description = gray_backstory
|
||||
background_ethic = ethic_gestalt_consciousness
|
||||
hide_age = yes
|
||||
skill = 10
|
||||
set_age = 18
|
||||
traits = {
|
||||
trait = rg_leader_trait_governor_gray
|
||||
trait = RG_leader_trait_ruler_gray
|
||||
}
|
||||
effect = {
|
||||
save_global_event_target_as = gray_governor
|
||||
set_leader_flag = gray_governor
|
||||
set_leader_flag = legendary_leader
|
||||
set_leader_flag = immune_to_negative_traits
|
||||
|
||||
set_leader_flag = rg_gray_leader
|
||||
|
||||
if = {
|
||||
limit = { has_global_flag = kdc_event_mod_active }
|
||||
set_leader_flag = "gray_leader"
|
||||
add_trait = leader_trait_governor_gray
|
||||
add_trait = RG_leader_trait_ruler_gray
|
||||
add_trait = subclass_governor_economist
|
||||
add_trait = leader_trait_urbanist_3
|
||||
add_trait = leader_trait_scrapper_2
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
AND = {
|
||||
has_global_flag = kdc_event_mod_active
|
||||
has_country_flag = origin_gray_country
|
||||
}
|
||||
}
|
||||
set_leader_flag = "gray_leader"
|
||||
add_trait = leader_trait_governor_gray
|
||||
add_trait = RG_leader_trait_ruler_gray
|
||||
}
|
||||
else = {
|
||||
add_trait = RG_leader_trait_governor_gray
|
||||
add_trait = RG_leader_trait_ruler_gray
|
||||
add_trait = subclass_governor_economis
|
||||
add_trait = leader_trait_urbanist_3
|
||||
add_trait = leader_trait_scrapper_2
|
||||
}
|
||||
}
|
||||
}
|
||||
last_created_leader = {
|
||||
set_leader_flag = has_gained_level_trait
|
||||
}
|
||||
random_owned_leader = {
|
||||
limit = { has_leader_flag = gray_governor }
|
||||
if = {
|
||||
limit = { has_global_flag = kdc_event_mod_active }
|
||||
if = {
|
||||
limit = { owner = { has_country_flag = gray_encountered_the_loop }}
|
||||
add_trait = leader_trait_governor_wg_the_loop
|
||||
}
|
||||
set_gray_portrait = yes
|
||||
add_special_leader_affection_trait = { LEADER = gray LEADER_CLASS = governor MARRIED_FLAG = married_gray }
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_global_flag = has_wsg_mod
|
||||
NOT = {
|
||||
has_global_flag = kdc_event_mod_active
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = { owner = { has_country_flag = gray_encountered_the_loop }}
|
||||
add_trait = leader_trait_governor_wg_the_loop
|
||||
}
|
||||
set_gray_portrait = yes
|
||||
add_special_leader_affection_trait = { LEADER = gray LEADER_CLASS = governor MARRIED_FLAG = married_gray }
|
||||
}
|
||||
else = {
|
||||
rg_set_gray_portrait = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
rg_gray_admiral_init = {
|
||||
create_leader = {
|
||||
class = admiral
|
||||
species = root
|
||||
name = "NAME_Gray"
|
||||
immortal = yes
|
||||
event_leader = yes
|
||||
skip_background_generation = yes
|
||||
custom_catch_phrase = gray_catch_phrase
|
||||
custom_description = gray_backstory
|
||||
background_ethic = ethic_gestalt_consciousness
|
||||
hide_age = yes
|
||||
gender = female
|
||||
skill = 10
|
||||
set_age = 18
|
||||
traits = {
|
||||
trait = RG_leader_trait_admiral_gray
|
||||
}
|
||||
effect = {
|
||||
save_global_event_target_as = gray_leader_admiral
|
||||
set_leader_flag = gray_admiral
|
||||
set_leader_flag = legendary_leader
|
||||
set_leader_flag = immune_to_negative_traits
|
||||
|
||||
set_leader_flag = rg_gray_leader
|
||||
|
||||
if = {
|
||||
limit = { has_global_flag = kdc_event_mod_active }
|
||||
set_leader_flag = "gray_leader"
|
||||
add_trait = gray_admiral
|
||||
}
|
||||
else = {
|
||||
add_trait = leader_trait_artillerist_2
|
||||
add_trait = leader_trait_juryrigger_2
|
||||
}
|
||||
add_trait = RG_leader_trait_admiral_gray
|
||||
add_trait = subclass_admiral_aggressor
|
||||
add_trait = leader_trait_carrier_specialization
|
||||
}
|
||||
}
|
||||
last_created_leader = {
|
||||
set_leader_flag = has_gained_level_trait
|
||||
}
|
||||
random_owned_leader = {
|
||||
limit = { has_leader_flag = gray_admiral }
|
||||
if = {
|
||||
limit = {
|
||||
has_global_flag = kdc_event_mod_active
|
||||
}
|
||||
if = {
|
||||
limit = { owner = { has_country_flag = gray_encountered_the_loop }}
|
||||
add_trait = leader_trait_admiral_wg_the_loop
|
||||
}
|
||||
set_gray_portrait = yes
|
||||
add_special_leader_affection_trait = { LEADER = gray LEADER_CLASS = admiral MARRIED_FLAG = married_gray }
|
||||
if = {
|
||||
limit = { owner = {
|
||||
has_country_flag = origin_gray_country
|
||||
has_country_flag = origin_gray_weaken
|
||||
}}
|
||||
remove_trait = gray_admiral
|
||||
add_trait = leader_trait_admiral_gray_weak
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_global_flag = has_wsg_mod
|
||||
NOT = {
|
||||
has_global_flag = kdc_event_mod_active
|
||||
}
|
||||
if = {
|
||||
limit = { owner = { has_country_flag = gray_encountered_the_loop }}
|
||||
add_trait_no_notify = leader_trait_admiral_wg_the_loop
|
||||
}
|
||||
}
|
||||
set_gray_portrait = yes
|
||||
add_special_leader_affection_trait = { LEADER = gray LEADER_CLASS = admiral MARRIED_FLAG = married_gray }
|
||||
}
|
||||
else = {
|
||||
rg_set_gray_portrait = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
rg_gray_general_init = {
|
||||
create_leader = {
|
||||
class = general
|
||||
species = root
|
||||
name = "NAME_Gray"
|
||||
immortal = yes
|
||||
event_leader = yes
|
||||
skip_background_generation = yes
|
||||
custom_catch_phrase = gray_catch_phrase
|
||||
custom_description = gray_backstory
|
||||
background_ethic = ethic_gestalt_consciousness
|
||||
hide_age = yes
|
||||
gender = female
|
||||
skill = 10
|
||||
set_age = 18
|
||||
traits = {
|
||||
trait = RG_leader_trait_general_gray
|
||||
trait = RG_leader_trait_general_gray_skill
|
||||
trait = subclass_general_marshall
|
||||
trait = leader_trait_heavy_hitter_2
|
||||
trait = leader_trait_reinforcer_2
|
||||
}
|
||||
effect = {
|
||||
save_global_event_target_as = gray_leader_general
|
||||
set_leader_flag = rg_gray_leader
|
||||
set_leader_flag = gray_general
|
||||
set_leader_flag = legendary_leader
|
||||
set_leader_flag = immune_to_negative_traits
|
||||
}
|
||||
}
|
||||
last_created_leader = {
|
||||
set_leader_flag = has_gained_level_trait
|
||||
}
|
||||
random_owned_leader = {
|
||||
limit = { has_leader_flag = gray_general }
|
||||
if = {
|
||||
limit = { has_global_flag = kdc_event_mod_active }
|
||||
set_gray_portrait = yes
|
||||
if = {
|
||||
limit = { owner = { has_country_flag = gray_encountered_the_loop }}
|
||||
add_trait = leader_trait_governor_wg_the_loop
|
||||
}
|
||||
#add_special_leader_affection_trait = { LEADER = gray LEADER_CLASS = governor MARRIED_FLAG = married_gray }
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_global_flag = has_wsg_mod
|
||||
NOT = {
|
||||
has_global_flag = kdc_event_mod_active
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = { owner = { has_country_flag = gray_encountered_the_loop }}
|
||||
add_trait = leader_trait_governor_wg_the_loop
|
||||
}
|
||||
set_gray_portrait = yes
|
||||
#add_special_leader_affection_trait = { LEADER = gray LEADER_CLASS = governor MARRIED_FLAG = married_gray }
|
||||
}
|
||||
else = {
|
||||
add_trait = RG_leader_trait_general_gray_skill
|
||||
rg_set_gray_portrait = yes
|
||||
}
|
||||
}
|
||||
set_variable = {
|
||||
which = rg_general_skill_combat_daypassed_variable
|
||||
value = 1
|
||||
}
|
||||
set_variable = {
|
||||
which = rg_general_skill_combat_killed_variable
|
||||
value = 0
|
||||
}
|
||||
}
|
||||
|
||||
rg_gray_scientist_init = {
|
||||
create_leader = {
|
||||
class = scientist
|
||||
species = root
|
||||
name = "NAME_Gray"
|
||||
immortal = yes
|
||||
event_leader = yes
|
||||
skip_background_generation = yes
|
||||
custom_catch_phrase = gray_catch_phrase
|
||||
custom_description = gray_backstory
|
||||
background_ethic = ethic_gestalt_consciousness
|
||||
hide_age = yes
|
||||
gender = female
|
||||
skill = 10
|
||||
set_age = 18
|
||||
traits = {
|
||||
trait = RG_leader_trait_scientist_gray
|
||||
trait = subclass_scientist_explorer
|
||||
trait = leader_trait_engineering_focus_2
|
||||
trait = leader_trait_salvager_3
|
||||
}
|
||||
effect = {
|
||||
save_global_event_target_as = gray_leader_scientist
|
||||
set_leader_flag = rg_gray_leader
|
||||
set_leader_flag = gray_scientist
|
||||
set_leader_flag = legendary_leader
|
||||
set_leader_flag = immune_to_negative_traits
|
||||
}
|
||||
}
|
||||
last_created_leader = {
|
||||
set_leader_flag = has_gained_level_trait
|
||||
}
|
||||
random_owned_leader = {
|
||||
limit = { has_leader_flag = gray_scientist }
|
||||
if = {
|
||||
limit = { has_global_flag = kdc_event_mod_active }
|
||||
if = {
|
||||
limit = { owner = { has_country_flag = gray_encountered_the_loop }}
|
||||
add_trait = leader_trait_governor_wg_the_loop
|
||||
}
|
||||
set_gray_portrait = yes
|
||||
# add_special_leader_affection_trait = { LEADER = gray LEADER_CLASS = governor MARRIED_FLAG = married_gray }
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
has_global_flag = has_wsg_mod
|
||||
NOT = {
|
||||
has_global_flag = kdc_event_mod_active
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = { owner = { has_country_flag = gray_encountered_the_loop }}
|
||||
add_trait = leader_trait_governor_wg_the_loop
|
||||
}
|
||||
set_gray_portrait = yes
|
||||
# add_special_leader_affection_trait = { LEADER = gray LEADER_CLASS = governor MARRIED_FLAG = married_gray }
|
||||
}
|
||||
else = {
|
||||
rg_set_gray_portrait = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
1973
common/scripted_effects/RG_scripted_effects.txt
Normal file
1973
common/scripted_effects/RG_scripted_effects.txt
Normal file
File diff suppressed because it is too large
Load Diff
133
common/scripted_effects/RG_special_effects.txt
Normal file
133
common/scripted_effects/RG_special_effects.txt
Normal file
@@ -0,0 +1,133 @@
|
||||
rg_storyline_trigger = {
|
||||
# 初始化故事事件触发
|
||||
country_event = { id = rg_story.2 days = 3600 random = 12800 }
|
||||
country_event = { id = rg_story.8 days = 3600 random = 12800 }
|
||||
country_event = { id = rg_story.13 days = 3600 random = 12800 }
|
||||
}
|
||||
|
||||
rg_create_gray_planetkiller_testship_1 = {
|
||||
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_SP"
|
||||
prefix = no
|
||||
upgradable = no
|
||||
effect = {
|
||||
save_global_event_target_as = rg_test_ship_global_event_target
|
||||
}
|
||||
}
|
||||
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"
|
||||
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_Buff_interdictor_SP"
|
||||
prefix = no
|
||||
upgradable = no
|
||||
}
|
||||
set_location = {
|
||||
target = root.capital_scope
|
||||
distance = 0
|
||||
angle = random
|
||||
}
|
||||
set_fleet_flag = rg_test_ship_fleet
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
rg_create_fake_dragon = {
|
||||
create_species = {
|
||||
name = RG_SIMULATION_DRAGON_SPECIES
|
||||
plural = RG_SIMULATION_DRAGON_SPECIES
|
||||
class = ART
|
||||
portrait = art13
|
||||
namelist = ART1
|
||||
effect = {
|
||||
save_global_event_target_as = RG_sim_dragon_species
|
||||
}
|
||||
}
|
||||
create_leader = {
|
||||
class = admiral
|
||||
species = event_target:RG_sim_dragon_species
|
||||
name = "Name_rg_fake_dragon"
|
||||
event_leader = yes
|
||||
gender = female
|
||||
custom_description = rg_fake_dragon_desc
|
||||
skill = 1
|
||||
set_age = 0
|
||||
traits = {
|
||||
trait = RG_leader_trait_admiral_fake_dragon
|
||||
trait = RG_leader_trait_admiral_timed_life
|
||||
}
|
||||
effect = {
|
||||
change_leader_portrait = wg_dragon
|
||||
set_leader_flag = has_gained_level_trait
|
||||
set_leader_flag = has_gained_trait
|
||||
set_leader_flag = legendary_leader
|
||||
set_leader_flag = rg_fake_dragon
|
||||
save_global_event_target_as = rg_fake_dragon_admiral
|
||||
}
|
||||
}
|
||||
set_variable = {
|
||||
which = rg_fake_dragon_timedlife_counter
|
||||
value = 0
|
||||
}
|
||||
create_fleet = {
|
||||
name = "NAME_RG_Nanite_Dragon"
|
||||
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_Nanite_Dragon"
|
||||
design = "NAME_RG_FAKE_Dragon"
|
||||
prefix = no
|
||||
upgradable = no
|
||||
}
|
||||
set_location = {
|
||||
target = root.capital_scope
|
||||
distance = 0
|
||||
angle = random
|
||||
}
|
||||
set_fleet_flag = rg_fake_dragon_fleet
|
||||
assign_leader = last_created_leader
|
||||
}
|
||||
}
|
||||
}
|
||||
27
common/scripted_triggers/RG_scripted_triggers.txt
Normal file
27
common/scripted_triggers/RG_scripted_triggers.txt
Normal file
@@ -0,0 +1,27 @@
|
||||
#星球无法自动建造
|
||||
#scope (planet)
|
||||
RG_planet_can_auto_build = {
|
||||
OR = {
|
||||
AND = {
|
||||
has_deposit_for = shipclass_mining_station
|
||||
has_mining_station = no
|
||||
}
|
||||
AND = {
|
||||
has_deposit_for = shipclass_research_station
|
||||
has_research_station = no
|
||||
}
|
||||
}
|
||||
NOR = {
|
||||
has_deposit = d_trade_value_1
|
||||
has_deposit = d_trade_value_2
|
||||
has_deposit = d_trade_value_3
|
||||
has_deposit = d_trade_value_4
|
||||
has_deposit = d_trade_value_5
|
||||
has_deposit = d_trade_value_6
|
||||
has_deposit = d_trade_value_7
|
||||
has_deposit = d_trade_value_8
|
||||
has_deposit = d_trade_value_9
|
||||
has_deposit = d_trade_value_10
|
||||
has_planet_flag = RG_work_bees_built
|
||||
}
|
||||
}
|
||||
417
common/scripted_triggers/RG_scripted_triggers_planet_killers.txt
Normal file
417
common/scripted_triggers/RG_scripted_triggers_planet_killers.txt
Normal file
@@ -0,0 +1,417 @@
|
||||
# Check if a planet can be targetd by a planet killer weapon
|
||||
# Scope:
|
||||
# this = planet being targeted
|
||||
# from = fleet
|
||||
#can_destroy_planet_with_PLANET_DESTRUCTION_COMPONENT = {
|
||||
# ...
|
||||
#}
|
||||
|
||||
|
||||
can_destroy_planet_with_RG_PLANET_KILLER = {
|
||||
custom_tooltip = {
|
||||
fail_text = "RG_requires_a_star_star_killer"
|
||||
NOR = {
|
||||
is_planet_class = pc_ag_void_star
|
||||
is_planet_class = pc_ag_void_planet
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = "RG_requires_outside_border_star_killer"
|
||||
NOR = {
|
||||
AND = {
|
||||
is_inside_border = from.owner
|
||||
solar_system = {
|
||||
any_system_planet = {
|
||||
OR = {
|
||||
is_colony = yes
|
||||
is_under_colonization = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
exists = owner
|
||||
owner = { is_same_value = from.owner }
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = "RG_requires_no_pacifist_star_killer"
|
||||
from.owner = {
|
||||
NOR = {
|
||||
has_ethic = ethic_fanatic_pacifist
|
||||
has_ethic = ethic_pacifist
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
can_destroy_planet_with_RG_PLANET_KILLER_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"
|
||||
AND = {
|
||||
AND = {
|
||||
is_inside_border = from.owner
|
||||
solar_system = {
|
||||
any_system_planet = {
|
||||
OR = {
|
||||
is_colony = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
exists = owner
|
||||
owner = { is_same_value = from.owner }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
can_destroy_planet_with_RG_PLANET_KILLER_SHIELDER = {
|
||||
custom_tooltip = {
|
||||
fail_text = is_not_a_habitable_planet_or_megastructure
|
||||
OR = {
|
||||
is_a_habitable_planet_megastructure = yes
|
||||
is_planet_class = pc_ai
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = is_not_hostile_or_primitive
|
||||
OR = {
|
||||
planet_is_hostile_or_crisis = yes
|
||||
AND = {
|
||||
exists = owner
|
||||
owner = {
|
||||
is_country_type = primitive
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = owner
|
||||
owner = { is_country_type = primitive }
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = primitives_not_active_or_full_interference
|
||||
from.owner = {
|
||||
OR = {
|
||||
has_policy_flag = interference_active
|
||||
has_policy_flag = interference_full
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = is_shielded
|
||||
NOR = {
|
||||
is_planet_class = pc_shielded
|
||||
is_planet_class = pc_ringworld_shielded
|
||||
is_planet_class = pc_habitat_shielded
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
can_destroy_planet_with_RG_PLANET_KILLER_NEUTRON = {
|
||||
custom_tooltip = {
|
||||
fail_text = is_not_a_habitable_planet_or_megastructure
|
||||
is_a_habitable_planet_megastructure = yes
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = is_shielded
|
||||
NOR = {
|
||||
is_planet_class = pc_shielded
|
||||
is_planet_class = pc_ringworld_shielded
|
||||
is_planet_class = pc_habitat_shielded
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = is_not_hostile
|
||||
OR = {
|
||||
planet_is_hostile_or_crisis = yes
|
||||
AND = {
|
||||
exists = owner
|
||||
owner = {
|
||||
is_country_type = primitive
|
||||
}
|
||||
from.owner = {
|
||||
OR = {
|
||||
has_ethic = ethic_xenophobe
|
||||
has_ethic = ethic_fanatic_xenophobe
|
||||
}
|
||||
}
|
||||
}
|
||||
AND = { # at war with primitive space owner
|
||||
exists = space_owner
|
||||
exists = owner
|
||||
owner = {
|
||||
is_primitive = yes
|
||||
}
|
||||
space_owner = {
|
||||
OR = {
|
||||
is_at_war_with = from.owner
|
||||
is_country_type = swarm
|
||||
is_country_type = extradimensional
|
||||
is_country_type = extradimensional_2
|
||||
is_country_type = extradimensional_3
|
||||
is_country_type = ai_empire
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = is_unpopulated
|
||||
OR = {
|
||||
num_pops > 0
|
||||
is_planet_class = pc_infested
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
can_destroy_planet_with_RG_PLANET_KILLER_GODRAY = {
|
||||
custom_tooltip = {
|
||||
fail_text = is_not_a_habitable_planet_or_megastructure
|
||||
OR = {
|
||||
is_a_habitable_planet_megastructure = yes
|
||||
is_planet_class = pc_ai
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = is_shielded
|
||||
NOR = {
|
||||
is_planet_class = pc_shielded
|
||||
is_planet_class = pc_ringworld_shielded
|
||||
is_planet_class = pc_habitat_shielded
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
#success_text = "is at war with player"
|
||||
fail_text = is_not_hostile_or_primitive
|
||||
OR = {
|
||||
planet_is_hostile = yes
|
||||
is_planet_class = pc_ai
|
||||
AND = {
|
||||
exists = owner
|
||||
owner = { is_country_type = primitive }
|
||||
}
|
||||
AND = {
|
||||
exists = owner
|
||||
owner = { is_same_value = from.owner }
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = owner
|
||||
owner = { is_country_type = primitive }
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = primitives_not_active_or_full_interference
|
||||
from.owner = {
|
||||
OR = {
|
||||
has_policy_flag = interference_active
|
||||
has_policy_flag = interference_full
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
# target own colony
|
||||
if = {
|
||||
limit = {
|
||||
NOR = {
|
||||
planet_is_hostile = yes
|
||||
AND = {
|
||||
exists = owner
|
||||
owner = { is_country_type = primitive }
|
||||
}
|
||||
}
|
||||
exists = owner
|
||||
owner = {
|
||||
is_same_value = from.owner
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = not_owned_test_fire
|
||||
exists = owner
|
||||
owner = {
|
||||
is_same_value = from.owner
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
can_destroy_planet_with_RG_PLANET_KILLER_NANOBOTS = {
|
||||
custom_tooltip = {
|
||||
fail_text = is_not_a_habitable_planet_or_megastructure
|
||||
is_a_habitable_planet_megastructure = yes
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = is_shielded
|
||||
NOR = {
|
||||
is_planet_class = pc_shielded
|
||||
is_planet_class = pc_ringworld_shielded
|
||||
is_planet_class = pc_habitat_shielded
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = is_not_hostile_or_primitive
|
||||
OR = {
|
||||
planet_is_hostile = yes
|
||||
AND = {
|
||||
exists = owner
|
||||
owner = {
|
||||
is_country_type = primitive
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = owner
|
||||
owner = { is_country_type = primitive }
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = primitives_not_in_borders
|
||||
exists = space_owner
|
||||
space_owner = { is_same_value = from.owner }
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = primitives_not_full_interference
|
||||
from.owner = {
|
||||
has_policy_flag = interference_full
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = no_assimilatable_pops
|
||||
any_owned_pop = {
|
||||
is_valid_pop_for_PLANET_KILLER_NANOBOTS = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
can_destroy_planet_with_RG_PLANET_KILLER_DELUGE = {
|
||||
# custom_tooltip = { #feedback suggests this isn't fun, but leaving it here in case we need it
|
||||
# fail_text = requires_free_ice_mining_station
|
||||
# from.owner = {
|
||||
# any_owned_starbase = {
|
||||
# has_starbase_building = ice_mining_station
|
||||
# solar_system = {
|
||||
# OR = {
|
||||
# NOT = { has_star_flag = ice_mining_in_progress }
|
||||
# has_star_flag = ice_mining@root.from
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
custom_tooltip = {
|
||||
fail_text = is_habitable_non_artificial
|
||||
OR = {
|
||||
is_colonizable = yes
|
||||
is_colony = yes
|
||||
}
|
||||
is_artificial = no
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = is_not_oceanic
|
||||
NOT = { is_planet_class = pc_ocean }
|
||||
}
|
||||
if = {
|
||||
limit = { is_inside_border = from.owner }
|
||||
if = {
|
||||
limit = { #Uninhabited and primitive planets are always fine, if own colony then check if pops would be purged
|
||||
exists = owner
|
||||
owner = { is_same_value = from.owner }
|
||||
any_owned_species = {
|
||||
NOT = { has_trait = trait_aquatic }
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = requires_purge_allowed
|
||||
success_text = will_purge_non_aquatic_pops
|
||||
from.owner = {
|
||||
is_ai = no
|
||||
has_policy_flag = purge_allowed
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
custom_tooltip = {
|
||||
fail_text = is_not_hostile_or_primitive_or_ours
|
||||
OR = {
|
||||
planet_is_hostile = yes
|
||||
AND = {
|
||||
exists = owner
|
||||
owner = {
|
||||
is_country_type = primitive
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
exists = owner
|
||||
owner = { is_country_type = primitive }
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = primitives_not_in_borders
|
||||
exists = space_owner
|
||||
space_owner = { is_same_value = from.owner }
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = primitives_not_full_interference
|
||||
from.owner = {
|
||||
has_policy_flag = interference_full
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
is_valid_pop_for_RG_PLANET_KILLER_NANOBOTS = {
|
||||
NOR = {
|
||||
has_trait = trait_hive_mind
|
||||
has_trait = trait_mechanical
|
||||
has_trait = trait_machine_unit
|
||||
}
|
||||
}
|
||||
|
||||
can_destroy_planet_with_RG_PLANET_KILLER_STAR_CRACKER = {
|
||||
custom_tooltip = {
|
||||
fail_text = is_your_megastructure_system
|
||||
NOT = {
|
||||
solar_system = {
|
||||
has_star_flag = crisis_sphere_system@from.owner
|
||||
any_system_megastructure = { has_megastructure_flag = crisis_sphere }
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = is_not_star
|
||||
is_star = yes
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = is_black_hole
|
||||
NOT = { is_planet_class = pc_black_hole }
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = star_owner_is_not_hostile
|
||||
OR = {
|
||||
NOT = { exists = space_owner }
|
||||
space_owner = { is_hostile = from.owner }
|
||||
space_owner = { is_same_value = from.owner }
|
||||
}
|
||||
}
|
||||
}
|
||||
2487
common/section_templates/!_RG_gray_goo.txt
Normal file
2487
common/section_templates/!_RG_gray_goo.txt
Normal file
File diff suppressed because it is too large
Load Diff
326
common/section_templates/RG_starbase_templates.txt
Normal file
326
common/section_templates/RG_starbase_templates.txt
Normal file
@@ -0,0 +1,326 @@
|
||||
ship_section_template = {
|
||||
key = "RG_ORBITAL_RING_TIER_1_STARBASE_SECTION"
|
||||
ship_size = RG_orbital_ring_tier_1
|
||||
|
||||
fits_on_slot = "core"
|
||||
entity = "grey_tempesttw_gateway_entity"
|
||||
icon = "GFX_ship_part_core_mid"
|
||||
|
||||
component_slot = {
|
||||
name = "LARGE_GUN_01"
|
||||
template = "invisible_large_turret"
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "LARGE_GUN_02"
|
||||
template = "invisible_large_turret"
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "LARGE_GUN_03"
|
||||
template = "invisible_large_turret"
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "LARGE_GUN_04"
|
||||
template = "invisible_large_turret"
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "TORPEDO_01"
|
||||
template = "invisible_missile_turret"
|
||||
locatorname = "xl_gun_01"
|
||||
}
|
||||
component_slot = {
|
||||
name = "TORPEDO_02"
|
||||
template = "invisible_missile_turret"
|
||||
locatorname = "xl_gun_01"
|
||||
}
|
||||
component_slot = {
|
||||
name = "TORPEDO_03"
|
||||
template = "invisible_missile_turret"
|
||||
locatorname = "xl_gun_01"
|
||||
}
|
||||
component_slot = {
|
||||
name = "TORPEDO_04"
|
||||
template = "invisible_missile_turret"
|
||||
locatorname = "xl_gun_01"
|
||||
}
|
||||
component_slot = {
|
||||
name = "TORPEDO_05"
|
||||
template = "invisible_missile_turret"
|
||||
locatorname = "xl_gun_01"
|
||||
}
|
||||
component_slot = {
|
||||
name = "TORPEDO_06"
|
||||
template = "invisible_missile_turret"
|
||||
locatorname = "xl_gun_01"
|
||||
}
|
||||
component_slot = {
|
||||
name = "TORPEDO_07"
|
||||
template = "invisible_missile_turret"
|
||||
locatorname = "xl_gun_01"
|
||||
}
|
||||
component_slot = {
|
||||
name = "TORPEDO_08"
|
||||
template = "invisible_missile_turret"
|
||||
locatorname = "xl_gun_01"
|
||||
}
|
||||
component_slot = {
|
||||
name = "STRIKE_CRAFT_01"
|
||||
template = "large_strike_craft"
|
||||
rotation = 90
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "STRIKE_CRAFT_02"
|
||||
template = "large_strike_craft"
|
||||
rotation = 90
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "STRIKE_CRAFT_03"
|
||||
template = "large_strike_craft"
|
||||
rotation = 90
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "STRIKE_CRAFT_04"
|
||||
template = "large_strike_craft"
|
||||
rotation = 90
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "STRIKE_CRAFT_05"
|
||||
template = "large_strike_craft"
|
||||
rotation = 90
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "STRIKE_CRAFT_06"
|
||||
template = "large_strike_craft"
|
||||
rotation = 90
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "STRIKE_CRAFT_07"
|
||||
template = "large_strike_craft"
|
||||
rotation = 90
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "STRIKE_CRAFT_08"
|
||||
template = "large_strike_craft"
|
||||
rotation = 90
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "MEDIUM_GUN_01"
|
||||
template = "invisible_medium_turret"
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "MEDIUM_GUN_02"
|
||||
template = "invisible_medium_turret"
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "MEDIUM_GUN_03"
|
||||
template = "invisible_medium_turret"
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "MEDIUM_GUN_04"
|
||||
template = "invisible_medium_turret"
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "PD_01"
|
||||
template = "point_defence_turret"
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "PD_02"
|
||||
template = "point_defence_turret"
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "PD_03"
|
||||
template = "point_defence_turret"
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "PD_04"
|
||||
template = "point_defence_turret"
|
||||
locatorname = "rotate"
|
||||
}
|
||||
|
||||
small_utility_slots = 0
|
||||
medium_utility_slots = 0
|
||||
large_utility_slots = 8
|
||||
aux_utility_slots = 1
|
||||
}
|
||||
|
||||
ship_section_template = {
|
||||
key = "RG_Nanite_STARBASE_SECTION"
|
||||
ship_size = starbase_starfortress
|
||||
|
||||
fits_on_slot = "core"
|
||||
entity = "grey_tempesttw_starbase_starfortress_section_entity"
|
||||
icon = "GFX_ship_part_core_mid"
|
||||
hidden = yes
|
||||
|
||||
component_slot = {
|
||||
name = "LARGE_GUN_01"
|
||||
template = "invisible_large_turret"
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "LARGE_GUN_02"
|
||||
template = "invisible_large_turret"
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "LARGE_GUN_03"
|
||||
template = "invisible_large_turret"
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "LARGE_GUN_04"
|
||||
template = "invisible_large_turret"
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "TORPEDO_01"
|
||||
template = "invisible_missile_turret"
|
||||
locatorname = "xl_gun_01"
|
||||
}
|
||||
component_slot = {
|
||||
name = "TORPEDO_02"
|
||||
template = "invisible_missile_turret"
|
||||
locatorname = "xl_gun_01"
|
||||
}
|
||||
component_slot = {
|
||||
name = "TORPEDO_03"
|
||||
template = "invisible_missile_turret"
|
||||
locatorname = "xl_gun_01"
|
||||
}
|
||||
component_slot = {
|
||||
name = "TORPEDO_04"
|
||||
template = "invisible_missile_turret"
|
||||
locatorname = "xl_gun_01"
|
||||
}
|
||||
component_slot = {
|
||||
name = "TORPEDO_05"
|
||||
template = "invisible_missile_turret"
|
||||
locatorname = "xl_gun_01"
|
||||
}
|
||||
component_slot = {
|
||||
name = "TORPEDO_06"
|
||||
template = "invisible_missile_turret"
|
||||
locatorname = "xl_gun_01"
|
||||
}
|
||||
component_slot = {
|
||||
name = "TORPEDO_07"
|
||||
template = "invisible_missile_turret"
|
||||
locatorname = "xl_gun_01"
|
||||
}
|
||||
component_slot = {
|
||||
name = "TORPEDO_08"
|
||||
template = "invisible_missile_turret"
|
||||
locatorname = "xl_gun_01"
|
||||
}
|
||||
component_slot = {
|
||||
name = "STRIKE_CRAFT_01"
|
||||
template = "large_strike_craft"
|
||||
rotation = 90
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "STRIKE_CRAFT_02"
|
||||
template = "large_strike_craft"
|
||||
rotation = 90
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "STRIKE_CRAFT_03"
|
||||
template = "large_strike_craft"
|
||||
rotation = 90
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "STRIKE_CRAFT_04"
|
||||
template = "large_strike_craft"
|
||||
rotation = 90
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "STRIKE_CRAFT_05"
|
||||
template = "large_strike_craft"
|
||||
rotation = 90
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "STRIKE_CRAFT_06"
|
||||
template = "large_strike_craft"
|
||||
rotation = 90
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "STRIKE_CRAFT_07"
|
||||
template = "large_strike_craft"
|
||||
rotation = 90
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "STRIKE_CRAFT_08"
|
||||
template = "large_strike_craft"
|
||||
rotation = 90
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "MEDIUM_GUN_01"
|
||||
template = "invisible_medium_turret"
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "MEDIUM_GUN_02"
|
||||
template = "invisible_medium_turret"
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "MEDIUM_GUN_03"
|
||||
template = "invisible_medium_turret"
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "MEDIUM_GUN_04"
|
||||
template = "invisible_medium_turret"
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "PD_01"
|
||||
template = "point_defence_turret"
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "PD_02"
|
||||
template = "point_defence_turret"
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "PD_03"
|
||||
template = "point_defence_turret"
|
||||
locatorname = "rotate"
|
||||
}
|
||||
component_slot = {
|
||||
name = "PD_04"
|
||||
template = "point_defence_turret"
|
||||
locatorname = "rotate"
|
||||
}
|
||||
|
||||
small_utility_slots = 0
|
||||
medium_utility_slots = 0
|
||||
large_utility_slots = 8
|
||||
aux_utility_slots = 1
|
||||
}
|
||||
213
common/ship_behaviors/!_RG_strike_craft.txt
Normal file
213
common/ship_behaviors/!_RG_strike_craft.txt
Normal file
@@ -0,0 +1,213 @@
|
||||
#this file ( and all files in this folder ) is reloadable with console command "reload behavior"
|
||||
#filewatcher is enabled for all files in this folder
|
||||
|
||||
@engagement_range = 300
|
||||
@return_range = 500
|
||||
|
||||
ship_behavior = {
|
||||
name = "rg_fighters_behavior"
|
||||
preferred_attack_range = 12
|
||||
formation_distance = @engagement_range
|
||||
return_to_formation_distance = @return_range
|
||||
|
||||
attack_move_pattern = orbit
|
||||
passive_move_pattern = charge
|
||||
|
||||
# targeting = {
|
||||
# component_target_weight_mult = 0
|
||||
# keep_previous_target_bonus = 100
|
||||
# damage_value = 5
|
||||
# low_health_bonus = 5000
|
||||
# shield_focus_value = 5
|
||||
# armor_focus_value = 5
|
||||
# already_incoming_damage_penalty = 200
|
||||
# distance_to_fleet_penalty = 0
|
||||
# size_difference_penalty = 0
|
||||
# transport_target_penalty = 50000
|
||||
# civilian_target_penalty = 100000
|
||||
# }
|
||||
|
||||
}
|
||||
|
||||
ship_behavior = {
|
||||
name = "rg_bombers_behavior"
|
||||
preferred_attack_range = max
|
||||
formation_distance = @engagement_range
|
||||
return_to_formation_distance = @return_range
|
||||
|
||||
attack_move_pattern = charge #orbit
|
||||
passive_move_pattern = charge
|
||||
}
|
||||
|
||||
ship_behavior = {
|
||||
name = "RG_GrayMotherShip"
|
||||
|
||||
preferred_attack_range = 100
|
||||
formation_distance = 100
|
||||
return_to_formation_distance = 110
|
||||
|
||||
collision_awareness = 0.2
|
||||
collision_radius = 1.0 #collision_radius is a multiplier on the radius specified in the ship size
|
||||
collision_strafe = 2.5
|
||||
|
||||
attack_move_pattern = stay_at_range
|
||||
passive_move_pattern = charge
|
||||
|
||||
ignore_combat_movement = yes
|
||||
|
||||
desc = "RG_GrayMotherShip_BEHAVIOR_DESC"
|
||||
}
|
||||
|
||||
ship_behavior = {
|
||||
name = "rg_carrier_behavior"
|
||||
preferred_attack_range = max
|
||||
formation_distance = 400
|
||||
return_to_formation_distance = 390
|
||||
|
||||
collision_awareness = 1
|
||||
collision_radius = 20
|
||||
collision_strafe = 10
|
||||
attack_move_pattern = follow #stationary
|
||||
passive_move_pattern = stay_at_range #follow #charge
|
||||
|
||||
desc = "rg_carrier_BEHAVIOR_DESC"
|
||||
}
|
||||
|
||||
ship_behavior = {
|
||||
name = "rg_aura_behavior"
|
||||
preferred_attack_range = max
|
||||
formation_distance = 600
|
||||
return_to_formation_distance = 590
|
||||
|
||||
collision_awareness = 1
|
||||
collision_radius = 20
|
||||
collision_strafe = 10
|
||||
attack_move_pattern = follow #stationary
|
||||
passive_move_pattern = stay_at_range #follow #charge
|
||||
|
||||
|
||||
desc = "rg_aura_BEHAVIOR_DESC"
|
||||
}
|
||||
|
||||
ship_behavior = {
|
||||
name = "RG_artillery"
|
||||
preferred_attack_range = 390
|
||||
formation_distance = 390
|
||||
return_to_formation_distance = 400
|
||||
|
||||
combat_target_anchor = root
|
||||
|
||||
collision_awareness = 0.2
|
||||
collision_radius = 1.0 #collision_radius is a multiplier on the radius specified in the ship size
|
||||
collision_strafe = 2.5 #collision_strafe allows the ship to move in any direction while colliding with another
|
||||
attack_move_pattern = stay_at_range
|
||||
passive_move_pattern = charge
|
||||
|
||||
desc = "RG_artillery_BEHAVIOR_DESC"
|
||||
}
|
||||
|
||||
ship_behavior = {
|
||||
name = "RG_battle"
|
||||
preferred_attack_range = 100
|
||||
formation_distance = 100
|
||||
return_to_formation_distance = 110
|
||||
|
||||
combat_target_anchor = root
|
||||
|
||||
collision_awareness = 0.2
|
||||
collision_radius = 1.0 #collision_radius is a multiplier on the radius specified in the ship size
|
||||
collision_strafe = 2.5 #collision_strafe allows the ship to move in any direction while colliding with another
|
||||
attack_move_pattern = stay_at_range
|
||||
passive_move_pattern = charge
|
||||
|
||||
|
||||
desc = "RG_battle_BEHAVIOR_DESC"
|
||||
}
|
||||
|
||||
ship_behavior = {
|
||||
name = "RG_torpedo"
|
||||
preferred_attack_range = 170
|
||||
formation_distance = 170
|
||||
return_to_formation_distance = 180
|
||||
|
||||
combat_target_anchor = root
|
||||
|
||||
collision_awareness = 0.2
|
||||
collision_radius = 1.0 #collision_radius is a multiplier on the radius specified in the ship size
|
||||
collision_strafe = 2.5 #collision_strafe allows the ship to move in any direction while colliding with another
|
||||
attack_move_pattern = stay_at_range
|
||||
passive_move_pattern = charge
|
||||
|
||||
|
||||
desc = "RG_torpedo_BEHAVIOR_DESC"
|
||||
}
|
||||
|
||||
ship_behavior = {
|
||||
name = "RG_line"
|
||||
preferred_attack_range = 50 #max/min/median/12/412.. #this is the distance to target the ship wants to keep when attacking
|
||||
formation_distance = 50 #when orbing/following ship will try to keep this distance to assigned position
|
||||
return_to_formation_distance = 60 #when attacking the ship will switch to passive mode if distance to assigned position is greater that this
|
||||
|
||||
collision_awareness = 0.75
|
||||
collision_radius = 1.0
|
||||
collision_strafe = 2.5 #collision_strafe allows the ship to move in any direction while colliding with another
|
||||
|
||||
attack_move_pattern = follow #stationary/charge/follow/stationary/none
|
||||
passive_move_pattern = charge
|
||||
|
||||
|
||||
desc = "RG_line_BEHAVIOR_DESC"
|
||||
}
|
||||
|
||||
ship_behavior = {
|
||||
name = "RG_AA"
|
||||
preferred_attack_range = 150 #max/min/median/12/412.. #this is the distance to target the ship wants to keep when attacking
|
||||
formation_distance = 150 #when orbing/following ship will try to keep this distance to assigned position
|
||||
return_to_formation_distance = 160 #when attacking the ship will switch to passive mode if distance to assigned position is greater that this
|
||||
|
||||
collision_awareness = 0.75
|
||||
collision_radius = 1.0
|
||||
collision_strafe = 2.5 #collision_strafe allows the ship to move in any direction while colliding with another
|
||||
|
||||
attack_move_pattern = follow #stationary/charge/follow/stationary/none
|
||||
passive_move_pattern = charge
|
||||
|
||||
|
||||
desc = "RG_AA_BEHAVIOR_DESC"
|
||||
}
|
||||
|
||||
ship_behavior = {
|
||||
name = "RG_colossus"
|
||||
|
||||
preferred_attack_range = 0
|
||||
formation_distance = 0
|
||||
return_to_formation_distance = 0
|
||||
|
||||
collision_awareness = 0
|
||||
collision_strafe = 0
|
||||
collision_radius = 0
|
||||
|
||||
attack_move_pattern = none
|
||||
passive_move_pattern = none
|
||||
|
||||
ignore_combat_movement = yes
|
||||
|
||||
desc = "RG_COLOSSUS_BEHAVIOR_DESC"
|
||||
}
|
||||
|
||||
ship_behavior = {
|
||||
name = "RG_icebreak"
|
||||
preferred_attack_range = 1 #max/min/median/12/412.. #this is the distance to target the ship wants to keep when attacking
|
||||
formation_distance = 1 #when orbing/following ship will try to keep this distance to assigned position
|
||||
return_to_formation_distance = 5 #when attacking the ship will switch to passive mode if distance to assigned position is greater that this
|
||||
|
||||
collision_awareness = 0.75
|
||||
collision_radius = 1.0
|
||||
collision_strafe = 2.5 #collision_strafe allows the ship to move in any direction while colliding with another
|
||||
|
||||
attack_move_pattern = stay_at_range #stationary/charge/follow/stationary/none
|
||||
passive_move_pattern = charge
|
||||
|
||||
|
||||
desc = "RG_icebreak_BEHAVIOR_DESC"
|
||||
}
|
||||
644
common/ship_sizes/RG_ship_sizes.txt
Normal file
644
common/ship_sizes/RG_ship_sizes.txt
Normal file
@@ -0,0 +1,644 @@
|
||||
#reloadable with 'reload stats'
|
||||
# This file is where you start when you want to configure something new, then go to sections
|
||||
|
||||
####################
|
||||
# NOTE FOR MODDERS #
|
||||
####################
|
||||
# modifier = { } only takes the following modifiers
|
||||
# hull, shield & armor add/mult and regen add perc/static
|
||||
# evasion add/mult
|
||||
# speed/base speed mult
|
||||
# weapon damage mult
|
||||
# upkeep mult
|
||||
# for other modifiers, use ship_modifier = { }
|
||||
# use_shipnames_from = other_size # allows a ship size to use names from another size
|
||||
# icon = ship_size_military_1
|
||||
#ship_size_military_1 is default. The following sprite keys are generated from it:
|
||||
#GFX_text_<key>
|
||||
#GFX_<key>
|
||||
#GFX_<key>_top
|
||||
#GFX_<key>_top_damaged
|
||||
# icon_frame: now only used for starbases. Value of 2 or more means it shows up on the galaxy map, 1-5 denote which icon it uses on starbase sprite sheets (e.g. gfx/interface/icons/starbase_ship_sizes.dds)
|
||||
####################
|
||||
|
||||
# Gray Goo Mothership
|
||||
RG_graygoo_mothership = {
|
||||
graphical_culture = no
|
||||
entity = "gatebuilder_01_mothership_entity"
|
||||
max_speed = 100
|
||||
acceleration = 0.2
|
||||
rotation_speed = 0.15
|
||||
collision_radius = 5
|
||||
modifier = {
|
||||
ship_evasion_add = 50
|
||||
ship_armor_add = 25600
|
||||
ship_shield_add = 25600
|
||||
}
|
||||
ship_modifier = {
|
||||
ship_disengage_chance_reduction = 8
|
||||
ships_upkeep_mult = -1
|
||||
ship_shield_hardening_add = 1
|
||||
ship_armor_hardening_add = 1
|
||||
}
|
||||
max_hitpoints = 25600
|
||||
size_multiplier = 16
|
||||
fleet_slot_size = 16
|
||||
section_slots = { "mid" = { locator = "part1" } }
|
||||
num_target_locators = 12
|
||||
is_space_station = no
|
||||
icon = ship_size_military_16
|
||||
base_buildtime = @titan_build_time
|
||||
can_have_federation_design = yes
|
||||
enable_default_design = yes #if yes, countries will have an auto-generated design at start
|
||||
enable_3dview_in_ship_browser = yes #if yes, ship design will have a 3d view in the ship browser
|
||||
is_designable = yes
|
||||
|
||||
default_behavior = colossus
|
||||
|
||||
prerequisites = { "tech_object_gray_5" }
|
||||
|
||||
combat_disengage_chance = 1.25
|
||||
|
||||
class = shipclass_military
|
||||
construction_type = starbase_shipyard
|
||||
|
||||
required_component_set = "power_core"
|
||||
required_component_set = "ftl_components"
|
||||
required_component_set = "combat_computers"
|
||||
required_component_set = "thruster_components"
|
||||
required_component_set = "sensor_components"
|
||||
required_component_set = "science_cloaking_components"
|
||||
required_component_set = "ship_aura_components"
|
||||
|
||||
resources = {
|
||||
category = ships
|
||||
upkeep = {
|
||||
energy = @battleship_upkeep_energy
|
||||
alloys = @battleship_upkeep_alloys
|
||||
}
|
||||
}
|
||||
|
||||
min_upgrade_cost = {
|
||||
alloys = 8
|
||||
}
|
||||
}
|
||||
|
||||
RG_graygoo_capitalship = {
|
||||
graphical_culture = no
|
||||
entity = "grey_tempesttw_juggernaut_entity"
|
||||
max_speed = 100
|
||||
acceleration = 0.2
|
||||
rotation_speed = 0.15
|
||||
collision_radius = 5
|
||||
modifier = {
|
||||
ship_evasion_add = 100
|
||||
ship_armor_add = 128000
|
||||
ship_shield_add = 128000
|
||||
ship_weapon_damage = 2
|
||||
ship_cloaking_detection_add = 5
|
||||
}
|
||||
ship_modifier = {
|
||||
ship_disengage_chance_reduction = 8
|
||||
ships_upkeep_mult = -1
|
||||
ship_shield_hardening_add = 2
|
||||
ship_armor_hardening_add = 2
|
||||
}
|
||||
max_hitpoints = 128000
|
||||
size_multiplier = 32
|
||||
fleet_slot_size = 32
|
||||
section_slots = {
|
||||
"core" = { locator = "part1" }
|
||||
"behind" = { locator = "part2" }
|
||||
}
|
||||
num_target_locators = 16
|
||||
is_space_station = no
|
||||
icon = ship_size_military_16
|
||||
base_buildtime = @titan_build_time
|
||||
can_have_federation_design = yes
|
||||
enable_default_design = no #if yes, countries will have an auto-generated design at start
|
||||
enable_3dview_in_ship_browser = yes #if yes, ship design will have a 3d view in the ship browser
|
||||
is_designable = yes
|
||||
|
||||
default_behavior = colossus
|
||||
|
||||
combat_disengage_chance = 1.25
|
||||
|
||||
class = shipclass_military
|
||||
construction_type = starbase_shipyard
|
||||
combat_size_multiplier = 4
|
||||
|
||||
prerequisites = { "tech_object_gray_6" }
|
||||
|
||||
required_component_set = "power_core"
|
||||
required_component_set = "ftl_components"
|
||||
required_component_set = "combat_computers"
|
||||
required_component_set = "thruster_components"
|
||||
required_component_set = "sensor_components"
|
||||
required_component_set = "science_cloaking_components"
|
||||
required_component_set = "ship_aura_components"
|
||||
required_component_set = "ship_aura_components"
|
||||
required_component_set = "ship_aura_components"
|
||||
|
||||
resources = {
|
||||
category = ships
|
||||
upkeep = {
|
||||
energy = @battleship_upkeep_energy
|
||||
alloys = @battleship_upkeep_alloys
|
||||
}
|
||||
}
|
||||
|
||||
min_upgrade_cost = {
|
||||
alloys = 8
|
||||
}
|
||||
}
|
||||
|
||||
RG_armed_constructor_ship = {
|
||||
max_speed = 150
|
||||
acceleration = 0.1
|
||||
rotation_speed = 0.2
|
||||
max_hitpoints = 20000
|
||||
entity = "grey_tempesttw_constructor_entity"
|
||||
modifier = {
|
||||
ship_evasion_add = 10
|
||||
ship_armor_add = 12800
|
||||
ship_shield_add = 12800
|
||||
}
|
||||
ship_modifier = {
|
||||
ship_hyperlane_range_add = 3
|
||||
ship_piracy_suppression_add = 100
|
||||
ships_upkeep_mult = -1.0
|
||||
ship_shield_hardening_add = 1
|
||||
ship_armor_hardening_add = 1
|
||||
}
|
||||
size_multiplier = 1
|
||||
fleet_slot_size = 1
|
||||
section_slots = { "mid" = { locator = "part1" } }
|
||||
num_target_locators = 2
|
||||
is_space_station = no
|
||||
|
||||
combat_disengage_chance = 2.0
|
||||
|
||||
enable_default_design = no #if yes, countries will have an auto-generated design at start
|
||||
components_add_to_cost = no
|
||||
is_designable = no
|
||||
is_civilian = yes
|
||||
class = shipclass_constructor
|
||||
icon = ship_size_constructor
|
||||
valid_target_aggressive_stance = no
|
||||
|
||||
required_component_set = "power_core"
|
||||
required_component_set = "ftl_components"
|
||||
required_component_set = "thruster_components"
|
||||
required_component_set = "sensor_components"
|
||||
required_component_set = "combat_computers"
|
||||
required_component_set = "science_cloaking_components"
|
||||
}
|
||||
|
||||
RG_armed_science_ship = {
|
||||
max_speed = 200
|
||||
acceleration = 0.35
|
||||
rotation_speed = 0.2
|
||||
max_hitpoints = 12000
|
||||
entity = "grey_tempesttw_science_entity"
|
||||
modifier = {
|
||||
ship_evasion_add = 100
|
||||
ship_armor_add = 12000
|
||||
ship_shield_add = 12000
|
||||
}
|
||||
ship_modifier = {
|
||||
ship_hyperlane_range_add = 3
|
||||
ship_piracy_suppression_add = 100
|
||||
ships_upkeep_mult = -1
|
||||
ship_shield_hardening_add = 1
|
||||
ship_armor_hardening_add = 1
|
||||
}
|
||||
size_multiplier = 1
|
||||
fleet_slot_size = 1
|
||||
section_slots = { "mid" = { locator = "part1" } }
|
||||
num_target_locators = 2
|
||||
is_space_station = no
|
||||
|
||||
combat_size_multiplier = 1
|
||||
|
||||
combat_disengage_chance = 2.0
|
||||
|
||||
enable_default_design = no #if yes, countries will have an auto-generated design at start
|
||||
components_add_to_cost = no
|
||||
is_designable = no
|
||||
is_civilian = yes
|
||||
class = shipclass_science_ship
|
||||
valid_target_aggressive_stance = no
|
||||
|
||||
required_component_set = "power_core"
|
||||
required_component_set = "ftl_components"
|
||||
required_component_set = "thruster_components"
|
||||
required_component_set = "sensor_components"
|
||||
required_component_set = "combat_computers"
|
||||
required_component_set = "science_cloaking_components"
|
||||
required_component_set = "ship_aura_components"
|
||||
}
|
||||
|
||||
# Gray Goo Interdictor
|
||||
RG_graygoo_interdictor = {
|
||||
graphical_culture = no
|
||||
entity = "gatebuilder_01_cruiser_entity"
|
||||
max_speed = 150
|
||||
acceleration = 0.25
|
||||
rotation_speed = 0.175
|
||||
collision_radius = 4
|
||||
modifier = {
|
||||
ship_evasion_add = 20
|
||||
ships_upkeep_mult = -1
|
||||
ship_piracy_suppression_add = 4
|
||||
ship_armor_add = 2800
|
||||
ship_shield_add = 2800
|
||||
}
|
||||
max_hitpoints = 5000
|
||||
size_multiplier = 8
|
||||
fleet_slot_size = 4
|
||||
section_slots = { "mid" = { locator = "part1" } }
|
||||
num_target_locators = 4
|
||||
is_space_station = no
|
||||
icon = ship_size_military_4
|
||||
base_buildtime = @battleship_build_time
|
||||
can_have_federation_design = yes
|
||||
enable_default_design = yes #if yes, countries will have an auto-generated design at start
|
||||
enable_3dview_in_ship_browser = yes #if yes, ship design will have a 3d view in the ship browser
|
||||
is_designable = yes
|
||||
|
||||
default_behavior = line
|
||||
|
||||
prerequisites = { "tech_gray_interdictor_4" }
|
||||
|
||||
combat_disengage_chance = 1.25
|
||||
|
||||
class = shipclass_military
|
||||
construction_type = starbase_shipyard
|
||||
|
||||
required_component_set = "power_core"
|
||||
required_component_set = "ftl_components"
|
||||
required_component_set = "combat_computers"
|
||||
required_component_set = "thruster_components"
|
||||
required_component_set = "sensor_components"
|
||||
|
||||
resources = {
|
||||
category = ships
|
||||
upkeep = {
|
||||
energy = @battleship_upkeep_energy
|
||||
alloys = @battleship_upkeep_alloys
|
||||
}
|
||||
}
|
||||
|
||||
min_upgrade_cost = {
|
||||
alloys = 8
|
||||
}
|
||||
}
|
||||
|
||||
# Gray Goo Icebreaker
|
||||
RG_graygoo_icebreaker_interdictor = {
|
||||
graphical_culture = no
|
||||
entity = "gatebuilder_01_cruiser_entity"
|
||||
max_speed = 200
|
||||
acceleration = 0.25
|
||||
rotation_speed = 0.175
|
||||
collision_radius = 4
|
||||
modifier = {
|
||||
ship_evasion_add = 20
|
||||
ships_upkeep_mult = -1
|
||||
ship_piracy_suppression_add = 4
|
||||
ship_armor_add = 4800
|
||||
ship_shield_add = 4800
|
||||
}
|
||||
max_hitpoints = 10000
|
||||
size_multiplier = 8
|
||||
fleet_slot_size = 4
|
||||
section_slots = { "mid" = { locator = "part1" } }
|
||||
num_target_locators = 4
|
||||
is_space_station = no
|
||||
icon = ship_size_military_4
|
||||
base_buildtime = @battleship_build_time
|
||||
can_have_federation_design = yes
|
||||
enable_default_design = yes #if yes, countries will have an auto-generated design at start
|
||||
enable_3dview_in_ship_browser = yes #if yes, ship design will have a 3d view in the ship browser
|
||||
is_designable = yes
|
||||
|
||||
default_behavior = colossus
|
||||
|
||||
prerequisites = { "tech_gray_buffnut_6" }
|
||||
|
||||
combat_disengage_chance = 1.25
|
||||
|
||||
class = shipclass_military
|
||||
construction_type = starbase_shipyard
|
||||
|
||||
required_component_set = "power_core"
|
||||
required_component_set = "ftl_components"
|
||||
required_component_set = "combat_computers"
|
||||
required_component_set = "thruster_components"
|
||||
required_component_set = "sensor_components"
|
||||
required_component_set = "science_cloaking_components"
|
||||
|
||||
resources = {
|
||||
category = ships
|
||||
upkeep = {
|
||||
energy = @battleship_upkeep_energy
|
||||
alloys = @battleship_upkeep_alloys
|
||||
}
|
||||
}
|
||||
|
||||
min_upgrade_cost = {
|
||||
alloys = 8
|
||||
}
|
||||
}
|
||||
|
||||
# Gray Goo Arsenal
|
||||
RG_graygoo_Arsenal = {
|
||||
graphical_culture = no
|
||||
entity = "gatebuilder_01_cruiser_entity"
|
||||
max_speed = 150
|
||||
acceleration = 0.25
|
||||
rotation_speed = 0.175
|
||||
collision_radius = 4
|
||||
modifier = {
|
||||
ship_evasion_add = 20
|
||||
ships_upkeep_mult = -1
|
||||
ship_piracy_suppression_add = 4
|
||||
ship_armor_add = 2800
|
||||
ship_shield_add = 2800
|
||||
}
|
||||
max_hitpoints = 5000
|
||||
size_multiplier = 8
|
||||
fleet_slot_size = 4
|
||||
section_slots = { "mid" = { locator = "part1" } }
|
||||
num_target_locators = 64
|
||||
is_space_station = no
|
||||
icon = ship_size_military_4
|
||||
base_buildtime = @battleship_build_time
|
||||
can_have_federation_design = yes
|
||||
enable_default_design = yes #if yes, countries will have an auto-generated design at start
|
||||
enable_3dview_in_ship_browser = yes #if yes, ship design will have a 3d view in the ship browser
|
||||
is_designable = yes
|
||||
|
||||
default_behavior = line
|
||||
|
||||
prerequisites = { "tech_gray_matter_spray_5" }
|
||||
|
||||
combat_disengage_chance = 1.25
|
||||
|
||||
class = shipclass_military
|
||||
construction_type = starbase_shipyard
|
||||
|
||||
required_component_set = "power_core"
|
||||
required_component_set = "ftl_components"
|
||||
required_component_set = "combat_computers"
|
||||
required_component_set = "thruster_components"
|
||||
required_component_set = "sensor_components"
|
||||
|
||||
resources = {
|
||||
category = ships
|
||||
upkeep = {
|
||||
energy = @battleship_upkeep_energy
|
||||
alloys = @battleship_upkeep_alloys
|
||||
}
|
||||
}
|
||||
|
||||
min_upgrade_cost = {
|
||||
alloys = 8
|
||||
}
|
||||
}
|
||||
|
||||
RG_graygoo_Buff = {
|
||||
graphical_culture = no
|
||||
entity = "gatebuilder_01_cruiser_entity"
|
||||
max_speed = 100
|
||||
acceleration = 0.25
|
||||
rotation_speed = 0.175
|
||||
collision_radius = 4
|
||||
modifier = {
|
||||
ship_evasion_add = 20
|
||||
ships_upkeep_mult = -1
|
||||
ship_piracy_suppression_add = 4
|
||||
ship_armor_add = 12800
|
||||
ship_shield_add = 12800
|
||||
}
|
||||
max_hitpoints = 20000
|
||||
size_multiplier = 8
|
||||
fleet_slot_size = 4
|
||||
section_slots = { "mid" = { locator = "part1" } }
|
||||
num_target_locators = 4
|
||||
is_space_station = no
|
||||
icon = ship_size_military_4
|
||||
base_buildtime = @battleship_build_time
|
||||
can_have_federation_design = yes
|
||||
enable_default_design = yes #if yes, countries will have an auto-generated design at start
|
||||
enable_3dview_in_ship_browser = yes #if yes, ship design will have a 3d view in the ship browser
|
||||
is_designable = yes
|
||||
|
||||
default_behavior = colossus
|
||||
|
||||
prerequisites = { "tech_gray_buffnut_6" }
|
||||
|
||||
combat_disengage_chance = 1.25
|
||||
|
||||
class = shipclass_military
|
||||
construction_type = starbase_shipyard
|
||||
|
||||
required_component_set = "power_core"
|
||||
required_component_set = "ftl_components"
|
||||
required_component_set = "combat_computers"
|
||||
required_component_set = "thruster_components"
|
||||
required_component_set = "sensor_components"
|
||||
required_component_set = "ship_aura_components"
|
||||
required_component_set = "science_cloaking_components"
|
||||
|
||||
resources = {
|
||||
category = ships
|
||||
upkeep = {
|
||||
energy = @battleship_upkeep_energy
|
||||
alloys = @battleship_upkeep_alloys
|
||||
}
|
||||
}
|
||||
|
||||
min_upgrade_cost = {
|
||||
alloys = 8
|
||||
}
|
||||
}
|
||||
|
||||
RG_gray_juggernaut = {
|
||||
max_speed = 100
|
||||
entity = "grey_tempesttw_juggernaut_entity"
|
||||
acceleration = 0.2
|
||||
rotation_speed = 0.15
|
||||
collision_radius = @juggernaut_collision_radius
|
||||
modifier = {
|
||||
ship_evasion_add = 100
|
||||
ship_armor_add = 108000
|
||||
ship_shield_add = 108000
|
||||
ship_weapon_damage = 2
|
||||
starbase_shipyard_capacity_add = 12
|
||||
ship_cloaking_detection_add = 5
|
||||
}
|
||||
ship_modifier = {
|
||||
ship_disengage_chance_reduction = 8
|
||||
ships_upkeep_mult = -1
|
||||
ship_shield_hardening_add = 2
|
||||
ship_armor_hardening_add = 2
|
||||
}
|
||||
max_hitpoints = 108000
|
||||
|
||||
base_buildtime = @juggernaut_build_time
|
||||
|
||||
combat_size_multiplier = 5
|
||||
size_multiplier = 32
|
||||
fleet_slot_size = 32
|
||||
section_slots = {
|
||||
"core" = { locator = "part1" }
|
||||
"behind" = { locator = "part2" }
|
||||
}
|
||||
|
||||
num_target_locators = 16
|
||||
can_have_federation_design = no
|
||||
enable_default_design = no #if yes, countries will have an auto-generated design at start
|
||||
enable_3dview_in_ship_browser = yes #if yes, ship design will have a 3d view in the ship browser
|
||||
icon_frame = 7 #probably unused, but mobile starbases are special
|
||||
icon = ship_size_military_64
|
||||
ship_class_icon_frame = 35
|
||||
|
||||
default_behavior = colossus
|
||||
|
||||
is_designable = yes
|
||||
prerequisites = { "tech_object_gray_6" }
|
||||
|
||||
class = shipclass_starbase
|
||||
construction_type = starbase_shipyard
|
||||
|
||||
required_component_set = "power_core"
|
||||
required_component_set = "sensor_components"
|
||||
required_component_set = "combat_computers"
|
||||
required_component_set = "ftl_components"
|
||||
required_component_set = "thruster_components"
|
||||
required_component_set = "science_cloaking_components"
|
||||
required_component_set = "ship_aura_components"
|
||||
required_component_set = "ship_aura_components"
|
||||
required_component_set = "ship_aura_components"
|
||||
required_component_set = "ship_aura_components"
|
||||
|
||||
}
|
||||
|
||||
# armed Transport
|
||||
RG_armed_transport_ship = {
|
||||
max_speed = 150
|
||||
acceleration = 0.1
|
||||
rotation_speed = 0.2
|
||||
max_hitpoints = 20000
|
||||
entity = "grey_tempesttw_colonizer_entity"
|
||||
modifier = {
|
||||
ship_evasion_add = 10
|
||||
ship_armor_add = 12800
|
||||
ship_shield_add = 12800
|
||||
}
|
||||
ship_modifier = {
|
||||
ship_hyperlane_range_add = 3
|
||||
ship_piracy_suppression_add = 100
|
||||
ships_upkeep_mult = -1.0
|
||||
ship_shield_hardening_add = 1
|
||||
ship_armor_hardening_add = 1
|
||||
}
|
||||
size_multiplier = 1
|
||||
fleet_slot_size = 1
|
||||
section_slots = { "mid" = { locator = "part1" } }
|
||||
num_target_locators = 2
|
||||
is_space_station = no
|
||||
icon = ship_size_transport
|
||||
is_designable = no
|
||||
class = shipclass_transport
|
||||
required_component_set = "power_core"
|
||||
required_component_set = "ftl_components"
|
||||
required_component_set = "sensor_components"
|
||||
required_component_set = "thruster_components"
|
||||
required_component_set = "combat_computers"
|
||||
required_component_set = "science_cloaking_components"
|
||||
|
||||
components_add_to_cost = no
|
||||
resources = {
|
||||
category = ships
|
||||
cost = {
|
||||
food = @salvagecostmedium
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
RG_orbital_ring_tier_1 = {
|
||||
max_speed = 0.0
|
||||
acceleration = 0.0
|
||||
rotation_speed = 0.0
|
||||
modifier = {
|
||||
ship_evasion_mult = -1
|
||||
ship_armor_add = 125000
|
||||
ship_shield_add = 125000
|
||||
starbase_defense_platform_capacity_add = 12
|
||||
starbase_module_capacity_add = 12
|
||||
starbase_building_capacity_add = 12
|
||||
starbase_shipyard_capacity_add = 12
|
||||
ship_cloaking_detection_add = 5
|
||||
}
|
||||
ship_modifier = {
|
||||
ship_fire_rate_mult = 1.0
|
||||
ship_weapon_range_mult = 1.0
|
||||
}
|
||||
max_hitpoints = 125000
|
||||
base_buildtime = 720
|
||||
resources = {
|
||||
category = starbase_stations
|
||||
cost = {
|
||||
alloys = 1000
|
||||
influence = 50
|
||||
}
|
||||
upkeep = {
|
||||
energy = 2
|
||||
}
|
||||
}
|
||||
|
||||
combat_size_multiplier = 5
|
||||
size_multiplier = 4
|
||||
fleet_slot_size = 2
|
||||
section_slots = {
|
||||
"core" = { locator = "part1" }
|
||||
"1" = { locator = "part2" }
|
||||
"2" = { locator = "part3" }
|
||||
}
|
||||
|
||||
potential_construction = {
|
||||
# This is build through a megastructure
|
||||
always = no
|
||||
}
|
||||
|
||||
possible_construction = {
|
||||
always = no
|
||||
}
|
||||
|
||||
is_designable = yes
|
||||
num_target_locators = 0
|
||||
is_space_station = no
|
||||
can_have_federation_design = no
|
||||
is_civilian = no
|
||||
components_add_to_cost = no
|
||||
can_disable = yes
|
||||
flip_control_on_disable = yes
|
||||
|
||||
enable_default_design = yes #if yes, countries will have an auto-generated design at start
|
||||
prerequisites = { "tech_object_gray_6" }
|
||||
class = shipclass_starbase
|
||||
|
||||
required_component_set = "power_core"
|
||||
required_component_set = "sensor_components"
|
||||
required_component_set = "combat_computers"
|
||||
required_component_set = "science_cloaking_components"
|
||||
required_component_set = "ship_aura_components"
|
||||
|
||||
build_block_radius = @build_block_orbital_ring
|
||||
formation_priority = @orbital_ring_formation_priority
|
||||
icon_frame = 7
|
||||
scales_with_planet = yes
|
||||
graphical_culture = yes
|
||||
}
|
||||
183
common/ship_sizes/z_RG_graygoo_ships.txt
Normal file
183
common/ship_sizes/z_RG_graygoo_ships.txt
Normal file
@@ -0,0 +1,183 @@
|
||||
@salvagecostsmall = 100
|
||||
@salvagecostmedium = 250
|
||||
@salvagecostlarge = 500
|
||||
@salvagecostsmallrare = 25
|
||||
@salvagecostmediumrare = 50
|
||||
@salvagecostlargerare = 100
|
||||
|
||||
# Gray Goo Mothership
|
||||
graygoo_mothership = {
|
||||
graphical_culture = no
|
||||
entity = "gatebuilder_01_mothership_entity"
|
||||
max_speed = 100
|
||||
acceleration = 0.2
|
||||
rotation_speed = 0.15
|
||||
collision_radius = 5
|
||||
modifier = {
|
||||
ship_evasion_add = 50
|
||||
ship_armor_add = 25600
|
||||
ship_shield_add = 25600
|
||||
}
|
||||
ship_modifier = {
|
||||
ship_disengage_chance_reduction = 8
|
||||
ships_upkeep_mult = -1
|
||||
ship_shield_hardening_add = 1
|
||||
ship_armor_hardening_add = 1
|
||||
}
|
||||
max_hitpoints = 25600
|
||||
size_multiplier = 16
|
||||
fleet_slot_size = 16
|
||||
section_slots = { "mid" = { locator = "part1" } }
|
||||
num_target_locators = 12
|
||||
is_space_station = no
|
||||
icon = ship_size_military_16
|
||||
class = shipclass_military
|
||||
|
||||
is_designable = no
|
||||
|
||||
required_component_set = "power_core"
|
||||
required_component_set = "ftl_components"
|
||||
required_component_set = "combat_computers"
|
||||
required_component_set = "thruster_components"
|
||||
required_component_set = "sensor_components"
|
||||
required_component_set = "ship_aura_components"
|
||||
|
||||
components_add_to_cost = no
|
||||
resources = {
|
||||
category = ships
|
||||
cost = {
|
||||
nanites = @salvagecostlargerare
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Gray Goo Interdictor
|
||||
graygoo_interdictor = {
|
||||
graphical_culture = no
|
||||
entity = gatebuilder_01_cruiser_entity
|
||||
max_speed = 150
|
||||
acceleration = 0.25
|
||||
rotation_speed = 0.175
|
||||
collision_radius = 4
|
||||
modifier = {
|
||||
ship_evasion_add = 20
|
||||
ships_upkeep_mult = -1
|
||||
ship_piracy_suppression_add = 4
|
||||
ship_armor_add = 2800
|
||||
ship_shield_add = 2800
|
||||
}
|
||||
max_hitpoints = 5000
|
||||
size_multiplier = 8
|
||||
fleet_slot_size = 4
|
||||
section_slots = { "mid" = { locator = "part1" } }
|
||||
num_target_locators = 4
|
||||
is_space_station = no
|
||||
icon = ship_size_military_4
|
||||
class = shipclass_military
|
||||
|
||||
is_designable = no
|
||||
|
||||
required_component_set = "power_core"
|
||||
required_component_set = "ftl_components"
|
||||
required_component_set = "combat_computers"
|
||||
required_component_set = "thruster_components"
|
||||
required_component_set = "sensor_components"
|
||||
|
||||
components_add_to_cost = no
|
||||
resources = {
|
||||
category = ships
|
||||
cost = {
|
||||
nanites = @salvagecostmediumrare
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Nanite Factory
|
||||
graygoo_factory = {
|
||||
graphical_culture = no
|
||||
entity = gatebuilder_01_space_station_entity
|
||||
max_speed = 0.0
|
||||
acceleration = 0.0
|
||||
rotation_speed = 0.0
|
||||
modifier = {
|
||||
ship_cloaking_detection_add = 5
|
||||
ship_evasion_add = 50
|
||||
ship_armor_add = 1024000
|
||||
ship_shield_add = 1024000
|
||||
}
|
||||
ship_modifier = {
|
||||
ship_shield_hardening_add = 5
|
||||
ship_armor_hardening_add = 5
|
||||
ship_armor_regen_add = 10240
|
||||
ship_hull_regen_add = 5120
|
||||
}
|
||||
max_hitpoints = 2048000
|
||||
size_multiplier = 32
|
||||
fleet_slot_size = 4
|
||||
section_slots = { "mid" = { locator = "part1" } }
|
||||
num_target_locators = 0
|
||||
is_space_station = yes
|
||||
build_block_radius = @build_block_radius_civilian
|
||||
|
||||
class = shipclass_military_station
|
||||
is_designable = no
|
||||
icon = ship_size_military_station
|
||||
|
||||
required_component_set = "combat_computers"
|
||||
required_component_set = "sensor_components"
|
||||
|
||||
components_add_to_cost = no
|
||||
resources = {
|
||||
category = ships
|
||||
cost = {
|
||||
nanites = @salvagecostlargerare
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Baby Drake
|
||||
nanite_space_dragon_baby = {
|
||||
is_space_object = yes
|
||||
#graphical_culture = { "guardian_01" }
|
||||
graphical_culture = no
|
||||
can_be_inspected = no
|
||||
max_speed = 200
|
||||
acceleration = 0.8
|
||||
rotation_speed = 0.8
|
||||
collision_radius = 7
|
||||
modifier = {
|
||||
ship_evasion_add = 100
|
||||
ship_armor_add = 128000
|
||||
ship_shield_add = 128000
|
||||
ship_weapon_damage = 2
|
||||
}
|
||||
ship_modifier = {
|
||||
ship_disengage_chance_reduction = 8
|
||||
ships_upkeep_mult = -1
|
||||
ship_shield_hardening_add = 2
|
||||
ship_armor_hardening_add = 2
|
||||
}
|
||||
max_hitpoints = 128000
|
||||
size_multiplier = 16
|
||||
fleet_slot_size = 16
|
||||
section_slots = { "mid" = { locator = "part1" } }
|
||||
num_target_locators = 16
|
||||
is_space_station = no
|
||||
icon = ship_size_space_monster
|
||||
|
||||
class = shipclass_military
|
||||
is_designable = no
|
||||
required_component_set = "ftl_components"
|
||||
required_component_set = "sensor_components"
|
||||
required_component_set = "thruster_components"
|
||||
required_component_set = "combat_computers"
|
||||
|
||||
components_add_to_cost = no
|
||||
resources = {
|
||||
category = ships
|
||||
cost = {
|
||||
alloys = @salvagecostmedium
|
||||
nanites = @salvagecostmediumrare
|
||||
}
|
||||
}
|
||||
}
|
||||
820
common/solar_system_initializers/RG_initializers.txt
Normal file
820
common/solar_system_initializers/RG_initializers.txt
Normal file
@@ -0,0 +1,820 @@
|
||||
# REGULAR START
|
||||
|
||||
# Terminal Egress
|
||||
rg_cluster_init_01 = {
|
||||
class = "sc_black_hole"
|
||||
name = "NAME_Final_Egress"
|
||||
|
||||
usage = misc_system_init
|
||||
usage_odds = 0
|
||||
|
||||
asteroid_belt = {
|
||||
type = rocky_asteroid_belt
|
||||
radius = 190
|
||||
}
|
||||
|
||||
flags = { lcluster lcluster1 lcluster_lgate }
|
||||
|
||||
planet = {
|
||||
name = "NAME_Final_Egress"
|
||||
class = "pc_black_hole"
|
||||
orbit_distance = 0
|
||||
orbit_angle = 1
|
||||
size = 30
|
||||
has_ring = no
|
||||
}
|
||||
|
||||
change_orbit = 45
|
||||
|
||||
planet = {
|
||||
name = "NAME_Sel-Ufaan"
|
||||
class = "pc_shattered"
|
||||
orbit_distance = 40
|
||||
orbit_angle = 15
|
||||
size = 10
|
||||
has_ring = no
|
||||
}
|
||||
|
||||
planet = {
|
||||
name = "NAME_Ten-Aard-Shel"
|
||||
class = "pc_gray_goo"
|
||||
orbit_distance = 25
|
||||
orbit_angle = 125
|
||||
size = 20
|
||||
has_ring = no
|
||||
}
|
||||
|
||||
planet = {
|
||||
name = "NAME_Diim-Fu-Rem"
|
||||
class = "pc_shattered"
|
||||
orbit_distance = 25
|
||||
orbit_angle = 120
|
||||
size = 16
|
||||
starting_planet = yes
|
||||
has_ring = no
|
||||
deposit_blockers = none
|
||||
modifiers = none
|
||||
flags = { planet_earth }
|
||||
|
||||
init_effect = {
|
||||
prevent_anomaly = yes
|
||||
}
|
||||
|
||||
moon = {
|
||||
name = "NAME_Dora-Fu-Rem"
|
||||
class = "pc_broken"
|
||||
size = { min = 8 max = 22 }
|
||||
orbit_distance = 12
|
||||
orbit_angle = 40
|
||||
has_ring = no
|
||||
entity = "cold_barren_planet_luna_entity"
|
||||
}
|
||||
}
|
||||
|
||||
planet = {
|
||||
name = "NAME_Naal-Di-Kor"
|
||||
class = "pc_shattered"
|
||||
orbit_distance = 25
|
||||
orbit_angle = 60
|
||||
size = 13
|
||||
has_ring = no
|
||||
}
|
||||
|
||||
planet = {
|
||||
name = "NAME_Tao-Enar-Vi"
|
||||
class = "pc_asteroid"
|
||||
orbit_distance = 30
|
||||
orbit_angle = -210
|
||||
size = 5
|
||||
has_ring = no
|
||||
}
|
||||
|
||||
planet = {
|
||||
name = "NAME_Tao-Fun-Vi"
|
||||
class = "pc_asteroid"
|
||||
orbit_distance = 0
|
||||
orbit_angle = -95
|
||||
size = 5
|
||||
has_ring = no
|
||||
}
|
||||
|
||||
planet = {
|
||||
name = "NAME_Tao-Arl-Vi"
|
||||
class = "pc_asteroid"
|
||||
orbit_distance = 0
|
||||
orbit_angle = 285
|
||||
size = 5
|
||||
has_ring = no
|
||||
}
|
||||
|
||||
planet = {
|
||||
name = "NAME_Tao-Got-Vi"
|
||||
class = "pc_asteroid"
|
||||
orbit_distance = 0
|
||||
orbit_angle = -80
|
||||
size = 5
|
||||
has_ring = no
|
||||
}
|
||||
|
||||
planet = {
|
||||
name = "NAME_Gol-Unda-Fiir"
|
||||
class = "pc_gas_giant"
|
||||
orbit_distance = 40
|
||||
orbit_angle = -160
|
||||
size = 35
|
||||
has_ring = no
|
||||
change_orbit = 6
|
||||
|
||||
moon = {
|
||||
name = "NAME_Dora-Enar-Fiir"
|
||||
class = "pc_barren_cold"
|
||||
size = { min = 8 max = 22 }
|
||||
orbit_distance = 10
|
||||
orbit_angle = 110
|
||||
has_ring = no
|
||||
}
|
||||
moon = {
|
||||
name = "NAME_Dora-Fun-Fiir"
|
||||
class = "pc_shattered"
|
||||
size = { min = 8 max = 22 }
|
||||
orbit_distance = 4
|
||||
orbit_angle = 100
|
||||
has_ring = no
|
||||
}
|
||||
moon = {
|
||||
name = "NAME_Dora-Arl-Fiir"
|
||||
class = "pc_frozen"
|
||||
size = { min = 8 max = 22 }
|
||||
orbit_distance = 4
|
||||
orbit_angle = 80
|
||||
has_ring = no
|
||||
}
|
||||
moon = {
|
||||
name = "NAME_Dora-Got-Fiir"
|
||||
class = "pc_gray_goo"
|
||||
size = { min = 8 max = 22 }
|
||||
orbit_distance = 4
|
||||
orbit_angle = -155
|
||||
has_ring = no
|
||||
}
|
||||
}
|
||||
|
||||
planet = {
|
||||
name = "NAME_Gol-Umn-Toor"
|
||||
class = "pc_gas_giant"
|
||||
orbit_distance = 25
|
||||
orbit_angle = 170
|
||||
size = 30
|
||||
has_ring = yes
|
||||
entity = "gas_giant_05_entity"
|
||||
change_orbit = 7
|
||||
|
||||
moon = {
|
||||
name = "NAME_Dora-Enar-Toor"
|
||||
class = "pc_gray_goo"
|
||||
size = { min = 8 max = 22 }
|
||||
orbit_distance = 12
|
||||
orbit_angle = 320
|
||||
has_ring = no
|
||||
}
|
||||
}
|
||||
|
||||
planet = {
|
||||
name = "NAME_Gol-Salm-Ri"
|
||||
class = "pc_gas_giant"
|
||||
orbit_distance = 25
|
||||
orbit_angle = 125
|
||||
size = 20
|
||||
has_ring = no
|
||||
entity = "gas_giant_03_entity"
|
||||
}
|
||||
|
||||
planet = {
|
||||
name = "NAME_Gol-Mel-Rood"
|
||||
class = "pc_gas_giant"
|
||||
orbit_distance = 25
|
||||
orbit_angle = -195
|
||||
size = 20
|
||||
has_ring = no
|
||||
entity = "gas_giant_02_entity"
|
||||
change_orbit = 4
|
||||
|
||||
moon = {
|
||||
name = "NAME_Dora-Enar-Rood"
|
||||
class = "pc_broken"
|
||||
size = { min = 8 max = 22 }
|
||||
orbit_distance = 7
|
||||
orbit_angle = 115
|
||||
has_ring = no
|
||||
}
|
||||
}
|
||||
|
||||
init_effect = {
|
||||
spawn_megastructure = {
|
||||
type = lgate_base
|
||||
orbit_angle = 225
|
||||
orbit_distance = 360
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
rg_cluster_init_02 = {
|
||||
class = "rl_binary_stars"
|
||||
asteroid_belt = {
|
||||
type = rocky_asteroid_belt
|
||||
radius = 125
|
||||
}
|
||||
asteroid_belt = {
|
||||
type = icy_asteroid_belt
|
||||
radius = 240
|
||||
}
|
||||
|
||||
usage = misc_system_init
|
||||
usage_odds = 0
|
||||
|
||||
flags = { lcluster lcluster2 }
|
||||
|
||||
planet = {
|
||||
count = 1
|
||||
class = star
|
||||
orbit_distance = 25
|
||||
orbit_angle = 1
|
||||
size = { min = 20 max = 30 }
|
||||
has_ring = no
|
||||
}
|
||||
|
||||
planet = {
|
||||
count = 1
|
||||
class = star
|
||||
orbit_distance = 0
|
||||
size = { min = 15 max = 25 }
|
||||
has_ring = no
|
||||
}
|
||||
|
||||
change_orbit = 30
|
||||
|
||||
planet = {
|
||||
class = pc_broken
|
||||
orbit_distance = 20
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = pc_gray_goo
|
||||
orbit_distance = 25
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
change_orbit = 25
|
||||
|
||||
planet = {
|
||||
count = { min = 1 max = 4 }
|
||||
class = pc_asteroid
|
||||
orbit_distance = 0
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = pc_gray_goo
|
||||
orbit_distance = 25
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = pc_gas_giant
|
||||
orbit_distance = 30
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
size = 35
|
||||
|
||||
change_orbit = 11
|
||||
|
||||
moon = {
|
||||
class = pc_broken
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
orbit_distance = 5
|
||||
}
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = pc_shattered
|
||||
orbit_distance = 30
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
change_orbit = 30
|
||||
|
||||
planet = {
|
||||
count = { min = 1 max = 4 }
|
||||
class = pc_ice_asteroid
|
||||
orbit_distance = 0
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
}
|
||||
|
||||
rg_cluster_init_03 = {
|
||||
class = "rl_standard_stars"
|
||||
|
||||
usage = misc_system_init
|
||||
usage_odds = 0
|
||||
|
||||
flags = { lcluster lcluster3 }
|
||||
|
||||
planet = {
|
||||
count = 1
|
||||
class = star
|
||||
orbit_distance = 0
|
||||
orbit_angle = 1
|
||||
size = { min = 20 max = 30 }
|
||||
has_ring = no
|
||||
}
|
||||
|
||||
change_orbit = 70
|
||||
|
||||
planet = {
|
||||
class = pc_shattered
|
||||
orbit_distance = 10
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = pc_broken
|
||||
orbit_distance = 25
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = pc_shattered
|
||||
orbit_distance = 30
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = pc_broken
|
||||
orbit_distance = 25
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = pc_gray_goo
|
||||
orbit_distance = 25
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
planet = {
|
||||
count = { min = 1 max = 2 }
|
||||
orbit_distance = 35
|
||||
class = pc_gas_giant
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
size = 25
|
||||
|
||||
change_orbit = @base_moon_distance
|
||||
|
||||
moon = {
|
||||
count = { min = 1 max = 3 }
|
||||
size = { min = 8 max = 20 }
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
orbit_distance = 6
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
rg_cluster_init_04 = {
|
||||
class = "rl_standard_stars"
|
||||
asteroid_belt = {
|
||||
type = rocky_asteroid_belt
|
||||
radius = 120
|
||||
}
|
||||
|
||||
usage = misc_system_init
|
||||
usage_odds = 0
|
||||
|
||||
flags = { lcluster lcluster4 }
|
||||
|
||||
planet = {
|
||||
count = 1
|
||||
class = star
|
||||
orbit_distance = 0
|
||||
orbit_angle = 1
|
||||
size = { min = 20 max = 30 }
|
||||
has_ring = no
|
||||
}
|
||||
|
||||
change_orbit = 120
|
||||
|
||||
planet = {
|
||||
count = { min = 3 max = 6 }
|
||||
class = pc_asteroid
|
||||
orbit_distance = 0
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
change_orbit = -80
|
||||
|
||||
planet = {
|
||||
class = pc_shattered
|
||||
orbit_distance = 0
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
flags = { start_gatebuilders_mining_station1 }
|
||||
|
||||
init_effect = {
|
||||
set_deposit = d_minerals_5
|
||||
}
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = pc_gray_goo
|
||||
orbit_distance = 25
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
change_orbit = 80
|
||||
|
||||
planet = {
|
||||
class = pc_nuked
|
||||
orbit_distance = 0
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
flags = { start_rg_cluster_gatebuilders ignore_startup_effect rw_spec_empire }
|
||||
|
||||
init_effect = {
|
||||
prevent_anomaly = yes
|
||||
|
||||
add_deposit = d_underwater_vent
|
||||
add_deposit = d_searing_desert
|
||||
add_deposit = d_submerged_ore_veins
|
||||
add_deposit = d_fungal_forest
|
||||
add_deposit = d_fungal_caves
|
||||
add_deposit = d_lichen_fields
|
||||
}
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = pc_broken
|
||||
orbit_distance = 25
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
|
||||
init_effect = {
|
||||
set_deposit = d_minerals_6
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
rg_cluster_init_05 = {
|
||||
class = "sc_trinary_2"
|
||||
flags = { lcluster lcluster5 }
|
||||
|
||||
usage = misc_system_init
|
||||
usage_odds = 0
|
||||
|
||||
asteroid_belt = {
|
||||
type = rocky_asteroid_belt
|
||||
radius = 185
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = star
|
||||
orbit_distance = 60
|
||||
orbit_angle = 90
|
||||
size = 30
|
||||
has_ring = no
|
||||
|
||||
flags = { main_star }
|
||||
}
|
||||
|
||||
planet = {
|
||||
count = 1
|
||||
class = star
|
||||
orbit_distance = 0
|
||||
orbit_angle = 135
|
||||
size = 30
|
||||
has_ring = no
|
||||
}
|
||||
|
||||
planet = {
|
||||
count = 1
|
||||
class = star
|
||||
orbit_distance = 0
|
||||
orbit_angle = 90
|
||||
size = 30
|
||||
has_ring = no
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = "pc_nuked"
|
||||
orbit_distance = 85
|
||||
orbit_angle = 40
|
||||
size = 17
|
||||
has_ring = no
|
||||
}
|
||||
|
||||
change_orbit = 40
|
||||
|
||||
planet = {
|
||||
count = { min = 2 max = 4 }
|
||||
class = pc_asteroid
|
||||
orbit_distance = 0
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = "pc_gas_giant"
|
||||
orbit_distance = 40
|
||||
orbit_angle = 165
|
||||
size = 32
|
||||
has_ring = no
|
||||
|
||||
moon = {
|
||||
class = "pc_gray_goo"
|
||||
size = 20
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
orbit_distance = 20
|
||||
}
|
||||
|
||||
init_effect = {
|
||||
set_deposit = d_exotic_gases_3
|
||||
}
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = "pc_gray_goo"
|
||||
orbit_distance = 45
|
||||
orbit_angle = 165
|
||||
size = 18
|
||||
has_ring = no
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
# EXTRAS
|
||||
rg_cluster_init_01b = {
|
||||
class = "rl_trinary_stars"
|
||||
asteroid_belt = {
|
||||
type = rocky_asteroid_belt
|
||||
radius = 140
|
||||
}
|
||||
|
||||
usage = misc_system_init
|
||||
usage_odds = 0
|
||||
|
||||
flags = { lcluster lcluster1b }
|
||||
|
||||
planet = {
|
||||
count = 1
|
||||
class = star
|
||||
orbit_distance = 25
|
||||
orbit_angle = 0
|
||||
size = { min = 20 max = 30 }
|
||||
has_ring = no
|
||||
}
|
||||
|
||||
planet = {
|
||||
count = 1
|
||||
class = star
|
||||
orbit_distance = { min = 0 max = 20 }
|
||||
orbit_angle = 120
|
||||
size = { min = 25 max = 30 }
|
||||
has_ring = no
|
||||
}
|
||||
|
||||
planet = {
|
||||
count = 1
|
||||
class = star
|
||||
orbit_distance = { min = 0 max = 20 }
|
||||
orbit_angle = 120
|
||||
size = { min = 25 max = 30 }
|
||||
has_ring = no
|
||||
}
|
||||
|
||||
change_orbit = 92
|
||||
|
||||
planet = {
|
||||
count = { min = 3 max = 6 }
|
||||
class = pc_asteroid
|
||||
orbit_distance = 0
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
planet = {
|
||||
count = 1
|
||||
class = pc_asteroid
|
||||
orbit_distance = 0
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
|
||||
init_effect = {
|
||||
set_deposit = d_rare_crystals_2
|
||||
}
|
||||
}
|
||||
|
||||
change_orbit = -60
|
||||
|
||||
planet = {
|
||||
class = pc_gray_goo
|
||||
orbit_distance = 0
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = pc_broken
|
||||
orbit_distance = 25
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
change_orbit = 80
|
||||
|
||||
planet = {
|
||||
class = pc_shattered
|
||||
orbit_distance = 0
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = pc_shattered
|
||||
orbit_distance = 25
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
}
|
||||
|
||||
rg_cluster_init_02b = {
|
||||
class = "rl_standard_stars"
|
||||
asteroid_belt = {
|
||||
type = rocky_asteroid_belt
|
||||
radius = 135
|
||||
}
|
||||
|
||||
usage = misc_system_init
|
||||
usage_odds = 0
|
||||
|
||||
flags = { lcluster lcluster2b }
|
||||
|
||||
planet = {
|
||||
count = 1
|
||||
class = star
|
||||
orbit_distance = 0
|
||||
orbit_angle = 0
|
||||
size = { min = 30 max = 35 }
|
||||
has_ring = no
|
||||
}
|
||||
|
||||
change_orbit = 135
|
||||
|
||||
planet = {
|
||||
count = { min = 3 max = 6 }
|
||||
class = pc_asteroid
|
||||
orbit_distance = 0
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
change_orbit = -80
|
||||
|
||||
planet = {
|
||||
class = pc_gray_goo
|
||||
orbit_distance = 30
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
change_orbit = 90
|
||||
|
||||
planet = {
|
||||
class = pc_shattered
|
||||
orbit_distance = 0
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = pc_broken
|
||||
orbit_distance = 30
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
}
|
||||
|
||||
rg_cluster_init_03b = {
|
||||
class = "rl_standard_stars"
|
||||
asteroid_belt = {
|
||||
type = rocky_asteroid_belt
|
||||
radius = 120
|
||||
}
|
||||
|
||||
usage = misc_system_init
|
||||
usage_odds = 0
|
||||
|
||||
flags = { lcluster lcluster3b }
|
||||
|
||||
planet = {
|
||||
count = 1
|
||||
class = star
|
||||
orbit_distance = 0
|
||||
orbit_angle = 1
|
||||
size = { min = 20 max = 30 }
|
||||
has_ring = no
|
||||
}
|
||||
|
||||
change_orbit = 120
|
||||
|
||||
planet = {
|
||||
count = { min = 3 max = 5 }
|
||||
class = pc_asteroid
|
||||
orbit_distance = 0
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
planet = {
|
||||
count = 1
|
||||
class = pc_asteroid
|
||||
orbit_distance = 0
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
|
||||
init_effect = {
|
||||
set_deposit = d_volatile_motes_2
|
||||
}
|
||||
}
|
||||
|
||||
change_orbit = -70
|
||||
|
||||
planet = {
|
||||
class = pc_shattered
|
||||
orbit_distance = 0
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = pc_broken
|
||||
orbit_distance = 25
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
change_orbit = 70
|
||||
|
||||
planet = {
|
||||
class = pc_gray_goo
|
||||
orbit_distance = 25
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = pc_gas_giant
|
||||
orbit_distance = 25
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = pc_gray_goo
|
||||
orbit_distance = 25
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
}
|
||||
|
||||
rg_cluster_init_04b = {
|
||||
class = "rl_standard_stars"
|
||||
|
||||
usage = misc_system_init
|
||||
usage_odds = 0
|
||||
|
||||
flags = { lcluster lcluster4b }
|
||||
|
||||
planet = {
|
||||
count = 1
|
||||
class = star
|
||||
orbit_distance = 0
|
||||
orbit_angle = 1
|
||||
size = { min = 20 max = 30 }
|
||||
has_ring = no
|
||||
}
|
||||
|
||||
change_orbit = 50
|
||||
|
||||
planet = {
|
||||
class = pc_broken
|
||||
orbit_distance = 0
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = pc_shattered
|
||||
orbit_distance = 25
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = pc_shattered
|
||||
orbit_distance = 25
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = pc_gray_goo
|
||||
orbit_distance = 30
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
|
||||
planet = {
|
||||
class = pc_barren_cold
|
||||
orbit_distance = 25
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
|
||||
change_orbit = @base_moon_distance
|
||||
|
||||
moon = {
|
||||
class = "pc_frozen"
|
||||
orbit_angle = { min = 90 max = 270 }
|
||||
}
|
||||
}
|
||||
}
|
||||
139
common/special_projects/!_RG_projects_distant_stars.txt
Normal file
139
common/special_projects/!_RG_projects_distant_stars.txt
Normal file
@@ -0,0 +1,139 @@
|
||||
# on_fail
|
||||
# this = country (project owner)
|
||||
# from = project creation scope (usually equals location)
|
||||
|
||||
special_project = {
|
||||
key = "RG_LCLUSTER_PROJECT"
|
||||
cost = 0
|
||||
days_to_research = 180
|
||||
tech_department = engineering_technology
|
||||
picture = GFX_evt_surreal_visions
|
||||
icon = "gfx/interface/icons/situation_log/situation_log_planet.dds"
|
||||
|
||||
event_scope = ship_event
|
||||
|
||||
requirements = {
|
||||
shipclass_science_ship = 1
|
||||
leader = scientist
|
||||
#skill = 3
|
||||
}
|
||||
|
||||
on_success = {
|
||||
owner = { country_event = { id = rg_cluster.2 } }
|
||||
}
|
||||
|
||||
on_fail = {
|
||||
}
|
||||
|
||||
on_start = {
|
||||
}
|
||||
|
||||
abort_trigger = {
|
||||
has_global_flag = l_cluster_opened # someone else got to it first
|
||||
}
|
||||
|
||||
AI_wait_days = {
|
||||
base = 0
|
||||
modifier = {
|
||||
mid_game_years_passed < 0
|
||||
subtract = trigger:mid_game_years_passed
|
||||
}
|
||||
mult = 360
|
||||
}
|
||||
}
|
||||
|
||||
special_project = {
|
||||
key = "RG_GRAY_MOD1"
|
||||
# cost = 20000
|
||||
days_to_research = 840
|
||||
tech_department = engineering_technology
|
||||
icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"
|
||||
picture = GFX_evt_planet_beam
|
||||
event_scope = ship_event
|
||||
|
||||
requirements = {
|
||||
shipclass_military = 1
|
||||
leader = admiral
|
||||
has_trait = RG_leader_trait_admiral_gray
|
||||
}
|
||||
|
||||
on_start = {
|
||||
owner = { country_event = { id = rg.9 }}
|
||||
}
|
||||
on_cancel = {
|
||||
owner = { country_event = { id = rg.10 }}
|
||||
}
|
||||
|
||||
on_success = {
|
||||
this = {
|
||||
set_event_locked = no
|
||||
}
|
||||
owner = {
|
||||
country_event = { id = rg.11 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
special_project = {
|
||||
key = "RG_GRAY_MOD2"
|
||||
# cost = 100000
|
||||
days_to_research = 1840
|
||||
tech_department = engineering_technology
|
||||
icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"
|
||||
picture = GFX_evt_planet_beam
|
||||
event_scope = ship_event
|
||||
|
||||
requirements = {
|
||||
shipclass_military = 1
|
||||
leader = admiral
|
||||
has_trait = RG_leader_trait_admiral_gray
|
||||
}
|
||||
|
||||
on_start = {
|
||||
owner = { country_event = { id = rg.9 }}
|
||||
}
|
||||
on_cancel = {
|
||||
country_event = { id = rg.13 }
|
||||
}
|
||||
|
||||
on_success = {
|
||||
fleet = {
|
||||
set_event_locked = no
|
||||
}
|
||||
owner = {
|
||||
country_event = { id = rg.12 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
special_project = {
|
||||
key = "RG_GRAY_MOD3"
|
||||
cost = 200000
|
||||
# days_to_research = 1840
|
||||
tech_department = engineering_technology
|
||||
icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"
|
||||
picture = GFX_evt_planet_beam
|
||||
event_scope = ship_event
|
||||
|
||||
requirements = {
|
||||
shipclass_military = 1
|
||||
leader = admiral
|
||||
has_trait = RG_leader_trait_admiral_gray
|
||||
}
|
||||
|
||||
on_start = {
|
||||
owner = { country_event = { id = rg.9 }}
|
||||
}
|
||||
on_cancel = {
|
||||
country_event = { id = rg.14 }
|
||||
}
|
||||
|
||||
on_success = {
|
||||
fleet = {
|
||||
set_event_locked = no
|
||||
}
|
||||
owner = {
|
||||
country_event = { id = rg.15 }
|
||||
}
|
||||
}
|
||||
}
|
||||
30
common/special_projects/RG_story_special_projects.txt
Normal file
30
common/special_projects/RG_story_special_projects.txt
Normal file
@@ -0,0 +1,30 @@
|
||||
special_project = {
|
||||
key = "RG_FAKE_DRAGON_SCAN_PROJECT"
|
||||
#cost = 2000
|
||||
days_to_research = 300
|
||||
#tech_department = society_research
|
||||
icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds"
|
||||
picture = GFX_evt_space_dragon
|
||||
event_scope = ship_event
|
||||
|
||||
requirements = {
|
||||
shipclass_science_ship = 1
|
||||
leader = scientist
|
||||
}
|
||||
|
||||
on_start = {
|
||||
owner = { country_event = { id = rg_story.13 } }
|
||||
}
|
||||
on_cancel = {
|
||||
owner = { country_event = { id = rg_story.14 } }
|
||||
}
|
||||
|
||||
on_success = {
|
||||
this = {
|
||||
set_event_locked = no
|
||||
}
|
||||
owner = {
|
||||
country_event = { id = rg_story.15 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
# L-Cluster Origin
|
||||
part = {
|
||||
location = 0
|
||||
localization = "START_SCREEN_RG_GRAY_ORIGIN"
|
||||
|
||||
trigger = {
|
||||
has_origin = origin_rg_gray
|
||||
}
|
||||
}
|
||||
46
common/static_modifiers/RG_static_modifiers.txt
Normal file
46
common/static_modifiers/RG_static_modifiers.txt
Normal file
@@ -0,0 +1,46 @@
|
||||
rg_distant_stars_modifier = {
|
||||
ship_ftl_jumpdrive_range_mult = -2.0
|
||||
catapult_range_mult = -2.0
|
||||
}
|
||||
|
||||
###################################
|
||||
gray_affection_warship_lv2 = {
|
||||
ship_accuracy_add = 5
|
||||
ship_tracking_add = 5
|
||||
ship_evasion_add = 5
|
||||
ship_hull_regen_add_static = 5
|
||||
ship_armor_regen_add_static = 5
|
||||
ship_shield_regen_add_static = 5
|
||||
}
|
||||
gray_affection_warship_lv3 = {
|
||||
ship_accuracy_add = 10
|
||||
ship_tracking_add = 10
|
||||
ship_evasion_add = 10
|
||||
ship_hull_regen_add_static = 10
|
||||
ship_armor_regen_add_static = 10
|
||||
ship_shield_regen_add_static = 10
|
||||
}
|
||||
gray_affection_warship_lv4 = {
|
||||
ship_accuracy_add = 20
|
||||
ship_tracking_add = 20
|
||||
ship_evasion_add = 20
|
||||
ship_hull_regen_add_static = 20
|
||||
ship_armor_regen_add_static = 20
|
||||
ship_shield_regen_add_static = 20
|
||||
}
|
||||
gray_affection_warship_lv5 = {
|
||||
ship_accuracy_add = 30
|
||||
ship_tracking_add = 30
|
||||
ship_evasion_add = 30
|
||||
ship_accuracy_mult = 0.3
|
||||
ship_tracking_mult = 0.3
|
||||
ship_evasion_mult = 0.3
|
||||
ship_hull_regen_add_static = 30
|
||||
ship_armor_regen_add_static = 30
|
||||
ship_shield_regen_add_static = 30
|
||||
ship_windup_mult = -0.5
|
||||
ship_winddown_mult = -0.5
|
||||
ship_jumpdrive_cooldown_mult = -0.5
|
||||
ship_ftl_jumpdrive_range_mult = 0.5
|
||||
force_disparity_fire_rate_mult = 3.0
|
||||
}
|
||||
270
common/technology/rg_tech.txt
Normal file
270
common/technology/rg_tech.txt
Normal file
@@ -0,0 +1,270 @@
|
||||
tech_gray_weapon_lance_1 = {
|
||||
area = physics
|
||||
cost = 5000
|
||||
tier = 5
|
||||
is_rare = yes
|
||||
is_reverse_engineerable = no
|
||||
category = { particles }
|
||||
ai_update_type = military
|
||||
prerequisites = {
|
||||
"tech_object_gray_5"
|
||||
"tech_zero_point_power"
|
||||
}
|
||||
weight = @tier2weight3
|
||||
|
||||
ai_weight = {
|
||||
factor = 0 #weapons are good
|
||||
modifier = {
|
||||
factor = 1.25
|
||||
has_ethic = ethic_militarist
|
||||
}
|
||||
modifier = {
|
||||
factor = 1.5
|
||||
has_ethic = ethic_fanatic_militarist
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tech_gray_matter_remix_2 = {
|
||||
area = engineering
|
||||
cost = 5000
|
||||
tier = 5
|
||||
is_rare = yes
|
||||
category = { materials }
|
||||
ai_update_type = military
|
||||
weight = @tier2weight3
|
||||
prerequisites = {
|
||||
"tech_gray_weapon_lance_1"
|
||||
"tech_ship_armor_5"
|
||||
}
|
||||
|
||||
ai_weight = {
|
||||
factor = 0 #weapons are good
|
||||
modifier = {
|
||||
factor = 1.25
|
||||
has_ethic = ethic_militarist
|
||||
}
|
||||
modifier = {
|
||||
factor = 1.5
|
||||
has_ethic = ethic_fanatic_militarist
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tech_gray_nano_boost_3 = {
|
||||
area = engineering
|
||||
cost = 5000
|
||||
tier = 5
|
||||
is_rare = yes
|
||||
category = { propulsion }
|
||||
ai_update_type = military
|
||||
weight = @tier2weight3
|
||||
prerequisites = {
|
||||
"tech_gray_matter_remix_2"
|
||||
"tech_thrusters_4"
|
||||
}
|
||||
|
||||
ai_weight = {
|
||||
factor = 0 #weapons are good
|
||||
modifier = {
|
||||
factor = 1.25
|
||||
has_ethic = ethic_militarist
|
||||
}
|
||||
modifier = {
|
||||
factor = 1.5
|
||||
has_ethic = ethic_fanatic_militarist
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tech_gray_interdictor_4 = {
|
||||
area = engineering
|
||||
cost = 5000
|
||||
tier = 5
|
||||
is_rare = yes
|
||||
category = { voidcraft }
|
||||
ai_update_type = military
|
||||
weight = @tier2weight3
|
||||
prerequisites = {
|
||||
"tech_gray_nano_boost_3"
|
||||
"tech_battleships"
|
||||
}
|
||||
|
||||
ai_weight = {
|
||||
factor = 0 #weapons are good
|
||||
modifier = {
|
||||
factor = 1.25
|
||||
has_ethic = ethic_militarist
|
||||
}
|
||||
modifier = {
|
||||
factor = 1.5
|
||||
has_ethic = ethic_fanatic_militarist
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tech_gray_matter_spray_5 = {
|
||||
area = engineering
|
||||
cost = 5000
|
||||
tier = 5
|
||||
is_rare = yes
|
||||
category = { propulsion }
|
||||
ai_update_type = military
|
||||
weight = @tier2weight3
|
||||
prerequisites = {
|
||||
"tech_gray_interdictor_4"
|
||||
"tech_kinetic_artillery_2"
|
||||
}
|
||||
|
||||
ai_weight = {
|
||||
factor = 0 #weapons are good
|
||||
modifier = {
|
||||
factor = 1.25
|
||||
has_ethic = ethic_militarist
|
||||
}
|
||||
modifier = {
|
||||
factor = 1.5
|
||||
has_ethic = ethic_fanatic_militarist
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tech_gray_buffnut_6 = {
|
||||
area = engineering
|
||||
cost = 5000
|
||||
tier = 5
|
||||
is_rare = yes
|
||||
category = { voidcraft }
|
||||
ai_update_type = military
|
||||
weight = @tier2weight3
|
||||
prerequisites = {
|
||||
"tech_gray_interdictor_4"
|
||||
"tech_juggernaut"
|
||||
}
|
||||
|
||||
ai_weight = {
|
||||
factor = 0 #weapons are good
|
||||
modifier = {
|
||||
factor = 1.25
|
||||
has_ethic = ethic_militarist
|
||||
}
|
||||
modifier = {
|
||||
factor = 1.5
|
||||
has_ethic = ethic_fanatic_militarist
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tech_gray_army_7 = {
|
||||
area = society
|
||||
cost = 5000
|
||||
tier = 5
|
||||
is_rare = yes
|
||||
category = { military_theory }
|
||||
ai_update_type = military
|
||||
weight = @tier2weight3
|
||||
prerequisites = {
|
||||
"tech_gray_matter_remix_2"
|
||||
"tech_self_aware_logic"
|
||||
}
|
||||
|
||||
ai_weight = {
|
||||
factor = 0 #weapons are good
|
||||
modifier = {
|
||||
factor = 1.25
|
||||
has_ethic = ethic_militarist
|
||||
}
|
||||
modifier = {
|
||||
factor = 1.5
|
||||
has_ethic = ethic_fanatic_militarist
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tech_gray_repair_system_1 = {
|
||||
area = engineering
|
||||
cost = 5000
|
||||
tier = 5
|
||||
is_rare = yes
|
||||
category = { voidcraft }
|
||||
is_reverse_engineerable = yes
|
||||
ai_update_type = military
|
||||
weight = 0
|
||||
|
||||
ai_weight = {
|
||||
factor = 0 #weapons are good
|
||||
modifier = {
|
||||
factor = 1.25
|
||||
has_ethic = ethic_militarist
|
||||
}
|
||||
modifier = {
|
||||
factor = 1.5
|
||||
has_ethic = ethic_fanatic_militarist
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# UNLOCKED BY PROJECT
|
||||
tech_object_gray_5 = {
|
||||
cost = 5000
|
||||
area = engineering
|
||||
tier = 5
|
||||
is_rare = yes
|
||||
is_reverse_engineerable = no
|
||||
category = { voidcraft }
|
||||
weight = 0
|
||||
|
||||
## unlock
|
||||
|
||||
ai_weight = {
|
||||
factor = 1
|
||||
}
|
||||
}
|
||||
|
||||
tech_minilaser_gray_1 = {
|
||||
cost = 2000
|
||||
area = physics
|
||||
tier = 5
|
||||
is_rare = yes
|
||||
is_reverse_engineerable = no
|
||||
category = { particles }
|
||||
weight = 0
|
||||
|
||||
## unlock
|
||||
|
||||
ai_weight = {
|
||||
factor = 1
|
||||
}
|
||||
}
|
||||
|
||||
tech_object_gray_6 = {
|
||||
cost = 2000
|
||||
area = physics
|
||||
tier = 5
|
||||
is_rare = yes
|
||||
is_reverse_engineerable = no
|
||||
category = { particles }
|
||||
weight = 0
|
||||
|
||||
## unlock
|
||||
|
||||
ai_weight = {
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
|
||||
tech_gray_noway = {
|
||||
cost = 2000
|
||||
area = physics
|
||||
tier = 5
|
||||
is_rare = yes
|
||||
is_reverse_engineerable = no
|
||||
category = { particles }
|
||||
weight = 0
|
||||
|
||||
## unlock
|
||||
|
||||
ai_weight = {
|
||||
factor = 0
|
||||
}
|
||||
}
|
||||
358
common/traits/!_RG_gray_goo_traits.txt
Normal file
358
common/traits/!_RG_gray_goo_traits.txt
Normal file
@@ -0,0 +1,358 @@
|
||||
###################
|
||||
# Governor Traits #
|
||||
###################
|
||||
|
||||
RG_leader_trait_governor_gray = { #总督特质
|
||||
cost = 0
|
||||
inline_script = {
|
||||
script = trait/icon_psionic
|
||||
CLASS = governor
|
||||
ICON = "GFX_leader_trait_psionic_chosen_one"
|
||||
RARITY = paragon
|
||||
COUNCIL = no
|
||||
TIER = none
|
||||
}
|
||||
immortal_leaders = yes
|
||||
self_modifier = {
|
||||
species_leader_exp_gain = 1
|
||||
}
|
||||
modifier = {
|
||||
planet_buildings_cost_mult = -0.4
|
||||
planet_building_build_speed_mult = 0.8
|
||||
deposit_blockers_cost_mult = -0.4
|
||||
planet_clear_blocker_time_mult = -0.8
|
||||
planet_jobs_alloys_produces_mult = 0.25
|
||||
planet_jobs_engineering_research_produces_mult = 0.25
|
||||
starbase_shipyard_build_cost_mult = -0.25
|
||||
starbase_shipyard_build_speed_mult = -0.30
|
||||
}
|
||||
|
||||
leader_class = { governor }
|
||||
initial = no
|
||||
randomized = no
|
||||
}
|
||||
|
||||
RG_leader_trait_ruler_gray = { #天选化身
|
||||
cost = 0
|
||||
inline_script = {
|
||||
script = trait/icon_psionic
|
||||
CLASS = governor
|
||||
ICON = "GFX_leader_trait_legendary_spiritualist_two"
|
||||
RARITY = paragon
|
||||
COUNCIL = yes
|
||||
TIER = none
|
||||
}
|
||||
councilor_trait = yes
|
||||
triggered_self_modifier = {
|
||||
potential = {
|
||||
is_councilor = yes
|
||||
owner = {
|
||||
check_variable = {
|
||||
which = rg_gray_level
|
||||
value <= 5
|
||||
}
|
||||
}
|
||||
}
|
||||
leader_skill_levels = 1
|
||||
leaders_upkeep_mult = 2
|
||||
mult = owner.rg_gray_level
|
||||
}
|
||||
triggered_self_modifier = {
|
||||
potential = {
|
||||
is_councilor = yes
|
||||
owner = {
|
||||
check_variable = {
|
||||
which = rg_gray_level
|
||||
value >= 5
|
||||
}
|
||||
check_variable = {
|
||||
which = rg_gray_level
|
||||
value <= 10
|
||||
}
|
||||
}
|
||||
}
|
||||
leader_skill_levels = 1
|
||||
leaders_upkeep_mult = 3
|
||||
mult = owner.rg_gray_level
|
||||
}
|
||||
triggered_self_modifier = {
|
||||
potential = {
|
||||
is_councilor = yes
|
||||
owner = {
|
||||
check_variable = {
|
||||
which = rg_gray_level
|
||||
value > 10
|
||||
}
|
||||
}
|
||||
}
|
||||
leader_skill_levels = 1
|
||||
leaders_upkeep_mult = 4
|
||||
mult = owner.rg_gray_level
|
||||
}
|
||||
triggered_modifier = {
|
||||
potential = {
|
||||
is_councilor = yes
|
||||
owner = {
|
||||
check_variable = {
|
||||
which = rg_gray_level
|
||||
value <= 5
|
||||
}
|
||||
}
|
||||
}
|
||||
country_energy_produces_mult = -0.02
|
||||
planet_stability_add = -2
|
||||
mult = owner.rg_gray_level
|
||||
}
|
||||
triggered_modifier = {
|
||||
potential = {
|
||||
is_councilor = yes
|
||||
owner = {
|
||||
check_variable = {
|
||||
which = rg_gray_level
|
||||
value >= 5
|
||||
}
|
||||
check_variable = {
|
||||
which = rg_gray_level
|
||||
value <= 10
|
||||
}
|
||||
}
|
||||
}
|
||||
country_energy_produces_mult = -0.03
|
||||
planet_stability_add = -3.5
|
||||
mult = owner.rg_gray_level
|
||||
}
|
||||
triggered_modifier = {
|
||||
potential = {
|
||||
is_councilor = yes
|
||||
owner = {
|
||||
check_variable = {
|
||||
which = rg_gray_level
|
||||
value > 10
|
||||
}
|
||||
}
|
||||
}
|
||||
country_energy_produces_mult = -0.04
|
||||
planet_stability_add = -5
|
||||
mult = owner.rg_gray_level
|
||||
}
|
||||
triggered_modifier = {
|
||||
potential = {
|
||||
always = yes
|
||||
}
|
||||
country_produces_mult = 0.1
|
||||
country_engineering_research_produces_mult = 0.1
|
||||
planet_jobs_upkeep_mult = -0.05
|
||||
planet_buildings_upkeep_mult = -0.05
|
||||
planet_building_build_speed_mult = 0.1
|
||||
starbase_shipyard_build_speed_mult = 0.1
|
||||
megastructure_build_speed_mult = 0.1
|
||||
country_unity_produces_mult = 0.05
|
||||
country_base_influence_produces_add = 1
|
||||
mult = owner.rg_gray_level
|
||||
}
|
||||
|
||||
leader_class = { governor }
|
||||
initial = no
|
||||
randomized = no
|
||||
}
|
||||
|
||||
RG_leader_trait_admiral_gray_1 = { #1级舰长
|
||||
cost = 0
|
||||
inline_script = {
|
||||
script = trait/icon_psionic
|
||||
CLASS = admiral
|
||||
ICON = "GFX_leader_trait_psionic_chosen_one"
|
||||
RARITY = paragon
|
||||
COUNCIL = no
|
||||
TIER = none
|
||||
}
|
||||
self_modifier = {
|
||||
species_leader_exp_gain = 1
|
||||
}
|
||||
immortal_leaders = yes
|
||||
modifier = {
|
||||
ship_armor_mult = 1.0
|
||||
ship_hull_mult = 1.0
|
||||
ships_upkeep_mult = -0.4
|
||||
ship_hull_regen_add_perc = 1
|
||||
ship_armor_regen_add_perc = 1
|
||||
}
|
||||
leader_class = { admiral }
|
||||
initial = no
|
||||
randomized = no
|
||||
}
|
||||
|
||||
RG_leader_trait_admiral_gray_2 = { #2级舰长
|
||||
cost = 0
|
||||
inline_script = {
|
||||
script = trait/icon_psionic
|
||||
CLASS = admiral
|
||||
ICON = "GFX_leader_trait_psionic_chosen_one"
|
||||
RARITY = paragon
|
||||
COUNCIL = no
|
||||
TIER = none
|
||||
}
|
||||
self_modifier = {
|
||||
species_leader_exp_gain = 1
|
||||
}
|
||||
immortal_leaders = yes
|
||||
modifier = {
|
||||
ship_armor_mult = 2.0
|
||||
ship_hull_mult = 2.0
|
||||
ships_upkeep_mult = -0.4
|
||||
ship_hull_regen_add_perc = 2
|
||||
ship_armor_regen_add_perc = 2
|
||||
}
|
||||
leader_class = { admiral }
|
||||
initial = no
|
||||
randomized = no
|
||||
}
|
||||
|
||||
RG_leader_trait_admiral_gray = { #3级舰长(默认
|
||||
cost = 0
|
||||
inline_script = {
|
||||
script = trait/icon_psionic
|
||||
CLASS = admiral
|
||||
ICON = "GFX_leader_trait_psionic_chosen_one"
|
||||
RARITY = paragon
|
||||
COUNCIL = no
|
||||
TIER = none
|
||||
}
|
||||
self_modifier = {
|
||||
species_leader_exp_gain = 1
|
||||
}
|
||||
immortal_leaders = yes
|
||||
modifier = {
|
||||
ship_armor_mult = 3.5
|
||||
ship_hull_mult = 3.5
|
||||
ships_upkeep_mult = -0.4
|
||||
ship_hull_regen_add_perc = 5
|
||||
ship_armor_regen_add_perc = 5
|
||||
}
|
||||
leader_class = { admiral }
|
||||
initial = no
|
||||
randomized = no
|
||||
}
|
||||
|
||||
RG_leader_trait_scientist_gray = { #科学家特质
|
||||
cost = 0
|
||||
inline_script = {
|
||||
script = trait/icon_psionic
|
||||
CLASS = scientist
|
||||
ICON = "GFX_leader_trait_psionic_chosen_one"
|
||||
RARITY = paragon
|
||||
COUNCIL = no
|
||||
TIER = none
|
||||
}
|
||||
self_modifier = {
|
||||
species_leader_exp_gain = 1
|
||||
}
|
||||
immortal_leaders = yes
|
||||
modifier = {
|
||||
|
||||
all_technology_research_speed = 0.5
|
||||
ship_archaeological_site_excavation_speed_mult = 0.5
|
||||
science_ship_survey_speed = 1.0
|
||||
ship_windup_mult = -1.0
|
||||
ship_speed_mult = 0.5
|
||||
ship_anomaly_generation_chance_mult = -1.0
|
||||
}
|
||||
leader_class = { scientist }
|
||||
initial = no
|
||||
randomized = no
|
||||
}
|
||||
|
||||
RG_leader_trait_general_gray = { #将军特质
|
||||
cost = 0
|
||||
inline_script = {
|
||||
script = trait/icon_psionic
|
||||
CLASS = general
|
||||
ICON = "GFX_leader_trait_psionic_chosen_one"
|
||||
RARITY = paragon
|
||||
COUNCIL = no
|
||||
TIER = none
|
||||
}
|
||||
self_modifier = {
|
||||
species_leader_exp_gain = 1
|
||||
}
|
||||
immortal_leaders = yes
|
||||
modifier = {
|
||||
army_collateral_damage_mult = 0.15
|
||||
army_disengage_chance_mult = 0.50
|
||||
army_health = 0.35
|
||||
}
|
||||
leader_class = { general }
|
||||
initial = no
|
||||
randomized = no
|
||||
}
|
||||
|
||||
RG_leader_trait_general_gray_skill = {
|
||||
destiny_trait = yes
|
||||
inline_script = {
|
||||
script = trait/icon_psionic
|
||||
CLASS = general
|
||||
ICON = "GFX_leader_trait_supreme_warrior"
|
||||
RARITY = paragon
|
||||
COUNCIL = no
|
||||
TIER = none
|
||||
}
|
||||
custom_tooltip_with_modifiers = RG_leader_trait_tempest_incoming_effect
|
||||
triggered_modifier = {
|
||||
potential = {
|
||||
always = yes
|
||||
}
|
||||
army_damage_mult = 0.05
|
||||
army_health = 0.05
|
||||
mult = owner.rg_general_skill_combat_daypassed_variable
|
||||
}
|
||||
leader_class = { general }
|
||||
initial = no
|
||||
randomized = no
|
||||
destiny_background_icon = "GFX_leader_background_destiny_1"
|
||||
}
|
||||
|
||||
RG_leader_trait_admiral_fake_dragon = {
|
||||
cost = 0
|
||||
inline_script = {
|
||||
script = trait/icon_psionic
|
||||
CLASS = admiral
|
||||
ICON = "GFX_leader_trait_adaptable"
|
||||
RARITY = paragon
|
||||
COUNCIL = no
|
||||
TIER = none
|
||||
}
|
||||
modifier = {
|
||||
ship_armor_mult = 0.3
|
||||
ship_hull_mult = 0.2
|
||||
ship_weapon_damage = 0.2
|
||||
}
|
||||
|
||||
leader_class = { admiral }
|
||||
initial = no
|
||||
randomized = no
|
||||
}
|
||||
|
||||
RG_leader_trait_admiral_timed_life = {
|
||||
cost = 0
|
||||
inline_script = {
|
||||
script = trait/icon_psionic
|
||||
CLASS = admiral
|
||||
ICON = "GFX_leader_trait_ethereal"
|
||||
RARITY = paragon
|
||||
COUNCIL = no
|
||||
TIER = none
|
||||
}
|
||||
triggered_modifier = {
|
||||
potential = {
|
||||
always = yes
|
||||
}
|
||||
ship_armor_mult = 0.05
|
||||
ship_hull_mult = 0.05
|
||||
ship_weapon_damage = 0.05
|
||||
mult = owner.rg_fake_dragon_timedlife_counter
|
||||
}
|
||||
|
||||
leader_class = { admiral }
|
||||
initial = no
|
||||
randomized = no
|
||||
}
|
||||
Reference in New Issue
Block a user