chougou tastymaid comp

This commit is contained in:
ProjectKoi-Kalo\Kalo 2024-05-15 20:28:38 +08:00
parent 5054a1164d
commit e156eba77f
4 changed files with 116 additions and 21 deletions

@ -33,12 +33,10 @@ rg_gray_govener_init = {
}
if = {
limit = {
owner = {
OR = {
has_global_flag = has_wsg_mod
has_global_flag = kdc_event_mod_active
}
}
}
set_leader_flag = "gray_leader"
set_leader_flag = gray_leader
@ -152,12 +150,10 @@ rg_gray_commander_init = {
}
if = {
limit = {
owner = {
OR = {
has_global_flag = has_wsg_mod
has_global_flag = kdc_event_mod_active
}
}
}
set_leader_flag = "gray_leader" # "gray_leader"==rg_gray_leader
set_leader_flag = gray_leader
@ -497,11 +493,9 @@ rg_gray_scientist_init = {
}
if = {
limit = {
owner = {
OR = {
has_global_flag = has_wsg_mod
has_global_flag = kdc_event_mod_active
}
OR = {
has_global_flag = has_wsg_mod
has_global_flag = kdc_event_mod_active
}
}
set_leader_flag = "gray_leader" # "gray_leader"==rg_gray_leader
@ -522,11 +516,9 @@ rg_gray_scientist_init = {
}
if = {
limit = {
owner = {
OR = {
has_global_flag = has_wsg_mod
has_global_flag = kdc_event_mod_active
}
OR = {
has_global_flag = has_wsg_mod
has_global_flag = kdc_event_mod_active
}
}
if = {
@ -590,11 +582,9 @@ rg_gray_country_leader_init = {
# set_leader_flag = rg_gray_leader
if = {
limit = {
owner = {
OR = {
has_global_flag = has_wsg_mod
has_global_flag = kdc_event_mod_active
}
OR = {
has_global_flag = has_wsg_mod
has_global_flag = kdc_event_mod_active
}
}
# 暂时和小灰网络断开连接

@ -1,8 +1,22 @@
@gray_portrait = Gray
rg_set_gray_portrait = {
change_leader_portrait = @gray_portrait
event_target:rg_gray_country_leader = {
if = {
limit = {
has_global_flag = ms_species_enabled
event_target:gray_owner = {
has_country_flag = mss_enable_gray_maid
}
}
ms_update_gray_portrait = yes
event_target:rg_gray_country_leader = {
ms_update_gray_portrait = yes
}
}
else = {
change_leader_portrait = @gray_portrait
event_target:rg_gray_country_leader = {
change_leader_portrait = @gray_portrait
}
}
}
@ -2189,6 +2203,7 @@ rg_gray_country_init = {
# 下一阶段的事件再建立通讯
# establish_communications_no_message = root
save_global_event_target_as = rg_gray_country
save_global_event_target_as = gray_country
# 创建看板娘用于第一次接触
rg_gray_country_leader_init = yes
set_leader = last_created_leader

@ -314,6 +314,7 @@ country_event = {
rg_gray_country_init = yes #创建国家
}
rg_gray_country_after_init = yes
set_country_flag = machine_age_nanites_studied
create_message = {
type = MESSAGE_RECRUITED_LEADER
localization = "rg_event.2.desc"

89
events/!_rg_mss_gray.txt Normal file

@ -0,0 +1,89 @@
namespace = mss_gray
# 2024年5月15日20:14:29
# chougou 美味女仆:肖像
country_event = {
id = mss_gray.10
title = mss_gray.10.t
desc = mss_gray.10.d
trigger = {
exists = event_target:gray_owner
is_same_value = event_target:gray_owner
}
diplomatic = yes
is_triggered_only = yes
fire_only_once = yes
immediate = {
event_target:gray_country = {
create_leader = {
class = official
species = event_target:gray_owner
effect = {
change_leader_portrait = ms_ldr_gray_default
save_event_target_as = mss_temp_gray
set_leader_flag = ms_temp_gray
}
}
}
ms_set_gray_portrait = { P = ms_ldr_gray_default }
}
picture = GFX_evt_gray_goo_ships
picture_event_data = {
portrait = event_target:mss_temp_gray
room = specialist_bulwark_room
planet_background = pc_gray_goo
}
show_sound = event_faceoff_in_space
option = {
name = mss_gray.portrait.random
is_dialog_only = yes response_text = mss_gray.portrait.response.random
ms_set_gray_portrait = { P = ms_ldr_gray_random }
}
option = {
name = mss_gray.portrait.random.wingless
is_dialog_only = yes response_text = mss_gray.portrait.response.random
ms_set_gray_portrait = { P = ms_ldr_gray_random_wingless }
}
option = {
name = mss_gray.portrait.default
is_dialog_only = yes response_text = mss_gray.portrait.response.default
ms_set_gray_portrait = { P = ms_ldr_gray_default }
}
option = {
name = mss_gray.portrait.default.wingless
is_dialog_only = yes response_text = mss_gray.portrait.response.default
ms_set_gray_portrait = { P = ms_ldr_gray_default_wingless }
}
option = {
name = mss_gray.portrait.classic
is_dialog_only = yes response_text = mss_gray.portrait.response.classic
ms_set_gray_portrait = { P = ms_ldr_gray_classic }
}
option = {
name = mss_gray.portrait.classic.wingless
is_dialog_only = yes response_text = mss_gray.portrait.response.classic
ms_set_gray_portrait = { P = ms_ldr_gray_classic_wingless }
}
option = {
name = mss_gray.10.yes
custom_tooltip = mss_gray.10.yes.tt
hidden_effect = {
set_country_flag = mss_enable_gray_maid
country_event = { id = mss_gray.20 }
}
}
option = {
name = mss_gray.10.no
custom_tooltip = mss_gray.10.no.tt
hidden_effect = {
set_global_flag = rg_mss_denied_gray_maid
}
}
after = {
custom_tooltip = MS_LABEL_SPECIES
hidden_effect = {
event_target:mss_temp_gray = {
kill_leader = { show_notification = no }
}
}
}
}