dialogchange

This commit is contained in:
FA507RM-KALOSPA\Kalo 2023-06-03 11:34:25 +08:00
parent bffd77f87a
commit 5cd4315b41
3 changed files with 869 additions and 31 deletions

View File

@ -72,6 +72,7 @@ country_event = {
event_target:candidate_gateway = { event_target:candidate_gateway = {
solar_system = { save_event_target_as = candidate_gateway_system } solar_system = { save_event_target_as = candidate_gateway_system }
} }
set_global_flag = rg_kac_lcluster_project
} }
option = { option = {

View File

@ -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
}
}
}
}

View File

@ -216,6 +216,9 @@ country_event = {
} }
hidden_effect = { hidden_effect = {
rg_create_gray_governor = yes rg_create_gray_governor = yes
country_event = {
id = rg_grayleader_dialog.5001
}
} }
} }
option = { # Warship option = { # Warship
@ -227,6 +230,9 @@ country_event = {
} }
hidden_effect = { hidden_effect = {
rg_create_gray_warship = yes rg_create_gray_warship = yes
country_event = {
id = rg_grayleader_dialog.5002
}
} }
} }
option = { # Army option = { # Army
@ -238,6 +244,9 @@ country_event = {
} }
hidden_effect = { hidden_effect = {
rg_create_gray_army = yes rg_create_gray_army = yes
country_event = {
id = rg_grayleader_dialog.5003
}
} }
} }
option = { # const option = { # const
@ -249,6 +258,9 @@ country_event = {
} }
hidden_effect = { hidden_effect = {
rg_create_gray_const = yes rg_create_gray_const = yes
country_event = {
id = rg_grayleader_dialog.5004
}
} }
} }
option = { # help option = { # help
@ -353,17 +365,9 @@ country_event = {
} }
hidden_effect = { hidden_effect = {
rg_create_gray_warship = yes rg_create_gray_warship = yes
} country_event = {
} id = rg_grayleader_dialog.5011
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
} }
} }
option = { # Army option = { # Army
@ -375,6 +379,23 @@ country_event = {
} }
hidden_effect = { hidden_effect = {
rg_create_gray_army = yes 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 option = { # help
@ -473,27 +494,9 @@ country_event = {
} }
hidden_effect = { hidden_effect = {
rg_create_gray_governor = yes rg_create_gray_governor = yes
} country_event = {
} id = rg_grayleader_dialog.5021
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
} }
} }
option = { # Army option = { # Army
@ -515,6 +518,9 @@ country_event = {
} }
hidden_effect = { hidden_effect = {
rg_create_gray_army = yes rg_create_gray_army = yes
country_event = {
id = rg_grayleader_dialog.5022
}
} }
} }
@ -542,6 +548,9 @@ country_event = {
custom_tooltip = rg_need_manual_toggle custom_tooltip = rg_need_manual_toggle
hidden_effect = { hidden_effect = {
set_country_flag = gray_warship_is_juggernaut 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 custom_tooltip = rg_need_manual_toggle
hidden_effect = { hidden_effect = {
remove_country_flag = gray_warship_is_juggernaut 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 = { hidden_effect = {
rg_create_gray_governor = yes rg_create_gray_governor = yes
country_event = {
id = rg_grayleader_dialog.5031
}
} }
} }
option = { # Warship option = { # Warship
@ -925,6 +964,9 @@ country_event = {
} }
hidden_effect = { hidden_effect = {
rg_create_gray_warship = yes rg_create_gray_warship = yes
country_event = {
id = rg_grayleader_dialog.5032
}
} }
} }
option = { # const option = { # const
@ -981,6 +1023,9 @@ country_event = {
} }
hidden_effect = { hidden_effect = {
rg_create_gray_const = yes rg_create_gray_const = yes
country_event = {
id = rg_grayleader_dialog.5033
}
} }
} }
@ -1169,6 +1214,9 @@ country_event = {
} }
hidden_effect = { hidden_effect = {
rg_create_gray_governor = yes rg_create_gray_governor = yes
country_event = {
id = rg_grayleader_dialog.5051
}
} }
} }
option = { # Warship option = { # Warship
@ -1190,6 +1238,9 @@ country_event = {
} }
hidden_effect = { hidden_effect = {
rg_create_gray_warship = yes rg_create_gray_warship = yes
country_event = {
id = rg_grayleader_dialog.5052
}
} }
} }
option = { # Army option = { # Army
@ -1211,6 +1262,9 @@ country_event = {
} }
hidden_effect = { hidden_effect = {
rg_create_gray_army = yes rg_create_gray_army = yes
country_event = {
id = rg_grayleader_dialog.5053
}
} }
} }