暂存
This commit is contained in:
parent
732aea91fd
commit
7f928c6f67
@ -1,9 +1,14 @@
|
|||||||
option = {
|
option = {
|
||||||
name = marry_gray
|
name = marry_gray
|
||||||
trigger = {
|
trigger = {
|
||||||
has_global_flag = has_wsg_mod
|
RG_OR_has_wsg_mod_trigger = yes
|
||||||
check_variable = { which = wg_gray_affection value > @wg_gray_affection_to_lv4 }
|
check_variable = {
|
||||||
NOT = { has_country_flag = married_gray }
|
which = wg_gray_affection
|
||||||
|
value > @wg_gray_affection_to_lv4
|
||||||
|
}
|
||||||
|
NOT = {
|
||||||
|
has_country_flag = married_gray
|
||||||
|
}
|
||||||
}
|
}
|
||||||
allow = {
|
allow = {
|
||||||
OR = {
|
OR = {
|
||||||
@ -19,19 +24,40 @@ option = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
custom_tooltip = {
|
custom_tooltip = {
|
||||||
check_variable = { which = wsg_rings value >= 1 }
|
check_variable = {
|
||||||
|
which = wsg_rings
|
||||||
|
value >= 1
|
||||||
|
}
|
||||||
fail_text = not_enough_engagement_rings
|
fail_text = not_enough_engagement_rings
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
custom_tooltip = {
|
||||||
|
fail_text = gray_become_ruler
|
||||||
|
NOT = {
|
||||||
|
ruler = {
|
||||||
|
has_leader_flag = "gray_leader"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if = {
|
if = {
|
||||||
limit = { has_wg_special_authority = yes }
|
limit = {
|
||||||
subtract_variable = { which = wsg_rings value = 1 }
|
has_wg_special_authority = yes
|
||||||
} else = {
|
}
|
||||||
|
subtract_variable = {
|
||||||
|
which = wsg_rings
|
||||||
|
value = 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else = {
|
||||||
add_resource = {
|
add_resource = {
|
||||||
sr_living_metal = -100
|
sr_living_metal = -100
|
||||||
rare_crystals = -1000
|
rare_crystals = -1000
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
hidden_effect = { country_event = { id = wg_affection.30000 }}
|
hidden_effect = {
|
||||||
|
country_event = {
|
||||||
|
id = wg_affection.30000
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
@ -1,7 +1,7 @@
|
|||||||
option = {
|
option = {
|
||||||
name = marry_gray
|
name = marry_gray
|
||||||
trigger = {
|
trigger = {
|
||||||
has_global_flag = has_wsg_mod
|
RG_OR_has_wsg_mod_trigger = yes
|
||||||
check_variable = {
|
check_variable = {
|
||||||
which = wg_gray_affection
|
which = wg_gray_affection
|
||||||
value > @wg_gray_affection_to_lv4
|
value > @wg_gray_affection_to_lv4
|
||||||
@ -12,17 +12,7 @@ option = {
|
|||||||
}
|
}
|
||||||
allow = {
|
allow = {
|
||||||
OR = {
|
OR = {
|
||||||
AND = {
|
|
||||||
has_wg_special_authority = no
|
has_wg_special_authority = no
|
||||||
resource_stockpile_compare = {
|
|
||||||
resource = sr_living_metal
|
|
||||||
value >= 100
|
|
||||||
}
|
|
||||||
resource_stockpile_compare = {
|
|
||||||
resource = rare_crystals
|
|
||||||
value >= 1000
|
|
||||||
}
|
|
||||||
}
|
|
||||||
custom_tooltip = {
|
custom_tooltip = {
|
||||||
check_variable = {
|
check_variable = {
|
||||||
which = wsg_rings
|
which = wsg_rings
|
||||||
@ -31,30 +21,11 @@ option = {
|
|||||||
fail_text = not_enough_engagement_rings
|
fail_text = not_enough_engagement_rings
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
custom_tooltip = {
|
|
||||||
fail_text = gray_become_ruler
|
|
||||||
NOT = {
|
|
||||||
ruler = {
|
|
||||||
has_leader_flag = "gray_leader"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if = {
|
|
||||||
limit = {
|
|
||||||
has_wg_special_authority = yes
|
|
||||||
}
|
}
|
||||||
subtract_variable = {
|
subtract_variable = {
|
||||||
which = wsg_rings
|
which = wsg_rings
|
||||||
value = 1
|
value = 1
|
||||||
}
|
}
|
||||||
}
|
|
||||||
else = {
|
|
||||||
add_resource = {
|
|
||||||
sr_living_metal = -100
|
|
||||||
rare_crystals = -1000
|
|
||||||
}
|
|
||||||
}
|
|
||||||
hidden_effect = {
|
hidden_effect = {
|
||||||
country_event = {
|
country_event = {
|
||||||
id = wg_affection.30000
|
id = wg_affection.30000
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
option = {
|
option = {
|
||||||
name = marry_gray
|
name = marry_gray
|
||||||
trigger = {
|
trigger = {
|
||||||
|
RG_OR_has_wsg_mod_trigger = yes
|
||||||
check_variable = { which = wg_gray_affection value > @wg_gray_affection_to_lv4 }
|
check_variable = { which = wg_gray_affection value > @wg_gray_affection_to_lv4 }
|
||||||
NOT = { has_country_flag = married_gray }
|
NOT = { has_country_flag = married_gray }
|
||||||
}
|
}
|
||||||
|
@ -23,3 +23,17 @@ RG_planet_can_auto_build = {
|
|||||||
has_planet_flag = RG_work_bees_built
|
has_planet_flag = RG_work_bees_built
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
RG_NOR_has_wsg_mod_trigger = {
|
||||||
|
NOR = {
|
||||||
|
has_global_flag = has_wsg_mod
|
||||||
|
has_global_flag = kdc_event_mod_active
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
RG_OR_has_wsg_mod_trigger = {
|
||||||
|
OR = {
|
||||||
|
has_global_flag = has_wsg_mod
|
||||||
|
has_global_flag = kdc_event_mod_active
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -357,10 +357,7 @@ country_event = {
|
|||||||
immediate = {
|
immediate = {
|
||||||
if = {
|
if = {
|
||||||
limit = {
|
limit = {
|
||||||
OR = {
|
RG_OR_has_wsg_mod_trigger = yes
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
has_global_flag = kdc_event_mod_active
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
country_event = {
|
country_event = {
|
||||||
id = rg_graygoo.500
|
id = rg_graygoo.500
|
||||||
@ -400,10 +397,7 @@ country_event = {
|
|||||||
immediate = {
|
immediate = {
|
||||||
if = {
|
if = {
|
||||||
limit = {
|
limit = {
|
||||||
OR = {
|
RG_OR_has_wsg_mod_trigger = yes
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
has_global_flag = kdc_event_mod_active
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
country_event = {
|
country_event = {
|
||||||
id = rg_graygoo.501
|
id = rg_graygoo.501
|
||||||
@ -446,10 +440,7 @@ country_event = {
|
|||||||
immediate = {
|
immediate = {
|
||||||
if = {
|
if = {
|
||||||
limit = {
|
limit = {
|
||||||
OR = {
|
RG_OR_has_wsg_mod_trigger = yes
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
has_global_flag = kdc_event_mod_active
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
country_event = {
|
country_event = {
|
||||||
id = rg_graygoo.502
|
id = rg_graygoo.502
|
||||||
@ -497,10 +488,7 @@ country_event = {
|
|||||||
immediate = {
|
immediate = {
|
||||||
if = {
|
if = {
|
||||||
limit = {
|
limit = {
|
||||||
OR = {
|
RG_OR_has_wsg_mod_trigger = yes
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
has_global_flag = kdc_event_mod_active
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
country_event = {
|
country_event = {
|
||||||
id = rg_graygoo.503
|
id = rg_graygoo.503
|
||||||
@ -532,10 +520,7 @@ country_event = {
|
|||||||
immediate = {
|
immediate = {
|
||||||
if = {
|
if = {
|
||||||
limit = {
|
limit = {
|
||||||
OR = {
|
RG_OR_has_wsg_mod_trigger = yes
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
has_global_flag = kdc_event_mod_active
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
country_event = {
|
country_event = {
|
||||||
id = rg_graygoo.504
|
id = rg_graygoo.504
|
||||||
@ -578,10 +563,7 @@ country_event = {
|
|||||||
immediate = {
|
immediate = {
|
||||||
if = {
|
if = {
|
||||||
limit = {
|
limit = {
|
||||||
OR = {
|
RG_OR_has_wsg_mod_trigger = yes
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
has_global_flag = kdc_event_mod_active
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
country_event = {
|
country_event = {
|
||||||
id = rg_graygoo.505
|
id = rg_graygoo.505
|
||||||
@ -648,8 +630,13 @@ event = {
|
|||||||
modifier = "gray_scattered"
|
modifier = "gray_scattered"
|
||||||
days = 3600
|
days = 3600
|
||||||
}
|
}
|
||||||
country_event = { id = graygoo.511 }
|
country_event = {
|
||||||
country_event = { id = graygoo.512 days = 3600 }
|
id = graygoo.511
|
||||||
|
}
|
||||||
|
country_event = {
|
||||||
|
id = graygoo.512
|
||||||
|
days = 3600
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -674,20 +661,16 @@ 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"
|
||||||
|
|
||||||
event_window_type = leader_story
|
event_window_type = leader_story
|
||||||
picture = GFX_evt_gray_gooed_planet
|
picture = GFX_evt_gray_gooed_planet
|
||||||
picture_event_data = {
|
picture_event_data = {
|
||||||
portrait = event_target:rg_gray_country_leader
|
portrait = event_target:rg_gray_country_leader
|
||||||
room = root
|
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
|
||||||
}
|
}
|
||||||
|
@ -6,10 +6,7 @@ country_event = {
|
|||||||
hide_window = yes
|
hide_window = yes
|
||||||
is_triggered_only = yes
|
is_triggered_only = yes
|
||||||
trigger = {
|
trigger = {
|
||||||
NOR = {
|
RG_NOR_has_wsg_mod_trigger = yes
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
has_global_flag = kdc_event_mod_active
|
|
||||||
}
|
|
||||||
fromfrom = {
|
fromfrom = {
|
||||||
OR = {
|
OR = {
|
||||||
is_country_type = gray
|
is_country_type = gray
|
||||||
@ -22,10 +19,7 @@ country_event = {
|
|||||||
if = {
|
if = {
|
||||||
limit = {
|
limit = {
|
||||||
#500.initial
|
#500.initial
|
||||||
NOR = {
|
RG_NOR_has_wsg_mod_trigger = yes
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
has_global_flag = kdc_event_mod_active
|
|
||||||
}
|
|
||||||
fromfrom = {
|
fromfrom = {
|
||||||
OR = {
|
OR = {
|
||||||
is_country_type = gray
|
is_country_type = gray
|
||||||
@ -50,10 +44,7 @@ country_event = {
|
|||||||
else_if = {
|
else_if = {
|
||||||
#501.governor
|
#501.governor
|
||||||
limit = {
|
limit = {
|
||||||
NOR = {
|
RG_NOR_has_wsg_mod_trigger = yes
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
has_global_flag = kdc_event_mod_active
|
|
||||||
}
|
|
||||||
fromfrom = {
|
fromfrom = {
|
||||||
OR = {
|
OR = {
|
||||||
is_country_type = gray
|
is_country_type = gray
|
||||||
@ -78,10 +69,7 @@ country_event = {
|
|||||||
else_if = {
|
else_if = {
|
||||||
#502.warship
|
#502.warship
|
||||||
limit = {
|
limit = {
|
||||||
NOR = {
|
RG_NOR_has_wsg_mod_trigger = yes
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
has_global_flag = kdc_event_mod_active
|
|
||||||
}
|
|
||||||
fromfrom = {
|
fromfrom = {
|
||||||
OR = {
|
OR = {
|
||||||
is_country_type = gray
|
is_country_type = gray
|
||||||
@ -109,10 +97,7 @@ country_event = {
|
|||||||
else_if = {
|
else_if = {
|
||||||
#503.army
|
#503.army
|
||||||
limit = {
|
limit = {
|
||||||
NOR = {
|
RG_NOR_has_wsg_mod_trigger = yes
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
has_global_flag = kdc_event_mod_active
|
|
||||||
}
|
|
||||||
fromfrom = {
|
fromfrom = {
|
||||||
OR = {
|
OR = {
|
||||||
is_country_type = gray
|
is_country_type = gray
|
||||||
@ -145,10 +130,7 @@ country_event = {
|
|||||||
else_if = {
|
else_if = {
|
||||||
#505.scienceship
|
#505.scienceship
|
||||||
limit = {
|
limit = {
|
||||||
NOR = {
|
RG_NOR_has_wsg_mod_trigger = yes
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
has_global_flag = kdc_event_mod_active
|
|
||||||
}
|
|
||||||
fromfrom = {
|
fromfrom = {
|
||||||
OR = {
|
OR = {
|
||||||
is_country_type = gray
|
is_country_type = gray
|
||||||
@ -176,10 +158,7 @@ country_event = {
|
|||||||
else_if = {
|
else_if = {
|
||||||
#504.gale
|
#504.gale
|
||||||
limit = {
|
limit = {
|
||||||
NOR = {
|
RG_NOR_has_wsg_mod_trigger = yes
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
has_global_flag = kdc_event_mod_active
|
|
||||||
}
|
|
||||||
fromfrom = {
|
fromfrom = {
|
||||||
OR = {
|
OR = {
|
||||||
is_country_type = gray
|
is_country_type = gray
|
||||||
@ -223,10 +202,7 @@ country_event = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
trigger = {
|
trigger = {
|
||||||
NOR = {
|
RG_NOR_has_wsg_mod_trigger = yes
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
has_global_flag = kdc_event_mod_active
|
|
||||||
}
|
|
||||||
fromfrom = {
|
fromfrom = {
|
||||||
OR = {
|
OR = {
|
||||||
is_country_type = gray
|
is_country_type = gray
|
||||||
@ -370,6 +346,7 @@ country_event = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
inline_script = "events/rg_wsg_marry_gray_option_500_scripts"
|
||||||
option = {
|
option = {
|
||||||
name = graygoo.500.d
|
name = graygoo.500.d
|
||||||
tag = hire_leader
|
tag = hire_leader
|
||||||
@ -398,15 +375,12 @@ country_event = {
|
|||||||
event_window_type = leader_recruit
|
event_window_type = leader_recruit
|
||||||
picture_event_data = {
|
picture_event_data = {
|
||||||
portrait = event_target:gray_governor
|
portrait = event_target:gray_governor
|
||||||
planet_background = event_target:gray_governor_planet
|
planet_background = event_target:gray_official_planet
|
||||||
room = root
|
room = root
|
||||||
}
|
}
|
||||||
is_triggered_only = yes
|
is_triggered_only = yes
|
||||||
trigger = {
|
trigger = {
|
||||||
NOR = {
|
RG_NOR_has_wsg_mod_trigger = yes
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
has_global_flag = kdc_event_mod_active
|
|
||||||
}
|
|
||||||
fromfrom = {
|
fromfrom = {
|
||||||
OR = {
|
OR = {
|
||||||
is_country_type = gray
|
is_country_type = gray
|
||||||
@ -429,25 +403,25 @@ country_event = {
|
|||||||
if = {
|
if = {
|
||||||
limit = {
|
limit = {
|
||||||
any_owned_planet = {
|
any_owned_planet = {
|
||||||
exists = sector.leader
|
exists = leader
|
||||||
sector.leader = {
|
leader = {
|
||||||
is_same_value = event_target:gray_governor
|
is_same_value = event_target:gray_official
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
random_owned_planet = {
|
random_owned_planet = {
|
||||||
limit = {
|
limit = {
|
||||||
exists = sector.leader
|
exists = leader
|
||||||
sector.leader = {
|
leader = {
|
||||||
is_same_value = event_target:gray_governor
|
is_same_value = event_target:gray_official
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
save_event_target_as = gray_governor_planet
|
save_event_target_as = gray_official_planet
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else = {
|
else = {
|
||||||
capital_scope = {
|
capital_scope = {
|
||||||
save_event_target_as = gray_governor_planet
|
save_event_target_as = gray_official_planet
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -464,7 +438,8 @@ country_event = {
|
|||||||
allow = {
|
allow = {
|
||||||
hidden_trigger = {
|
hidden_trigger = {
|
||||||
exists = event_target:gray_governor
|
exists = event_target:gray_governor
|
||||||
} # To prevent exploit
|
}
|
||||||
|
# To prevent exploit
|
||||||
}
|
}
|
||||||
hidden_effect = {
|
hidden_effect = {
|
||||||
rg_create_gray_warship = yes
|
rg_create_gray_warship = yes
|
||||||
@ -558,6 +533,7 @@ country_event = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
inline_script = "events/rg_wsg_marry_gray_option_scripts"
|
||||||
option = {
|
option = {
|
||||||
name = graygoo.500.d
|
name = graygoo.500.d
|
||||||
tag = hire_leader
|
tag = hire_leader
|
||||||
@ -590,10 +566,7 @@ country_event = {
|
|||||||
}
|
}
|
||||||
is_triggered_only = yes
|
is_triggered_only = yes
|
||||||
trigger = {
|
trigger = {
|
||||||
NOR = {
|
RG_NOR_has_wsg_mod_trigger = yes
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
has_global_flag = kdc_event_mod_active
|
|
||||||
}
|
|
||||||
fromfrom = {
|
fromfrom = {
|
||||||
OR = {
|
OR = {
|
||||||
is_country_type = gray
|
is_country_type = gray
|
||||||
@ -925,6 +898,7 @@ country_event = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
inline_script = "events/rg_wsg_marry_gray_option_scripts"
|
||||||
option = {
|
option = {
|
||||||
name = graygoo.500.d
|
name = graygoo.500.d
|
||||||
tag = hire_leader
|
tag = hire_leader
|
||||||
@ -957,10 +931,7 @@ country_event = {
|
|||||||
}
|
}
|
||||||
is_triggered_only = yes
|
is_triggered_only = yes
|
||||||
trigger = {
|
trigger = {
|
||||||
NOR = {
|
RG_NOR_has_wsg_mod_trigger = yes
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
has_global_flag = kdc_event_mod_active
|
|
||||||
}
|
|
||||||
fromfrom = {
|
fromfrom = {
|
||||||
OR = {
|
OR = {
|
||||||
is_country_type = gray
|
is_country_type = gray
|
||||||
@ -1300,6 +1271,7 @@ country_event = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
inline_script = "events/rg_wsg_marry_gray_option_scripts"
|
||||||
option = {
|
option = {
|
||||||
name = graygoo.500.d
|
name = graygoo.500.d
|
||||||
tag = hire_leader
|
tag = hire_leader
|
||||||
@ -1324,10 +1296,7 @@ country_event = {
|
|||||||
diplomatic = yes
|
diplomatic = yes
|
||||||
is_triggered_only = yes
|
is_triggered_only = yes
|
||||||
trigger = {
|
trigger = {
|
||||||
NOR = {
|
RG_NOR_has_wsg_mod_trigger = yes
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
has_global_flag = kdc_event_mod_active
|
|
||||||
}
|
|
||||||
from = {
|
from = {
|
||||||
OR = {
|
OR = {
|
||||||
is_country_type = gray
|
is_country_type = gray
|
||||||
@ -1340,6 +1309,7 @@ country_event = {
|
|||||||
option = {
|
option = {
|
||||||
name = OK
|
name = OK
|
||||||
}
|
}
|
||||||
|
inline_script = "events/rg_wsg_marry_gray_option_504_scripts"
|
||||||
# option = {
|
# option = {
|
||||||
# name = rg_graygoo.504.a
|
# name = rg_graygoo.504.a
|
||||||
# allow = {
|
# allow = {
|
||||||
@ -1380,10 +1350,7 @@ country_event = {
|
|||||||
}
|
}
|
||||||
is_triggered_only = yes
|
is_triggered_only = yes
|
||||||
trigger = {
|
trigger = {
|
||||||
NOR = {
|
RG_NOR_has_wsg_mod_trigger = yes
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
has_global_flag = kdc_event_mod_active
|
|
||||||
}
|
|
||||||
fromfrom = {
|
fromfrom = {
|
||||||
OR = {
|
OR = {
|
||||||
is_country_type = gray
|
is_country_type = gray
|
||||||
@ -1562,6 +1529,7 @@ country_event = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
inline_script = "events/rg_wsg_marry_gray_option_scripts"
|
||||||
# option = { # 开启建造中继器
|
# option = { # 开启建造中继器
|
||||||
# name = rg_event.5.e
|
# name = rg_event.5.e
|
||||||
# trigger = {
|
# trigger = {
|
||||||
@ -1834,6 +1802,7 @@ country_event = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# 私房钱榨干了
|
||||||
country_event = {
|
country_event = {
|
||||||
id = rg_grayleader.6
|
id = rg_grayleader.6
|
||||||
title = "graygoo.500.title"
|
title = "graygoo.500.title"
|
||||||
@ -1873,6 +1842,7 @@ country_event = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# 衣柜事件
|
||||||
country_event = {
|
country_event = {
|
||||||
id = rg_grayleader.7
|
id = rg_grayleader.7
|
||||||
title = "graygoo.500.title"
|
title = "graygoo.500.title"
|
||||||
@ -1954,6 +1924,7 @@ country_event = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#动态灰风-立绘选择
|
||||||
country_event = {
|
country_event = {
|
||||||
id = rg_grayleader.8
|
id = rg_grayleader.8
|
||||||
title = "graygoo.500.title"
|
title = "graygoo.500.title"
|
||||||
|
@ -23,10 +23,7 @@ country_event = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
trigger = {
|
trigger = {
|
||||||
OR = {
|
RG_OR_has_wsg_mod_trigger = yes
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
has_global_flag = kdc_event_mod_active
|
|
||||||
}
|
|
||||||
fromfrom = {
|
fromfrom = {
|
||||||
OR = {
|
OR = {
|
||||||
is_country_type = gray
|
is_country_type = gray
|
||||||
@ -197,10 +194,9 @@ country_event = {
|
|||||||
option = {
|
option = {
|
||||||
name = marry_gray
|
name = marry_gray
|
||||||
trigger = {
|
trigger = {
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
check_variable = {
|
check_variable = {
|
||||||
which = gray_affection_level
|
which = wg_gray_affection
|
||||||
value >= 4
|
value > @wg_gray_affection_to_lv4
|
||||||
}
|
}
|
||||||
NOT = {
|
NOT = {
|
||||||
has_country_flag = married_gray
|
has_country_flag = married_gray
|
||||||
@ -276,10 +272,7 @@ country_event = {
|
|||||||
custom_gui_option = wg_new_commu_option
|
custom_gui_option = wg_new_commu_option
|
||||||
is_triggered_only = yes
|
is_triggered_only = yes
|
||||||
trigger = {
|
trigger = {
|
||||||
OR = {
|
RG_OR_has_wsg_mod_trigger = yes
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
has_global_flag = kdc_event_mod_active
|
|
||||||
}
|
|
||||||
fromfrom = {
|
fromfrom = {
|
||||||
OR = {
|
OR = {
|
||||||
is_country_type = gray
|
is_country_type = gray
|
||||||
@ -303,25 +296,25 @@ country_event = {
|
|||||||
if = {
|
if = {
|
||||||
limit = {
|
limit = {
|
||||||
any_owned_planet = {
|
any_owned_planet = {
|
||||||
exists = sector.leader
|
exists = leader
|
||||||
sector.leader = {
|
leader = {
|
||||||
is_same_value = event_target:gray_governor
|
is_same_value = event_target:gray_official
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
random_owned_planet = {
|
random_owned_planet = {
|
||||||
limit = {
|
limit = {
|
||||||
exists = sector.leader
|
exists = leader
|
||||||
sector.leader = {
|
leader = {
|
||||||
is_same_value = event_target:gray_governor
|
is_same_value = event_target:gray_official
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
save_event_target_as = gray_governor_planet
|
save_event_target_as = gray_official_planet
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else = {
|
else = {
|
||||||
capital_scope = {
|
capital_scope = {
|
||||||
save_event_target_as = gray_governor_planet
|
save_event_target_as = gray_official_planet
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -451,61 +444,7 @@ country_event = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
option = {
|
inline_script = "events/rg_wsg_marry_gray_option_scripts"
|
||||||
name = marry_gray
|
|
||||||
trigger = {
|
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
check_variable = {
|
|
||||||
which = gray_affection_level
|
|
||||||
value >= 4
|
|
||||||
}
|
|
||||||
NOT = {
|
|
||||||
has_country_flag = married_gray
|
|
||||||
}
|
|
||||||
}
|
|
||||||
allow = {
|
|
||||||
OR = {
|
|
||||||
AND = {
|
|
||||||
has_wg_special_authority = no
|
|
||||||
resource_stockpile_compare = {
|
|
||||||
resource = sr_living_metal
|
|
||||||
value >= 100
|
|
||||||
}
|
|
||||||
resource_stockpile_compare = {
|
|
||||||
resource = rare_crystals
|
|
||||||
value >= 1000
|
|
||||||
}
|
|
||||||
}
|
|
||||||
custom_tooltip = {
|
|
||||||
check_variable = {
|
|
||||||
which = wsg_rings
|
|
||||||
value >= 1
|
|
||||||
}
|
|
||||||
fail_text = not_enough_engagement_rings
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if = {
|
|
||||||
limit = {
|
|
||||||
has_wg_special_authority = yes
|
|
||||||
}
|
|
||||||
subtract_variable = {
|
|
||||||
which = wsg_rings
|
|
||||||
value = 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else = {
|
|
||||||
add_resource = {
|
|
||||||
sr_living_metal = -100
|
|
||||||
rare_crystals = -1000
|
|
||||||
}
|
|
||||||
}
|
|
||||||
hidden_effect = {
|
|
||||||
country_event = {
|
|
||||||
id = wg_affection.30000
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
option = {
|
option = {
|
||||||
name = graygoo.500.d
|
name = graygoo.500.d
|
||||||
default_hide_option = yes
|
default_hide_option = yes
|
||||||
@ -525,10 +464,7 @@ country_event = {
|
|||||||
custom_gui_option = wg_new_commu_option
|
custom_gui_option = wg_new_commu_option
|
||||||
is_triggered_only = yes
|
is_triggered_only = yes
|
||||||
trigger = {
|
trigger = {
|
||||||
OR = {
|
RG_OR_has_wsg_mod_trigger = yes
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
has_global_flag = kdc_event_mod_active
|
|
||||||
}
|
|
||||||
fromfrom = {
|
fromfrom = {
|
||||||
OR = {
|
OR = {
|
||||||
is_country_type = gray
|
is_country_type = gray
|
||||||
@ -878,61 +814,7 @@ country_event = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
option = {
|
inline_script = "events/rg_wsg_marry_gray_option_scripts"
|
||||||
name = marry_gray
|
|
||||||
trigger = {
|
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
check_variable = {
|
|
||||||
which = gray_affection_level
|
|
||||||
value >= 4
|
|
||||||
}
|
|
||||||
NOT = {
|
|
||||||
has_country_flag = married_gray
|
|
||||||
}
|
|
||||||
}
|
|
||||||
allow = {
|
|
||||||
OR = {
|
|
||||||
AND = {
|
|
||||||
has_wg_special_authority = no
|
|
||||||
resource_stockpile_compare = {
|
|
||||||
resource = sr_living_metal
|
|
||||||
value >= 100
|
|
||||||
}
|
|
||||||
resource_stockpile_compare = {
|
|
||||||
resource = rare_crystals
|
|
||||||
value >= 1000
|
|
||||||
}
|
|
||||||
}
|
|
||||||
custom_tooltip = {
|
|
||||||
check_variable = {
|
|
||||||
which = wsg_rings
|
|
||||||
value >= 1
|
|
||||||
}
|
|
||||||
fail_text = not_enough_engagement_rings
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if = {
|
|
||||||
limit = {
|
|
||||||
has_wg_special_authority = yes
|
|
||||||
}
|
|
||||||
subtract_variable = {
|
|
||||||
which = wsg_rings
|
|
||||||
value = 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else = {
|
|
||||||
add_resource = {
|
|
||||||
sr_living_metal = -100
|
|
||||||
rare_crystals = -1000
|
|
||||||
}
|
|
||||||
}
|
|
||||||
hidden_effect = {
|
|
||||||
country_event = {
|
|
||||||
id = wg_affection.30000
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
option = {
|
option = {
|
||||||
name = graygoo.500.d
|
name = graygoo.500.d
|
||||||
default_hide_option = yes
|
default_hide_option = yes
|
||||||
@ -952,10 +834,7 @@ country_event = {
|
|||||||
custom_gui_option = wg_new_commu_option
|
custom_gui_option = wg_new_commu_option
|
||||||
is_triggered_only = yes
|
is_triggered_only = yes
|
||||||
trigger = {
|
trigger = {
|
||||||
OR = {
|
RG_OR_has_wsg_mod_trigger = yes
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
has_global_flag = kdc_event_mod_active
|
|
||||||
}
|
|
||||||
fromfrom = {
|
fromfrom = {
|
||||||
OR = {
|
OR = {
|
||||||
is_country_type = gray
|
is_country_type = gray
|
||||||
@ -1278,60 +1157,7 @@ country_event = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
option = {
|
inline_script = "events/rg_wsg_marry_gray_option_scripts"
|
||||||
name = marry_gray
|
|
||||||
trigger = {
|
|
||||||
check_variable = {
|
|
||||||
which = gray_affection_level
|
|
||||||
value >= 4
|
|
||||||
}
|
|
||||||
NOT = {
|
|
||||||
has_country_flag = married_gray
|
|
||||||
}
|
|
||||||
}
|
|
||||||
allow = {
|
|
||||||
OR = {
|
|
||||||
AND = {
|
|
||||||
has_wg_special_authority = no
|
|
||||||
resource_stockpile_compare = {
|
|
||||||
resource = sr_living_metal
|
|
||||||
value >= 100
|
|
||||||
}
|
|
||||||
resource_stockpile_compare = {
|
|
||||||
resource = rare_crystals
|
|
||||||
value >= 1000
|
|
||||||
}
|
|
||||||
}
|
|
||||||
custom_tooltip = {
|
|
||||||
check_variable = {
|
|
||||||
which = wsg_rings
|
|
||||||
value >= 1
|
|
||||||
}
|
|
||||||
fail_text = not_enough_engagement_rings
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if = {
|
|
||||||
limit = {
|
|
||||||
has_wg_special_authority = yes
|
|
||||||
}
|
|
||||||
subtract_variable = {
|
|
||||||
which = wsg_rings
|
|
||||||
value = 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else = {
|
|
||||||
add_resource = {
|
|
||||||
sr_living_metal = -100
|
|
||||||
rare_crystals = -1000
|
|
||||||
}
|
|
||||||
}
|
|
||||||
hidden_effect = {
|
|
||||||
country_event = {
|
|
||||||
id = wg_affection.30000
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
option = {
|
option = {
|
||||||
name = graygoo.500.d
|
name = graygoo.500.d
|
||||||
default_hide_option = yes
|
default_hide_option = yes
|
||||||
@ -1361,40 +1187,7 @@ country_event = {
|
|||||||
option = {
|
option = {
|
||||||
name = OK
|
name = OK
|
||||||
}
|
}
|
||||||
option = {
|
inline_script = "events/rg_wsg_marry_gray_option_504_scripts"
|
||||||
name = marry_gray
|
|
||||||
trigger = {
|
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
check_variable = {
|
|
||||||
which = gray_affection_level
|
|
||||||
value >= 4
|
|
||||||
}
|
|
||||||
NOT = {
|
|
||||||
has_country_flag = married_gray
|
|
||||||
}
|
|
||||||
}
|
|
||||||
allow = {
|
|
||||||
OR = {
|
|
||||||
has_wg_special_authority = no
|
|
||||||
custom_tooltip = {
|
|
||||||
check_variable = {
|
|
||||||
which = wsg_rings
|
|
||||||
value >= 1
|
|
||||||
}
|
|
||||||
fail_text = not_enough_engagement_rings
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
subtract_variable = {
|
|
||||||
which = wsg_rings
|
|
||||||
value = 1
|
|
||||||
}
|
|
||||||
hidden_effect = {
|
|
||||||
country_event = {
|
|
||||||
id = wg_affection.30000
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
# option = {
|
# option = {
|
||||||
# name = rg_graygoo.504.a
|
# name = rg_graygoo.504.a
|
||||||
# allow = {
|
# allow = {
|
||||||
@ -1432,10 +1225,7 @@ country_event = {
|
|||||||
custom_gui_option = wg_new_commu_option
|
custom_gui_option = wg_new_commu_option
|
||||||
is_triggered_only = yes
|
is_triggered_only = yes
|
||||||
trigger = {
|
trigger = {
|
||||||
OR = {
|
RG_OR_has_wsg_mod_trigger = yes
|
||||||
has_global_flag = has_wsg_mod
|
|
||||||
has_global_flag = kdc_event_mod_active
|
|
||||||
}
|
|
||||||
fromfrom = {
|
fromfrom = {
|
||||||
OR = {
|
OR = {
|
||||||
is_country_type = gray
|
is_country_type = gray
|
||||||
@ -1624,60 +1414,7 @@ country_event = {
|
|||||||
rg_clear_harbitat = yes
|
rg_clear_harbitat = yes
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
option = {
|
inline_script = "events/rg_wsg_marry_gray_option_scripts"
|
||||||
name = marry_gray
|
|
||||||
trigger = {
|
|
||||||
check_variable = {
|
|
||||||
which = gray_affection_level
|
|
||||||
value >= 4
|
|
||||||
}
|
|
||||||
NOT = {
|
|
||||||
has_country_flag = married_gray
|
|
||||||
}
|
|
||||||
}
|
|
||||||
allow = {
|
|
||||||
OR = {
|
|
||||||
AND = {
|
|
||||||
has_wg_special_authority = no
|
|
||||||
resource_stockpile_compare = {
|
|
||||||
resource = sr_living_metal
|
|
||||||
value >= 100
|
|
||||||
}
|
|
||||||
resource_stockpile_compare = {
|
|
||||||
resource = rare_crystals
|
|
||||||
value >= 1000
|
|
||||||
}
|
|
||||||
}
|
|
||||||
custom_tooltip = {
|
|
||||||
check_variable = {
|
|
||||||
which = wsg_rings
|
|
||||||
value >= 1
|
|
||||||
}
|
|
||||||
fail_text = not_enough_engagement_rings
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if = {
|
|
||||||
limit = {
|
|
||||||
has_wg_special_authority = yes
|
|
||||||
}
|
|
||||||
subtract_variable = {
|
|
||||||
which = wsg_rings
|
|
||||||
value = 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else = {
|
|
||||||
add_resource = {
|
|
||||||
sr_living_metal = -100
|
|
||||||
rare_crystals = -1000
|
|
||||||
}
|
|
||||||
}
|
|
||||||
hidden_effect = {
|
|
||||||
country_event = {
|
|
||||||
id = wg_affection.30000
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
option = {
|
option = {
|
||||||
name = graygoo.500.d
|
name = graygoo.500.d
|
||||||
default_hide_option = yes
|
default_hide_option = yes
|
||||||
|
@ -139,6 +139,7 @@
|
|||||||
rg_event.8.b:0 "§B科学家-$NAME_Gray$§!"
|
rg_event.8.b:0 "§B科学家-$NAME_Gray$§!"
|
||||||
rg_event.8.c:0 "§G关闭手动选择立绘§!"
|
rg_event.8.c:0 "§G关闭手动选择立绘§!"
|
||||||
rg_event.8.d:0 "§Y算了§!"
|
rg_event.8.d:0 "§Y算了§!"
|
||||||
|
rg_event.8.a.desc: "§H灰风扩展(动态灰风)/灰风肖像美化§!\n\n立绘选择页面。选择你想要的$NAME_Gray$立绘。"
|
||||||
|
|
||||||
rg_graygoo.4:0 "我需要一些帮助"
|
rg_graygoo.4:0 "我需要一些帮助"
|
||||||
rg_graygoo.4.a.desc:0 "我可以帮你建造一些舰队,或是一些其他我能帮得上的忙。你想让我做什么?"
|
rg_graygoo.4.a.desc:0 "我可以帮你建造一些舰队,或是一些其他我能帮得上的忙。你想让我做什么?"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
l_simp_chinese:
|
l_simp_chinese:
|
||||||
NAME_Gray:0 "灰风"
|
NAME_Gray:0 "小灰"
|
||||||
GRAY_SPECIES:0 "$NAME_Gray$"
|
GRAY_SPECIES:0 "$NAME_Gray$"
|
||||||
RG_MACHINE:0 "§Y纳米构造体§!"
|
RG_MACHINE:0 "§Y纳米构造体§!"
|
||||||
gray_army_desc:0 "$NAME_Gray$和她的纳米作战母舰,可以轻易扫平一颗星球"
|
gray_army_desc:0 "$NAME_Gray$和她的纳米作战母舰,可以轻易扫平一颗星球"
|
||||||
@ -30,6 +30,7 @@
|
|||||||
|
|
||||||
preset_rg_scion: "§Y誓约计划国§!"
|
preset_rg_scion: "§Y誓约计划国§!"
|
||||||
preset_rg_scion_desc: "出于某种不可告人的目的,远古堕落帝国将其视若己出。他们的远古宗主不会允许其誓约国受到任何外部干扰。"
|
preset_rg_scion_desc: "出于某种不可告人的目的,远古堕落帝国将其视若己出。他们的远古宗主不会允许其誓约国受到任何外部干扰。"
|
||||||
|
gray_become_ruler: "$NAME_Gray$不能是统治者"
|
||||||
|
|
||||||
### NANOTECH
|
### NANOTECH
|
||||||
tradition_rg_nanotech: "§Y纳米重构§!"
|
tradition_rg_nanotech: "§Y纳米重构§!"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user