非正常触发499补事件
This commit is contained in:
parent
540b34584e
commit
cde081ef8d
|
@ -1999,7 +1999,6 @@ rg_gray_country_init = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
last_created_country = {
|
last_created_country = {
|
||||||
rg_create_gray_species = yes
|
|
||||||
# 下一阶段的事件再建立通讯
|
# 下一阶段的事件再建立通讯
|
||||||
# establish_communications_no_message = root
|
# establish_communications_no_message = root
|
||||||
save_global_event_target_as = rg_gray_country
|
save_global_event_target_as = rg_gray_country
|
||||||
|
|
|
@ -297,6 +297,14 @@ country_event = {
|
||||||
|
|
||||||
immediate = {
|
immediate = {
|
||||||
set_global_flag = rg_kac_499
|
set_global_flag = rg_kac_499
|
||||||
|
if = { # 非正常触发补事件
|
||||||
|
limit = {
|
||||||
|
NOT = {
|
||||||
|
exists = event_target:rg_gray_country
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rg_gray_country_init = yes #创建国家
|
||||||
|
}
|
||||||
rg_gray_country_after_init = yes
|
rg_gray_country_after_init = yes
|
||||||
event_target:gray_governor = {
|
event_target:gray_governor = {
|
||||||
set_owner = event_target:gray_owner
|
set_owner = event_target:gray_owner
|
||||||
|
|
|
@ -29,19 +29,16 @@ country_event = {
|
||||||
|
|
||||||
immediate = {
|
immediate = {
|
||||||
hidden_effect = {
|
hidden_effect = {
|
||||||
rg_create_gray_species = yes
|
|
||||||
rg_gray_country_init = yes
|
|
||||||
country_event = { id = graygoo.499 }
|
country_event = { id = graygoo.499 }
|
||||||
rg_gray_govener_init = yes
|
|
||||||
create_message = {
|
create_message = {
|
||||||
type = MESSAGE_RECRUITED_LEADER
|
type = MESSAGE_RECRUITED_LEADER
|
||||||
localization = "rg.2.desc"
|
localization = "rg.2.desc"
|
||||||
days = @toast_message_days
|
days = @toast_message_days
|
||||||
target = event_target:gray_governor
|
target = event_target:rg_gray_country_leader
|
||||||
variable = {
|
variable = {
|
||||||
type = name
|
type = name
|
||||||
localization = LEADER
|
localization = LEADER
|
||||||
scope = event_target:gray_governor
|
scope = event_target:rg_gray_country_leader
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue