小心外部威胁
This commit is contained in:
parent
b78e0fc45f
commit
17d7a7751d
|
@ -404,6 +404,7 @@ rg_gray_scientist_init = {
|
|||
else = {
|
||||
rg_set_gray_portrait = yes
|
||||
}
|
||||
rg_gray_anti_kogasa_checker = yes
|
||||
}
|
||||
set_global_flag = rg_kac_leader
|
||||
}
|
||||
|
@ -467,3 +468,91 @@ rg_gray_country_leader_init = {
|
|||
rg_set_gray_portrait = yes
|
||||
}
|
||||
}
|
||||
|
||||
rg_gray_anti_kogasa_checker = {
|
||||
#scope = leader
|
||||
if = { #检查小伞病毒
|
||||
limit = {
|
||||
AND = {
|
||||
OR = {
|
||||
has_leader_flag = rg_gray_leader
|
||||
has_leader_flag = gray_leader
|
||||
}
|
||||
has_leader_flag = FW_flg_ldr_HOK_kogasa
|
||||
}
|
||||
}
|
||||
rg_gray_anti_kogasa_extermination_sequence = yes
|
||||
}
|
||||
}
|
||||
#发现脏东西,彻底净化,杀杀杀
|
||||
rg_gray_anti_kogasa_extermination_sequence = {
|
||||
event_target:gray_owner = {
|
||||
every_owned_leader = {
|
||||
limit = {
|
||||
has_leader_flag = {
|
||||
OR = {
|
||||
has_leader_flag = rg_gray_leader
|
||||
has_leader_flag = gray_leader
|
||||
}
|
||||
has_leader_flag = FW_flg_ldr_HOK_kogasa
|
||||
}
|
||||
remove_trait = FW_trait_ldr_HOK_kogasa
|
||||
remove_trait = FW_trait_ldr_HOK_pupil
|
||||
remove_leader_flag = FW_flg_ldr_HOK_kogasa
|
||||
kill_leader = this
|
||||
}
|
||||
}
|
||||
create_message = {
|
||||
type = MESSAGE_RECRUITED_LEADER
|
||||
localization = "rg_kogasa_exterminated_desc"
|
||||
days = @toast_message_days
|
||||
target = event_target:rg_gray_country_leader
|
||||
variable = {
|
||||
type = name
|
||||
localization = LEADER
|
||||
scope = event_target:rg_gray_country_leader
|
||||
}
|
||||
}
|
||||
}
|
||||
event_target:rg_gray_country = {
|
||||
every_owned_leader = {
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_leader_flag = rg_gray_leader
|
||||
has_leader_flag = gray_leader
|
||||
}
|
||||
has_leader_flag = FW_flg_ldr_HOK_kogasa
|
||||
}
|
||||
remove_trait = FW_trait_ldr_HOK_kogasa
|
||||
remove_trait = FW_trait_ldr_HOK_pupil
|
||||
remove_leader_flag = FW_flg_ldr_HOK_kogasa
|
||||
kill_leader = this
|
||||
}
|
||||
}
|
||||
every_owned_leader = {
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_leader_flag = rg_gray_leader
|
||||
has_leader_flag = gray_leader
|
||||
}
|
||||
has_leader_flag = FW_flg_ldr_HOK_kogasa
|
||||
}
|
||||
remove_trait = FW_trait_ldr_HOK_kogasa
|
||||
remove_trait = FW_trait_ldr_HOK_pupil
|
||||
remove_leader_flag = FW_flg_ldr_HOK_kogasa
|
||||
kill_leader = this
|
||||
}
|
||||
}
|
||||
every_owned_leader = {
|
||||
if = {
|
||||
limit = {
|
||||
has_leader_flag = gray_scientist
|
||||
has_leader_flag = rg_gray_leader_temp
|
||||
}
|
||||
kill_leader = this
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -319,3 +319,6 @@
|
|||
rg_timed_life_millennium_reborn:0 "§Y发光的§!§R千年魂环§!:模拟龙已经一千岁了~§R你是怎么做到的?难道一千年真的如此短暂吗?§!\n你获得了§R废物认证§!~"
|
||||
RG_sim_dragon_species:0 "伪装的龙"
|
||||
RG_SIMULATION_DRAGON_SPECIES:0 "伪装的龙"
|
||||
|
||||
MESSAGE_KOGASA_VIRUS_EXTERMINATED:0 "§R检测到伞病毒威胁§!"
|
||||
rg_kogasa_exterminated_desc:0 "守护进程检测到小灰人格完整性遭到篡改,污染目标已被净化,处理方案:无害化处理。"
|
Loading…
Reference in New Issue