This commit is contained in:
parent
f9553b97d2
commit
0f0e2f8fc8
|
@ -11,4 +11,7 @@ origin_rg_gray = {
|
||||||
random_weight = {
|
random_weight = {
|
||||||
base = 0
|
base = 0
|
||||||
}
|
}
|
||||||
|
playable = {
|
||||||
|
host_has_dlc = "Distant Stars Story Pack"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -117,7 +117,6 @@ on_destroy_planet_with_RG_PLANET_KILLER = {
|
||||||
events = {
|
events = {
|
||||||
RG_planet_killer.1
|
RG_planet_killer.1
|
||||||
RG_planet_killer.2
|
RG_planet_killer.2
|
||||||
origin.3245
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -130,7 +129,6 @@ on_destroy_planet_with_RG_PLANET_KILLER_unqueued = {
|
||||||
on_destroy_planet_with_RG_PLANET_KILLER_SMALL = {
|
on_destroy_planet_with_RG_PLANET_KILLER_SMALL = {
|
||||||
events = {
|
events = {
|
||||||
RG_planet_killer.2
|
RG_planet_killer.2
|
||||||
origin.3245
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -211,6 +209,6 @@ on_space_battle_won = {
|
||||||
# FromFromFrom = fleet 2
|
# FromFromFrom = fleet 2
|
||||||
on_space_battle_lost = {
|
on_space_battle_lost = {
|
||||||
events = {
|
events = {
|
||||||
rg_skill.14
|
rg_skill.15
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -708,20 +708,22 @@ country_event = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
# This = owner of fleet 1 (winner)
|
||||||
|
# From = owner of fleet 2 (loser)
|
||||||
|
# FromFrom = fleet 1
|
||||||
|
# FromFromFrom = fleet 2
|
||||||
country_event = {
|
country_event = {
|
||||||
id = rg_skill.14
|
id = rg_skill.14
|
||||||
hide_window = yes
|
hide_window = yes
|
||||||
is_triggered_only = yes
|
is_triggered_only = yes
|
||||||
trigger = {
|
trigger = {
|
||||||
event_target:gray_warship = {
|
OR = {
|
||||||
is_in_combat = no
|
fromfrom.leader = {
|
||||||
fleet.leader = {
|
|
||||||
has_trait = RG_leader_trait_admiral_nanorebuild_gray
|
has_trait = RG_leader_trait_admiral_nanorebuild_gray
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
NOT = {
|
NOT = {
|
||||||
event_target:gray_owner = {
|
This = {
|
||||||
check_variable = {
|
check_variable = {
|
||||||
which = rg_nanorebuild_counter
|
which = rg_nanorebuild_counter
|
||||||
value = 0
|
value = 0
|
||||||
|
@ -730,8 +732,40 @@ country_event = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
immediate = {
|
immediate = {
|
||||||
event_target:gray_owner = {
|
This = {
|
||||||
change_variable = {
|
set_variable = {
|
||||||
|
which = rg_nanorebuild_counter
|
||||||
|
value = 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
# This = owner of fleet 1 (loser)
|
||||||
|
# From = owner of fleet 2 (winner)
|
||||||
|
# FromFrom = fleet 1
|
||||||
|
# FromFromFrom = fleet 2
|
||||||
|
country_event = {
|
||||||
|
id = rg_skill.15
|
||||||
|
hide_window = yes
|
||||||
|
is_triggered_only = yes
|
||||||
|
trigger = {
|
||||||
|
OR = {
|
||||||
|
fromfrom.leader = {
|
||||||
|
has_trait = RG_leader_trait_admiral_nanorebuild_gray
|
||||||
|
}
|
||||||
|
}
|
||||||
|
NOT = {
|
||||||
|
This = {
|
||||||
|
check_variable = {
|
||||||
|
which = rg_nanorebuild_counter
|
||||||
|
value = 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
immediate = {
|
||||||
|
This = {
|
||||||
|
set_variable = {
|
||||||
which = rg_nanorebuild_counter
|
which = rg_nanorebuild_counter
|
||||||
value = 0
|
value = 0
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue