diff --git a/common/component_templates/RG_interdictor_parts.txt b/common/component_templates/RG_interdictor_parts.txt index 4bf26d6..77bec4e 100644 --- a/common/component_templates/RG_interdictor_parts.txt +++ b/common/component_templates/RG_interdictor_parts.txt @@ -298,7 +298,11 @@ utility_component_template = { alloys = 0.08 } } + prerequisites = { + "tech_gray_matter_spray_5" + } component_set = "power_core" + upgrades_to = "RG_Arsenal_FUSION_NANO_REACTOR" size_restriction = { RG_graygoo_Arsenal } @@ -307,6 +311,38 @@ utility_component_template = { } } +utility_component_template = { + key = "RG_Arsenal_FUSION_NANO_REACTOR" + size = small + icon = "GFX_ship_part_gray_reactor" + icon_frame = 1 + power = 600 + resources = { + category = ship_components + cost = { + alloys = 80 + nanties = 2 + } + upkeep = { + energy = 0.8 + } + } + component_set = "power_core" + prerequisites = { + "tech_gray_nano_fusion_3" + "tech_gray_matter_spray_5" + } + tags = { + weapon_type_rg_reactor + } + size_restriction = { + RG_graygoo_Arsenal + } + ai_weight = { + weight = 0 + } +} + utility_component_template = { key = "RG_ID_SHIP_THRUSTER_1" size = small diff --git a/common/component_templates/RG_ship_parts.txt b/common/component_templates/RG_ship_parts.txt index 86e17a9..c4cc78f 100644 --- a/common/component_templates/RG_ship_parts.txt +++ b/common/component_templates/RG_ship_parts.txt @@ -2238,9 +2238,6 @@ utility_component_template = { ai_weight = { weight = 0 } - class_restriction = { - shipclass_military - } component_set = "ftl_components" } @@ -2293,9 +2290,6 @@ utility_component_template = { ship_evasion_add = 10 } component_set = "thruster_components" - class_restriction = { - shipclass_military - } tags = { weapon_type_rg_thruster } @@ -2322,19 +2316,12 @@ utility_component_template = { } } prerequisites = { - "tech_gray_weapon_lance_1" + "tech_gray_nano_fusion_3" } tags = { weapon_type_rg_reactor } component_set = "power_core" - size_restriction = { - RG_graygoo_destroyer - RG_armed_constructor_ship - RG_armed_science_ship - RG_armed_transport_ship - RG_armed_colony_ship - } ai_weight = { weight = 0 } @@ -2357,7 +2344,7 @@ utility_component_template = { } } prerequisites = { - "tech_gray_weapon_lance_1" + "tech_gray_nano_fusion_3" } tags = { weapon_type_rg_reactor @@ -2391,7 +2378,7 @@ utility_component_template = { } } prerequisites = { - "tech_gray_weapon_lance_1" + "tech_gray_nano_fusion_3" } tags = { weapon_type_rg_reactor @@ -2445,10 +2432,9 @@ utility_component_template = { RG_graygoo_mothership } prerequisites = { - "tech_cloaking_3" + "tech_gray_cloaking_3" } ship_limit = 1 - hidden = yes component_set = "science_cloaking_components" ai_weight = { weight = 0 diff --git a/common/on_actions/RG_on_actions.txt b/common/on_actions/RG_on_actions.txt index 45f5dea..4b1adac 100644 --- a/common/on_actions/RG_on_actions.txt +++ b/common/on_actions/RG_on_actions.txt @@ -113,43 +113,6 @@ on_planet_attackers_lose = { # } # } # this = country -on_destroy_planet_with_RG_PLANET_KILLER = { - events = { - RG_planet_killer.1 - RG_planet_killer.2 - } -} - -on_destroy_planet_with_RG_PLANET_KILLER_queued = { -} - -on_destroy_planet_with_RG_PLANET_KILLER_unqueued = { -} - -on_destroy_planet_with_RG_PLANET_KILLER_SMALL = { - events = { - RG_planet_killer.2 - } -} - -on_destroy_planet_with_RG_PLANET_KILLER_SMALL_queued = { -} - -on_destroy_planet_with_RG_PLANET_KILLER_SMALL_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 diff --git a/common/on_actions/RG_planet_destruction.txt b/common/on_actions/RG_planet_destruction.txt new file mode 100644 index 0000000..429d541 --- /dev/null +++ b/common/on_actions/RG_planet_destruction.txt @@ -0,0 +1,162 @@ +# Scope: +# this/root = planet that have been fired upon +# from = fleet that fired +#on_destroy_planet_with_PLANET_DESTRUCTION_COMPONENT = { +# events = { +# planet_destruction.1 +# } +#} + +# Note: The _queued on_actions also fire when the command is made even if there is nothing else in the queue +# Similarly, the _unqueued on_actions fire even if you cancel the order while the weapon is on the wind-up to fire +# They use the same scopes as the standard events + +on_destroy_planet_with_RG_PLANET_KILLER = { + events = { + RG_planet_killer.1 + RG_planet_killer.2 + } +} + +on_destroy_planet_with_RG_PLANET_KILLER_queued = { +} + +on_destroy_planet_with_RG_PLANET_KILLER_unqueued = { +} + +on_destroy_planet_with_RG_PLANET_KILLER_SMALL = { + events = { + RG_planet_killer.2 + } +} + +on_destroy_planet_with_RG_PLANET_KILLER_SMALL_queued = { +} + +on_destroy_planet_with_RG_PLANET_KILLER_SMALL_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 = { +} +# World Cracker +on_destroy_planet_with_RG_PLANET_KILLER_CRACKER = { + events = { + toxoids.8016 #Destroyed knight Keep + crisis.5015 # Menace Objective - Destroy World/Empire + planet_destruction.110 + origin.3245 # Glassing a Progenitors Nest + planet_destruction.600 # frag holy world + planet_destruction.100 # goes last because it can kill a country, making some trigger checks impossible + awareness.150 # Planet cracker used OR planet terraformed, chance to gain 20 awareness. + } +} + +on_destroy_planet_with_RG_PLANET_KILLER_CRACKER_queued = { + events = { + fircon.5035 #Solarpunk Planet queued + } +} + +on_destroy_planet_with_RG_PLANET_KILLER_CRACKER_unqueued = { +} +# Pacifier +on_destroy_planet_with_RG_PLANET_KILLER_SHIELDER = { + events = { + crisis.5015 # Menace Objective - Destroy World/Empire + toxoids.8016 #Destroyed knight Keep placed up here so events fire while it's a planet + planet_destruction.200 + planet_destruction.600 # frag holy world + origin.3245 + awareness.150 # Planet cracker used OR planet terraformed, chance to gain 20 awareness. + } +} + +on_destroy_planet_with_RG_PLANET_KILLER_SHIELDER_queued = { + events = { + fircon.5035 #Solarpunk Planet queued + } +} + +on_destroy_planet_with_RG_PLANET_KILLER_SHIELDER_unqueued = { +} +# Neutron Beam +on_destroy_planet_with_RG_PLANET_KILLER_NEUTRON = { + events = { + planet_destruction.300 + origin.3245 + awareness.150 # Planet cracker used OR planet terraformed, chance to gain 20 awareness. + } +} + +on_destroy_planet_with_RG_PLANET_KILLER_NEUTRON_queued = { + events = { + fircon.5035 #Solarpunk Planet queued + } +} + +on_destroy_planet_with_RG_PLANET_KILLER_NEUTRON_unqueued = { +} +# God Ray +on_destroy_planet_with_RG_PLANET_KILLER_GODRAY = { + events = { + planet_destruction.400 + origin.3245 + awareness.150 # Planet cracker used OR planet terraformed, chance to gain 20 awareness. + } +} + +on_destroy_planet_with_RG_PLANET_KILLER_GODRAY_queued = { + events = { + fircon.5035 #Solarpunk Planet queued + } +} + +on_destroy_planet_with_RG_PLANET_KILLER_GODRAY_unqueued = { +} +# Nanobot Assimilation +on_destroy_planet_with_RG_PLANET_KILLER_NANOBOTS = { + events = { + crisis.5015 # Menace Objective - Destroy World/Empire + planet_destruction.500 + origin.3245 + awareness.150 # Planet cracker used OR planet terraformed, chance to gain 20 awareness. + } +} + +on_destroy_planet_with_RG_PLANET_KILLER_NANOBOTS_queued = { + events = { + fircon.5035 #Solarpunk Planet queued + } +} + +on_destroy_planet_with_RG_PLANET_KILLER_NANOBOTS_unqueued = { +} +# Deluge +on_destroy_planet_with_RG_PLANET_KILLER_DELUGE = { + events = { + planet_destruction.607 # frag holy world + planet_destruction.700 + origin.3245 + awareness.150 # Planet cracker used OR planet terraformed, chance to gain 20 awareness. + } +} + +on_destroy_planet_with_RG_PLANET_KILLER_DELUGE_queued = { + events = { + fircon.5035 #Solarpunk Planet queued +# planet_destruction.705 + } +} + +on_destroy_planet_with_RG_PLANET_KILLER_DELUGE_unqueued = { +} \ No newline at end of file diff --git a/common/technology/rg_tech.txt b/common/technology/rg_tech.txt index e54a1e1..8d120e1 100644 --- a/common/technology/rg_tech.txt +++ b/common/technology/rg_tech.txt @@ -56,6 +56,7 @@ tech_gray_cloaking_3 = { ai_update_type = all is_rare = yes prerequisites = { "tech_cloaking_3" "tech_gray_weapon_lance_1" } + is_reverse_engineerable = no weight = @tier4weight3 potential = { @@ -112,6 +113,7 @@ tech_gray_matter_remix_2 = { } ai_update_type = military weight = @tier2weight3 + is_reverse_engineerable = no prerequisites = { "tech_gray_weapon_lance_1" "tech_ship_armor_5" @@ -129,6 +131,34 @@ tech_gray_matter_remix_2 = { } } +tech_gray_nano_fusion_3 = { + area = physics + cost = 5000 + tier = 5 + is_rare = yes + is_reverse_engineerable = no + category = { + particles + } + ai_update_type = military + weight = @tier2weight3 + prerequisites = { + "tech_gray_matter_remix_2" + "tech_zero_point_power" + } + 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 @@ -139,6 +169,7 @@ tech_gray_nano_boost_3 = { } ai_update_type = military weight = @tier2weight3 + is_reverse_engineerable = no prerequisites = { "tech_gray_matter_remix_2" "tech_thrusters_4" @@ -166,6 +197,7 @@ tech_gray_interdictor_4 = { } ai_update_type = military weight = @tier2weight3 + is_reverse_engineerable = no prerequisites = { "tech_gray_nano_boost_3" "tech_battleships" @@ -193,6 +225,7 @@ tech_gray_matter_spray_5 = { } ai_update_type = military weight = @tier2weight3 + is_reverse_engineerable = no prerequisites = { "tech_gray_interdictor_4" "tech_kinetic_artillery_2" @@ -220,6 +253,7 @@ tech_gray_buffnut_6 = { } ai_update_type = military weight = @tier2weight3 + is_reverse_engineerable = no prerequisites = { "tech_gray_interdictor_4" "tech_juggernaut" @@ -247,6 +281,7 @@ tech_gray_army_7 = { } ai_update_type = military weight = @tier2weight3 + is_reverse_engineerable = no prerequisites = { "tech_gray_matter_remix_2" "tech_self_aware_logic" @@ -274,6 +309,7 @@ tech_gray_juggernaut_8 = { } ai_update_type = military weight = @tier2weight3 + is_reverse_engineerable = no prerequisites = { "tech_gray_matter_remix_2" "tech_juggernaut" diff --git a/gfx/interface/icons/technologies/tech_gray_nano_fusion_3.dds b/gfx/interface/icons/technologies/tech_gray_nano_fusion_3.dds new file mode 100644 index 0000000..f33b45a Binary files /dev/null and b/gfx/interface/icons/technologies/tech_gray_nano_fusion_3.dds differ diff --git a/localisation/simp_chinese/RG_l_simp_chinese.yml b/localisation/simp_chinese/RG_l_simp_chinese.yml index 67e16e6..aacacf2 100644 --- a/localisation/simp_chinese/RG_l_simp_chinese.yml +++ b/localisation/simp_chinese/RG_l_simp_chinese.yml @@ -116,6 +116,8 @@ RG_Arsenal_FISSION_REACTOR:0 "$FISSION_REACTOR$" RG_Arsenal_FISSION_REACTOR_DESC:0 "$FISSION_REACTOR_DESC$" + RG_Arsenal_FUSION_NANO_REACTOR:0 "$RG_FUSION_NANO_REACTOR$" + RG_Arsenal_FUSION_NANO_REACTOR_DESC:0 "$RG_FUSION_NANO_REACTOR_DESC$" RG_PLANET_KILLER_CRACKER:0 "$PLANET_KILLER_CRACKER$" RG_PLANET_KILLER_CRACKER_DESC:0 "$PLANET_KILLER_CRACKER_DESC$" @@ -216,6 +218,9 @@ tech_gray_matter_remix_2:0 "§Y纳米物质混合工程§!" tech_gray_matter_remix_2_desc:0 "通过将纳米机器人运用在特殊材料中,我们得以赋予这些材料新的性质。" + tech_gray_nano_fusion_3:0 "§Y纳米物质能量生产§!" + tech_gray_nano_fusion_3_desc:0 "利用纳米物质特性大幅压缩传统反应堆,极大提升能量产出效率。" + tech_gray_nano_boost_3:0 "§Y纳米物质推进工程§!" tech_gray_nano_boost_3_desc:0 "将新的材料进一步加以改良,我们得以制造出可以自我产生推力的材料,使得更加精密的工程成为可能。"