This commit is contained in:
FA507RM-KALOSPA\Kalo 2023-06-08 12:22:22 +08:00
parent 4b46c0c531
commit eb0f2dcc48
6 changed files with 55 additions and 627 deletions

View File

@ -1,20 +1,15 @@
on_game_start = { on_game_start = {
events = { events = {
rg.19
rg_kac_event.4
} }
} }
on_single_player_save_game_load = { on_single_player_save_game_load = {
events = { events = {
rg.19
rg_kac_event.4
} }
} }
on_custom_diplomacy = { on_custom_diplomacy = {
events = { events = {
graygoo.505 graygoo.505
rg_kac_event.1
} }
} }
@ -41,6 +36,7 @@ on_game_start_country = {
events = { events = {
# rg_cluster.8 # rg_cluster.8
rg.1 rg.1
rg.19
} }
} }

View File

@ -12,6 +12,9 @@ rg_storyline_trigger = {
if = { if = {
limit = { limit = {
exists = event_target:guardian_dragon_country exists = event_target:guardian_dragon_country
NOT = {
has_global_flag = has_origin_gray_dragon
}
} }
country_event = { id = rg_story.11 days = 3600 random = 12800 } country_event = { id = rg_story.11 days = 3600 random = 12800 }
} }
@ -102,7 +105,7 @@ rg_create_fake_dragon = {
} }
create_leader = { create_leader = {
class = admiral class = admiral
species = event_target:RG_sim_dragon_species species = root
name = "Name_rg_fake_dragon" name = "Name_rg_fake_dragon"
event_leader = yes event_leader = yes
gender = female gender = female
@ -114,7 +117,15 @@ rg_create_fake_dragon = {
trait = RG_leader_trait_admiral_timed_life trait = RG_leader_trait_admiral_timed_life
} }
effect = { effect = {
if = {
limit = {
has_global_flag = has_wsg_mod
}
change_leader_portrait = wg_dragon change_leader_portrait = wg_dragon
}
else = {
change_leader_portrait = species
}
set_leader_flag = has_gained_level_trait set_leader_flag = has_gained_level_trait
set_leader_flag = has_gained_trait set_leader_flag = has_gained_trait
set_leader_flag = legendary_leader set_leader_flag = legendary_leader
@ -126,6 +137,7 @@ rg_create_fake_dragon = {
which = rg_fake_dragon_timedlife_counter which = rg_fake_dragon_timedlife_counter
value = 0 value = 0
} }
set_country_flag = rg_fake_dragon_owner
save_global_event_target_as = rg_fake_dragon_owner save_global_event_target_as = rg_fake_dragon_owner
create_fleet = { create_fleet = {
name = "NAME_RG_Nanite_Dragon" name = "NAME_RG_Nanite_Dragon"

View File

@ -52,12 +52,11 @@ country_event = {
hide_window = yes hide_window = yes
is_triggered_only = yes is_triggered_only = yes
fire_only_once = yes
trigger = { trigger = {
AND = { AND = {
has_origin = origin_rg_gray has_origin = origin_rg_gray
NOT = { has_global_flag = rg_origin_l_cluster } # NOT = { has_global_flag = rg_origin_l_cluster }
} }
} }
@ -65,7 +64,7 @@ country_event = {
if = { if = {
limit = { limit = {
NOT = { NOT = {
has_global_flag = origin_rg_gray_1st has_global_flag = origin_rg_gray_1st_global
} }
} }
set_global_flag = origin_rg_gray_1st_global set_global_flag = origin_rg_gray_1st_global
@ -78,13 +77,24 @@ country_event = {
save_global_event_target_as = origin_rg_gray_country save_global_event_target_as = origin_rg_gray_country
rg_lcluster_spawn_effect = yes rg_lcluster_spawn_effect = yes
} }
else_if = { else = {
limit = {
has_global_flag = origin_rg_gray_1st_global
}
set_country_flag = origin_gray_dragon_country set_country_flag = origin_gray_dragon_country
set_global_flag = has_origin_gray_dragon set_global_flag = has_origin_gray_dragon
rg_create_fake_dragon = yes rg_create_fake_dragon = yes
random_owned_leader = {
limit = {
has_leader_flag = rg_fake_dragon
}
remove_trait = RG_leader_trait_admiral_timed_life
add_trait = RG_leader_trait_admiral_born_tobe_dragon
set_leader_flag = rg_fake_dragon_reborn
set_age = 0
}
set_country_flag = rg_fake_dragon_reborn_country
set_variable = {
which = rg_fake_dragon_timedlife_counter
value = 0
}
start_lcluster_chain = yes start_lcluster_chain = yes
add_event_chain_counter = { add_event_chain_counter = {
event_chain = l_cluster_chain event_chain = l_cluster_chain
@ -816,10 +826,11 @@ country_event = {
} }
} }
event = { country_event = {
id = rg.19 id = rg.19
hide_window = yes hide_window = yes
is_triggered_only = yes is_triggered_only = yes
fire_only_once = yes
trigger = { trigger = {
is_ai = no is_ai = no
@ -838,9 +849,7 @@ country_event = {
hide_window = yes hide_window = yes
is_triggered_only = yes is_triggered_only = yes
trigger = { trigger = {
any_owned_leader = { has_country_flag = rg_fake_dragon_owner
has_leader_flag = rg_fake_dragon
}
} }
immediate = { immediate = {
if = { if = {
@ -881,10 +890,15 @@ country_event = {
random_owned_leader = { random_owned_leader = {
limit = { has_leader_flag = rg_fake_dragon } limit = { has_leader_flag = rg_fake_dragon }
set_age = owner.rg_fake_dragon_timedlife_counter set_age = owner.rg_fake_dragon_timedlife_counter
if = {
limit = {
has_global_flag = has_wsg_mod
} }
event_target:rg_fake_dragon_admiral = {
change_leader_portrait = wg_dragon change_leader_portrait = wg_dragon
set_age = owner.rg_fake_dragon_timedlife_counter }
else = {
change_leader_portrait = species
}
} }
random_owned_fleet = { random_owned_fleet = {
limit = { limit = {

View File

@ -664,7 +664,7 @@ country_event = {
} }
# sim dragon ga le # sim dragon ga le
event = { country_event = {
id = rg_story.20 id = rg_story.20
hide_window = yes hide_window = yes
@ -694,13 +694,15 @@ event = {
} }
immediate = { immediate = {
event_target:rg_fake_dragon_admiral = { random_owned_leader = {
limit = {
has_leader_flag = rg_fake_dragon
}
remove_trait = RG_leader_trait_admiral_timed_life remove_trait = RG_leader_trait_admiral_timed_life
add_trait = RG_leader_trait_admiral_born_tobe_dragon add_trait = RG_leader_trait_admiral_born_tobe_dragon
set_leader_flag = rg_fake_dragon_reborn set_leader_flag = rg_fake_dragon_reborn
set_age = 0 set_age = 0
} }
event_target:rg_fake_dragon_owner = {
set_country_flag = rg_fake_dragon_reborn_country set_country_flag = rg_fake_dragon_reborn_country
set_variable = { set_variable = {
which = rg_fake_dragon_timedlife_counter which = rg_fake_dragon_timedlife_counter
@ -709,7 +711,6 @@ event = {
country_event = { id = rg_story.21 } country_event = { id = rg_story.21 }
} }
} }
}
country_event = { country_event = {
id = rg_story.21 id = rg_story.21

View File

@ -1,595 +0,0 @@
# 这里的事件暂时用不上
namespace = rg_wsg_story
country_event = {
id = rg_wsg_story.2
title = "graygoo.500.title"
is_triggered_only = yes
trigger = {
OR = {
has_global_flag = has_wsg_mod
has_global_flag = kdc_event_mod_active
}
}
diplomatic = yes
custom_gui = gray_dialogue_window
custom_gui_option = wg_dialogue_button
desc = {
text = "rg_story.2.desc"
}
option = {
name = rg_story.2.a
hidden_effect = {
country_event = { id = rg_wsg_story.3}
}
}
option = {
name = rg_story.2.b
hidden_effect = {
country_event = { id = rg_wsg_story.3 }
}
}
option = {
name = rg_story.2.c
hidden_effect = {
country_event = { id = rg_wsg_story.3 }
}
}
option = {
name = ""
custom_gui = wg_hiding_button
hidden_effect = { country_event = { id = rg_wsg_story.5 }}
default_hide_option = yes
}
}
country_event = {
id = rg_wsg_story.3
title = "graygoo.500.title"
is_triggered_only = yes
trigger = {
OR = {
has_global_flag = has_wsg_mod
has_global_flag = kdc_event_mod_active
}
}
diplomatic = yes
custom_gui = gray_dialogue_window
custom_gui_option = wg_dialogue_button
desc = {
text = "rg_story.3.desc"
}
option = {
name = rg_story.3.a
hidden_effect = {
country_event = { id = rg_wsg_story.4 }
}
}
option = {
name = rg_story.3.b
hidden_effect = {
country_event = { id = rg_wsg_story.4 }
}
}
option = {
name = rg_story.3.c
hidden_effect = {
country_event = { id = rg_wsg_story.4 }
}
}
option = {
name = ""
custom_gui = wg_hiding_button
hidden_effect = { country_event = { id = rg_wsg_story.5 }}
default_hide_option = yes
}
}
country_event = {
id = rg_wsg_story.4
title = "graygoo.500.title"
is_triggered_only = yes
trigger = {
OR = {
has_global_flag = has_wsg_mod
has_global_flag = kdc_event_mod_active
}
}
diplomatic = yes
custom_gui = gray_dialogue_window
custom_gui_option = wg_dialogue_button
desc = {
text = "rg_story.4.desc"
}
option = {
name = rg_story.4.a
hidden_effect = {
country_event = { id = rg_wsg_story.5 }
}
}
option = {
name = rg_story.4.b
hidden_effect = {
country_event = { id = rg_wsg_story.5 }
}
}
option = {
name = rg_story.4.c
hidden_effect = {
country_event = { id = rg_wsg_story.5 }
}
}
option = {
name = ""
custom_gui = wg_hiding_button
hidden_effect = { country_event = { id = rg_wsg_story.5 }}
default_hide_option = yes
}
}
country_event = {
id = rg_wsg_story.5
title = "graygoo.500.title"
is_triggered_only = yes
trigger = {
OR = {
has_global_flag = has_wsg_mod
has_global_flag = kdc_event_mod_active
}
}
diplomatic = yes
custom_gui = gray_dialogue_window
custom_gui_option = wg_dialogue_button
desc = {
text = "rg_story.5.desc"
}
option = {
name = rg_story.5.a
hidden_effect = {
rg_create_gray_planetkiller_testship_1 = yes
}
default_hide_option = yes
}
}
country_event = {
id = rg_wsg_story.8
title = "graygoo.500.title"
is_triggered_only = yes
trigger = {
OR = {
has_global_flag = has_wsg_mod
has_global_flag = kdc_event_mod_active
}
}
diplomatic = yes
custom_gui = gray_dialogue_window
custom_gui_option = wg_dialogue_button
desc = {
text = "rg_story.8.desc"
}
option = {
name = rg_story.8.a
hidden_effect = {
country_event = { id = rg_wsg_story.9 }
}
}
option = {
name = rg_story.8.b
hidden_effect = {
country_event = { id = rg_wsg_story.9 }
}
}
option = {
name = rg_story.8.c
hidden_effect = {
country_event = { id = rg_wsg_story.9 }
}
}
option = {
name = ""
custom_gui = wg_hiding_button
hidden_effect = { country_event = { id = rg_wsg_story.9 }}
default_hide_option = yes
}
}
country_event = {
id = rg_wsg_story.9
title = "graygoo.500.title"
is_triggered_only = yes
trigger = {
OR = {
has_global_flag = has_wsg_mod
has_global_flag = kdc_event_mod_active
}
}
diplomatic = yes
custom_gui = gray_dialogue_window
custom_gui_option = wg_dialogue_button
desc = {
text = "rg_story.9.desc"
}
option = {
name = rg_story.9.a
hidden_effect = {
rg_create_gray_paperwork_testship_1 = yes
}
default_hide_option = yes
}
}
country_event = {
id = rg_wsg_story.11
title = "graygoo.500.title"
is_triggered_only = yes
trigger = {
OR = {
has_global_flag = has_wsg_mod
has_global_flag = kdc_event_mod_active
}
exists = event_target:guardian_dragon_country
}
diplomatic = yes
custom_gui = gray_dialogue_window
custom_gui_option = wg_dialogue_button
desc = {
text = "rg_story.11.desc"
}
option = {
name = rg_story.11.a
hidden_effect = {
country_event = { id = rg_wsg_story.12 }
}
}
option = {
name = rg_story.11.b
hidden_effect = {
country_event = { id = rg_wsg_story.12 }
}
}
option = {
name = rg_story.11.c
hidden_effect = {
country_event = { id = rg_wsg_story.12 }
}
}
option = {
name = ""
custom_gui = wg_hiding_button
hidden_effect = { country_event = { id = rg_wsg_story.12 }}
default_hide_option = yes
}
}
country_event = {
id = rg_wsg_story.12
title = "graygoo.500.title"
is_triggered_only = yes
trigger = {
OR = {
has_global_flag = has_wsg_mod
has_global_flag = kdc_event_mod_active
}
}
diplomatic = yes
custom_gui = gray_dialogue_window
custom_gui_option = wg_dialogue_button
desc = {
text = "rg_story.12.desc"
}
immediate = {
event_target:guardian_dragon_country = {
random_owned_fleet = {
limit = {
has_fleet_flag = dragon_fleet
}
save_event_target_as = dragon_fleet_target
}
}
}
option = {
name = rg_wsg_story.12.a
allow = {
exists = event_target:guardian_dragon_country
event_target:guardian_dragon_country = {
any_owned_fleet = {
has_fleet_flag = dragon_fleet
}
}
}
hidden_effect = {
enable_special_project = {
name = RG_FAKE_DRAGON_SCAN_PROJECT
location = event_target:dragon_fleet_target
owner = root
}
}
default_hide_option = yes
}
option = {
name = rg_wsg_story.12.b
}
option = {
name = rg_wsg_story.12.c
}
}
country_event = {
id = rg_wsg_story.13
title = "rg_story.13.title"
is_triggered_only = yes
trigger = {
OR = {
has_global_flag = has_wsg_mod
has_global_flag = kdc_event_mod_active
}
}
picture = GFX_evt_space_dragon
show_sound = evn_fc_observation
desc = {
text = "rg_story.13.desc"
}
option = {
name = rg_story.13.a
default_hide_option = yes
}
}
country_event = {
id = rg_wsg_story.14
title = "rg_story.14.title"
is_triggered_only = yes
trigger = {
OR = {
has_global_flag = has_wsg_mod
has_global_flag = kdc_event_mod_active
}
}
picture = GFX_evt_space_dragon
show_sound = evn_fc_observation
desc = {
text = "rg_story.14.desc"
}
option = {
name = rg_story.14.a
default_hide_option = yes
}
}
country_event = {
id = rg_wsg_story.15
title = "rg_story.15.title"
is_triggered_only = yes
trigger = {
OR = {
has_global_flag = has_wsg_mod
has_global_flag = kdc_event_mod_active
}
}
picture = GFX_evt_space_dragon
show_sound = evn_fc_observation
desc = {
text = "rg_story.15.desc"
}
option = {
name = rg_story.15.a
hidden_effect = {
country_event = { id = rg_story.16 }
}
default_hide_option = yes
}
}
country_event = {
id = rg_wsg_story.16
title = "graygoo.500.title"
is_triggered_only = yes
trigger = {
OR = {
has_global_flag = has_wsg_mod
has_global_flag = kdc_event_mod_active
}
}
diplomatic = yes
custom_gui = gray_dialogue_window
custom_gui_option = wg_dialogue_button
desc = {
text = "rg_story.16.desc"
}
option = {
name = rg_story.16.a
hidden_effect = {
country_event = { id = rg_wsg_story.17 days= 360 random = 640 }
}
default_hide_option = yes
}
}
country_event = {
id = rg_wsg_story.17
title = "graygoo.500.title"
is_triggered_only = yes
trigger = {
OR = {
has_global_flag = has_wsg_mod
has_global_flag = kdc_event_mod_active
}
}
diplomatic = yes
custom_gui = gray_dialogue_window
custom_gui_option = wg_dialogue_button
desc = {
text = "rg_story.17.desc"
}
option = {
name = rg_story.17.a
hidden_effect = {
country_event = { id = rg_wsg_story.18 }
}
}
option = {
name = rg_story.17.b
hidden_effect = {
country_event = { id = rg_wsg_story.18 }
}
}
option = {
name = rg_story.17.c
hidden_effect = {
country_event = { id = rg_wsg_story.18 }
}
}
option = {
name = ""
custom_gui = wg_hiding_button
hidden_effect = { country_event = { id = rg_wsg_story.19 }}
default_hide_option = yes
}
}
country_event = {
id = rg_wsg_story.18
title = "simulasion_dragon_name"
is_triggered_only = yes
trigger = {
OR = {
has_global_flag = has_wsg_mod
has_global_flag = kdc_event_mod_active
}
}
diplomatic = yes
custom_gui = gray_dialogue_window
custom_gui_option = wg_dialogue_button
desc = {
text = "rg_story.18.desc"
}
option = {
name = rg_story.18.a
hidden_effect = {
country_event = { id = rg_wsg_story.19 }
}
}
option = {
name = rg_story.18.b
hidden_effect = {
country_event = { id = rg_wsg_story.19 }
}
}
option = {
name = rg_story.18.c
hidden_effect = {
country_event = { id = rg_wsg_story.19 }
}
}
option = {
name = ""
custom_gui = wg_hiding_button
hidden_effect = { country_event = { id = rg_wsg_story.19 }}
default_hide_option = yes
}
}
country_event = {
id = rg_wsg_story.19
title = "graygoo.500.title"
is_triggered_only = yes
trigger = {
OR = {
has_global_flag = has_wsg_mod
has_global_flag = kdc_event_mod_active
}
}
diplomatic = yes
custom_gui = gray_dialogue_window
custom_gui_option = wg_dialogue_button
immediate = {
rg_create_fake_dragon = yes
}
desc = {
text = "rg_story.19.desc"
}
option = {
name = rg_wsg_story.19.a
default_hide_option = yes
}
option = {
name = rg_wsg_story.19.b
}
option = {
name = rg_wsg_story.19.c
}
}

View File

@ -35,7 +35,7 @@
RG_gatebuilder_thruster:0 "§Y灰风推进器§!" RG_gatebuilder_thruster:0 "§Y灰风推进器§!"
origin_rg_gray:0 "§Y遥远约定§!" origin_rg_gray:0 "§Y遥远约定§!"
origin_rg_gray_desc:0 "你偷偷说服了小灰从遥远的L星团前来看望你" origin_rg_gray_desc:0 "你偷偷说服了小灰从遥远的L星团前来看望你"
origin_tooltip_rg_gray_effects:0 "开局拥有灰风\n\n§R<但...代价是什么?>§!\n§R该起源被多个国家选择时重复国家将被替换成隐藏起源§§H<你也事龙>§§R并开局获得全部L星门认知。§\n§R多人游戏中存在重复龙开起源国家L星团国家将无法触发中期开门事件。§" origin_tooltip_rg_gray_effects:0 "开局时拥有灰风,并在一个孤立的L-星团中开始你的冒险。你将很难有重见银河的机会。\n\n§R<但...代价是什么?>§!\n§Y- 该起源被重复选择时将被替换成隐藏起源§§H<你也事龙>§§Y并开局获得全部L星门认知。§\n§R- 多人游戏中存在重复龙开起源国家L星团国家将无法触发中期开门事件。§!\n§R- 该起源被AI帝国占用时L-星团将被AI帝国占用。唔你懂的。§!"
RG_SHIP_AURA_NANOBOT_CLOUD:0 "§Y纳米机器场§!" RG_SHIP_AURA_NANOBOT_CLOUD:0 "§Y纳米机器场§!"
RG_SHIP_AURA_NANOBOT_CLOUD_DESC:0 "灰风可以通过布置一个高浓度纳米机器人场来维修同星系内的友方舰船。" RG_SHIP_AURA_NANOBOT_CLOUD_DESC:0 "灰风可以通过布置一个高浓度纳米机器人场来维修同星系内的友方舰船。"
RG_BOMBER_HANGAR_AP_BOMB:0 "§Y纳米轰炸机中队§!" RG_BOMBER_HANGAR_AP_BOMB:0 "§Y纳米轰炸机中队§!"