This commit is contained in:
parent
0f0e2f8fc8
commit
d7e34a789b
|
@ -18,6 +18,10 @@ rg_warship_init_mod1 = {
|
||||||
random_existing_design = RG_graygoo_mothership
|
random_existing_design = RG_graygoo_mothership
|
||||||
prefix = no
|
prefix = no
|
||||||
upgradable = yes
|
upgradable = yes
|
||||||
|
effect = {
|
||||||
|
set_fleet_flag = gray_fleet_ship
|
||||||
|
save_global_event_target_as = gray_warship_ship
|
||||||
|
}
|
||||||
}
|
}
|
||||||
set_fleet_stance = aggressive
|
set_fleet_stance = aggressive
|
||||||
set_location = {
|
set_location = {
|
||||||
|
@ -58,6 +62,10 @@ rg_warship_init_mod2 = {
|
||||||
random_existing_design = RG_graygoo_capitalship
|
random_existing_design = RG_graygoo_capitalship
|
||||||
prefix = no
|
prefix = no
|
||||||
upgradable = yes
|
upgradable = yes
|
||||||
|
effect = {
|
||||||
|
set_fleet_flag = gray_fleet_ship
|
||||||
|
save_global_event_target_as = gray_warship_ship
|
||||||
|
}
|
||||||
}
|
}
|
||||||
set_fleet_stance = aggressive
|
set_fleet_stance = aggressive
|
||||||
set_location = {
|
set_location = {
|
||||||
|
@ -99,6 +107,10 @@ rg_warship_init_mod3 = {
|
||||||
random_existing_design = RG_gray_juggernaut
|
random_existing_design = RG_gray_juggernaut
|
||||||
prefix = no
|
prefix = no
|
||||||
upgradable = yes
|
upgradable = yes
|
||||||
|
effect = {
|
||||||
|
set_fleet_flag = gray_fleet_ship
|
||||||
|
save_global_event_target_as = gray_warship_ship
|
||||||
|
}
|
||||||
}
|
}
|
||||||
set_fleet_stance = aggressive
|
set_fleet_stance = aggressive
|
||||||
set_location = {
|
set_location = {
|
||||||
|
@ -138,6 +150,10 @@ rg_warship_init_mod0 = {
|
||||||
design = "NAME_Gray_Warship_base"
|
design = "NAME_Gray_Warship_base"
|
||||||
prefix = no
|
prefix = no
|
||||||
upgradable = yes
|
upgradable = yes
|
||||||
|
effect = {
|
||||||
|
set_fleet_flag = gray_fleet_ship
|
||||||
|
save_global_event_target_as = gray_warship_ship
|
||||||
|
}
|
||||||
}
|
}
|
||||||
set_fleet_stance = aggressive
|
set_fleet_stance = aggressive
|
||||||
set_location = {
|
set_location = {
|
||||||
|
|
|
@ -611,8 +611,9 @@ country_event = {
|
||||||
FromFromFrom = {
|
FromFromFrom = {
|
||||||
is_in_combat = yes
|
is_in_combat = yes
|
||||||
NOT = {
|
NOT = {
|
||||||
is_same_value = event_target:gray_warship
|
is_same_value = event_target:gray_warship_ship
|
||||||
}
|
}
|
||||||
|
exists = fleet.leader
|
||||||
}
|
}
|
||||||
FromFromFrom.fleet.leader = {
|
FromFromFrom.fleet.leader = {
|
||||||
has_trait = RG_leader_trait_admiral_nanorebuild_gray
|
has_trait = RG_leader_trait_admiral_nanorebuild_gray
|
||||||
|
@ -685,6 +686,16 @@ country_event = {
|
||||||
hide_window = yes
|
hide_window = yes
|
||||||
is_triggered_only = yes
|
is_triggered_only = yes
|
||||||
|
|
||||||
|
trigger = {
|
||||||
|
FromFrom = {
|
||||||
|
is_in_combat = yes
|
||||||
|
exists = fleet.leader
|
||||||
|
}
|
||||||
|
FromFrom.fleet.leader = {
|
||||||
|
has_trait = RG_leader_trait_admiral_nanorebuild_gray
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
immediate = {
|
immediate = {
|
||||||
FROMFROM = { # Winning ship.
|
FROMFROM = { # Winning ship.
|
||||||
if = {
|
if = {
|
||||||
|
|
Loading…
Reference in New Issue