模拟龙事件补充

This commit is contained in:
FA507RM-KALOSPA\Kalo 2023-05-24 17:26:07 +08:00
parent f167751247
commit 3b2cbe14fc
7 changed files with 249 additions and 65 deletions

View File

@ -54,6 +54,12 @@ on_yearly_pulse_country = {
}
}
on_yearly_pulse = {
events = {
rg_story.20
}
}
on_mid_game_pulse_country = {
events = {
# rg.18

View File

@ -83,7 +83,7 @@ rg_create_gray_paperwork_testship_1 = {
}
}
rg_create_fake_dragon = {
rg_create_fake_dragon_species = {
create_species = {
name = RG_SIMULATION_DRAGON_SPECIES
plural = RG_SIMULATION_DRAGON_SPECIES
@ -94,57 +94,69 @@ rg_create_fake_dragon = {
save_global_event_target_as = RG_sim_dragon_species
}
}
create_leader = {
class = admiral
species = event_target:RG_sim_dragon_species
name = "Name_rg_fake_dragon"
event_leader = yes
gender = female
custom_description = rg_fake_dragon_desc
skill = 1
set_age = 0
traits = {
trait = RG_leader_trait_admiral_fake_dragon
trait = RG_leader_trait_admiral_timed_life
}
effect = {
change_leader_portrait = wg_dragon
set_leader_flag = has_gained_level_trait
set_leader_flag = has_gained_trait
set_leader_flag = legendary_leader
set_leader_flag = rg_fake_dragon
save_global_event_target_as = rg_fake_dragon_admiral
}
}
set_variable = {
which = rg_fake_dragon_timedlife_counter
value = 0
}
create_fleet = {
name = "NAME_RG_Nanite_Dragon"
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_Nanite_Dragon"
design = "NAME_RG_FAKE_Dragon"
prefix = no
upgradable = no
}
rg_create_fake_dragon = {
rg_create_fake_dragon_species = yes
if = {
limit = {
NOT = {
has_country_flag = rg_fake_dragon_reborn_country
}
set_location = {
target = root.capital_scope
distance = 0
angle = random
}
create_leader = {
class = admiral
species = event_target:RG_sim_dragon_species
name = "Name_rg_fake_dragon"
event_leader = yes
gender = female
custom_description = rg_fake_dragon_desc
skill = 1
set_age = 0
traits = {
trait = RG_leader_trait_admiral_fake_dragon
trait = RG_leader_trait_admiral_timed_life
}
effect = {
change_leader_portrait = wg_dragon
set_leader_flag = has_gained_level_trait
set_leader_flag = has_gained_trait
set_leader_flag = legendary_leader
set_leader_flag = rg_fake_dragon
save_global_event_target_as = rg_fake_dragon_admiral
}
}
set_variable = {
which = rg_fake_dragon_timedlife_counter
value = 0
}
set_global_event_target_as = rg_fake_dragon_owner
create_fleet = {
name = "NAME_RG_Nanite_Dragon"
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_Nanite_Dragon"
design = "NAME_RG_FAKE_Dragon"
prefix = no
upgradable = no
}
set_location = {
target = root.capital_scope
distance = 0
angle = random
}
set_fleet_flag = rg_fake_dragon_fleet
assign_leader = last_created_leader
}
set_fleet_flag = rg_fake_dragon_fleet
assign_leader = last_created_leader
}
}
}

View File

@ -344,13 +344,77 @@ RG_leader_trait_admiral_timed_life = {
}
triggered_modifier = {
potential = {
always = yes
owner = {
check_variable = {
which = rg_fake_dragon_timedlife_counter
value <= 1000
}
}
}
ship_armor_mult = 0.05
ship_hull_mult = 0.05
ship_weapon_damage = 0.05
ship_armor_mult = 0.01
ship_hull_mult = 0.01
ship_weapon_damage = 0.01
mult = owner.rg_fake_dragon_timedlife_counter
}
triggered_modifier = {
potential = {
owner = {
check_variable = {
which = rg_fake_dragon_timedlife_counter
value > 1000
}
}
}
ship_armor_mult = 10.0
ship_hull_mult = 10.0
ship_weapon_damage = 10.0
custom_tooltip_with_modifiers = rg_timed_life_millennium
}
leader_class = { admiral }
initial = no
randomized = no
}
RG_leader_trait_admiral_born_tobe_dragon = {
cost = 0
inline_script = {
script = trait/icon_psionic
CLASS = admiral
ICON = "GFX_leader_trait_ethereal"
RARITY = paragon
COUNCIL = no
TIER = none
}
immortal_leaders = yes
triggered_modifier = {
potential = {
owner = {
check_variable = {
which = rg_fake_dragon_timedlife_counter
value <= 1000
}
}
}
ship_armor_mult = 0.01
ship_hull_mult = 0.01
ship_weapon_damage = 0.01
mult = owner.rg_fake_dragon_timedlife_counter
}
triggered_modifier = {
potential = {
owner = {
check_variable = {
which = rg_fake_dragon_timedlife_counter
value > 1000
}
}
}
ship_armor_mult = 0.01
ship_hull_mult = 0.01
ship_weapon_damage = 0.01
custom_tooltip_with_modifiers = rg_timed_life_millennium_reborn
}
leader_class = { admiral }
initial = no

View File

@ -951,10 +951,27 @@ country_event = {
}
}
immediate = {
change_variable = {
which = rg_fake_dragon_timedlife_counter
value = 12
if = {
limit = {
NOT = {
has_country_flag = rg_fake_dragon_reborn_country
}
}
change_variable = {
which = rg_fake_dragon_timedlife_counter
value = 12
}
}
else_if = {
limit = {
has_country_flag = rg_fake_dragon_reborn_country
}
change_variable = {
which = rg_fake_dragon_timedlife_counter
value = 1
}
}
#等级导入,把存储的领袖等级赋予到领袖身上
random_owned_leader = {
limit = { has_leader_flag = rg_fake_dragon }
@ -964,6 +981,18 @@ country_event = {
change_leader_portrait = wg_dragon
set_age = owner.rg_fake_dragon_timedlife_counter
}
random_owned_fleet = {
limit = {
NOT = { has_fleet_flag = rg_fake_dragon_fleet }
leader = {
has_leader_flag = rg_fake_dragon
NOT = {
has_leader_flag = rg_fake_dragon_reborn
}
}
}
unassign_leader = this
}
}
}

View File

@ -597,7 +597,7 @@ country_event = {
diplomatic = yes
picture_event_data = {
portrait = event_target:RG_sim_dragon_species
portrait = event_target:rg_fake_dragon_admiral
room = "ethic_spaceship_room"
}
@ -605,6 +605,10 @@ country_event = {
text = "rg_story.18.desc"
}
immediate = {
rg_create_fake_dragon = yes
}
option = {
name = rg_story.18.a
hidden_effect = {
@ -643,10 +647,6 @@ country_event = {
room = "ethic_spaceship_room"
}
immediate = {
rg_create_fake_dragon = yes
}
desc = {
text = "rg_story.19.desc"
}
@ -661,4 +661,68 @@ country_event = {
option = {
name = rg_story.19.c
}
}
# sim dragon ga le
event = {
id = rg_story.20
hide_window = yes
is_triggered_only = yes
fire_only_once = yes
trigger = {
exists = event_target:rg_fake_dragon_owner
event_target:rg_fake_dragon_owner = {
any_owned_leader = {
has_leader_flag = rg_fake_dragon
}
NOT = {
any_owned_fleet = {
has_fleet_flag = rg_fake_dragon
}
}
}
}
immediate = {
event_target:rg_fake_dragon_admiral = {
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
}
event_target:rg_fake_dragon_owner = {
set_variable = {
which = rg_fake_dragon_timedlife_counter
value = 0
}
country_event = { id = rg_story.21 }
}
}
}
country_event = {
id = rg_story.21
title = "rg_story.21.title"
is_triggered_only = yes
trigger = {
NOT = {
# has_global_flag = has_wsg_mod
}
}
picture = GFX_evt_space_dragon
show_sound = evn_fc_observation
desc = {
text = "rg_story.21.desc"
}
option = {
name = rg_story.21.a
default_hide_option = yes
}
}

View File

@ -246,6 +246,10 @@
RG_FAKE_DRAGON_SCAN_PROJECT:0 "§Y龙之研究§!"
RG_FAKE_DRAGON_SCAN_PROJECT_DESC:0 "灰风要求我们扫描一只太空龙。要完成这个目标我们首先需要找到一只以太龙。考虑到这种生物的危险性也许我们需要准备一艘具备隐形组件的科研船。\n§Y记住要抓活的。§!"
rg_story.21.title:0 "§Y来生§!"
rg_story.21.desc:0 "在之前的战斗中,模拟龙很遗憾没能逃出生天。但在我们的舰船前往进行搜索时,居然在太空中发现了一颗龙蛋。经过一段时间的自我孵化,模拟龙竟然又出生了一次。随着这次羽化重生,原先组成模拟龙身体的纳米机器缺陷都自我修复了。同时,加速衰老的症状也消失了。传说中的龙战胜了自己。"
rg_story.21.a:0 "§G新生命的真正开始...§!"
# WG affection localisation
GRAY_SPECIES: "灰风"
marry_gray:0 "灰风,我有个东西想交给你"

View File

@ -309,8 +309,13 @@
RG_leader_trait_admiral_fake_dragon:0 "§Y龙的灵魂§!"
RG_leader_trait_admiral_fake_dragon_desc:0 "迷途的灵魂虽然不是龙,却想要化身为龙。你也是龙,也好。"
RG_leader_trait_admiral_timed_life:0 "§Y计时的生命§!"
RG_leader_trait_admiral_timed_life_desc:0 "\n§G模拟龙的属性会随着年龄增长。\n$t$§Y每增长一岁提供§!\n$tt$§G 额外舰船武器伤害 +5%§!\n§G 额外装甲生命值 +5%§!\n§G 额外船体生命值 +5%§!$t$\n当前§!§R[owner.rg_fake_dragon_timedlife_counter]§!§G岁§!\n她是从一次实验中诞生的模拟生命。时间每流逝一个月她就老去一岁。倘若无法找到永生的方法脆弱的灵魂就将落叶归根。"
RG_leader_trait_admiral_timed_life_desc:0 "\n§G模拟龙的属性会随着年龄增长。\n$t$§Y每增长一岁提供§!\n$tt$§G 额外舰船武器伤害 +1%§!\n§G 额外装甲生命值 +1%§!\n§G 额外船体生命值 +1%§!$t$\n当前§!§R[owner.rg_fake_dragon_timedlife_counter]§!§G岁§!\n她是从一次实验中诞生的模拟生命。时间每流逝一个月她就老去一岁。倘若无法找到永生的方法脆弱的灵魂就将落叶归根。"
RG_leader_trait_admiral_born_tobe_dragon:0 "§Y羽化成龙§!"
RG_leader_trait_admiral_born_tobe_dragon_desc:0 "\n§G模拟龙的属性会随着年龄增长。\n$t$§Y每增长一岁提供§!\n$tt$§G 额外舰船武器伤害 +1%§!\n§G 额外装甲生命值 +1%§!\n§G 额外船体生命值 +1%§!$t$\n当前§!§R[owner.rg_fake_dragon_timedlife_counter]§!§G岁§!\n梦想中的龙终于变成了梦想中的样子。传说她一拳打开了壳化身为龙。"
rg_fake_dragon_desc:0 "模拟龙是在小灰的神秘实验中诞生的模拟生命。虽然由纳米机器组成但却无法自主控制这些纳米机器。随着纳米机器失去维护能力,模拟龙的未来也变得愈加扑朔迷离。"
RG_sim_dragon_species:0 "伪装的龙"
rg_timed_life_millennium:0 "§R千年魂环§!:模拟龙已经一千岁了~恭喜你。然而什么都没有发生!"
rg_timed_life_millennium_reborn:0 "§Y发光的§!§R千年魂环§!:模拟龙已经一千岁了~§R你是怎么做到的难道一千年真的如此短暂吗§!\n你获得了§R废物认证§!~"
RG_sim_dragon_species:0 "伪装的龙"
RG_SIMULATION_DRAGON_SPECIES:0 "伪装的龙"