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