3.9改动 不准引用未定义的event

This commit is contained in:
ProjectKoi-Kalo\Kalo
2023-09-14 21:54:00 +08:00
parent 62346f1646
commit a5c19c83e3
4 changed files with 73 additions and 19 deletions

View File

@@ -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
}
}
}

View File

@@ -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 }
}
}