2023-06-11 11:10:20 +08:00
|
|
|
RG_gray_mod1_trigger = {
|
|
|
|
event_target:gray_leader_admiral = {
|
|
|
|
has_skill >= 10
|
|
|
|
}
|
|
|
|
NOR = {
|
|
|
|
has_country_flag = rg_gray_level_2
|
|
|
|
has_country_flag = rg_gray_level_3
|
|
|
|
has_special_project = RG_GRAY_MOD1
|
2023-06-11 14:35:30 +08:00
|
|
|
any_situation = {
|
|
|
|
is_situation_type = situation_rg_gray_mod1
|
|
|
|
}
|
2023-06-11 11:10:20 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
RG_gray_mod1_allow_trigger = {
|
|
|
|
hidden_trigger = {
|
|
|
|
event_target:gray_warship = {
|
|
|
|
num_ships > 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
custom_tooltip = {
|
|
|
|
fail_text = graygoo.500.allow.a
|
|
|
|
event_target:gray_warship = {
|
|
|
|
is_in_combat = no
|
|
|
|
}
|
|
|
|
}
|
|
|
|
custom_tooltip = {
|
|
|
|
fail_text = graygoo.500.allow.b
|
|
|
|
event_target:gray_warship = {
|
|
|
|
NOT = {
|
|
|
|
has_hp_percentage < 0.97
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
custom_tooltip = {
|
2024-09-20 20:57:30 +08:00
|
|
|
fail_text = requires_rg_graylevel_higherthan_10
|
2023-06-11 11:10:20 +08:00
|
|
|
event_target:gray_leader_admiral = {
|
|
|
|
has_skill >= 10
|
|
|
|
}
|
|
|
|
}
|
2023-06-11 17:42:48 +08:00
|
|
|
resource_stockpile_compare = {
|
|
|
|
resource = energy
|
|
|
|
value >= 15000
|
|
|
|
}
|
|
|
|
resource_stockpile_compare = {
|
|
|
|
resource = alloys
|
|
|
|
value >= 15000
|
|
|
|
}
|
2023-06-11 11:10:20 +08:00
|
|
|
}
|
|
|
|
RG_gray_mod2_trigger = {
|
|
|
|
AND = {
|
|
|
|
event_target:gray_leader_admiral = {
|
|
|
|
has_skill >= 10
|
|
|
|
}
|
|
|
|
has_country_flag = rg_gray_level_2
|
|
|
|
}
|
|
|
|
NOR = {
|
|
|
|
has_country_flag = rg_gray_level_3
|
|
|
|
has_special_project = RG_GRAY_MOD2
|
2023-06-12 11:40:30 +08:00
|
|
|
any_situation = {
|
|
|
|
is_situation_type = situation_rg_gray_mod2
|
|
|
|
}
|
2023-06-11 11:10:20 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
RG_gray_mod2_allow_trigger = {
|
|
|
|
hidden_trigger = {
|
|
|
|
# To prevent exploit
|
|
|
|
event_target:gray_warship = {
|
|
|
|
num_ships > 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
custom_tooltip = {
|
|
|
|
fail_text = graygoo.500.allow.a
|
|
|
|
event_target:gray_warship = {
|
|
|
|
is_in_combat = no
|
|
|
|
}
|
|
|
|
}
|
|
|
|
custom_tooltip = {
|
|
|
|
fail_text = graygoo.500.allow.b
|
|
|
|
event_target:gray_warship = {
|
|
|
|
NOT = {
|
|
|
|
has_hp_percentage < 0.97
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
OR = {
|
|
|
|
custom_tooltip = {
|
2024-09-20 20:57:30 +08:00
|
|
|
fail_text = requires_rg_has_tech_juggernaut
|
2023-06-11 11:10:20 +08:00
|
|
|
has_technology = tech_juggernaut
|
|
|
|
}
|
|
|
|
custom_tooltip = {
|
2024-09-20 20:57:30 +08:00
|
|
|
fail_text = requires_rg_graylevel_higherthan_10
|
2023-06-11 11:10:20 +08:00
|
|
|
event_target:gray_leader_admiral = {
|
2024-09-20 20:57:30 +08:00
|
|
|
has_skill >= 10
|
2023-06-11 11:10:20 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
resource_stockpile_compare = {
|
|
|
|
resource = energy
|
|
|
|
value >= 150000
|
|
|
|
}
|
|
|
|
resource_stockpile_compare = {
|
|
|
|
resource = alloys
|
|
|
|
value >= 150000
|
|
|
|
}
|
|
|
|
}
|
|
|
|
RG_gray_mod3_trigger = {
|
|
|
|
NOR = {
|
|
|
|
has_country_flag = gray_reforming
|
|
|
|
has_country_flag = rg_juggernaut_fired
|
|
|
|
}
|
|
|
|
has_country_flag = rg_gray_level_3
|
|
|
|
}
|
|
|
|
RG_gray_mod3_allow_trigger = {
|
|
|
|
resource_stockpile_compare = {
|
|
|
|
resource = energy
|
|
|
|
value >= 150000
|
|
|
|
}
|
|
|
|
resource_stockpile_compare = {
|
|
|
|
resource = alloys
|
|
|
|
value >= 150000
|
|
|
|
}
|
2024-09-20 20:57:30 +08:00
|
|
|
custom_tooltip = {
|
|
|
|
fail_text = requires_rg_has_tech_juggernaut
|
|
|
|
has_technology = tech_juggernaut
|
|
|
|
}
|
2024-09-23 10:24:32 +08:00
|
|
|
}
|
|
|
|
RG_gray_official_active_trigger = {
|
|
|
|
OR = {
|
|
|
|
has_country_flag = gray_official_active
|
|
|
|
has_country_flag = gray_governor_active #旧版flag
|
|
|
|
}
|
|
|
|
}
|
|
|
|
RG_gray_warship_active_trigger = {
|
|
|
|
has_country_flag = gray_warship_active
|
|
|
|
}
|
|
|
|
RG_gray_army_active_trigger = {
|
|
|
|
has_country_flag = gray_army_active
|
|
|
|
}
|
|
|
|
|
|
|
|
RG_gray_scientist_active_trigger = {
|
|
|
|
has_country_flag = gray_constship_active
|
|
|
|
}
|
|
|
|
|
|
|
|
RG_gray_harbitat_active_trigger = {
|
|
|
|
has_country_flag = rg_habitat_enabled
|
|
|
|
}
|
|
|
|
|
|
|
|
|