diff --git a/common/scripted_effects/RG_special_effects.txt b/common/scripted_effects/RG_special_effects.txt index c940206..d1bfa89 100644 --- a/common/scripted_effects/RG_special_effects.txt +++ b/common/scripted_effects/RG_special_effects.txt @@ -121,6 +121,35 @@ rg_create_gray_mod1_testship_1 = { } } +rg_create_gray_mod1_testship_2 = { + create_fleet = { + name = "NAME_RG_TESTSHIP" + settings = { + can_disband = yes + can_upgrade = no + can_change_composition = no + can_change_leader = no + uses_naval_capacity = no + spawn_debris = no + } + effect = { + set_owner = root + create_ship = { + name = "NAME_RG_TESTSHIP" + design = "RG_Buff_interdictor" + prefix = no + upgradable = no + } + set_location = { + target = root.capital_scope + distance = 0 + angle = random + } + set_fleet_flag = rg_test_ship_fleet + } + } +} + rg_create_fake_dragon_species = { create_species = { name = RG_SIMULATION_DRAGON_SPECIES diff --git a/common/situations/rg_gray_situations.txt b/common/situations/rg_gray_situations.txt index 569077c..d679b93 100644 --- a/common/situations/rg_gray_situations.txt +++ b/common/situations/rg_gray_situations.txt @@ -481,6 +481,56 @@ situation_rg_gray_mod2 = { } monthly_progress = { base = 0.1 + modifier = { + add = 0.05 + desc = situation_rg_gray_mod2_stage_1_booster_tooltip + has_situation_flag = situation_rg_gray_mod2_stage_1_booster + } + modifier = { + add = 0.05 + desc = situation_rg_gray_mod2_stage_2_booster_tooltip + has_situation_flag = situation_rg_gray_mod2_stage_2_booster + } + modifier = { + add = 0.05 + desc = situation_rg_gray_mod2_stage_1_booster_tooltip + has_situation_flag = situation_rg_gray_mod2_stage_4_booster + } + modifier = { + add = 0.05 + desc = situation_rg_gray_mod2_stage_3_booster_tooltip + has_situation_flag = situation_rg_gray_mod2_stage_5_booster + } + modifier = { + add = 0.05 + desc = situation_rg_gray_mod2_stage_3_booster_tooltip + has_situation_flag = situation_rg_gray_mod2_stage_6_booster + } + modifier = { + add = 0.05 + desc = situation_rg_gray_mod2_stage_2_booster_tooltip + has_situation_flag = situation_rg_gray_mod2_stage_7_booster + } + modifier = { + add = 0.05 + desc = situation_rg_gray_mod2_stage_2_booster_tooltip + has_situation_flag = situation_rg_gray_mod2_stage_8_booster + } + modifier = { + add = 0.05 + desc = situation_rg_gray_mod2_stage_2_booster_tooltip + has_situation_flag = situation_rg_gray_mod2_stage_9_booster + } + modifier = { + add = 0.05 + desc = situation_rg_gray_mod2_stage_2_booster_tooltip + has_situation_flag = situation_rg_gray_mod2_stage_10_booster + } + modifier = { + add = 0.05 + desc = situation_rg_gray_mod2_stage_2_booster_tooltip + has_situation_flag = situation_rg_gray_mod2_stage_11_booster + } } abort_trigger = { diff --git a/common/special_projects/RG_story_special_projects.txt b/common/special_projects/RG_story_special_projects.txt index d7440aa..6aadc02 100644 --- a/common/special_projects/RG_story_special_projects.txt +++ b/common/special_projects/RG_story_special_projects.txt @@ -35,3 +35,78 @@ special_project = { } } } + +special_project = { + key = "rg_gray_mod2_stage1_project" + cost = 2000 + #days_to_research = 300 + tech_department = physics_research + icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds" + picture = GFX_evt_l-gateway + event_scope = country_event + requirements = { + } + on_start = { + owner = { + random_situation = { + limit = { + is_situation_type = situation_rg_gray_mod2 + } + set_situation_locked = yes + set_situation_flag = locked + set_situation_flag = rg_stage6_locked + } + } + } + on_cancel = { + owner = { + } + } + on_success = { + owner = { + random_situation = { + limit = { + is_situation_type = situation_rg_gray_mod2 + } + set_situation_flag = situation_rg_gray_mod2_stage_1_booster + } + } + } +} +special_project = { + key = "rg_gray_mod2_stage4_project" + cost = 2000 + #days_to_research = 300 + tech_department = engineering_research + icon = "gfx/interface/icons/situation_log/situation_log_main_quest.dds" + picture = GFX_evt_l-gateway + event_scope = country_event + requirements = { + } + on_start = { + owner = { + random_situation = { + limit = { + is_situation_type = situation_rg_gray_mod2 + } + set_situation_locked = yes + set_situation_flag = locked + set_situation_flag = rg_stage6_locked + } + } + } + on_cancel = { + owner = { + } + } + on_success = { + owner = { + random_situation = { + limit = { + is_situation_type = situation_rg_gray_mod2 + } + set_situation_flag = situation_rg_gray_mod2_stage_4_booster + } + } + } +} diff --git a/events/rg_gray_mod_story_event.txt b/events/rg_gray_mod_story_event.txt index 9b7cc0d..6a35bc8 100644 --- a/events/rg_gray_mod_story_event.txt +++ b/events/rg_gray_mod_story_event.txt @@ -263,6 +263,11 @@ country_event = { } option = { name = rg_story.30.b + enable_special_project = { + name = rg_gray_mod2_stage1_project + # location = event_target:gray_owner_capital_starbase + owner = event_target:gray_owner + } } } @@ -287,6 +292,22 @@ country_event = { } option = { name = rg_story.31.b + allow = { + resource_stockpile_compare = { + resource = nanties + value >= 150 + } + } + add_resource = { + resource = nanties + value = -150 + } + random_situation = { + limit = { + is_situation_type = situation_rg_gray_mod2 + } + set_situation_flag = situation_rg_gray_mod2_stage_2_booster + } } } @@ -332,6 +353,11 @@ country_event = { } option = { name = rg_story.33.b + enable_special_project = { + name = rg_gray_mod2_stage4_project + # location = event_target:gray_owner_capital_starbase + owner = event_target:gray_owner + } } } @@ -356,6 +382,31 @@ country_event = { } option = { name = rg_story.34.b + allow = { + resource_stockpile_compare = { + resource = alloys + value >= 1500 + } + resource_stockpile_compare = { + resource = energy + value >= 1500 + } + } + add_resource = { + resource = alloys + value = -1500 + } + add_resource = { + resource = energy + value = -1500 + } + rg_create_gray_mod1_testship_2 = yes + random_situation = { + limit = { + is_situation_type = situation_rg_gray_mod2 + } + set_situation_flag = situation_rg_gray_mod2_stage_5_booster + } } } @@ -380,6 +431,31 @@ country_event = { } option = { name = rg_story.35.b + allow = { + resource_stockpile_compare = { + resource = alloys + value >= 1500 + } + resource_stockpile_compare = { + resource = energy + value >= 1500 + } + } + add_resource = { + resource = alloys + value = -1500 + } + add_resource = { + resource = energy + value = -1500 + } + rg_create_gray_mod1_testship_2 = yes + random_situation = { + limit = { + is_situation_type = situation_rg_gray_mod2 + } + set_situation_flag = situation_rg_gray_mod2_stage_6_booster + } } } @@ -404,6 +480,30 @@ country_event = { } option = { name = rg_story.36.b + allow = { + resource_stockpile_compare = { + resource = energy + value >= 4000 + } + resource_stockpile_compare = { + resource = minerals + value >= 1500 + } + } + add_resource = { + resource = energy + value = -4000 + } + add_resource = { + resource = minerals + value = -1500 + } + random_situation = { + limit = { + is_situation_type = situation_rg_gray_mod2 + } + set_situation_flag = situation_rg_gray_mod2_stage_7_booster + } } } @@ -428,6 +528,22 @@ country_event = { } option = { name = rg_story.37.b + allow = { + resource_stockpile_compare = { + resource = consumer_goods + value >= 3000 + } + } + add_resource = { + resource = consumer_goods + value = -3000 + } + random_situation = { + limit = { + is_situation_type = situation_rg_gray_mod2 + } + set_situation_flag = situation_rg_gray_mod2_stage_8_booster + } } } @@ -452,6 +568,30 @@ country_event = { } option = { name = rg_story.38.b + allow = { + resource_stockpile_compare = { + resource = energy + value >= 6000 + } + resource_stockpile_compare = { + resource = minerals + value >= 3000 + } + } + add_resource = { + resource = energy + value = -6000 + } + add_resource = { + resource = minerals + value = -3000 + } + random_situation = { + limit = { + is_situation_type = situation_rg_gray_mod2 + } + set_situation_flag = situation_rg_gray_mod2_stage_9_booster + } } } @@ -476,6 +616,22 @@ country_event = { } option = { name = rg_story.39.b + allow = { + resource_stockpile_compare = { + resource = alloys + value >= 3000 + } + } + add_resource = { + resource = alloys + value = -3000 + } + random_situation = { + limit = { + is_situation_type = situation_rg_gray_mod2 + } + set_situation_flag = situation_rg_gray_mod2_stage_10_booster + } } } @@ -500,6 +656,22 @@ country_event = { } option = { name = rg_story.40.b + allow = { + resource_stockpile_compare = { + resource = nanties + value >= 500 + } + } + add_resource = { + resource = alloys + value = -500 + } + random_situation = { + limit = { + is_situation_type = situation_rg_gray_mod2 + } + set_situation_flag = situation_rg_gray_mod2_stage_11_booster + } } } diff --git a/localisation/simp_chinese/RG_l_simp_chinese.yml b/localisation/simp_chinese/RG_l_simp_chinese.yml index 2e3b3e1..a9990f7 100644 --- a/localisation/simp_chinese/RG_l_simp_chinese.yml +++ b/localisation/simp_chinese/RG_l_simp_chinese.yml @@ -362,11 +362,15 @@ situation_rg_gray_mod1_approach_3_tooltip:0 "§R我们遇到了使计划难以为继的困难,不得不暂时中止计划等待下一个时机。§!" situation_rg_gray_mod1_stage_1_booster_tooltip:0 "§G我们的项目获得了额外预算§!" - situation_rg_gray_mod1_stage_2_booster_tooltip:0 "§G我们的工程团队将会被指派帮助改造项目§!" + situation_rg_gray_mod1_stage_2_booster_tooltip:0 "§G我们的工程团队被指派帮助改造项目§!" situation_rg_gray_mod1_stage_3_booster_tooltip:0 "§R由于我们的计划缺少预算,项目团队只能用想象力来弥补不足§!" - situation_rg_gray_mod1_stage_5_booster_tooltip:0 "§G我们的物理团队将会被指派帮助改造项目§!" + situation_rg_gray_mod1_stage_5_booster_tooltip:0 "§G我们的物理团队被指派帮助改造项目§!" situation_rg_gray_mod1_stage_6_booster_tooltip:0 "§Y我们需要实际开始执行改造项目§!" + situation_rg_gray_mod2_stage_1_booster_tooltip:0 "§G我们的科研团队被指派帮助改造项目§!" + situation_rg_gray_mod2_stage_2_booster_tooltip:0 "§G我们的项目获得了额外预算§!" + situation_rg_gray_mod2_stage_3_booster_tooltip:0 "§G我们的项目被批准建造试验船§!" + situation_rg_gray_mod2:0 "§Y$NAME_Gray$旗舰改造工程§!" situation_rg_gray_mod2_desc:0 "我们的科学家相信,随着我们对$NAME_Gray$舰体和科技的研究成果的积累,我们能够设计一种巨型的旗舰舰体。如果取得成功,$NAME_Gray$母舰将获得足以匹敌堕落帝国的战斗力。为了这项伟大的项目,我们需要调集巨量的资源。一旦资源准备妥当,项目可以立即开始\n§H这是一项长期工程,因此切换$NAME_Gray$形态不会导致计划失败。§!" @@ -399,3 +403,6 @@ situation_rg_gray_mod2_stage_12_tooltip:0 "$rg_story.41.desc$" situation_rg_gray_mod2_stage_13_tooltip:0 "$rg_story.42.desc$" 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$改造项目进度,我们需要指派我们的科学家研究这个项目。嗯,就是这样。"