From 9177b3e215f16341e895906d4245d899422fb307 Mon Sep 17 00:00:00 2001 From: "FA507RM-KALOSPA\\Kalo" Date: Mon, 12 Jun 2023 19:50:07 +0800 Subject: [PATCH] fix --- common/situations/rg_gray_situations.txt | 7 +++++-- common/special_projects/RG_story_special_projects.txt | 6 ++++++ events/RG_events.txt | 8 ++++++-- events/rg_gray_mod_story_event.txt | 6 +++--- localisation/simp_chinese/RG_l_simp_chinese.yml | 2 +- 5 files changed, 21 insertions(+), 8 deletions(-) diff --git a/common/situations/rg_gray_situations.txt b/common/situations/rg_gray_situations.txt index 531e82f..0928922 100644 --- a/common/situations/rg_gray_situations.txt +++ b/common/situations/rg_gray_situations.txt @@ -98,7 +98,7 @@ situation_rg_gray_mod1 = { } situation_rg_gray_mod1_stage_6 = { icon = GFX_situation_stage_6 - icon_background = GFX_situation_stage_frame_green + icon_background = GFX_situation_stage_frame_red end = 100 custom_tooltip = situation_rg_gray_mod1_stage_6_tooltip on_first_enter = { @@ -404,7 +404,7 @@ situation_rg_gray_mod2 = { } situation_rg_gray_mod2_stage_12 = { icon = GFX_situation_stage_6 - icon_background = GFX_situation_stage_frame_green + icon_background = GFX_situation_stage_frame_red end = 100 custom_tooltip = situation_rg_gray_mod2_stage_12_tooltip on_first_enter = { @@ -413,6 +413,9 @@ situation_rg_gray_mod2 = { id = rg_story.41 } } + event_target:gray_warship = { + set_event_locked = no + } } } } diff --git a/common/special_projects/RG_story_special_projects.txt b/common/special_projects/RG_story_special_projects.txt index 6aadc02..f2e0edc 100644 --- a/common/special_projects/RG_story_special_projects.txt +++ b/common/special_projects/RG_story_special_projects.txt @@ -69,6 +69,9 @@ special_project = { is_situation_type = situation_rg_gray_mod2 } set_situation_flag = situation_rg_gray_mod2_stage_1_booster + remove_situation_flag = rg_stage6_locked + set_situation_locked = no + remove_situation_flag = locked } } } @@ -106,6 +109,9 @@ special_project = { is_situation_type = situation_rg_gray_mod2 } set_situation_flag = situation_rg_gray_mod2_stage_4_booster + remove_situation_flag = rg_stage6_locked + set_situation_locked = no + remove_situation_flag = locked } } } diff --git a/events/RG_events.txt b/events/RG_events.txt index b6d069f..451152b 100644 --- a/events/RG_events.txt +++ b/events/RG_events.txt @@ -637,7 +637,9 @@ country_event = { destroy_template = yes } } - give_technology = tech_gray_juggernaut_8 + give_technology = { + tech = tech_gray_juggernaut_8 + } create_ship_design = { design = "NAME_gray_capitalship" } @@ -865,7 +867,9 @@ country_event = { } } immediate = { - give_technology = tech_lgate_activation + give_technology = { + tech = tech_lgate_activation + } if = { limit = { any_system_within_border = { diff --git a/events/rg_gray_mod_story_event.txt b/events/rg_gray_mod_story_event.txt index db5c503..2e76a2f 100644 --- a/events/rg_gray_mod_story_event.txt +++ b/events/rg_gray_mod_story_event.txt @@ -294,12 +294,12 @@ country_event = { name = rg_story.31.b allow = { resource_stockpile_compare = { - resource = nanties + resource = nanites value >= 150 } } add_resource = { - resource = nanties + resource = nanites value = -150 } random_situation = { @@ -659,7 +659,7 @@ country_event = { name = rg_story.40.b allow = { resource_stockpile_compare = { - resource = nanties + resource = nanites value >= 500 } } diff --git a/localisation/simp_chinese/RG_l_simp_chinese.yml b/localisation/simp_chinese/RG_l_simp_chinese.yml index 61d8330..db6be9b 100644 --- a/localisation/simp_chinese/RG_l_simp_chinese.yml +++ b/localisation/simp_chinese/RG_l_simp_chinese.yml @@ -408,7 +408,7 @@ situation_rg_gray_mod2_stage_14_tooltip:0 "$rg_story.43.desc$" rg_gray_mod2_stage1_project:0 "§Y指派首席科学家帮助改造项目§!" - rg_gray_mod2_stage1_project_desc:0 "为了加快$NAME_Gray$改造项目进度,我们需要指派我们的科学家研究这个项目。嗯,就是这样。"、 + rg_gray_mod2_stage1_project_desc:0 "为了加快$NAME_Gray$改造项目进度,我们需要指派我们的科学家研究这个项目。嗯,就是这样。" rg_gray_mod2_stage4_project:0 "$rg_gray_mod2_stage1_project$" rg_gray_mod2_stage4_project_desc:0 "$rg_gray_mod2_stage1_project_desc$"