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

Mikhail_Mengsk

Major
27 Badges
Nov 10, 2016
623
119
  • Crusader Kings II
  • Europa Universalis IV: Res Publica
  • Magicka
  • Leviathan: Warships
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV
  • Pillars of Eternity
  • Imperator: Rome
  • Shadowrun: Hong Kong
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Tyranny: Archon Edition
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Europa Universalis IV: El Dorado
  • Warlock: Master of the Arcane
  • Victoria 2
  • Europa Universalis III
  • Darkest Hour
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
Hi all, I've made an event for tribals that triggers at tyranny >= 75 among other triggers, and it works perfectly. I'm trying to make a similar event for Republics, but it's not firing and I don't know why.

Where is the error?

Code:
namespace = high_tyranny_republic

high_tyranny_republic.1 = {
    type = country_event
    title = high_tyranny_republic.1.t
    desc =  high_tyranny_republic.1.d
    picture = senate_debate
    
    left_portrait = root.current_ruler
    
    trigger = {
        is_republic = yes
        tyranny >= 75
        has_civil_war = no
        stability >= 30
        war = no
        NOT = {
            has_country_modifier = temp_dictator_term_length
        }
    }
    
    immediate = {
    }
    
    option = {
        name = high_tyranny_republic.1.opta
        trigger = {
            NOT = {
                root.current_ruler = {
                    has_trait = silver_tongued
                }
            }
        }
        add_political_influence = subtract_influence_large
        add_country_modifier = {
            name = temp_dictator_term_length
            duration = 360
        }
    }

    option = { # More effective use of Oratory Power to force people to centralize
        highlight = yes
        name = high_tyranny_republic.1.optb
        custom_tooltip = "silver_tongued_tooltip"
        trigger = {
            root.current_ruler = {
                has_trait = silver_tongued
            }
        }
        add_country_modifier = {
            name = temp_dictator_term_length
            duration = 360
        }
    }


}