我不理解

This commit is contained in:
FA507RM-KALOSPA\Kalo 2023-06-08 12:45:17 +08:00
parent eb0f2dcc48
commit 626eddc3c3
2 changed files with 107 additions and 175 deletions

View File

@ -35,8 +35,8 @@ on_army_killed_in_combat = {
on_game_start_country = {
events = {
# rg_cluster.8
rg.1
rg.19
rg_event.1
rg_event.19
}
}
@ -44,19 +44,19 @@ on_game_start_country = {
# 最高优先级检测才放月检
on_monthly_pulse_country = {
events = {
rg.8 #领袖等级检测更新
rg.16 #陆军压制舰更新
# rg.22 #小灰复活检测
# rg.23 #月检移除L星门认知防止收容失效
rg_event.8 #领袖等级检测更新
rg_event.16 #陆军压制舰更新
# rg_event.22 #小灰复活检测
# rg_event.23 #月检移除L星门认知防止收容失效
# rg_skill.9
}
}
on_yearly_pulse_country = {
events = {
rg.17
rg.18
rg.20
rg_event.17
rg_event.18
rg_event.20
}
}
@ -68,7 +68,7 @@ on_yearly_pulse = {
on_mid_game_pulse_country = {
events = {
# rg.18
# rg_event.18
}
}
@ -83,7 +83,7 @@ on_mid_game_pulse_country = {
# to retake the planet, the player is the attacker
on_planet_attackers_win = {
events = {
rg.16
rg_event.16
# rg_skill.9
}
}
@ -94,7 +94,7 @@ on_planet_attackers_win = {
# FromFrom = planet
on_planet_attackers_lose = {
events = {
rg.16
rg_event.16
# rg_skill.9
}
}

View File

@ -1,54 +1,9 @@
namespace = rg
namespace = rg_event
# 灰风起源创建灰风事件
# country_event = {
# id = rg.1
# hide_window = yes
#
# is_triggered_only = yes
#
# trigger = {
# has_country_flag = origin_rg_gray
# }
#
# immediate = {
# if = {
# NOT = {
# has_global_flag = origin_rg_gray_1st
# }
# set_global_flag = origin_rg_gray_1st_global
# set_country_flag = origin_rg_gray_1st
# set_country_flag = rg_gray_level_1
# country_event = { id = rg.3 days = 30 }
# add_modifier = {
# modifier = rg_distant_stars_modifier
# }
# save_global_event_target_as = origin_rg_gray_country
# }
# else_if = {
# limit = {
# has_global_flag = origin_rg_gray_1st_global
# }
# set_country_flag = origin_gray_dragon_country
# rg_create_fake_dragon = yes
# start_lcluster_chain = yes
# add_event_chain_counter = {
# event_chain = l_cluster_chain
# counter = clues
# amount = 7
# }
# # increment variable
# change_variable = {
# which = num_lcluster_clues
# value = 7
# }
# }
# }
# }
# Spawn L-Cluster
country_event = {
id = rg.1
id = rg_event.1
hide_window = yes
is_triggered_only = yes
@ -70,7 +25,7 @@ country_event = {
set_global_flag = origin_rg_gray_1st_global
set_country_flag = origin_rg_gray_1st
set_country_flag = rg_gray_level_1
country_event = { id = rg.3 days = 30 }
country_event = { id = rg_event.3 days = 30 }
add_modifier = {
modifier = rg_distant_stars_modifier
}
@ -111,7 +66,7 @@ country_event = {
}
country_event = {
id = rg.2
id = rg_event.2
hide_window = yes
is_triggered_only = yes
@ -121,7 +76,7 @@ country_event = {
}
# option = {
# name = rg.2.a
# name = rg_event.2.a
# hidden_effect = {
# country_event = { id = graygoo.499 }
# }
@ -130,7 +85,7 @@ country_event = {
}
country_event = {
id = rg.3
id = rg_event.3
title = "graygoo.500.title"
desc = {
trigger = { has_country_flag = RG_realgray }
@ -256,7 +211,7 @@ country_event = {
trigger = has_country_flag
RG_realgray = {
custom_tooltip = "RG_realgray"
country_event = { id = rg.2 days = 30 }
country_event = { id = rg_event.2 days = 30 }
give_technology = {
tech = tech_minilaser_gray_1
message = no
@ -268,7 +223,7 @@ country_event = {
}
RG_sleepinggray = {
custom_tooltip = "RG_sleepinggray"
country_event = { id = rg.2 days = 360 }
country_event = { id = rg_event.2 days = 360 }
give_technology = {
tech = tech_minilaser_gray_1
message = no
@ -280,7 +235,7 @@ country_event = {
}
RG_whitenoise = {
custom_tooltip = "RG_whitenoise"
country_event = { id = rg.2 days = 360 }
country_event = { id = rg_event.2 days = 360 }
give_technology = {
tech = tech_minilaser_gray_1
message = no
@ -292,7 +247,7 @@ country_event = {
}
RG_dragon = {
custom_tooltip = "RG_dragon"
country_event = { id = rg.2 days = 360 }
country_event = { id = rg_event.2 days = 360 }
give_technology = { tech = tech_object_gray_5 }
add_monthly_resource_mult = {
resource = society_research
@ -313,7 +268,7 @@ country_event = {
}
RG_desanau = {
custom_tooltip = "RG_desanau"
country_event = { id = rg.2 days = 360 }
country_event = { id = rg_event.2 days = 360 }
give_technology = { tech = tech_object_gray_5 }
add_monthly_resource_mult = {
resource = society_research
@ -333,7 +288,7 @@ country_event = {
}
RG_pirate = {
custom_tooltip = "RG_pirate"
country_event = { id = rg.2 days = 360 }
country_event = { id = rg_event.2 days = 360 }
give_technology = { tech = tech_object_gray_5 }
add_monthly_resource_mult = {
resource = society_research
@ -353,7 +308,7 @@ country_event = {
}
RG_alienpoem = {
custom_tooltip = "RG_alienpoem"
country_event = { id = rg.2 days = 360 }
country_event = { id = rg_event.2 days = 360 }
give_technology = { tech = tech_object_gray_5 }
add_monthly_resource_mult = {
resource = society_research
@ -373,7 +328,7 @@ country_event = {
}
RG_gift = {
custom_tooltip = "RG_gift"
country_event = { id = rg.2 days = 360 }
country_event = { id = rg_event.2 days = 360 }
give_technology = { tech = tech_object_gray_5 }
add_resource = { minerals = 10000 }
give_technology = { tech = tech_minilaser_gray_1 }
@ -386,7 +341,7 @@ country_event = {
RG_biggift = {
custom_tooltip = "RG_biggift"
country_event = { id = rg.2 days = 360 }
country_event = { id = rg_event.2 days = 360 }
give_technology = { tech = tech_object_gray_5 }
give_technology = { tech = tech_minilaser_gray_1 }
add_resource = { minerals = 1000000 }
@ -402,7 +357,7 @@ country_event = {
}
country_event = {
id = rg.7
id = rg_event.7
hide_window = yes
is_triggered_only = yes
@ -415,7 +370,7 @@ country_event = {
country_event = {
###月中
id = rg.8
id = rg_event.8
hide_window = yes
is_triggered_only = yes
trigger = {
@ -446,7 +401,7 @@ country_event = {
# 开始改造
country_event = {
id = rg.9
id = rg_event.9
hide_window = yes
is_triggered_only = yes
@ -467,7 +422,7 @@ country_event = {
# 取消改造项目1
country_event = {
id = rg.10
id = rg_event.10
hide_window = yes
is_triggered_only = yes
@ -488,13 +443,11 @@ country_event = {
}
}
# mod1完成改造
country_event = {
id = rg.11
title = rg.11.title
desc = rg.11.desc
id = rg_event.11
title = rg_event.11.title
desc = rg_event.11.desc
picture = GFX_evt_gray_goo_ships
is_triggered_only = yes
@ -548,9 +501,9 @@ country_event = {
# mod2完成改造
country_event = {
id = rg.12
title = rg.12.title
desc = rg.12.desc
id = rg_event.12
title = rg_event.12.title
desc = rg_event.12.desc
picture = GFX_evt_gray_goo_ships
is_triggered_only = yes
@ -605,7 +558,7 @@ country_event = {
# 取消改造项目2
country_event = {
id = rg.13
id = rg_event.13
hide_window = yes
is_triggered_only = yes
@ -628,7 +581,7 @@ country_event = {
# 取消改造项目3
country_event = {
id = rg.14
id = rg_event.14
hide_window = yes
is_triggered_only = yes
@ -651,9 +604,9 @@ country_event = {
# mod3完成改造
country_event = {
id = rg.15
title = rg.15.title
desc = rg.15.desc
id = rg_event.15
title = rg_event.15.title
desc = rg_event.15.desc
picture = GFX_evt_gray_goo_ships
is_triggered_only = yes
@ -669,7 +622,7 @@ country_event = {
# 小灰陆军入侵完成替换回压制舰
country_event = {
id = rg.16
id = rg_event.16
hide_window = yes
is_triggered_only = yes
@ -745,7 +698,7 @@ country_event = {
country_event = {
# 年检补开门
id = rg.17
id = rg_event.17
hide_window = yes
is_triggered_only = yes
trigger = {
@ -768,9 +721,9 @@ country_event = {
country_event = {
# 中期开门
id = rg.18
title = rg.18.title
desc = rg.18.desc
id = rg_event.18
title = rg_event.18.title
desc = rg_event.18.desc
is_triggered_only = yes
fire_only_once = yes
picture = GFX_evt_drifting_gateway
@ -820,14 +773,15 @@ country_event = {
}
else = {
country_event = {
id = rg.21 days = 120
id = rg_event.21 days = 120
}
}
}
}
country_event = {
id = rg.19
id = rg_event.19
hide_window = yes
is_triggered_only = yes
fire_only_once = yes
@ -845,7 +799,8 @@ country_event = {
country_event = {
# 年检模拟龙年龄
id = rg.20
id = rg_event.20
hide_window = yes
is_triggered_only = yes
trigger = {
@ -917,9 +872,9 @@ country_event = {
# looping check for owning gateway, once every two months
country_event = {
id = rg.21
hide_window = yes
id = rg_event.21
hide_window = yes
is_triggered_only = yes
trigger = {
@ -946,16 +901,16 @@ country_event = {
country_event = { id = distar.10905 } # enable project
}
else = {
country_event = { id = rg.21 days = 120 } # *THIS* looping check
country_event = { id = rg_event.21 days = 120 } # *THIS* looping check
}
}
}
# looping check for grayreforming
country_event = {
id = rg.22
hide_window = yes
id = rg_event.22
hide_window = yes
is_triggered_only = yes
trigger = {
@ -973,38 +928,15 @@ country_event = {
country_event = { id = graygoo.512 }
}
else = {
country_event = { id = rg.22 years = 1 } # *THIS* looping check
country_event = { id = rg_event.22 years = 1 } # *THIS* looping check
}
}
}
# looping check for escape lcluster
# country_event = {
# id = rg.23
# hide_window = yes
#
# is_triggered_only = yes
#
# trigger = {
# is_multiplayer = yes
# is_same_value = event_target:origin_rg_gray_country
# has_country_flag = origin_rg_gray
# }
#
# immediate = {
# if = {
# limit = {
# has_event_chain = "l_cluster_chain"
# }
# end_event_chain = "l_cluster_chain"
# }
# }
# }
# 拆毁工厂小灰通讯
country_event = {
id = rg.200
title = "rg.200.name"
id = rg_event.200
title = "rg_event.200.name"
trigger = {
NOT = {
@ -1018,13 +950,13 @@ country_event = {
trigger = {
owner = { is_synthetic_empire = no }
}
text = "rg.200.a.desc"
text = "rg_event.200.a.desc"
}
desc = {
trigger = {
owner = { is_synthetic_empire = yes }
}
text = "rg.200.b.desc"
text = "rg_event.200.b.desc"
}
picture = GFX_evt_ship_in_orbit_2
show_sound = event_radio_chatter
@ -1036,7 +968,7 @@ country_event = {
#}
option = {
name = rg.200.a
name = rg_event.200.a
hidden_effect = {
create_fleet = {
effect = {
@ -1057,10 +989,10 @@ country_event = {
}
}
option = {
name = rg.200.b
name = rg_event.200.b
hidden_effect = {
owner = {
country_event = { id = rg.400 }
country_event = { id = rg_event.400 }
}
}
}
@ -1068,8 +1000,8 @@ country_event = {
# L星龙暴毙小灰通讯
country_event = {
id = rg.201
title = "rg.201.name"
id = rg_event.201
title = "rg_event.201.name"
trigger = {
NOT = {
@ -1080,7 +1012,7 @@ country_event = {
}
desc = {
text = "rg.201.desc"
text = "rg_event.201.desc"
}
picture = GFX_evt_ship_in_orbit_2
show_sound = event_radio_chatter
@ -1092,7 +1024,7 @@ country_event = {
#}
option = {
name = rg.201.a
name = rg_event.201.a
hidden_effect = {
create_fleet = {
effect = {
@ -1113,10 +1045,10 @@ country_event = {
}
}
option = {
name = rg.201.b
name = rg_event.201.b
hidden_effect = {
owner = {
country_event = { id = rg.402 }
country_event = { id = rg_event.402 }
}
}
}
@ -1124,7 +1056,7 @@ country_event = {
# 灰色风暴线小灰通讯
country_event = {
id = rg.400
id = rg_event.400
title = "TRANSMISSION"
trigger = {
@ -1137,11 +1069,11 @@ country_event = {
desc = {
trigger = { NOT = { has_authority = auth_machine_intelligence } }
text = "rg.400.a.desc"
text = "rg_event.400.a.desc"
}
desc = {
trigger = { has_authority = auth_machine_intelligence }
text = "rg.400.b.desc"
text = "rg_event.400.b.desc"
}
diplomatic = yes
@ -1154,7 +1086,7 @@ country_event = {
is_triggered_only = yes
option = {
name = rg.400.a
name = rg_event.400.a
trigger = {
NOR = {
has_authority = auth_machine_intelligence
@ -1166,7 +1098,7 @@ country_event = {
}
}
option = {
name = rg.400.b
name = rg_event.400.b
trigger = {
has_authority = auth_machine_intelligence
}
@ -1175,7 +1107,7 @@ country_event = {
}
}
option = {
name = rg.400.c
name = rg_event.400.c
trigger = {
has_authority = auth_hive_mind
}
@ -1184,17 +1116,17 @@ country_event = {
}
}
option = {
name = rg.400.d
name = rg_event.400.d
hidden_effect = {
country_event = { id = rg.401 }
country_event = { id = rg_event.401 }
}
}
}
country_event = {
id = rg.401
id = rg_event.401
title = "TRANSMISSION"
desc = "rg.401.desc"
desc = "rg_event.401.desc"
diplomatic = yes
@ -1206,11 +1138,11 @@ country_event = {
is_triggered_only = yes
option = {
name = rg.401.a
response_text = rg.401.a.response
name = rg_event.401.a
response_text = rg_event.401.a.response
}
option = {
name = rg.401.b
name = rg_event.401.b
hidden_effect = {
create_fleet = {
effect = {
@ -1234,10 +1166,10 @@ country_event = {
# L星龙线小灰通讯
country_event = {
id = rg.402
id = rg_event.402
title = "TRANSMISSION"
desc = {
text = "rg.402.a.desc"
text = "rg_event.402.a.desc"
}
diplomatic = yes
@ -1250,24 +1182,24 @@ country_event = {
is_triggered_only = yes
option = {
name = rg.402.a
name = rg_event.402.a
hidden_effect = {
country_event = { id = rg.403 }
country_event = { id = rg_event.403 }
}
}
option = {
name = rg.402.b
name = rg_event.402.b
hidden_effect = {
country_event = { id = rg.401 }
country_event = { id = rg_event.401 }
}
}
}
# L星龙线小灰通讯回答
country_event = {
id = rg.403
id = rg_event.403
title = "TRANSMISSION"
desc = "rg.403.desc"
desc = "rg_event.403.desc"
diplomatic = yes
@ -1279,8 +1211,8 @@ country_event = {
is_triggered_only = yes
option = {
name = rg.403.a
response_text = rg.403.a.response
name = rg_event.403.a
response_text = rg_event.403.a.response
default_hide_option = yes
hidden_effect = {
country_event = { id = graygoo.499 }
@ -1290,7 +1222,7 @@ country_event = {
#快速防御
country_event = {
id = rg.404
id = rg_event.404
hide_window = yes
is_triggered_only = yes
@ -1314,7 +1246,7 @@ country_event = {
distance = 10
angle = random
}
fleet_event = { id = rg.406 days = 30 random = 5 }
fleet_event = { id = rg_event.406 days = 30 random = 5 }
}
}
if = {
@ -1333,7 +1265,7 @@ country_event = {
distance = 10
angle = random
}
fleet_event = { id = rg.406 days = 30 random = 5 }
fleet_event = { id = rg_event.406 days = 30 random = 5 }
}
}
}
@ -1353,7 +1285,7 @@ country_event = {
distance = 10
angle = random
}
fleet_event = { id = rg.406 days = 30 random = 5 }
fleet_event = { id = rg_event.406 days = 30 random = 5 }
}
}
}
@ -1362,7 +1294,7 @@ country_event = {
#舰队增援-触发
country_event = {
id = rg.405
id = rg_event.405
hide_window = yes
trigger = {
is_country_type = gray_goo
@ -1374,14 +1306,14 @@ country_event = {
immediate = {
every_owned_fleet = {
limit = { any_ship = { is_ship_size = graygoo_mothership } }
fleet_event = { id = rg.406 days = 4 random = 3 }
fleet_event = { id = rg_event.406 days = 4 random = 3 }
}
}
}
#母舰增援-天灾
fleet_event = {
id = rg.406
id = rg_event.406
hide_window = yes
is_triggered_only = yes
@ -1636,7 +1568,7 @@ fleet_event = {
#中期增援
country_event = {
id = rg.407
id = rg_event.407
hide_window = yes
trigger = {
@ -1672,7 +1604,7 @@ country_event = {
}
random_country = {
limit = { is_country = event_target:graygoo_country }
country_event = { id = rg.405 days = 10 random = 5 }
country_event = { id = rg_event.405 days = 10 random = 5 }
}
}
else_if = {
@ -1711,7 +1643,7 @@ country_event = {
distance = 0
angle = 0
}
fleet_event = { id = rg.406 days = 30 random = 5 } #_
fleet_event = { id = rg_event.406 days = 30 random = 5 } #_
}
}
}
@ -1721,7 +1653,7 @@ country_event = {
}
#末期增援
country_event = {
id = rg.408
id = rg_event.408
hide_window = yes
trigger = {
@ -1756,7 +1688,7 @@ country_event = {
}
random_country = {
limit = { is_country = event_target:graygoo_country }
country_event = { id = rg.405 days = 10 random = 5 }
country_event = { id = rg_event.405 days = 10 random = 5 }
}
}
if = {
@ -1797,7 +1729,7 @@ country_event = {
distance = 0
angle = 0
}
fleet_event = { id = rg.406 days = 30 random = 5 } #_
fleet_event = { id = rg_event.406 days = 30 random = 5 } #_
}
}
}