• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Abominus

French Maid
88 Badges
Sep 18, 2003
995
41
www.abominus.de.vu
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Sword of the Stars
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Europa Universalis III Complete
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: No Step Back
  • Darkest Hour
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Arsenal of Democracy
  • Deus Vult
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Hearts of Iron III Collection
  • Heir to the Throne
Hello, I hope you can help me.

I made this decision, but neather of those species relevant triggers works:

Code:
decision_plentiful_perks_coocon_extraction = {
    owned_planets_only = yes
    sound = event_administrative_work
    icon = decision_resources
#    enactment_time = 360
    resources = {
        category = decisions
        cost = {
            influence = 5
            food = 500
        }
    }
    
    potential = {
        owner = {
            has_ascension_perk = ap_total_assimilation
        }
    }
    
    allow = {
        any_owned_pop = {
            NOT = {
                is_exact_same_species = event_target:cocoon_species
            }
            NOT = { is_same_species = owner } 
            NOT = { is_same_species = root.owner }
            NOT = { is_same_species = owner.species }
            NOT = { is_same_species = owner.owner_species }
            NOT = { is_same_species = owner_species }
            NOT = { has_slavery_type = { country = from type = slavery_livestock } }
        }
        any_owned_pop = { 
            is_exact_same_species = event_target:cocoon_species
        }
    }
    
    effect = {
[some planetary stuff or event, does not matter...        

    }
    
    ai_weight = {
        weight = 1
        modifier = {
            factor = 0
            num_pops > 100
        }
    }
}

is_same_species always shows the founding species, even if there are onother on the planet. The second species is also hive, like the founder species, but even if I change it to purging form full citizenship, I only shows the main species as scoped... :(