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

StarkOrange

Recruit
64 Badges
Jul 17, 2015
6
14
  • 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
  • Crusader Kings II
  • Imperator: Rome Deluxe Edition
  • Stellaris: Lithoids
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Tyranny: Archon Edition
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
  • Age of Wonders III
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Megacorp
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Golden Century
  • Crusader Kings III
  • Stellaris: Nemesis
  • Imperator: Rome - Magna Graecia
  • Stellaris: Ancient Relics
  • Imperator: Rome
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Stellaris: Federations
  • Pillars of Eternity
  • Stellaris: Necroids
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis 4: Emperor
  • Stellaris
  • Stellaris: Galaxy Edition
I would like a simple mod that would give every adult vassal in my empire the lunatic trait and can't be used by the AI. Kinda just by pressing a button. Would such a decision be possible? Or maybe a recurring event?

Usually I make simple changes myself to existing events/decisions to get what I want, but I couldn't find any good starting point for this one.
 
Such a decision would be really, really easy to add! I can do it for you right away :)
Code:
realm_madness = {
  is_high_prio = yes
  ai_check_interval = 1000
  potential = {
    #Conditions for the decision to appear
  }
  allow = {
    #Conditions for the decision to be enabled
  }
  effect = {
    any_vassal = {
        limit = {
            is_adult = yes
        }
        add_trait = lunatic
    }
  }
  ai_will_do = {
    factor = 0
  }
}
Put this in a txt file in the decisions folder, and add some localisation for realm_madness and realm_madness_desc, and you're set!