diff --git a/common/scripted_effects/RG_scripted_effects.txt b/common/scripted_effects/RG_scripted_effects.txt index 1b92e72..17dbf86 100644 --- a/common/scripted_effects/RG_scripted_effects.txt +++ b/common/scripted_effects/RG_scripted_effects.txt @@ -2549,6 +2549,10 @@ RG_gray_mod1_effect = { type = situation_rg_gray_mod1 target = this } + add_resource = { + energy = -15000 + alloys = -15000 + } } RG_gray_mod1_effect_project = { custom_tooltip = rg_levelup_2.tooltip @@ -2557,10 +2561,6 @@ RG_gray_mod1_effect_project = { location = event_target:gray_owner_capital_starbase owner = event_target:gray_owner } - add_resource = { - energy = -15000 - alloys = -15000 - } } RG_gray_mod2_effect = { custom_tooltip = rg_levelup_2.tooltip diff --git a/common/scripted_triggers/rg_leader_scripted_triggers.txt b/common/scripted_triggers/rg_leader_scripted_triggers.txt index 417a012..95aeb40 100644 --- a/common/scripted_triggers/rg_leader_scripted_triggers.txt +++ b/common/scripted_triggers/rg_leader_scripted_triggers.txt @@ -38,6 +38,14 @@ RG_gray_mod1_allow_trigger = { has_skill >= 10 } } + resource_stockpile_compare = { + resource = energy + value >= 15000 + } + resource_stockpile_compare = { + resource = alloys + value >= 15000 + } } RG_gray_mod2_trigger = {