From d15f4d8818b3a4bd838da7ea301af13434379b74 Mon Sep 17 00:00:00 2001 From: "FA507RM-KALOSPA\\Kalo" Date: Tue, 6 Jun 2023 13:07:15 +0800 Subject: [PATCH] =?UTF-8?q?=E7=82=B8=E7=90=83=E9=80=81=E7=82=B9=E7=BA=B3?= =?UTF-8?q?=E7=B1=B3=E6=9C=BA=E5=99=A8=EF=BC=8C=E5=97=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/scripted_effects/RG_scripted_effects.txt | 12 ++++++++++++ .../RG_scripted_triggers_planet_killers.txt | 17 +---------------- 2 files changed, 13 insertions(+), 16 deletions(-) diff --git a/common/scripted_effects/RG_scripted_effects.txt b/common/scripted_effects/RG_scripted_effects.txt index 31aaaf9..c72fc51 100644 --- a/common/scripted_effects/RG_scripted_effects.txt +++ b/common/scripted_effects/RG_scripted_effects.txt @@ -1623,6 +1623,12 @@ RG_destroy_planet_effect = { modifier = "terraforming_candidate" days = -1 } + random_list = { + 25 = { while = { count = 4 add_deposit = d_nanites_deposit } } + 25 = { while = { count = 3 add_deposit = d_nanites_deposit } } + 25 = { while = { count = 2 add_deposit = d_nanites_deposit } } + 25 = { add_deposit = d_nanites_deposit } + } } } @@ -1769,6 +1775,12 @@ RG_destroy_star_system = { modifier = "terraforming_candidate" days = -1 } + random_list = { + 25 = { while = { count = 4 add_deposit = d_nanites_deposit } } + 25 = { while = { count = 3 add_deposit = d_nanites_deposit } } + 25 = { while = { count = 2 add_deposit = d_nanites_deposit } } + 25 = { add_deposit = d_nanites_deposit } + } } } every_system_planet = { diff --git a/common/scripted_triggers/RG_scripted_triggers_planet_killers.txt b/common/scripted_triggers/RG_scripted_triggers_planet_killers.txt index caa9225..9569cd4 100644 --- a/common/scripted_triggers/RG_scripted_triggers_planet_killers.txt +++ b/common/scripted_triggers/RG_scripted_triggers_planet_killers.txt @@ -57,22 +57,7 @@ can_destroy_planet_with_RG_PLANET_KILLER_SP = { } custom_tooltip = { fail_text = "RG_requires_inside_border_star_killer" - AND = { - AND = { - is_inside_border = from.owner - solar_system = { - any_system_planet = { - OR = { - is_colony = yes - } - } - } - } - AND = { - exists = owner - owner = { is_same_value = from.owner } - } - } + is_inside_border = from.owner } }