diff --git a/common/component_templates/RG_shelter_error.txt b/common/component_templates/RG_shelter_error.txt new file mode 100644 index 0000000..d12b93d --- /dev/null +++ b/common/component_templates/RG_shelter_error.txt @@ -0,0 +1,83 @@ +utility_component_template = { + key = "rg_ship_aura_components_empty" + size = medium + icon = "GFX_ship_part_empty_ftl_drive" + icon_frame = 1 + power = 0 + + component_set = "ship_aura_components" + + ai_weight = { + weight = 0 + } +} + +utility_component_template = { + key = "rg_power_core_empty" + size = medium + icon = "GFX_ship_part_empty_ftl_drive" + icon_frame = 1 + power = 0 + + component_set = "power_core" + + ai_weight = { + weight = 0 + } +} + +utility_component_template = { + key = "rg_ftl_components_empty" + size = medium + icon = "GFX_ship_part_empty_ftl_drive" + icon_frame = 1 + power = 0 + + component_set = "ftl_components" + + ai_weight = { + weight = 0 + } +} + +utility_component_template = { + key = "rg_thruster_components_empty" + size = medium + icon = "GFX_ship_part_empty_ftl_drive" + icon_frame = 1 + power = 0 + + component_set = "thruster_components" + + ai_weight = { + weight = 0 + } +} + +utility_component_template = { + key = "rg_sensor_component_empty" + size = medium + icon = "GFX_ship_part_empty_ftl_drive" + icon_frame = 1 + power = 0 + + component_set = "sensor_components" + + ai_weight = { + weight = 0 + } +} + +utility_component_template = { + key = "rg_combat_computers_empty" + size = medium + icon = "GFX_ship_part_empty_ftl_drive" + icon_frame = 1 + power = 0 + + component_set = "combat_computers" + + ai_weight = { + weight = 0 + } +} \ No newline at end of file diff --git a/common/component_templates/RG_ship_parts.txt b/common/component_templates/RG_ship_parts.txt index 22e8bf7..9e08a11 100644 --- a/common/component_templates/RG_ship_parts.txt +++ b/common/component_templates/RG_ship_parts.txt @@ -1988,6 +1988,47 @@ utility_component_template = { } } +utility_component_template = { + key = "RG_STARBASE_AURA_FTL_INHIBITOR" + size = medium + icon = "GFX_ship_part_aura_snare" + icon_frame = 1 + power = 0 + + size_restriction = { + RG_gray_juggernaut + } + prerequisites = { "tech_ftl_inhibitor" } + component_set = "ftl_inhibitor" + + ftl_inhibitor = yes + + hostile_aura = { + name = "aura_starbase_ftl_inhibitor" + system_wide = yes + + stack_info = { + id = hostile_flt_inhibitor_aura + priority = 10 + } + + modifier = { + ship_emergency_ftl_min_days_mult = 1 + } + + graphics = { + ship_effect = { + entity = "ship_aura_negative_entity" + dynamic_scale = no + } + } + } + + ai_weight = { + weight = 2 + } +} + #笨蛋雷达 weapon_component_template = { key = "RG_ANTIBAKAHALO_RADAR" diff --git a/common/global_ship_designs/RG_graygoo_ship_designs.txt b/common/global_ship_designs/RG_graygoo_ship_designs.txt index 1d7aa31..d199f9e 100644 --- a/common/global_ship_designs/RG_graygoo_ship_designs.txt +++ b/common/global_ship_designs/RG_graygoo_ship_designs.txt @@ -847,8 +847,6 @@ ship_design = { required_component = "RG_gatebuilder_thruster" required_component = "RG_COMBAT_COMPUTER_MotherShip" required_component = "RG_CORVETTE_CLOAKING_3" - required_component = "RG_BAKAHALO" - required_component = "RG_ANTIBAKAHALO" required_component = "RG_SHIP_AURA_NANOBOT_CLOUD" } @@ -1439,10 +1437,8 @@ ship_design = { required_component = "RG_gatebuilder_thruster" required_component = "RG_COMBAT_COMPUTER_MotherShip" required_component = "RG_CORVETTE_CLOAKING_3" - required_component = "RG_BAKAHALO" - required_component = "RG_ANTIBAKAHALO" required_component = "RG_SHIP_AURA_NANOBOT_CLOUD" - required_component = "STARBASE_AURA_FTL_INHIBITOR" + required_component = "RG_STARBASE_AURA_FTL_INHIBITOR" } # 航母 1 diff --git a/common/global_ship_designs/RG_ship_designs_starbase.txt b/common/global_ship_designs/RG_ship_designs_starbase.txt index 66ce3de..06e2401 100644 --- a/common/global_ship_designs/RG_ship_designs_starbase.txt +++ b/common/global_ship_designs/RG_ship_designs_starbase.txt @@ -162,7 +162,7 @@ ship_design = { required_component = "RG_FUSION_NANO_REACTOR_L" required_component = "RG_COMBAT_COMPUTER_COLOSSUS" required_component = "RG_CORVETTE_CLOAKING_3" - required_component = "STARBASE_AURA_FTL_INHIBITOR" + required_component = "RG_STARBASE_AURA_FTL_INHIBITOR" } # Factory @@ -338,5 +338,5 @@ ship_design = { required_component = "RG_FUSION_NANO_REACTOR_L" required_component = "COMBAT_COMPUTER_PLATFORM_ADVANCED" required_component = "RG_CORVETTE_CLOAKING_3" - required_component = "STARBASE_AURA_FTL_INHIBITOR" + required_component = "RG_STARBASE_AURA_FTL_INHIBITOR" } diff --git a/common/ship_sizes/RG_ship_sizes.txt b/common/ship_sizes/RG_ship_sizes.txt index 76f2f18..5f67023 100644 --- a/common/ship_sizes/RG_ship_sizes.txt +++ b/common/ship_sizes/RG_ship_sizes.txt @@ -54,7 +54,7 @@ RG_graygoo_mothership = { use_shipnames_from = titan can_have_federation_design = yes - enable_default_design = yes #if yes, countries will have an auto-generated design at start + 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 @@ -118,7 +118,7 @@ RG_graygoo_capitalship = { use_shipnames_from = juggernaut can_have_federation_design = yes - enable_default_design = yes #if yes, countries will have an auto-generated design at start + 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 @@ -183,8 +183,6 @@ RG_graygoo_capitalship = { 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" components_add_to_cost = no resources = { category = ships @@ -231,7 +229,7 @@ RG_gray_juggernaut = { } num_target_locators = 16 can_have_federation_design = no - enable_default_design = yes #if yes, countries will have an auto-generated design at start + 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 @@ -297,9 +295,7 @@ RG_gray_juggernaut = { 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" + required_component_set = "ftl_inhibitor" components_add_to_cost = no resources = { @@ -448,7 +444,7 @@ RG_graygoo_interdictor = { use_shipnames_from = battleship can_have_federation_design = yes - enable_default_design = yes #if yes, countries will have an auto-generated design at start + 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 = line @@ -502,7 +498,7 @@ RG_graygoo_destroyer = { use_shipnames_from = destroyer can_have_federation_design = yes - enable_default_design = yes #if yes, countries will have an auto-generated design at start + 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 = line @@ -562,7 +558,7 @@ RG_graygoo_icebreaker_interdictor = { base_buildtime = @battleship_build_time use_shipnames_from = battleship can_have_federation_design = yes - enable_default_design = yes #if yes, countries will have an auto-generated design at start + 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 @@ -616,7 +612,7 @@ RG_graygoo_Arsenal = { base_buildtime = @battleship_build_time use_shipnames_from = battleship can_have_federation_design = yes - enable_default_design = yes #if yes, countries will have an auto-generated design at start + 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 = line @@ -668,7 +664,7 @@ RG_graygoo_Buff = { base_buildtime = @battleship_build_time use_shipnames_from = colossus can_have_federation_design = yes - enable_default_design = yes #if yes, countries will have an auto-generated design at start + 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 @@ -842,7 +838,7 @@ RG_orbital_ring_tier_1 = { 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 + enable_default_design = no #if yes, countries will have an auto-generated design at start prerequisites = { "tech_object_gray_6" } diff --git a/descriptor.mod b/descriptor.mod index 3524457..a741c86 100644 --- a/descriptor.mod +++ b/descriptor.mod @@ -8,5 +8,5 @@ tags={ } name="Real Gray" picture="thumbnail.png" -supported_version="v3.13.*" +supported_version="v3.14.*" remote_file_id="2136166095" \ No newline at end of file diff --git a/localisation/english/RG_ships_l_english.yml b/localisation/english/RG_ships_l_english.yml index 3ca4247..23522ee 100644 --- a/localisation/english/RG_ships_l_english.yml +++ b/localisation/english/RG_ships_l_english.yml @@ -48,6 +48,13 @@ weapon_type_rg_armor:0 "§YArmor§!" weapon_type_rg_reactor:0 "§YPower Core§!" + rg_ship_aura_components_empty: "Empty Slot" + rg_power_core_empty: "Empty Slot" + rg_ftl_components_empty: "Empty Slot" + rg_thruster_components_empty: "Empty Slot" + rg_sensor_component_empty: "Empty Slot" + rg_combat_computers_empty: "Empty Slot" + RG_FUSION_NANO_REACTOR:0 "§Y「'FUSION NANO REACTOR'」§!" RG_FUSION_NANO_REACTOR_DESC:0 "The energy conduction characteristics of nanomaterials are used to greatly compress traditional reactors and increase density." @@ -60,6 +67,8 @@ RG_FUSION_NANO_REACTOR_L:0 "$RG_FUSION_NANO_REACTOR$" RG_FUSION_NANO_REACTOR_L_DESC:0 "$RG_FUSION_NANO_REACTOR_DESC$" + RG_STARBASE_AURA_FTL_INHIBITOR: "$sm_ftl_inhibitor$" + SMALL_GRAY_MIX_ARMOR:0 "§Y「'NANITE MIX ARMOR'」§!" MEDIUM_GRAY_MIX_ARMOR:0 "$SMALL_GRAY_MIX_ARMOR$" RG_gatebuilder_jump:0 "§Y「'NANITE ASTRA DRIVE'」§!" diff --git a/localisation/simp_chinese/RG_ships_l_simp_chinese.yml b/localisation/simp_chinese/RG_ships_l_simp_chinese.yml index 019e3dc..51996cf 100644 --- a/localisation/simp_chinese/RG_ships_l_simp_chinese.yml +++ b/localisation/simp_chinese/RG_ships_l_simp_chinese.yml @@ -59,6 +59,13 @@ RG_FUSION_NANO_REACTOR_L:0 "$RG_FUSION_NANO_REACTOR$" RG_FUSION_NANO_REACTOR_L_DESC:0 "$RG_FUSION_NANO_REACTOR_DESC$" + rg_ship_aura_components_empty: "空槽" + rg_power_core_empty: "空槽" + rg_ftl_components_empty: "空槽" + rg_thruster_components_empty: "空槽" + rg_sensor_component_empty: "空槽" + rg_combat_computers_empty: "空槽" + SMALL_GRAY_MIX_ARMOR:0 "§Y「梦想领域」§!" MEDIUM_GRAY_MIX_ARMOR:0 "§Y「梦想领域」§!" RG_gatebuilder_jump:0 "§Y「终抵群星」§!" @@ -117,6 +124,8 @@ RG_FLAK_PHOENIX:0 "§R「起源」§!" RG_FLAK_PHOENIX_DESC:0 "§Y创造与解构。§!\n没有什么比一个拥抱更能消除隔阂。" + RG_STARBASE_AURA_FTL_INHIBITOR: "$sm_ftl_inhibitor$" + RG_Interdictor_FISSION_REACTOR:0 "$FISSION_REACTOR$" RG_Interdictor_FISSION_REACTOR_DESC:0 "$FISSION_REACTOR_DESC$" RG_Interdictor_FUSION_REACTOR:0 "$FUSION_REACTOR$"