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

rafek

First Lieutenant
37 Badges
Oct 21, 2011
295
4
  • Stellaris: Nemesis
  • Stellaris: Distant Stars
  • A Game of Dwarves
  • Stellaris: Galaxy Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Galaxy Edition
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Stellaris: Necroids
  • Stellaris: Galaxy Edition
  • Europa Universalis IV
  • Heir to the Throne
  • Europa Universalis IV: Call to arms event
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Old Gods
  • Warlock: Master of the Arcane
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: Pre-order
  • Stellaris
  • Age of Wonders III
  • Cities: Skylines - Parklife
  • Cities: Skylines
Hello,

Whenever I try to use conditionals for the event effect (as shown in the 21st Dev Diary):

Code:
option = {
		name = "Effect depends on stuff"
		if = {
			limit = {
				trait = cruel
			}
			piety = 10		#we become more pious if we are cruel.
		}
		if = {
			limit = { liege = { opinion = { who = root value = 25 } }
			scaled_wealth = 0.05	#get 5% more money if our liege has at least 25 relation with us
		}
		prestige = 10		#always get 10 prestige
	}

It does not allow to show the button. Same if only using opinion with value = x.
 
Last edited by a moderator:
We'll try there, if it's confirmed it'll go to Bug Reports.
 
Thank you! It might be also my own lack of skills, but it seems whenever I try the conditional effect on events, when applying opinion with value, it does not accept it.

I have also tried the name space events descriptors and using them to trigger another events for my chains, but it seems the game does not detect them properly. I apply they way stated in 21st Dev Diary

Code:
character_event = {
	namespace = hedgeknight
character_event = {
    id = hedgeknight.0
    desc = "hedgeknight.0.desc"

    ...
    option = {
        name = "hedgeknight.0.a" #Refuse them Access
        random_courtier = {
            [COLOR="#FFFF00"]character_event = { id = hedgeknight.1  days = 2 random = 5 }[/COLOR]
        }
    }

Thank you!
 
Last edited: