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

richvh

Preserver of the Light
62 Badges
Dec 1, 2001
14.706
2.021
Visit site
  • Stellaris: Leviathans Story Pack
  • Pillars of Eternity
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Knights of Pen and Paper 2
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Crusader Kings II: Reapers Due
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Tyranny: Gold Edition
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Surviving Mars
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
  • Age of Wonders III
  • Age of Wonders: Shadow Magic
  • Age of Wonders
  • Age of Wonders II
  • Crusader Kings II: Jade Dragon
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II
  • 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
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • A Game of Dwarves
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • Majesty 2 Collection
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Rome Gold
  • Rome: Vae Victis
  • 500k Club
  • Cities: Skylines
type = prestige for = [target char] broken

event effects.txt says you can use the syntax:
Code:
type = prestige for = [target char] value = V
but when I actually try to use:
Code:
effect = { type = prestige for = liege value = -15 }
the program reports
Code:
Unknown lhs for = liege
 
Upvote 0
Code:
type = piety for = liege value = -100
doesn't work either.
 
This isn't accepted either:
Code:
type = gold for = liege value = -150
This is accepted:
Code:
type = loyalty for = liege value = 0.1
"event effects.txt" documents all of these character effects as taking
Code:
for = target
as an option. In all failure cases CK complains of unknown lhs for = liege, so it looks like it's the for, not the liege being the problem.
 
I think it's because the event effect.txt is wrong in fact :eek:o

I suspect type = gold, prestige or piety cannot have a "for =" argument, and are only applied to the character which is having the event.

So it's more the event effect.txt file that is faulty than the code which is buggy.

In fact, I am probably guilty of introducing this incorrection.

Apologies... :eek:o

Cat
 
Code:
immidiate = {
  effect = {
    type = prestige
    for = "Cat Lord"
    value = -1000
  }
}
No, wait, that won't work... :rofl:
 
-1000, you are harsh !

I see you have triggered the following:

Code:
character_event = {
	id = 1000000
	
	picture = "event_crime"
	
	trigger = {
			condition = { type = title value = richvh }
	}

	mean_time_to_happen = {
		days = 1
	}
	
	action_a = {
		effect = { type = loyalty for = liege value = -0.1 }
	}
}
:D

Cat
 
What, I should be worried that my liege is disloyal? :D
 
richvh said:
What, I should be worried that my liege is disloyal? :D
Yes, you don't know my intrigue score ! :D :D :D

Cat
 
well, if its not a bug in the game...
 
1.03 will have a massively updated event effect.txt, and I have corrected this mistake in it :)

Cat