• 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.

Red Death

Lt. General
68 Badges
Apr 19, 2015
1.590
3.842
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Third Rome
  • Crusader Kings II: Reapers Due
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Europa Universalis IV: Golden Century
  • Victoria 3 Sign Up
  • Crusader Kings II: Holy Fury
  • Stellaris: Megacorp
  • Europa Universalis IV: Dharma
  • Stellaris: Distant Stars
  • BATTLETECH - Digital Deluxe Edition
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Imperator: Rome Deluxe Edition
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome Sign Up
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • BATTLETECH: Heavy Metal
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Imperator: Rome - Magna Graecia
  • Europa Universalis 4: Emperor
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
I've got something like the following on a planetary deposit:

Code:
popgrowth = {
    icon = "unused/d_alien_propaganda"
    is_for_colonizeable = yes
    category = deposit_cat_food
    should_swap_deposit_on_terraforming = no
    drop_weight = {
        weight = 0     
    }

    triggered_planet_modifier = {
        potential = { free_housing > -3
        }
        planet_modifier = {
            planet_carry_cap_add = 1000000 
            planet_amenities_add = 10
        }
    }
  
    triggered_planet_modifier = {
        potential = { num_pops < 10
        }
        planet_modifier = {
            planet_immigration_pull_add = 100
            planet_amenities_add = 11
        }
    }     
}

(amenities are just there for easy checks)

However, it seems to me like when both triggers are met, only whichever I place first becomes actually active. Is this how it is supposed to work?
 
Last edited:
I figured out the solution myself: Don't use planet_modifier if you want the triggered modifiers to add on to each other. So that would be:

Code:
popgrowth = {
    icon = "unused/d_alien_propaganda"
    is_for_colonizeable = yes
    category = deposit_cat_food
    should_swap_deposit_on_terraforming = no
    drop_weight = {
        weight = 0     
    }

    triggered_planet_modifier = {
        potential = { free_housing > -3
        }
        planet_carry_cap_add = 1000000 
        planet_amenities_add = 10
    }
  
    triggered_planet_modifier = {
        potential = { num_pops < 10
        }
        planet_immigration_pull_add = 100
        planet_amenities_add = 11
    }     
}