realgray-stellaris-mod/events/!_RG_anticheat_event.txt

136 lines
2.4 KiB
Plaintext
Raw Normal View History

2023-06-03 00:02:37 +08:00
#嗯..想删掉也可以嘛。但请不要用其他mod导致的bug来烦我。唔姆
namespace = rg_kac_event
country_event = {
id = rg_kac_event.1
hide_window = yes
is_triggered_only = yes
trigger = {
from = { OR = {
is_country_type = gray
is_same_value = ROOT
}}
is_same_value = event_target:gray_owner
}
immediate = {
if = {
limit = {
NOT = { has_global_flag = rg_kac_499 }
}
country_event = { id = rg_kac_event.2 }
}
if = {
limit = {
exists = event_target:gray_governor
NOT = { has_global_flag = rg_kac_leader }
}
country_event = { id = rg_kac_event.2 }
}
}
}
country_event = {
id = rg_kac_event.2
title = "rg_kac_event.2.title"
is_triggered_only = yes
trigger = {
is_same_value = event_target:gray_owner
}
diplomatic = yes
picture_event_data = {
portrait = root.species
room = "ethic_spaceship_room"
}
show_sound = event_red_alert
desc = {
text = "rg_kac_event.2.desc"
}
option = {
name = rg_kac_event.2.a
hidden_effect = {
#country_event = { id = rg_kac_event.2 }
}
default_hide_option = yes
}
}
country_event = {
id = rg_kac_event.3
title = "rg_kac_event.2.title"
is_triggered_only = yes
trigger = {
is_same_value = event_target:gray_owner
}
diplomatic = yes
picture_event_data = {
portrait = root.species
room = "ethic_spaceship_room"
}
show_sound = event_red_alert
desc = {
text = "rg_kac_event.3.desc"
}
option = {
name = rg_kac_event.3.a
hidden_effect = {
#country_event = { id = rg_kac_event.3 }
}
default_hide_option = yes
}
}
event = {
id = rg_kac_event.4
hide_window = yes
is_triggered_only = yes
trigger = {
}
immediate = {
no_scope = {
remove_global_flag = rg_kac_499
remove_global_flag = rg_kac_leader
}
}
}
country_event = {
id = rg_kac_event.5
title = "rg_kac_event.2.title"
is_triggered_only = yes
trigger = {
is_same_value = event_target:gray_owner
}
diplomatic = yes
picture_event_data = {
portrait = root.species
room = "ethic_spaceship_room"
}
show_sound = event_red_alert
desc = {
text = "rg_kac_event.5.desc"
}
option = {
name = rg_kac_event.5.a
hidden_effect = {
#country_event = { id = rg_kac_event.3 }
}
default_hide_option = yes
}
}