From 7705256be51b7d384f64d244d885904c7454337a Mon Sep 17 00:00:00 2001 From: "FA507RM-KALOSPA\\Kalo" Date: Mon, 12 Jun 2023 15:03:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../RG_interdictor_parts.txt | 44 ++++++++++++- common/component_templates/RG_ship_parts.txt | 63 ++++++++++++++++--- .../RG_special_ship_parts.txt | 1 + .../rg_gray_warship_init_effects.txt | 4 +- common/ship_sizes/RG_ship_sizes.txt | 6 ++ events/RG_events.txt | 5 ++ 6 files changed, 110 insertions(+), 13 deletions(-) diff --git a/common/component_templates/RG_interdictor_parts.txt b/common/component_templates/RG_interdictor_parts.txt index 82db84b..97573b4 100644 --- a/common/component_templates/RG_interdictor_parts.txt +++ b/common/component_templates/RG_interdictor_parts.txt @@ -162,7 +162,7 @@ utility_component_template = { size = small icon = "GFX_ship_part_reactor_5" icon_frame = 1 - power = 5000 + power = 50000 resources = { category = ship_components cost = { @@ -179,8 +179,10 @@ utility_component_template = { component_set = "power_core" size_restriction = { RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship } - upgrades_to = "RG_Interdictor_DARK_MATTER_REACTOR" + upgrades_to = "RG_Mothership_DARK_MATTER_REACTOR" ai_weight = { weight = 5 } @@ -228,7 +230,7 @@ utility_component_template = { size = small icon = "GFX_ship_part_dark_matter_power_core" icon_frame = 1 - power = 6000 + power = 60000 resources = { category = ship_components cost = { @@ -246,6 +248,8 @@ utility_component_template = { component_set = "power_core" size_restriction = { RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship } ai_weight = { weight = 6 @@ -306,6 +310,8 @@ utility_component_template = { RG_graygoo_Buff RG_graygoo_Arsenal RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship RG_graygoo_icebreaker_interdictor } upgrades_to = "BATTLESHIP_SHIP_THRUSTER_2" @@ -339,6 +345,8 @@ utility_component_template = { RG_graygoo_Buff RG_graygoo_Arsenal RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship RG_graygoo_icebreaker_interdictor } upgrades_to = "BATTLESHIP_SHIP_THRUSTER_3" @@ -372,6 +380,8 @@ utility_component_template = { RG_graygoo_Buff RG_graygoo_Arsenal RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship RG_graygoo_icebreaker_interdictor } upgrades_to = "BATTLESHIP_SHIP_THRUSTER_4" @@ -405,6 +415,8 @@ utility_component_template = { RG_graygoo_Buff RG_graygoo_Arsenal RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship RG_graygoo_icebreaker_interdictor } upgrades_to = "BATTLESHIP_SHIP_THRUSTER_5" @@ -439,6 +451,8 @@ utility_component_template = { RG_graygoo_Buff RG_graygoo_Arsenal RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship RG_graygoo_icebreaker_interdictor } ai_weight = { @@ -469,6 +483,8 @@ weapon_component_template = { size_restriction = { RG_graygoo_Buff RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship } component_set = "PLANET_KILLER_CRACKER" planet_destruction_gfx = "shatter_planet_gfx" @@ -488,6 +504,8 @@ weapon_component_template = { size_restriction = { RG_graygoo_Buff RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship } component_set = "PLANET_KILLER_SHIELDER" planet_destruction_gfx = "global_pacifier_gfx" @@ -507,6 +525,8 @@ weapon_component_template = { size_restriction = { RG_graygoo_Buff RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship } component_set = "PLANET_KILLER_NEUTRON" planet_destruction_gfx = "neutron_planet_gfx" @@ -526,6 +546,8 @@ weapon_component_template = { size_restriction = { RG_graygoo_Buff RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship } component_set = "PLANET_KILLER_GODRAY" planet_destruction_gfx = "god_ray_gfx" @@ -545,6 +567,8 @@ weapon_component_template = { size_restriction = { RG_graygoo_Buff RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship } component_set = "PLANET_KILLER_NANOBOTS" planet_destruction_gfx = "assimilation_nanobots_gfx" @@ -564,6 +588,8 @@ weapon_component_template = { size_restriction = { RG_graygoo_Buff RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship } component_set = "PLANET_KILLER_DELUGE" planet_destruction_gfx = "planet_deluge_gfx" @@ -617,6 +643,8 @@ utility_component_template = { RG_graygoo_interdictor RG_graygoo_Buff RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship RG_graygoo_icebreaker_interdictor } ai_weight = { @@ -651,6 +679,8 @@ utility_component_template = { RG_graygoo_Buff RG_graygoo_Arsenal RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship RG_graygoo_icebreaker_interdictor } ai_weight = { @@ -689,6 +719,8 @@ utility_component_template = { RG_graygoo_interdictor RG_graygoo_Buff RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship RG_graygoo_icebreaker_interdictor } ai_weight = { @@ -722,6 +754,8 @@ utility_component_template = { RG_graygoo_Buff RG_graygoo_Arsenal RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship RG_graygoo_icebreaker_interdictor } ai_weight = { @@ -761,6 +795,8 @@ utility_component_template = { RG_graygoo_Buff RG_graygoo_Arsenal RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship RG_graygoo_icebreaker_interdictor } ai_weight = { @@ -794,6 +830,8 @@ utility_component_template = { RG_graygoo_Buff RG_graygoo_Arsenal RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship RG_graygoo_icebreaker_interdictor } ai_weight = { diff --git a/common/component_templates/RG_ship_parts.txt b/common/component_templates/RG_ship_parts.txt index 4798c8c..e66f02c 100644 --- a/common/component_templates/RG_ship_parts.txt +++ b/common/component_templates/RG_ship_parts.txt @@ -59,6 +59,7 @@ utility_component_template = { } size_restriction = { RG_graygoo_capitalship + RG_gray_juggernaut } prerequisites = { "tech_gray_matter_remix_2" @@ -320,10 +321,11 @@ weapon_component_template = { size_restriction = { RG_graygoo_capitalship RG_graygoo_mothership + RG_gray_juggernaut } component_set = "RG_PLANET_KILLER" prerequisites = { - "tech_object_gray_6" + "tech_gray_juggernaut_8" } hidden = yes ship_limit = 1 @@ -378,10 +380,11 @@ weapon_component_template = { size_restriction = { RG_graygoo_capitalship RG_graygoo_mothership + RG_gray_juggernaut } component_set = "RG_PLANET_KILLER" prerequisites = { - "tech_object_gray_6" + "tech_gray_juggernaut_8" } hidden = yes ship_limit = 1 @@ -528,6 +531,7 @@ weapon_component_template = { size_restriction = { RG_graygoo_capitalship RG_graygoo_icebreaker_interdictor + RG_gray_juggernaut } prerequisites = { "tech_gray_buffnut_6" @@ -580,6 +584,8 @@ weapon_component_template = { size_restriction = { RG_graygoo_Arsenal RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship } tags = { weapon_type_rg_secondary @@ -630,6 +636,9 @@ weapon_component_template = { "tech_gray_matter_spray_5" } size_restriction = { + RG_graygoo_Arsenal + RG_graygoo_mothership + RG_gray_juggernaut RG_graygoo_capitalship } tags = { @@ -828,6 +837,8 @@ strike_craft_component_template = { size_restriction = { RG_graygoo_interdictor RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship } prerequisites = { "tech_gray_nano_boost_3" @@ -894,6 +905,8 @@ strike_craft_component_template = { size_restriction = { RG_graygoo_interdictor RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship } prerequisites = { "tech_gray_nano_boost_3" @@ -963,6 +976,8 @@ strike_craft_component_template = { size_restriction = { RG_graygoo_interdictor RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship } prerequisites = { "tech_gray_nano_boost_3" @@ -1033,6 +1048,8 @@ strike_craft_component_template = { size_restriction = { RG_graygoo_interdictor RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship } prerequisites = { "tech_gray_nano_boost_3" @@ -1097,6 +1114,8 @@ utility_component_template = { RG_graygoo_Arsenal RG_graygoo_mothership RG_graygoo_icebreaker_interdictor + RG_gray_juggernaut + RG_graygoo_capitalship } prerequisites = { "tech_gray_interdictor_4" @@ -1133,6 +1152,8 @@ utility_component_template = { RG_graygoo_interdictor RG_graygoo_Arsenal RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship } prerequisites = { "tech_gray_interdictor_4" @@ -1169,6 +1190,8 @@ utility_component_template = { RG_graygoo_interdictor RG_graygoo_Arsenal RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship } prerequisites = { "tech_gray_interdictor_4" @@ -1205,6 +1228,8 @@ utility_component_template = { RG_graygoo_interdictor RG_graygoo_Arsenal RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship } prerequisites = { "tech_gray_interdictor_4" @@ -1242,6 +1267,8 @@ utility_component_template = { } size_restriction = { RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship } tags = { weapon_type_rg_computer @@ -1276,6 +1303,8 @@ utility_component_template = { RG_graygoo_Buff RG_graygoo_Arsenal RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship } prerequisites = { "tech_gray_interdictor_4" @@ -1312,6 +1341,8 @@ utility_component_template = { RG_graygoo_interdictor RG_graygoo_Arsenal RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship } prerequisites = { "tech_gray_interdictor_4" @@ -1348,6 +1379,8 @@ utility_component_template = { RG_graygoo_interdictor RG_graygoo_Arsenal RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship } prerequisites = { "tech_gray_interdictor_4" @@ -1384,6 +1417,8 @@ utility_component_template = { RG_graygoo_interdictor RG_graygoo_Arsenal RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship } prerequisites = { "tech_gray_interdictor_4" @@ -1421,6 +1456,8 @@ utility_component_template = { RG_graygoo_Arsenal RG_graygoo_mothership RG_graygoo_icebreaker_interdictor + RG_gray_juggernaut + RG_graygoo_capitalship } prerequisites = { "tech_gray_interdictor_4" @@ -1450,6 +1487,8 @@ utility_component_template = { titan RG_graygoo_Buff RG_graygoo_mothership + RG_gray_juggernaut + RG_graygoo_capitalship } component_set = "ship_aura_components" prerequisites = { @@ -1800,6 +1839,8 @@ utility_component_template = { hidden = yes size_restriction = { RG_graygoo_Buff + RG_gray_juggernaut + RG_graygoo_capitalship } component_set = "ship_aura_components" tags = { @@ -1856,6 +1897,8 @@ utility_component_template = { hidden = yes size_restriction = { RG_graygoo_Buff + RG_gray_juggernaut + RG_graygoo_capitalship } component_set = "ship_aura_components" tags = { @@ -1934,6 +1977,8 @@ weapon_component_template = { tracking = 0 size_restriction = { RG_graygoo_Buff + RG_gray_juggernaut + RG_graygoo_capitalship } prerequisites = { "tech_gray_buffnut_6" @@ -2018,6 +2063,8 @@ weapon_component_template = { tracking = 0 size_restriction = { RG_graygoo_Buff + RG_gray_juggernaut + RG_graygoo_capitalship } prerequisites = { "tech_gray_buffnut_6" @@ -2096,14 +2143,14 @@ utility_component_template = { icon = "GFX_ship_part_warp_drive_3" icon_frame = 1 power = -50 - hidden = yes + # hidden = yes resources = { category = ship_components cost = { alloys = 300 } } - #prerequisites = { "tech_gray_interdictor_4" } + prerequisites = { "tech_gray_interdictor_4" } ftl = yes jumpdrive = yes ship_modifier = { @@ -2130,7 +2177,7 @@ utility_component_template = { icon = "GFX_ship_part_sensor_4" icon_frame = 1 power = -20 - hidden = yes + # hidden = yes resources = { category = ship_components cost = { @@ -2139,7 +2186,7 @@ utility_component_template = { } sensor_range = 15 hyperlane_range = 20 - #prerequisites = { "tech_gray_interdictor_4" } + prerequisites = { "tech_gray_interdictor_4" } ship_modifier = { ship_tracking_add = 20 } @@ -2159,14 +2206,14 @@ utility_component_template = { icon = "GFX_ship_part_thruster_4" icon_frame = 1 power = -50 - hidden = yes + # hidden = yes resources = { category = ship_components cost = { alloys = 200 } } - #prerequisites = { "tech_gray_interdictor_4" } + prerequisites = { "tech_gray_interdictor_4" } modifier = { ship_speed_mult = 1.25 ship_evasion_add = 10 diff --git a/common/component_templates/RG_special_ship_parts.txt b/common/component_templates/RG_special_ship_parts.txt index 052fd6a..562b109 100644 --- a/common/component_templates/RG_special_ship_parts.txt +++ b/common/component_templates/RG_special_ship_parts.txt @@ -39,6 +39,7 @@ weapon_component_template = { weapon_type_energy } size_restriction = { + RG_gray_juggernaut RG_graygoo_capitalship RG_graygoo_mothership } diff --git a/common/scripted_effects/rg_gray_warship_init_effects.txt b/common/scripted_effects/rg_gray_warship_init_effects.txt index ec3b7c5..c29172c 100644 --- a/common/scripted_effects/rg_gray_warship_init_effects.txt +++ b/common/scripted_effects/rg_gray_warship_init_effects.txt @@ -94,8 +94,8 @@ rg_warship_init_mod3 = { set_owner = prev create_ship = { name = "NAME_Gray" - design = "NAME_gray_juggernautship" - # random_existing_design = RG_gray_juggernaut + # design = "NAME_gray_juggernautship" + random_existing_design = RG_gray_juggernaut prefix = no upgradable = yes } diff --git a/common/ship_sizes/RG_ship_sizes.txt b/common/ship_sizes/RG_ship_sizes.txt index 6392371..2016c4d 100644 --- a/common/ship_sizes/RG_ship_sizes.txt +++ b/common/ship_sizes/RG_ship_sizes.txt @@ -123,6 +123,9 @@ RG_graygoo_capitalship = { combat_disengage_chance = 1.25 class = shipclass_military construction_type = starbase_shipyard + possible_construction = { + always = no + } combat_size_multiplier = 4 prerequisites = { "tech_gray_juggernaut_8" @@ -504,6 +507,9 @@ RG_gray_juggernaut = { } class = shipclass_starbase construction_type = starbase_shipyard + possible_construction = { + always = no + } required_component_set = "power_core" required_component_set = "sensor_components" required_component_set = "combat_computers" diff --git a/events/RG_events.txt b/events/RG_events.txt index 301564b..b63d781 100644 --- a/events/RG_events.txt +++ b/events/RG_events.txt @@ -633,6 +633,7 @@ country_event = { destroy_template = yes } } + give_technology = tech_gray_juggernaut_8 create_ship_design = { design = "NAME_gray_capitalship" } @@ -720,6 +721,10 @@ country_event = { immediate = { remove_country_flag = rg_modifing_gray set_country_flag = rg_juggernaut_fired + create_ship_design = { + design = "NAME_gray_juggernautship" + } + add_ship_design = last_created_design } option = { name = OK