This commit is contained in:
FA507RM-KALOSPA\Kalo 2023-06-11 12:36:05 +08:00
parent 3e2736f2ec
commit 94d14646fa
7 changed files with 453 additions and 162 deletions

View File

@ -300,43 +300,7 @@ rg_create_gray_warship = {
limit = {
has_country_flag = rg_gray_level_2
}
create_fleet = {
name = "NAME_Gray"
settings = {
can_upgrade = no
can_disband = no
can_change_composition = no
can_change_leader = yes
uses_naval_capacity = no
spawn_debris = no
}
effect = {
set_owner = prev
create_ship = {
name = "NAME_Gray"
design = "NAME_Gray_Warship"
prefix = no
upgradable = yes
}
set_fleet_stance = aggressive
set_location = {
target = event_target:global_gray_location
distance = 0
angle = random
}
set_fleet_flag = gray_fleet
save_global_event_target_as = gray_warship
assign_leader = event_target:gray_leader_admiral
if = {
limit = {
has_global_flag = kdc_event_mod_active
}
add_modifier = {
modifier = remove_fleet_maintenance
}
}
}
}
rg_warship_init_mod1 = yes
}
else_if = {
limit = {
@ -345,123 +309,16 @@ rg_create_gray_warship = {
has_country_flag = gray_warship_is_juggernaut
}
}
create_fleet = {
name = "NAME_Gray"
settings = {
can_upgrade = no
can_disband = no
can_change_composition = no
can_change_leader = yes
uses_naval_capacity = no
spawn_debris = no
}
effect = {
set_owner = prev
create_ship = {
name = "NAME_Gray"
design = "NAME_gray_capitalship"
prefix = no
upgradable = yes
}
set_fleet_stance = aggressive
set_location = {
target = event_target:global_gray_location
distance = 0
angle = random
}
set_fleet_flag = gray_fleet
save_global_event_target_as = gray_warship
assign_leader = event_target:gray_leader_admiral
if = {
limit = {
has_global_flag = kdc_event_mod_active
}
add_modifier = {
modifier = remove_fleet_maintenance
}
}
}
}
rg_warship_init_mod2 = yes
}
else_if = {
limit = {
has_country_flag = gray_warship_is_juggernaut
}
create_fleet = {
name = "NAME_Gray"
settings = {
can_upgrade = no
can_disband = no
can_change_composition = no
can_change_leader = yes
uses_naval_capacity = no
spawn_debris = no
}
effect = {
set_owner = prev
create_ship = {
name = "NAME_Gray"
design = "NAME_gray_juggernautship"
prefix = no
upgradable = yes
}
set_fleet_stance = aggressive
set_location = {
target = event_target:global_gray_location
distance = 0
angle = random
}
set_fleet_flag = gray_fleet
save_global_event_target_as = gray_warship
if = {
limit = {
has_global_flag = kdc_event_mod_active
}
add_modifier = {
modifier = remove_fleet_maintenance
}
}
}
}
rg_warship_init_mod3 = yes
}
else = {
create_fleet = {
name = "NAME_Gray"
settings = {
can_upgrade = no
can_disband = no
can_change_composition = no
can_change_leader = yes
uses_naval_capacity = no
spawn_debris = no
}
effect = {
set_owner = prev
create_ship = {
name = "NAME_Gray"
design = "NAME_Gray_Warship_base"
prefix = no
upgradable = yes
}
set_fleet_stance = aggressive
set_location = {
target = event_target:global_gray_location
distance = 0
angle = random
}
set_fleet_flag = gray_fleet
save_global_event_target_as = gray_warship
assign_leader = event_target:gray_leader_admiral
if = {
limit = {
has_global_flag = kdc_event_mod_active
}
add_modifier = {
modifier = remove_fleet_maintenance
}
}
}
}
rg_warship_init_mod0 = yes
}
every_owned_army = {
limit = {
@ -728,3 +585,163 @@ rg_create_gray_const = {
}
}
}
rg_warship_init_mod1 = {
create_fleet = {
name = "NAME_Gray"
settings = {
can_upgrade = no
can_disband = no
can_change_composition = no
can_change_leader = yes
uses_naval_capacity = no
spawn_debris = no
}
effect = {
set_owner = prev
create_ship = {
name = "NAME_Gray"
design = "NAME_Gray_Warship"
prefix = no
upgradable = yes
}
set_fleet_stance = aggressive
set_location = {
target = event_target:global_gray_location
distance = 0
angle = random
}
set_fleet_flag = gray_fleet
save_global_event_target_as = gray_warship
assign_leader = event_target:gray_leader_admiral
if = {
limit = {
has_global_flag = kdc_event_mod_active
}
add_modifier = {
modifier = remove_fleet_maintenance
}
}
}
}
}
rg_warship_init_mod2 = {
create_fleet = {
name = "NAME_Gray"
settings = {
can_upgrade = no
can_disband = no
can_change_composition = no
can_change_leader = yes
uses_naval_capacity = no
spawn_debris = no
}
effect = {
set_owner = prev
create_ship = {
name = "NAME_Gray"
random_existing_design = RG_graygoo_capitalship
prefix = no
upgradable = yes
}
set_fleet_stance = aggressive
set_location = {
target = event_target:global_gray_location
distance = 0
angle = random
}
set_fleet_flag = gray_fleet
save_global_event_target_as = gray_warship
assign_leader = event_target:gray_leader_admiral
if = {
limit = {
has_global_flag = kdc_event_mod_active
}
add_modifier = {
modifier = remove_fleet_maintenance
}
}
}
}
}
rg_warship_init_mod3 = {
create_fleet = {
name = "NAME_Gray"
settings = {
can_upgrade = no
can_disband = no
can_change_composition = no
can_change_leader = yes
uses_naval_capacity = no
spawn_debris = no
}
effect = {
set_owner = prev
create_ship = {
name = "NAME_Gray"
design = "NAME_gray_juggernautship"
# random_existing_design = RG_gray_juggernaut
prefix = no
upgradable = yes
}
set_fleet_stance = aggressive
set_location = {
target = event_target:global_gray_location
distance = 0
angle = random
}
set_fleet_flag = gray_fleet
save_global_event_target_as = gray_warship
if = {
limit = {
has_global_flag = kdc_event_mod_active
}
add_modifier = {
modifier = remove_fleet_maintenance
}
}
}
}
}
rg_warship_init_mod0 = {
create_fleet = {
name = "NAME_Gray"
settings = {
can_upgrade = no
can_disband = no
can_change_composition = no
can_change_leader = yes
uses_naval_capacity = no
spawn_debris = no
}
effect = {
set_owner = prev
create_ship = {
name = "NAME_Gray"
design = "NAME_Gray_Warship_base"
prefix = no
upgradable = yes
}
set_fleet_stance = aggressive
set_location = {
target = event_target:global_gray_location
distance = 0
angle = random
}
set_fleet_flag = gray_fleet
save_global_event_target_as = gray_warship
assign_leader = event_target:gray_leader_admiral
if = {
limit = {
has_global_flag = kdc_event_mod_active
}
add_modifier = {
modifier = remove_fleet_maintenance
}
}
}
}
}

View File

@ -2551,8 +2551,8 @@ RG_gray_mod1_effect = {
owner = root
}
add_resource = {
energy = -40000
alloys = -40000
energy = -15000
alloys = -15000
}
}
RG_gray_mod2_effect = {
@ -2575,7 +2575,7 @@ RG_gray_mod3_effect = {
owner = root
}
add_resource = {
energy = -150000
alloys = -150000
energy = -40000
alloys = -40000
}
}

View File

@ -0,0 +1,137 @@
situation_rg_gray_mod1 = {
picture = GFX_evt_planet_beam
complete_icon_frame = GFX_situation_outcome_frame_red
complete_icon = GFX_situation_exploding_planet
on_progress_complete = {
custom_tooltip = situation_rg_gray_mod1_finish_tooltip
hidden_effect = {
owner = {
country_event = {
id = rg_event.11
}
}
}
}
on_start = {
owner = {
country_event = {
id = rg_event.9
}
}
}
on_monthly = {
events = {
}
}
stages = {
stage_1 = {
icon = GFX_situation_stage_1
icon_background = GFX_situation_stage_frame_red
end = 16.5
custom_tooltip = situation_rg_gray_mod1_stage_1_tooltip
on_first_enter = {
event_target:gray_warship = {
set_event_locked = yes
}
country_event = {
id = rg_story.23
}
}
}
stage_2 = {
icon = GFX_situation_stage_2
icon_background = GFX_situation_stage_frame_red
end = 33
custom_tooltip = situation_rg_gray_mod1_stage_2_tooltip
on_first_enter = {
country_event = {
id = rg_story.24
}
}
triggered_modifier = {
potential = {
has_situation_flag = situation_rg_gray_mod1_stage_2_booster
}
modifier = {
country_engineering_research_produces_mult = -1
}
}
}
stage_3 = {
icon = GFX_situation_stage_3
icon_background = GFX_situation_stage_frame_red
end = 50
custom_tooltip = situation_rg_gray_mod1_stage_3_tooltip
}
stage_4 = {
icon = GFX_situation_stage_3
icon_background = GFX_situation_stage_frame_red
end = 66
custom_tooltip = situation_rg_gray_mod1_stage_4_tooltip
}
stage_5 = {
icon = GFX_situation_stage_3
icon_background = GFX_situation_stage_frame_red
end = 82.5
custom_tooltip = situation_rg_gray_mod1_stage_5_tooltip
}
stage_6 = {
icon = GFX_situation_stage_3
icon_background = GFX_situation_stage_frame_red
end = 100
custom_tooltip = situation_rg_gray_mod1_stage_6_tooltip
}
}
approach = {
name = approach_stop_the_bullet
icon = GFX_situation_approach_fist
icon_background = GFX_situation_approach_bg_red
default = yes
on_select = {
custom_tooltip = effect_stop_the_bullet
}
}
monthly_progress = {
base = 1
modifier = {
subtract = 1.5
desc = situation_rg_gray_mod1_stage_1_booster_tooltip
has_situation_flag = situation_rg_gray_mod1_stage_1_booster
}
modifier = {
subtract = 1.5
desc = situation_rg_gray_mod1_stage_2_booster_tooltip
has_situation_flag = situation_rg_gray_mod1_stage_2_booster
}
modifier = {
subtract = 0.5
desc = counter_shot_tt
has_situation_flag = counter_shot
}
modifier = {
subtract = 0
desc = controlled_shattering_tt
has_situation_flag = controlled_shattering
}
}
abort_trigger = {
OR = {
NOT = { exists = event_target:gray_warship }
owner = {
NOT = {
has_country_flag = gray_warship_active
}
}
}
}
on_abort = {
owner = {
country_event = {
id = rg_event.10
}
}
}
}

View File

@ -516,7 +516,9 @@ country_event = {
# 开始改造
country_event = {
id = rg_event.9
hide_window = yes
title = rg_event.9.title
desc = rg_event.9.desc
picture = GFX_evt_gray_goo_ships
is_triggered_only = yes
trigger = {
NOR = {
@ -532,6 +534,10 @@ country_event = {
set_country_flag = rg_modifing_gray
}
}
option = {
name = rg_event.9.a
default_hide_option = yes
}
}
# 取消改造项目1

View File

@ -725,3 +725,115 @@ country_event = {
}
}
}
# 开始改造
country_event = {
id = rg_story.23
title = rg_story.23.title
desc = rg_story.23.desc
picture = GFX_evt_gray_goo_ships
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_2
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.23.a
default_hide_option = yes
}
option = {
name = rg_story.23.b
allow = {
resource_stockpile_compare = {
resource = energy
value >= 1500
}
resource_stockpile_compare = {
resource = alloys
value >= 1500
}
}
effect = {
add_resource = {
energy = -1500
alloys = -1500
}
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod1
}
set_situation_flag = situation_rg_gray_mod1_stage_1_booster
}
}
}
}
country_event = {
id = rg_story.24
title = rg_story.24.title
desc = rg_story.24.desc
picture = GFX_evt_gray_goo_ships
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_2
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.24.a
default_hide_option = yes
}
option = {
name = rg_story.24.b
effect = {
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod1
}
set_situation_flag = situation_rg_gray_mod1_stage_2_booster
}
}
}
}
country_event = {
id = rg_story.25
title = rg_story.25.title
desc = rg_story.25.desc
picture = GFX_evt_gray_goo_ships
is_triggered_only = yes
trigger = {
NOR = {
has_country_flag = rg_gray_level_2
has_country_flag = rg_gray_level_3
}
}
immediate = {
}
option = {
name = rg_story.25.a
default_hide_option = yes
}
option = {
name = rg_story.25.b
effect = {
add_resource = {
energy = -5000
alloys = -5000
}
random_situation = {
limit = {
is_situation_type = situation_rg_gray_mod1
}
set_situation_flag = situation_rg_gray_mod1_stage_3_booster
}
}
}
}

View File

@ -153,6 +153,10 @@
RG_GRAY_MOD3:0 "§R纳米主宰核心计划§!"
RG_GRAY_MOD3_DESC:0 "越来越多的发现使得将灰风旗舰与恒星基地结合从而制造出一种前所未有的主宰舰不再是痴人说梦。在预想蓝图中,这种主宰舰不仅能够承担船坞作用制造舰船,同时仍能够保留强大的隐形场。并且预留有大量空间从而有能力改造为移动居住站或是加装工厂模块生产资源。为了执行这项前所未有的计划,我们需要调集不可想象的巨量资源从一片虚无开始构造整个舰体。我们全国的工程学专家都将严阵以待,小灰将协助我们执行这项伟大的计划。\n\n§H为了执行这项计划你需要将小灰的战舰开到母恒星的恒星基地中研究特殊项目注意非小灰的舰队会导致'对象指定错误'从而让我们的努力付诸东流。§!"
rg_event.9.title:0 "§Y小灰改造项目开始§!"
rg_event.9.desc:0 "经过大量审议,我们一致认为现在就是启动小灰改造项目的最佳时机。为了完成该项目,我们需要拟定一套包含多个阶段的研究和工程招标计划。同时其中的一些阶段需要小灰的配合,否则这一切将无从谈起。"
rg_event.9.a:0 "让我们开始吧。"
rg_event.11.title:0 "§Y小灰改造项目完成§!"
rg_event.11.desc:0 "投入大量合金进行完全舰体重构之后,小灰已经将母舰恢复到完整状态了!真是振奋人心的好消息!"
@ -258,13 +262,17 @@
rg_story.21.desc:0 "在之前的战斗中,模拟龙很遗憾没能逃出生天。但在我们的舰船前往进行搜索时,居然在太空中发现了一颗龙蛋。经过一段时间的自我孵化,模拟龙竟然又出生了一次。随着这次羽化重生,原先组成模拟龙身体的纳米机器缺陷都自我修复了。同时,加速衰老的症状也消失了。传说中的龙战胜了自己。"
rg_story.21.a:0 "§G新生命的真正开始...§!"
# WG affection localisation
GRAY_SPECIES: "灰风"
marry_gray:0 "灰风,我有个东西想交给你"
wg_aft.30000.name:0 "与灰风的誓约仪式"
wg_aft.30000.desc:0 "这个环状的东西是...要套在无名指上吗?阿,你这是承认了我的忠诚了对吧?那么接下来是要进行什么愉快的同伴行为吗?\n\n...好吧,我承认这个笑话有点冷,不过跟你们相处的日子确实很开心,请让我永远效忠于你吧。"
wg_aft.30000.a:0 "你已经是我们的一份子了,灰风。"
wg_aft.30000.response:0 "这...是这样吗?\n\n...\n\n谢谢。"
rg_story.23.title:0 "§Y第一阶段基本舰体修复§!"
rg_story.23.desc:0 "我们的小灰改造计划将分为六个子阶段。在第一阶段,我们需要灰风舰体中严重损耗的部分,并修复一部分供能系统,并修复舰体上损坏无法挂载武器的挂载点。在这一阶段计划不加干预仍将正常进行,不过进行一些小小的投资能够加快这一进程。"
rg_story.23.a:0 "就这么办"
rg_story.23.b:0 "§Y买买买我要这合金有何用§!"
wsg_rings:0 "戒指"
gray_affection:0 "灰风好感度"
rg_story.24.title:0 "§Y第二阶段武器载点重构§!"
rg_story.24.desc:0 "我们的计划已经进入第二阶段。在这一阶段,我们将修复小灰舰体上损坏的主武器挂载点,通过给反应堆添加节能认证,整合掉不需要的旅馆房间等措施来添加更多的武器挂载点,通过优化舰载机发射流程以搭载更多的舰载机。在这一阶段计划不加干预仍将正常进行。不过指派我们的科研团队加以协助能够加快这一进程。"
rg_story.24.a:0 "就这么办"
rg_story.24.b:0 "§Y指派工程学团队协助§!"
rg_story.25.title:0 "§Y第三阶段可行性验证§!"
rg_story.25.desc:0 "我们的计划已经进入第三阶段。在这一阶段,我们需要实际建造试验舰来验证计划的可行性,在这一阶段,我们需要出资建造一艘母舰进行试航。倘若一切顺利,我们将能够继续进入下一阶段。"
rg_story.25.a:0 "设计,然后制造。"
rg_story.25.b:0 "§Y我现在就要§!"

View File

@ -329,3 +329,14 @@
MESSAGE_KOGASA_VIRUS_EXTERMINATED:0 "§R检测到伞病毒威胁§!"
rg_kogasa_exterminated_desc:0 "守护进程检测到小灰人格完整性遭到篡改,污染目标已被净化,处理方案:无害化处理。"
situation_rg_gray_mod1_finish_tooltip:0 "§Y我们的计划将会按部就班地顺利完成。§!"
situation_rg_gray_mod1_stage_1_tooltip:0 "§Y第一阶段基本舰体修复阶段§!"
situation_rg_gray_mod1_stage_2_tooltip:0 "§Y第二阶段武器载点重构阶段§!"
situation_rg_gray_mod1_stage_3_tooltip:0 "§Y第三阶段可行性验证阶段§!"
situation_rg_gray_mod1_stage_4_tooltip:0 "§Y第四阶段歼星武器设计阶段§!"
situation_rg_gray_mod1_stage_5_tooltip:0 "§Y第五阶段全舰纳米化设计阶段§!"
situation_rg_gray_mod1_stage_6_tooltip:0 "§Y第六阶段最终试航阶段§!"
situation_rg_gray_mod1_stage_1_booster_tooltip:0 "§Y我们的项目获得了额外预算§!"
situation_rg_gray_mod1_stage_2_booster_tooltip:0 "§Y我们的工程团队将会被指派帮助改造项目§!"