diff --git a/common/buildings/RG_nano_buildings.txt b/common/buildings/RG_nano_buildings.txt index b55b4b9..5e254e3 100644 --- a/common/buildings/RG_nano_buildings.txt +++ b/common/buildings/RG_nano_buildings.txt @@ -218,7 +218,7 @@ building_rg_nanotech_cauldron = { trigger = { owner = { NOT = { - has_deficit = minerals + has_deficit = nanites } } } @@ -226,6 +226,13 @@ building_rg_nanotech_cauldron = { consumer_goods = 40 } upkeep = { + trigger = { + owner = { + NOT = { + has_deficit = nanites + } + } + } nanites = 25 } } @@ -273,6 +280,13 @@ building_rg_nanite_transmuter = { exotic_gases = 2 } upkeep = { + trigger = { + owner = { + NOT = { + has_deficit = minerals + } + } + } minerals = 50 } } diff --git a/common/megastructures/RG_oribital_ring.txt b/common/megastructures/RG_oribital_ring.txt index 4a5b422..176f987 100644 --- a/common/megastructures/RG_oribital_ring.txt +++ b/common/megastructures/RG_oribital_ring.txt @@ -1,3 +1,5 @@ +@buildtime = 720 + RG_orbital_ring = { entity = "" construction_entity = "orbital_ring_construction_entity" @@ -10,7 +12,7 @@ RG_orbital_ring = { scales_with_planet = yes show_galactic_map_icon = no show_in_outliner = no - build_time = 720 + build_time = 0 resources = { category = megastructures cost = { @@ -20,7 +22,14 @@ RG_orbital_ring = { } construction_blocks_and_blocked_by = none potential = { - has_technology = tech_gray_noway + always = no + has_tradition = tr_rg_nanotech_2 + # OR = { + # has_technology = tech_habitat_1 + # has_civic = civic_diadochi + # has_civic = civic_great_khans_legacy + # has_country_flag = democratic_khanate_flag + # } } possible = { exists = starbase @@ -104,41 +113,7 @@ RG_orbital_ring = { # root = system # from = country ai_weight = { - factor = 5 - modifier = { - factor = 3 - solar_system = { - exists = owner - is_same_value = owner.capital_scope.solar_system - } - } - modifier = { - factor = 2 - any_neighbor_system = { - exists = owner - is_same_value = owner.capital_scope.solar_system - } - } - modifier = { - factor = 0.1 - any_neighbor_system = { - exists = owner - owner = { - NOT = { - is_same_value = from - } - } - } - } - modifier = { - factor = 3 - any_system_colony = { - num_pops >= 50 - NOT = { - exists = orbital_defence - } - } - } + factor = 0 } on_build_start = { } @@ -156,14 +131,7 @@ RG_orbital_ring = { dismantle = yes } } - create_starbase = { - size = orbital_ring_tier_1 - owner = FROM - #module = - #building = - effect = { - } - } + spawn_rg_oribital_ring_effect = yes } remove_megastructure = fromfrom from = { @@ -174,7 +142,7 @@ RG_orbital_ring = { } } -orbital_ring_ruined = { +RG_orbital_ring_ruined = { entity = "orbital_ring_01_destroyed_entity" construction_entity = "orbital_ring_construction_entity" portrait = "GFX_megastructure_construction_background" @@ -190,7 +158,7 @@ orbital_ring_ruined = { is_ruined_orbital_ring = yes } -orbital_ring_restored = { +RG_orbital_ring_restored = { entity = "" construction_entity = "orbital_ring_construction_entity" portrait = "GFX_megastructure_construction_background" @@ -211,11 +179,11 @@ orbital_ring_restored = { } } upgrade_from = { - orbital_ring_ruined + RG_orbital_ring_ruined } possible = { from = { - has_technology = tech_orbital_ring_tier_1 + has_tradition = tr_rg_nanotech_2 } custom_tooltip = { fail_text = "requires_outpost" @@ -269,23 +237,7 @@ orbital_ring_restored = { dismantle = yes } } - From = { - create_ship_design = { - design = "RG_ORBITAL_RING_TIER_1_STARBASE" - } - add_ship_design = last_created_design - } - create_starbase = { - size = RG_orbital_ring_tier_1 - owner = FROM - #module = - #building = - effect = { - } - } - From = { - remove_ship_design = last_created_design - } + spawn_rg_oribital_ring_effect = yes } every_system_ambient_object = { limit = { diff --git a/common/scripted_effects/RG_megastructure_effects.txt b/common/scripted_effects/RG_megastructure_effects.txt index e8ee568..0d86538 100644 --- a/common/scripted_effects/RG_megastructure_effects.txt +++ b/common/scripted_effects/RG_megastructure_effects.txt @@ -45,4 +45,24 @@ spawn_rg_habitat_effect = { } } } +} + +spawn_rg_oribital_ring_effect = { + From = { + create_ship_design = { + design = "RG_ORBITAL_RING_TIER_1_STARBASE" + } + add_ship_design = last_created_design + } + create_starbase = { + size = RG_orbital_ring_tier_1 + owner = FROM + #module = + #building = + effect = { + } + } + From = { + remove_ship_design = last_created_design + } } \ No newline at end of file diff --git a/localisation/simp_chinese/RG_l_simp_chinese.yml b/localisation/simp_chinese/RG_l_simp_chinese.yml index 338c479..a4857b6 100644 --- a/localisation/simp_chinese/RG_l_simp_chinese.yml +++ b/localisation/simp_chinese/RG_l_simp_chinese.yml @@ -77,8 +77,11 @@ civic_tooltip_rg_gray_non_cluster: "选择在§Y银河系§!中开启你的冒险。适合不希望在L-星团中开局的玩家。" rg_tempest_invocator: "灰蛊核心" + rg_tempest_invocator_desc: "尽管叫做$rg_tempest_invocator$但实际上和$NAME_Gray_Goo$没有任何关系。这件神奇的$relics$是我们的工程师完全自主研发的拥有独立知识产权的专利产品。" REQUIRES_lgate_or_gray: "$TRIGGER_FAIL$已发现§Y$NAME_Gray$§!或拥有科技§Y$tech_lgate_activation$§!" + rg_nanite_harvester + RG_habitat_central_complex: "$pc_rg_grayhabitat$" RG_habitat_central_complex_plural: "$pc_rg_grayhabitat$" RG_habitat_central_complex_DESC: "一座§Y$pc_rg_grayhabitat$§!,可以容纳若干£pop£§Y人口§!并在非宜居行星的轨道上为£building£§Y建筑§!和£district£§Y区划§!提供空间。" @@ -92,9 +95,9 @@ building_rg_nanolab_2: "§Y纳米研究复合体§!" building_rg_nanolab_2_desc: "无限小与无限大看起来是如此地相似,这是多么地奇妙啊。" building_rg_nanotech_cauldron: "§Y纳米熔炉§!" - building_rg_nanotech_cauldron_desc: "在分子水平上运作,虫群可以很容易地将矿物结构重新配置成坚固的合金晶格。" + building_rg_nanotech_cauldron_desc: "在分子水平上运作,虫群可以很容易地将矿物结构重新配置成坚固的合金晶格。\n§R缺少£nanites£$nanites$时生产将会暂停。§!" building_rg_nanite_transmuter: "§Y纳米变形器§!" - building_rg_nanite_transmuter_desc: "该工厂使用极为先进的纳米材料大量生产各种稀有资源。缺少纳米材料时生产将会暂停。" + building_rg_nanite_transmuter_desc: "该工厂使用极为先进的纳米材料大量生产各种稀有资源。\n§R缺少£minerals£$minerals$时生产将会暂停。§!" district_rg_farming: "农业区段" district_rg_farming_plural: "农业区段" @@ -601,6 +604,12 @@ RG_orbital_ring:0 "§Y纳米星环防御终端§!" RG_orbital_ring_desc:0 "" + RG_orbital_ring_MEGASTRUCTURE_DETAILS: "" + RG_orbital_ring_ruined: "废弃的$RG_orbital_ring$" + RG_orbital_ring_ruined_DESC: "" + RG_orbital_ring_restored: "$RG_orbital_ring$" + RG_orbital_ring_restored_DESC: "" + RG_leader_trait_admiral_fake_dragon:0 "§Y龙的灵魂§!" RG_leader_trait_admiral_fake_dragon_desc:0 "迷途的灵魂虽然不是龙,却想要化身为龙。你也是龙,也好。"