Merge branch 'master' of https://cloud.armorrush.com/Kalospacer/realgray-stellaris-mod
This commit is contained in:
commit
8da3a91c7d
@ -33,13 +33,11 @@ rg_gray_govener_init = {
|
|||||||
}
|
}
|
||||||
if = {
|
if = {
|
||||||
limit = {
|
limit = {
|
||||||
owner = {
|
|
||||||
OR = {
|
OR = {
|
||||||
has_global_flag = has_wsg_mod
|
has_global_flag = has_wsg_mod
|
||||||
has_global_flag = kdc_event_mod_active
|
has_global_flag = kdc_event_mod_active
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
set_leader_flag = "gray_leader"
|
set_leader_flag = "gray_leader"
|
||||||
set_leader_flag = gray_leader
|
set_leader_flag = gray_leader
|
||||||
add_trait_no_notify = leader_trait_governor_gray
|
add_trait_no_notify = leader_trait_governor_gray
|
||||||
@ -152,13 +150,11 @@ rg_gray_commander_init = {
|
|||||||
}
|
}
|
||||||
if = {
|
if = {
|
||||||
limit = {
|
limit = {
|
||||||
owner = {
|
|
||||||
OR = {
|
OR = {
|
||||||
has_global_flag = has_wsg_mod
|
has_global_flag = has_wsg_mod
|
||||||
has_global_flag = kdc_event_mod_active
|
has_global_flag = kdc_event_mod_active
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
set_leader_flag = "gray_leader" # "gray_leader"==rg_gray_leader
|
set_leader_flag = "gray_leader" # "gray_leader"==rg_gray_leader
|
||||||
set_leader_flag = gray_leader
|
set_leader_flag = gray_leader
|
||||||
add_trait_no_notify = gray_admiral
|
add_trait_no_notify = gray_admiral
|
||||||
@ -497,13 +493,11 @@ rg_gray_scientist_init = {
|
|||||||
}
|
}
|
||||||
if = {
|
if = {
|
||||||
limit = {
|
limit = {
|
||||||
owner = {
|
|
||||||
OR = {
|
OR = {
|
||||||
has_global_flag = has_wsg_mod
|
has_global_flag = has_wsg_mod
|
||||||
has_global_flag = kdc_event_mod_active
|
has_global_flag = kdc_event_mod_active
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
set_leader_flag = "gray_leader" # "gray_leader"==rg_gray_leader
|
set_leader_flag = "gray_leader" # "gray_leader"==rg_gray_leader
|
||||||
set_leader_flag = gray_leader
|
set_leader_flag = gray_leader
|
||||||
}
|
}
|
||||||
@ -522,13 +516,11 @@ rg_gray_scientist_init = {
|
|||||||
}
|
}
|
||||||
if = {
|
if = {
|
||||||
limit = {
|
limit = {
|
||||||
owner = {
|
|
||||||
OR = {
|
OR = {
|
||||||
has_global_flag = has_wsg_mod
|
has_global_flag = has_wsg_mod
|
||||||
has_global_flag = kdc_event_mod_active
|
has_global_flag = kdc_event_mod_active
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if = {
|
if = {
|
||||||
limit = {
|
limit = {
|
||||||
has_leader_flag = has_wg_affection_wg_gray
|
has_leader_flag = has_wg_affection_wg_gray
|
||||||
@ -590,13 +582,11 @@ rg_gray_country_leader_init = {
|
|||||||
# set_leader_flag = rg_gray_leader
|
# set_leader_flag = rg_gray_leader
|
||||||
if = {
|
if = {
|
||||||
limit = {
|
limit = {
|
||||||
owner = {
|
|
||||||
OR = {
|
OR = {
|
||||||
has_global_flag = has_wsg_mod
|
has_global_flag = has_wsg_mod
|
||||||
has_global_flag = kdc_event_mod_active
|
has_global_flag = kdc_event_mod_active
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
# 暂时和小灰网络断开连接
|
# 暂时和小灰网络断开连接
|
||||||
# set_leader_flag = "gray_leader"
|
# set_leader_flag = "gray_leader"
|
||||||
# set_leader_flag = gray_leader
|
# set_leader_flag = gray_leader
|
||||||
|
@ -1,9 +1,23 @@
|
|||||||
@gray_portrait = Gray
|
@gray_portrait = Gray
|
||||||
rg_set_gray_portrait = {
|
rg_set_gray_portrait = {
|
||||||
|
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
|
change_leader_portrait = @gray_portrait
|
||||||
event_target:rg_gray_country_leader = {
|
event_target:rg_gray_country_leader = {
|
||||||
change_leader_portrait = @gray_portrait
|
change_leader_portrait = @gray_portrait
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
rg_create_gray_species = {
|
rg_create_gray_species = {
|
||||||
@ -2189,6 +2203,7 @@ rg_gray_country_init = {
|
|||||||
# 下一阶段的事件再建立通讯
|
# 下一阶段的事件再建立通讯
|
||||||
# establish_communications_no_message = root
|
# establish_communications_no_message = root
|
||||||
save_global_event_target_as = rg_gray_country
|
save_global_event_target_as = rg_gray_country
|
||||||
|
save_global_event_target_as = gray_country
|
||||||
# 创建看板娘用于第一次接触
|
# 创建看板娘用于第一次接触
|
||||||
rg_gray_country_leader_init = yes
|
rg_gray_country_leader_init = yes
|
||||||
set_leader = last_created_leader
|
set_leader = last_created_leader
|
||||||
|
@ -314,6 +314,7 @@ country_event = {
|
|||||||
rg_gray_country_init = yes #创建国家
|
rg_gray_country_init = yes #创建国家
|
||||||
}
|
}
|
||||||
rg_gray_country_after_init = yes
|
rg_gray_country_after_init = yes
|
||||||
|
set_country_flag = machine_age_nanites_studied
|
||||||
create_message = {
|
create_message = {
|
||||||
type = MESSAGE_RECRUITED_LEADER
|
type = MESSAGE_RECRUITED_LEADER
|
||||||
localization = "rg_event.2.desc"
|
localization = "rg_event.2.desc"
|
||||||
@ -621,12 +622,9 @@ event = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
AND = {
|
AND = {
|
||||||
OR = {
|
|
||||||
has_country_flag = gray_official_active
|
has_country_flag = gray_official_active
|
||||||
has_country_flag = gray_governor_active #旧版flag
|
|
||||||
}
|
|
||||||
NOT = {
|
NOT = {
|
||||||
exists = event_target:gray_governor
|
exists = event_target:gray_official
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
AND = {
|
AND = {
|
||||||
@ -640,10 +638,8 @@ event = {
|
|||||||
}
|
}
|
||||||
immediate = {
|
immediate = {
|
||||||
event_target:gray_owner = {
|
event_target:gray_owner = {
|
||||||
OR = {
|
remove_country_flag = gray_official_active #新版flag
|
||||||
has_country_flag = gray_official_active
|
remove_country_flag = gray_governor_active #旧版flag #总督
|
||||||
has_country_flag = gray_governor_active #旧版flag
|
|
||||||
} #总督
|
|
||||||
remove_country_flag = gray_warship_active #旗舰
|
remove_country_flag = gray_warship_active #旗舰
|
||||||
remove_country_flag = gray_army_active #陆军
|
remove_country_flag = gray_army_active #陆军
|
||||||
remove_country_flag = gray_constship_active #科舰
|
remove_country_flag = gray_constship_active #科舰
|
||||||
@ -652,12 +648,8 @@ event = {
|
|||||||
modifier = "gray_scattered"
|
modifier = "gray_scattered"
|
||||||
days = 3600
|
days = 3600
|
||||||
}
|
}
|
||||||
country_event = {
|
country_event = { id = graygoo.511 }
|
||||||
id = graygoo.511
|
country_event = { id = graygoo.512 days = 3600 }
|
||||||
}
|
|
||||||
country_event = {
|
|
||||||
id = rg_event.22
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -682,11 +674,20 @@ country_event = {
|
|||||||
desc = "graygoo.512.a.desc"
|
desc = "graygoo.512.a.desc"
|
||||||
desc = "graygoo.512.b.desc"
|
desc = "graygoo.512.b.desc"
|
||||||
desc = "graygoo.512.c.desc"
|
desc = "graygoo.512.c.desc"
|
||||||
diplomatic = yes
|
|
||||||
|
event_window_type = leader_story
|
||||||
|
picture = GFX_evt_gray_gooed_planet
|
||||||
|
picture_event_data = {
|
||||||
|
portrait = event_target:rg_gray_country_leader
|
||||||
|
room = root
|
||||||
|
}
|
||||||
|
|
||||||
is_triggered_only = yes
|
is_triggered_only = yes
|
||||||
|
|
||||||
immediate = {
|
immediate = {
|
||||||
remove_country_flag = gray_reforming
|
remove_country_flag = gray_reforming
|
||||||
}
|
}
|
||||||
|
|
||||||
option = {
|
option = {
|
||||||
name = graygoo.512.a
|
name = graygoo.512.a
|
||||||
}
|
}
|
||||||
|
89
events/!_rg_mss_gray.txt
Normal file
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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -1041,35 +1041,35 @@ country_event = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# looping check for grayreforming
|
# # looping check for grayreforming
|
||||||
country_event = {
|
# country_event = {
|
||||||
id = rg_event.22
|
# id = rg_event.22
|
||||||
hide_window = yes
|
# hide_window = yes
|
||||||
is_triggered_only = yes
|
# is_triggered_only = yes
|
||||||
trigger = {
|
# trigger = {
|
||||||
is_same_value = event_target:gray_owner
|
# is_same_value = event_target:gray_owner
|
||||||
has_country_flag = gray_reforming
|
# has_country_flag = gray_reforming
|
||||||
}
|
# }
|
||||||
immediate = {
|
# immediate = {
|
||||||
if = {
|
# if = {
|
||||||
limit = {
|
# limit = {
|
||||||
NOT = {
|
# NOT = {
|
||||||
has_modifier = "gray_scattered"
|
# has_modifier = "gray_scattered"
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
country_event = {
|
# country_event = {
|
||||||
id = graygoo.512
|
# id = graygoo.512
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
else = {
|
# else = {
|
||||||
country_event = {
|
# country_event = {
|
||||||
id = rg_event.22
|
# id = rg_event.22
|
||||||
years = 1
|
# years = 1
|
||||||
}
|
# }
|
||||||
# *THIS* looping check
|
# # *THIS* looping check
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
|
|
||||||
# 拆毁工厂小灰通讯
|
# 拆毁工厂小灰通讯
|
||||||
country_event = {
|
country_event = {
|
||||||
|
@ -1156,28 +1156,28 @@ country_event = {
|
|||||||
option = {
|
option = {
|
||||||
name = OK
|
name = OK
|
||||||
}
|
}
|
||||||
option = {
|
# option = {
|
||||||
name = rg_graygoo.504.a
|
# name = rg_graygoo.504.a
|
||||||
allow = {
|
# allow = {
|
||||||
has_country_flag = gray_reforming
|
# has_country_flag = gray_reforming
|
||||||
resource_stockpile_compare = {
|
# resource_stockpile_compare = {
|
||||||
resource = nanites
|
# resource = nanites
|
||||||
value >= 1000
|
# value >= 1000
|
||||||
}
|
# }
|
||||||
resource_stockpile_compare = {
|
# resource_stockpile_compare = {
|
||||||
resource = alloys
|
# resource = alloys
|
||||||
value >= 50000
|
# value >= 50000
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
add_resource = {
|
# add_resource = {
|
||||||
nanites = -1000
|
# nanites = -1000
|
||||||
alloys = -50000
|
# alloys = -50000
|
||||||
}
|
# }
|
||||||
remove_modifier = "gray_scattered"
|
# remove_modifier = "gray_scattered"
|
||||||
country_event = {
|
# country_event = {
|
||||||
id = graygoo.512
|
# id = graygoo.512
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
}
|
}
|
||||||
|
|
||||||
# Main Menu (const)
|
# Main Menu (const)
|
||||||
|
@ -1225,28 +1225,28 @@ country_event = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
option = {
|
# option = {
|
||||||
name = rg_graygoo.504.a
|
# name = rg_graygoo.504.a
|
||||||
allow = {
|
# allow = {
|
||||||
has_country_flag = gray_reforming
|
# has_country_flag = gray_reforming
|
||||||
resource_stockpile_compare = {
|
# resource_stockpile_compare = {
|
||||||
resource = nanites
|
# resource = nanites
|
||||||
value >= 1000
|
# value >= 1000
|
||||||
}
|
# }
|
||||||
resource_stockpile_compare = {
|
# resource_stockpile_compare = {
|
||||||
resource = alloys
|
# resource = alloys
|
||||||
value >= 50000
|
# value >= 50000
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
add_resource = {
|
# add_resource = {
|
||||||
nanites = -1000
|
# nanites = -1000
|
||||||
alloys = -50000
|
# alloys = -50000
|
||||||
}
|
# }
|
||||||
remove_modifier = "gray_scattered"
|
# remove_modifier = "gray_scattered"
|
||||||
country_event = {
|
# country_event = {
|
||||||
id = graygoo.512
|
# id = graygoo.512
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
}
|
}
|
||||||
|
|
||||||
# Main Menu (const)
|
# Main Menu (const)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user