筛查修语法bug
This commit is contained in:
@@ -103,6 +103,127 @@ can_destroy_planet_with_RG_PLANET_KILLER_SP = {
|
||||
}
|
||||
}
|
||||
|
||||
can_destroy_planet_with_RG_PLANET_KILLER_CRACKER = {
|
||||
custom_tooltip = {
|
||||
fail_text = is_not_a_standard_planet_or_megastructure
|
||||
is_a_planet_megastructure = yes
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = is_shielded
|
||||
NOR = {
|
||||
is_planet_class = pc_shielded
|
||||
is_planet_class = pc_ringworld_shielded
|
||||
is_planet_class = pc_habitat_shielded
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
fail_text = fotd_cant_collossus
|
||||
NOT = { has_planet_flag = fotd_seperatist_planet@from.owner }
|
||||
exists = from.owner
|
||||
from.owner = {
|
||||
NOT = { has_country_flag = fotd_seperatist_country@from.owner }
|
||||
}
|
||||
}
|
||||
OR = {
|
||||
custom_tooltip = {
|
||||
text = is_not_hostile_cracker
|
||||
OR = {
|
||||
AND = {
|
||||
exists = space_owner
|
||||
space_owner = {
|
||||
OR = {
|
||||
is_at_war_with = from.owner
|
||||
is_country_type = swarm
|
||||
is_country_type = extradimensional
|
||||
is_country_type = extradimensional_2
|
||||
is_country_type = extradimensional_3
|
||||
is_country_type = ai_empire
|
||||
}
|
||||
}
|
||||
}
|
||||
AND = { # colony
|
||||
exists = owner
|
||||
owner = {
|
||||
OR = {
|
||||
is_at_war_with = from.owner
|
||||
is_country_type = swarm
|
||||
is_country_type = extradimensional
|
||||
is_country_type = extradimensional_2
|
||||
is_country_type = extradimensional_3
|
||||
is_country_type = ai_empire
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
# primitive target
|
||||
custom_tooltip = {
|
||||
text = cannot_crack_pre_ftl_planet_ownership
|
||||
exists = space_owner
|
||||
exists = owner
|
||||
owner = {
|
||||
is_primitive = yes
|
||||
}
|
||||
space_owner = {
|
||||
OR = {
|
||||
is_same_value = from.owner
|
||||
is_at_war_with = from.owner
|
||||
is_country_type = swarm
|
||||
is_country_type = extradimensional
|
||||
is_country_type = extradimensional_2
|
||||
is_country_type = extradimensional_3
|
||||
is_country_type = ai_empire
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = cannot_crack_pre_ftl_planet_interference
|
||||
# primitive
|
||||
exists = owner
|
||||
owner = {
|
||||
is_primitive = yes
|
||||
}
|
||||
from.owner = {
|
||||
has_policy_flag = interference_aggressive
|
||||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = not_barren_molten_frozen_toxic_test_fire
|
||||
NOT = { exists = owner }
|
||||
OR = {
|
||||
NOT = { exists = space_owner }
|
||||
AND = {
|
||||
exists = space_owner
|
||||
space_owner = { is_same_value = from.owner }
|
||||
}
|
||||
}
|
||||
OR = {
|
||||
is_planet_class = pc_barren
|
||||
is_planet_class = pc_barren_cold
|
||||
is_planet_class = pc_frozen
|
||||
is_planet_class = pc_molten
|
||||
is_planet_class = pc_toxic
|
||||
is_planet_class = pc_desert
|
||||
is_planet_class = pc_tropical
|
||||
is_planet_class = pc_arid
|
||||
is_planet_class = pc_continental
|
||||
is_planet_class = pc_ocean
|
||||
is_planet_class = pc_tundra
|
||||
is_planet_class = pc_arctic
|
||||
is_planet_class = pc_alpine
|
||||
is_planet_class = pc_savannah
|
||||
is_planet_class = pc_gaia
|
||||
is_planet_class = pc_relic
|
||||
is_planet_class = pc_nuked
|
||||
is_planet_class = pc_ringworld_habitable
|
||||
is_planet_class = pc_habitat
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
can_destroy_planet_with_RG_PLANET_KILLER_SHIELDER = {
|
||||
custom_tooltip = {
|
||||
fail_text = is_not_a_habitable_planet_or_megastructure
|
||||
@@ -135,7 +256,7 @@ can_destroy_planet_with_RG_PLANET_KILLER_SHIELDER = {
|
||||
from.owner = {
|
||||
OR = {
|
||||
has_policy_flag = interference_active
|
||||
has_policy_flag = interference_full
|
||||
has_policy_flag = interference_aggressive
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -256,7 +377,7 @@ can_destroy_planet_with_RG_PLANET_KILLER_GODRAY = {
|
||||
from.owner = {
|
||||
OR = {
|
||||
has_policy_flag = interference_active
|
||||
has_policy_flag = interference_full
|
||||
has_policy_flag = interference_aggressive
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -330,7 +451,7 @@ can_destroy_planet_with_RG_PLANET_KILLER_NANOBOTS = {
|
||||
custom_tooltip = {
|
||||
fail_text = primitives_not_full_interference
|
||||
from.owner = {
|
||||
has_policy_flag = interference_full
|
||||
has_policy_flag = interference_aggressive
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -429,7 +550,7 @@ can_destroy_planet_with_RG_PLANET_KILLER_DELUGE = {
|
||||
custom_tooltip = {
|
||||
fail_text = primitives_not_full_interference
|
||||
from.owner = {
|
||||
has_policy_flag = interference_full
|
||||
has_policy_flag = interference_aggressive
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user