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