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

TheNeighbour

Private
24 Badges
Jun 20, 2015
13
1
  • Victoria: Revolutions
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Cities: Skylines
  • Crusader Kings II: Holy Fury
  • Cities: Skylines - Parklife
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • Victoria 2
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
Hey, I want to create an automatic event that gives me the option to enact the Ruling Party Only political reform on upper house. Basically I want that after an election the winning party becomes the only upperhouse party.

Unfortunately I suck at programming so this is all i have so far.

Code:
(country/province)_event = {
    id = x
    title = "Occupy Parliament!"
    desc = "We have the opportunity to seize the upperhouse and establish a new order."
    picture = "(picture name)"

        #the four lines below are only needed if they are yes
    
    is_triggered_only = no        #only fired by another event or manually
    major = no                   #major event has no picture example: great wars enabled
    fire_only_once = no           #can only be fired once through triggers
    allow_multiple_instances = no #Allows to fire several at once?

    trigger = { #what triggers the event
        (triggers)
    }
    
    mean_time_to_happen = {
        months = (months)
        
        modifier = {
            factor = (factor)
            (trigger)
        }
    }
    option = {
        name = "Proceed!"
        political_reform = party_appointed
        }
        
    }
    option = {
        name = "This is undemocratic!" #no effect
    }
}


Please provide me with any links I can check out in order to create my event