From 5cd4315b414543e839085f4c15f58ae4b9e84561 Mon Sep 17 00:00:00 2001 From: "FA507RM-KALOSPA\\Kalo" Date: Sat, 3 Jun 2023 11:34:25 +0800 Subject: [PATCH] dialogchange --- events/!_RG_distant_stars_events_3.txt | 1 + events/RG_gray_leader_dialog_event.txt | 783 +++++++++++++++++++++++++ events/RG_gray_leader_event.txt | 116 +++- 3 files changed, 869 insertions(+), 31 deletions(-) create mode 100644 events/RG_gray_leader_dialog_event.txt diff --git a/events/!_RG_distant_stars_events_3.txt b/events/!_RG_distant_stars_events_3.txt index ddade9c..ed623fc 100644 --- a/events/!_RG_distant_stars_events_3.txt +++ b/events/!_RG_distant_stars_events_3.txt @@ -72,6 +72,7 @@ country_event = { event_target:candidate_gateway = { solar_system = { save_event_target_as = candidate_gateway_system } } + set_global_flag = rg_kac_lcluster_project } option = { diff --git a/events/RG_gray_leader_dialog_event.txt b/events/RG_gray_leader_dialog_event.txt new file mode 100644 index 0000000..9a4732e --- /dev/null +++ b/events/RG_gray_leader_dialog_event.txt @@ -0,0 +1,783 @@ +namespace = rg_grayleader_dialog + +country_event = { + id = rg_grayleader_dialog.5001 + title = "graygoo.500.title" + desc = "graygoo.500.a.response" + + event_window_type = leader_recruit + + picture_event_data = { + portrait = event_target:gray_governor + planet_background = root.capital_scope + room = "ethic_spaceship_room" + } + + is_triggered_only = yes + + immediate = { + set_country_flag = gray_diplomacy_engaged + } + + after = { + hidden_effect = { + remove_country_flag = gray_diplomacy_engaged + } + } + + option = { # 诶嘿 + name = YES + } + + option = { + name = graygoo.500.d + tag = hire_leader + default_hide_option = yes + } + option = { + name = graygoo.500.prepage + tag = dismiss_leader + hidden_effect = { + country_event = { + id = rg_grayleader.1 + } + } + } +} +country_event = { + id = rg_grayleader_dialog.5002 + title = "graygoo.500.title" + desc = "graygoo.500.b.response" + + event_window_type = leader_recruit + + picture_event_data = { + portrait = event_target:gray_governor + planet_background = root.capital_scope + room = "ethic_spaceship_room" + } + + is_triggered_only = yes + + immediate = { + set_country_flag = gray_diplomacy_engaged + } + + after = { + hidden_effect = { + remove_country_flag = gray_diplomacy_engaged + } + } + + option = { # 诶嘿 + name = YES + } + + option = { + name = graygoo.500.d + tag = hire_leader + default_hide_option = yes + } + option = { + name = graygoo.500.prepage + tag = dismiss_leader + hidden_effect = { + country_event = { + id = rg_grayleader.1 + } + } + } +} +country_event = { + id = rg_grayleader_dialog.5003 + title = "graygoo.500.title" + desc = "graygoo.500.c.response" + + event_window_type = leader_recruit + + picture_event_data = { + portrait = event_target:gray_governor + planet_background = root.capital_scope + room = "ethic_spaceship_room" + } + + is_triggered_only = yes + + immediate = { + set_country_flag = gray_diplomacy_engaged + } + + after = { + hidden_effect = { + remove_country_flag = gray_diplomacy_engaged + } + } + + option = { # 诶嘿 + name = YES + } + + option = { + name = graygoo.500.d + tag = hire_leader + default_hide_option = yes + } + option = { + name = graygoo.500.prepage + tag = dismiss_leader + hidden_effect = { + country_event = { + id = rg_grayleader.1 + } + } + } +} +country_event = { + id = rg_grayleader_dialog.5004 + title = "graygoo.500.title" + desc = "rg_const.500.response" + + event_window_type = leader_recruit + + picture_event_data = { + portrait = event_target:gray_governor + planet_background = root.capital_scope + room = "ethic_spaceship_room" + } + + is_triggered_only = yes + + immediate = { + set_country_flag = gray_diplomacy_engaged + } + + after = { + hidden_effect = { + remove_country_flag = gray_diplomacy_engaged + } + } + + option = { # 诶嘿 + name = YES + } + + option = { + name = graygoo.500.d + tag = hire_leader + default_hide_option = yes + } + option = { + name = graygoo.500.prepage + tag = dismiss_leader + hidden_effect = { + country_event = { + id = rg_grayleader.1 + } + } + } +} +country_event = { + id = rg_grayleader_dialog.5011 + title = "graygoo.500.title" + desc = "graygoo.501.b.response" + + event_window_type = leader_recruit + + picture_event_data = { + portrait = event_target:gray_governor + planet_background = event_target:gray_governor_planet + room = root + } + + is_triggered_only = yes + + immediate = { + set_country_flag = gray_diplomacy_engaged + } + + after = { + hidden_effect = { + remove_country_flag = gray_diplomacy_engaged + } + } + + option = { # 诶嘿 + name = YES + } + + option = { + name = graygoo.500.d + tag = hire_leader + default_hide_option = yes + } + option = { + name = graygoo.500.prepage + tag = dismiss_leader + hidden_effect = { + country_event = { + id = rg_grayleader.1 + } + } + } +} +country_event = { + id = rg_grayleader_dialog.5012 + title = "graygoo.500.title" + desc = "graygoo.501.c.response" + + event_window_type = leader_recruit + + picture_event_data = { + portrait = event_target:gray_governor + planet_background = event_target:gray_governor_planet + room = root + } + + is_triggered_only = yes + + immediate = { + set_country_flag = gray_diplomacy_engaged + } + + after = { + hidden_effect = { + remove_country_flag = gray_diplomacy_engaged + } + } + + option = { # 诶嘿 + name = YES + } + + option = { + name = graygoo.500.d + tag = hire_leader + default_hide_option = yes + } + option = { + name = graygoo.500.prepage + tag = dismiss_leader + hidden_effect = { + country_event = { + id = rg_grayleader.1 + } + } + } +} +country_event = { + id = rg_grayleader_dialog.5013 + title = "graygoo.500.title" + desc = "rg_const.501.response" + + event_window_type = leader_recruit + + picture_event_data = { + portrait = event_target:gray_governor + planet_background = event_target:gray_governor_planet + room = root + } + + is_triggered_only = yes + + immediate = { + set_country_flag = gray_diplomacy_engaged + } + + after = { + hidden_effect = { + remove_country_flag = gray_diplomacy_engaged + } + } + + option = { # 诶嘿 + name = YES + } + + option = { + name = graygoo.500.d + tag = hire_leader + default_hide_option = yes + } + option = { + name = graygoo.500.prepage + tag = dismiss_leader + hidden_effect = { + country_event = { + id = rg_grayleader.1 + } + } + } +} +country_event = { + id = rg_grayleader_dialog.5021 + title = "graygoo.500.title" + desc = "graygoo.502.a.response" + + event_window_type = leader_recruit + + picture_event_data = { + portrait = event_target:gray_leader_admiral + room = "ethic_spaceship_room" + } + + is_triggered_only = yes + + immediate = { + set_country_flag = gray_diplomacy_engaged + } + + after = { + hidden_effect = { + remove_country_flag = gray_diplomacy_engaged + } + } + + option = { # 诶嘿 + name = YES + } + + option = { + name = graygoo.500.d + tag = hire_leader + default_hide_option = yes + } + option = { + name = graygoo.500.prepage + tag = dismiss_leader + hidden_effect = { + country_event = { + id = rg_grayleader.1 + } + } + } +} +country_event = { + id = rg_grayleader_dialog.5022 + title = "graygoo.500.title" + desc = "graygoo.502.c.response" + + event_window_type = leader_recruit + + picture_event_data = { + portrait = event_target:gray_leader_admiral + room = "ethic_spaceship_room" + } + + is_triggered_only = yes + + immediate = { + set_country_flag = gray_diplomacy_engaged + } + + after = { + hidden_effect = { + remove_country_flag = gray_diplomacy_engaged + } + } + + option = { # 诶嘿 + name = YES + } + + option = { + name = graygoo.500.d + tag = hire_leader + default_hide_option = yes + } + option = { + name = graygoo.500.prepage + tag = dismiss_leader + hidden_effect = { + country_event = { + id = rg_grayleader.1 + } + } + } +} +country_event = { + id = rg_grayleader_dialog.5023 + title = "graygoo.500.title" + desc = "RG_graygoo.502.d.response" + + event_window_type = leader_recruit + + picture_event_data = { + portrait = event_target:gray_leader_admiral + room = "ethic_spaceship_room" + } + + is_triggered_only = yes + + immediate = { + set_country_flag = gray_diplomacy_engaged + } + + after = { + hidden_effect = { + remove_country_flag = gray_diplomacy_engaged + } + } + + option = { # 诶嘿 + name = YES + } + + option = { + name = graygoo.500.d + tag = hire_leader + default_hide_option = yes + } + option = { + name = graygoo.500.prepage + tag = dismiss_leader + hidden_effect = { + country_event = { + id = rg_grayleader.1 + } + } + } +} +country_event = { + id = rg_grayleader_dialog.5024 + title = "graygoo.500.title" + desc = "RG_graygoo.502.e.response" + + event_window_type = leader_recruit + + picture_event_data = { + portrait = event_target:gray_leader_admiral + room = "ethic_spaceship_room" + } + + is_triggered_only = yes + + immediate = { + set_country_flag = gray_diplomacy_engaged + } + + after = { + hidden_effect = { + remove_country_flag = gray_diplomacy_engaged + } + } + + option = { # 诶嘿 + name = YES + } + + option = { + name = graygoo.500.d + tag = hire_leader + default_hide_option = yes + } + option = { + name = graygoo.500.prepage + tag = dismiss_leader + hidden_effect = { + country_event = { + id = rg_grayleader.1 + } + } + } +} +country_event = { + id = rg_grayleader_dialog.5025 + title = "graygoo.500.title" + desc = "rg_const.502.response" + + event_window_type = leader_recruit + + picture_event_data = { + portrait = event_target:gray_leader_admiral + room = "ethic_spaceship_room" + } + + is_triggered_only = yes + + immediate = { + set_country_flag = gray_diplomacy_engaged + } + + after = { + hidden_effect = { + remove_country_flag = gray_diplomacy_engaged + } + } + + option = { # 诶嘿 + name = YES + } + + option = { + name = graygoo.500.d + tag = hire_leader + default_hide_option = yes + } + option = { + name = graygoo.500.prepage + tag = dismiss_leader + hidden_effect = { + country_event = { + id = rg_grayleader.1 + } + } + } +} +country_event = { + id = rg_grayleader_dialog.5031 + title = "graygoo.500.title" + desc = "graygoo.503.a.response" + + event_window_type = leader_recruit + + picture_event_data = { + portrait = event_target:gray_leader_general + room = "ethic_spaceship_room" + } + + is_triggered_only = yes + + immediate = { + set_country_flag = gray_diplomacy_engaged + } + + after = { + hidden_effect = { + remove_country_flag = gray_diplomacy_engaged + } + } + + option = { # 诶嘿 + name = YES + } + + option = { + name = graygoo.500.d + tag = hire_leader + default_hide_option = yes + } + option = { + name = graygoo.500.prepage + tag = dismiss_leader + hidden_effect = { + country_event = { + id = rg_grayleader.1 + } + } + } +} +country_event = { + id = rg_grayleader_dialog.5032 + title = "graygoo.500.title" + desc = "graygoo.503.b.response" + + event_window_type = leader_recruit + + picture_event_data = { + portrait = event_target:gray_leader_general + room = "ethic_spaceship_room" + } + + is_triggered_only = yes + + immediate = { + set_country_flag = gray_diplomacy_engaged + } + + after = { + hidden_effect = { + remove_country_flag = gray_diplomacy_engaged + } + } + + option = { # 诶嘿 + name = YES + } + + option = { + name = graygoo.500.d + tag = hire_leader + default_hide_option = yes + } + option = { + name = graygoo.500.prepage + tag = dismiss_leader + hidden_effect = { + country_event = { + id = rg_grayleader.1 + } + } + } +} +country_event = { + id = rg_grayleader_dialog.5033 + title = "graygoo.500.title" + desc = "rg_const.503.response" + + event_window_type = leader_recruit + + picture_event_data = { + portrait = event_target:gray_leader_general + room = "ethic_spaceship_room" + } + + is_triggered_only = yes + + immediate = { + set_country_flag = gray_diplomacy_engaged + } + + after = { + hidden_effect = { + remove_country_flag = gray_diplomacy_engaged + } + } + + option = { # 诶嘿 + name = YES + } + + option = { + name = graygoo.500.d + tag = hire_leader + default_hide_option = yes + } + option = { + name = graygoo.500.prepage + tag = dismiss_leader + hidden_effect = { + country_event = { + id = rg_grayleader.1 + } + } + } +} +country_event = { + id = rg_grayleader_dialog.5051 + title = "graygoo.500.title" + desc = "graygoo.505.a.response" + + event_window_type = leader_recruit + + picture_event_data = { + portrait = event_target:gray_leader_scientist + room = "ethic_spaceship_room" + } + + is_triggered_only = yes + + immediate = { + set_country_flag = gray_diplomacy_engaged + } + + after = { + hidden_effect = { + remove_country_flag = gray_diplomacy_engaged + } + } + + option = { # 诶嘿 + name = YES + } + + option = { + name = graygoo.500.d + tag = hire_leader + default_hide_option = yes + } + option = { + name = graygoo.500.prepage + tag = dismiss_leader + hidden_effect = { + country_event = { + id = rg_grayleader.1 + } + } + } +} +country_event = { + id = rg_grayleader_dialog.5052 + title = "graygoo.500.title" + desc = "graygoo.505.b.response" + + event_window_type = leader_recruit + + picture_event_data = { + portrait = event_target:gray_leader_scientist + room = "ethic_spaceship_room" + } + + is_triggered_only = yes + + immediate = { + set_country_flag = gray_diplomacy_engaged + } + + after = { + hidden_effect = { + remove_country_flag = gray_diplomacy_engaged + } + } + + option = { # 诶嘿 + name = YES + } + + option = { + name = graygoo.500.d + tag = hire_leader + default_hide_option = yes + } + option = { + name = graygoo.500.prepage + tag = dismiss_leader + hidden_effect = { + country_event = { + id = rg_grayleader.1 + } + } + } +} +country_event = { + id = rg_grayleader_dialog.5053 + title = "graygoo.500.title" + desc = "graygoo.505.c.response" + + event_window_type = leader_recruit + + picture_event_data = { + portrait = event_target:gray_leader_scientist + room = "ethic_spaceship_room" + } + + is_triggered_only = yes + + immediate = { + set_country_flag = gray_diplomacy_engaged + } + + after = { + hidden_effect = { + remove_country_flag = gray_diplomacy_engaged + } + } + + option = { # 诶嘿 + name = YES + } + + option = { + name = graygoo.500.d + tag = hire_leader + default_hide_option = yes + } + option = { + name = graygoo.500.prepage + tag = dismiss_leader + hidden_effect = { + country_event = { + id = rg_grayleader.1 + } + } + } +} \ No newline at end of file diff --git a/events/RG_gray_leader_event.txt b/events/RG_gray_leader_event.txt index 82eb360..17e4189 100644 --- a/events/RG_gray_leader_event.txt +++ b/events/RG_gray_leader_event.txt @@ -216,6 +216,9 @@ country_event = { } hidden_effect = { rg_create_gray_governor = yes + country_event = { + id = rg_grayleader_dialog.5001 + } } } option = { # Warship @@ -227,6 +230,9 @@ country_event = { } hidden_effect = { rg_create_gray_warship = yes + country_event = { + id = rg_grayleader_dialog.5002 + } } } option = { # Army @@ -238,6 +244,9 @@ country_event = { } hidden_effect = { rg_create_gray_army = yes + country_event = { + id = rg_grayleader_dialog.5003 + } } } option = { # const @@ -249,6 +258,9 @@ country_event = { } hidden_effect = { rg_create_gray_const = yes + country_event = { + id = rg_grayleader_dialog.5004 + } } } option = { # help @@ -353,17 +365,9 @@ country_event = { } hidden_effect = { rg_create_gray_warship = yes - } - } - option = { # const - name = rg_const - response_text = rg_const.501.response - - allow = { - hidden_trigger = { exists = event_target:gray_governor } - } - hidden_effect = { - rg_create_gray_const = yes + country_event = { + id = rg_grayleader_dialog.5011 + } } } option = { # Army @@ -375,6 +379,23 @@ country_event = { } hidden_effect = { rg_create_gray_army = yes + country_event = { + id = rg_grayleader_dialog.5012 + } + } + } + option = { # const + name = rg_const + response_text = rg_const.501.response + + allow = { + hidden_trigger = { exists = event_target:gray_governor } + } + hidden_effect = { + rg_create_gray_const = yes + country_event = { + id = rg_grayleader_dialog.5013 + } } } option = { # help @@ -473,27 +494,9 @@ country_event = { } hidden_effect = { rg_create_gray_governor = yes - } - } - option = { # const - name = rg_const - response_text = rg_const.502.response - - allow = { - hidden_trigger = { - event_target:gray_warship = { num_ships > 0 } + country_event = { + id = rg_grayleader_dialog.5021 } - custom_tooltip = { - fail_text = graygoo.500.allow.a - event_target:gray_warship = { is_in_combat = no } - } - custom_tooltip = { - fail_text = graygoo.500.allow.b - event_target:gray_warship = { NOT = { has_hp_percentage < 0.97 } } - } - } - hidden_effect = { - rg_create_gray_const = yes } } option = { # Army @@ -515,6 +518,9 @@ country_event = { } hidden_effect = { rg_create_gray_army = yes + country_event = { + id = rg_grayleader_dialog.5022 + } } } @@ -542,6 +548,9 @@ country_event = { custom_tooltip = rg_need_manual_toggle hidden_effect = { set_country_flag = gray_warship_is_juggernaut + country_event = { + id = rg_grayleader_dialog.5023 + } } } @@ -569,6 +578,33 @@ country_event = { custom_tooltip = rg_need_manual_toggle hidden_effect = { remove_country_flag = gray_warship_is_juggernaut + country_event = { + id = rg_grayleader_dialog.5024 + } + } + } + option = { # const + name = rg_const + response_text = rg_const.502.response + + allow = { + hidden_trigger = { + event_target:gray_warship = { num_ships > 0 } + } + custom_tooltip = { + fail_text = graygoo.500.allow.a + event_target:gray_warship = { is_in_combat = no } + } + custom_tooltip = { + fail_text = graygoo.500.allow.b + event_target:gray_warship = { NOT = { has_hp_percentage < 0.97 } } + } + } + hidden_effect = { + rg_create_gray_const = yes + country_event = { + id = rg_grayleader_dialog.5025 + } } } @@ -869,6 +905,9 @@ country_event = { } hidden_effect = { rg_create_gray_governor = yes + country_event = { + id = rg_grayleader_dialog.5031 + } } } option = { # Warship @@ -925,6 +964,9 @@ country_event = { } hidden_effect = { rg_create_gray_warship = yes + country_event = { + id = rg_grayleader_dialog.5032 + } } } option = { # const @@ -981,6 +1023,9 @@ country_event = { } hidden_effect = { rg_create_gray_const = yes + country_event = { + id = rg_grayleader_dialog.5033 + } } } @@ -1169,6 +1214,9 @@ country_event = { } hidden_effect = { rg_create_gray_governor = yes + country_event = { + id = rg_grayleader_dialog.5051 + } } } option = { # Warship @@ -1190,6 +1238,9 @@ country_event = { } hidden_effect = { rg_create_gray_warship = yes + country_event = { + id = rg_grayleader_dialog.5052 + } } } option = { # Army @@ -1211,6 +1262,9 @@ country_event = { } hidden_effect = { rg_create_gray_army = yes + country_event = { + id = rg_grayleader_dialog.5053 + } } }