3.9改动 不准引用未定义的event
This commit is contained in:
parent
62346f1646
commit
a5c19c83e3
|
@ -118,9 +118,17 @@ rg_gray_govener_init = {
|
|||
}
|
||||
}
|
||||
}
|
||||
leader_event = {
|
||||
id = wg_affection.8
|
||||
days = 1
|
||||
if = {
|
||||
limit = {
|
||||
has_leader_flag = has_wg_affection_wg_gray
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
owner = { has_country_flag = married_gray }
|
||||
}
|
||||
set_leader_flag = married
|
||||
}
|
||||
set_variable = { which = affection value = owner.wg_gray_affection }
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
|
@ -224,9 +232,17 @@ rg_gray_admiral_init = {
|
|||
}
|
||||
}
|
||||
}
|
||||
leader_event = {
|
||||
id = wg_affection.8
|
||||
days = 1
|
||||
if = {
|
||||
limit = {
|
||||
has_leader_flag = has_wg_affection_wg_gray
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
owner = { has_country_flag = married_gray }
|
||||
}
|
||||
set_leader_flag = married
|
||||
}
|
||||
set_variable = { which = affection value = owner.wg_gray_affection }
|
||||
}
|
||||
add_trait_no_notify = leader_trait_admiral_wg_gray_affection
|
||||
if = {
|
||||
|
@ -316,9 +332,17 @@ rg_gray_general_init = {
|
|||
}
|
||||
}
|
||||
}
|
||||
leader_event = {
|
||||
id = wg_affection.8
|
||||
days = 1
|
||||
if = {
|
||||
limit = {
|
||||
has_leader_flag = has_wg_affection_wg_gray
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
owner = { has_country_flag = married_gray }
|
||||
}
|
||||
set_leader_flag = married
|
||||
}
|
||||
set_variable = { which = affection value = owner.wg_gray_affection }
|
||||
}
|
||||
# add_trait_no_notify = leader_trait_admiral_wg_gray_affection
|
||||
if = {
|
||||
|
@ -415,9 +439,17 @@ rg_gray_scientist_init = {
|
|||
}
|
||||
}
|
||||
}
|
||||
leader_event = {
|
||||
id = wg_affection.8
|
||||
days = 1
|
||||
if = {
|
||||
limit = {
|
||||
has_leader_flag = has_wg_affection_wg_gray
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
owner = { has_country_flag = married_gray }
|
||||
}
|
||||
set_leader_flag = married
|
||||
}
|
||||
set_variable = { which = affection value = owner.wg_gray_affection }
|
||||
}
|
||||
add_trait_no_notify = leader_trait_admiral_wg_gray_affection
|
||||
if = {
|
||||
|
|
|
@ -8,5 +8,5 @@ tags={
|
|||
}
|
||||
name="Real Gray"
|
||||
picture="thumbnail.png"
|
||||
supported_version="3.8.*"
|
||||
supported_version="3.9.*"
|
||||
remote_file_id="2136166095"
|
|
@ -204,7 +204,7 @@ country_event = {
|
|||
}
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = wg_aft.30000
|
||||
id = wg_affection.30000
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -403,7 +403,7 @@ country_event = {
|
|||
}
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = wg_aft.30000
|
||||
id = wg_affection.30000
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -792,7 +792,7 @@ country_event = {
|
|||
}
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = wg_aft.30000
|
||||
id = wg_affection.30000
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1153,7 +1153,7 @@ country_event = {
|
|||
}
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = wg_aft.30000
|
||||
id = wg_affection.30000
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1216,7 +1216,7 @@ country_event = {
|
|||
}
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = wg_aft.30000
|
||||
id = wg_affection.30000
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1461,7 +1461,7 @@ country_event = {
|
|||
}
|
||||
hidden_effect = {
|
||||
country_event = {
|
||||
id = wg_aft.30000
|
||||
id = wg_affection.30000
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
namespace = wg_affection
|
||||
|
||||
country_event = {
|
||||
id = wg_affection.30000
|
||||
title = wg_affection.30000.name
|
||||
desc = wg_affection.30000.desc
|
||||
is_triggered_only = yes
|
||||
diplomatic = yes
|
||||
show_sound = event_wg_wedding
|
||||
custom_gui = wg_gray_commu_window
|
||||
custom_gui_option = wg_gray_commu_option
|
||||
|
||||
immediate = {
|
||||
set_country_flag = married_gray
|
||||
}
|
||||
|
||||
option = {
|
||||
name = wg_affection.30000.a
|
||||
response_text = wg_affection.30000.response
|
||||
change_variable = { which = rankpts value = 2 }
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue