revive check

This commit is contained in:
John Doe
2023-06-07 11:16:10 +08:00
parent d15f4d8818
commit 53ce39ceb9
5 changed files with 34 additions and 5 deletions

View File

@@ -585,7 +585,7 @@ event = {
days = 3600
}
country_event = { id = graygoo.511 }
country_event = { id = graygoo.512 days = 3600 }
country_event = { id = rg.22 }
}
}
}

View File

@@ -842,6 +842,33 @@ country_event = {
}
}
# looping check for grayreforming
country_event = {
id = rg.22
hide_window = yes
is_triggered_only = yes
trigger = {
is_same_value = event_target:gray_owner
has_country_flag = gray_reforming
}
immediate = {
if = {
limit = {
NOT = {
has_modifier = "gray_scattered"
}
}
country_event = { id = graygoo.512 }
}
else = {
country_event = { id = rg.22 years = 1 } # *THIS* looping check
}
}
}
# 拆毁工厂小灰通讯
country_event = {
id = rg.200

View File

@@ -1137,8 +1137,8 @@ country_event = {
nanites = -1000
alloys = -50000
}
remove_country_flag = gray_reforming
remove_modifier = "gray_scattered"
country_event = { id = graygoo.512 }
}
}

View File

@@ -1090,8 +1090,8 @@ country_event = {
nanites = -1000
alloys = -50000
}
remove_country_flag = gray_reforming
remove_modifier = "gray_scattered"
country_event = { id = graygoo.512 }
}
}