realgray-stellaris-mod/common/scripted_triggers/RG_leader_scripted_triggers...

128 lines
2.4 KiB
Plaintext
Raw Normal View History

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 = {
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 = {
fail_text = requires_rg_has_tech_juggernaut
2023-06-11 11:10:20 +08:00
has_technology = tech_juggernaut
}
custom_tooltip = {
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 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
}
custom_tooltip = {
fail_text = requires_rg_has_tech_juggernaut
has_technology = tech_juggernaut
}
2023-06-11 11:10:20 +08:00
}