when i start up the game it loads up to halfway or so on globals then pops up with this error:
error:
the event im making that caused it:
#########################
#Dark Future
#########################
character_event = {
id = 13000
picture = "event_madness.bmp"
trigger = {
condition = { type = age value = 20 }
condition = { type = ruler_child }
condition = {
type = not
value = {
type = trait
value = forgiving
}
action_a = {#Woah!
ai_chance = 30
#start AI modifier block
modifier = {
condition = { type = trait value = evil }
factor = 2.0
}
#end AI modifier block
effect = { type = add_trait value = evil }
}
}
It's string entries:
Config\Event_Text:
EVT_13000_NAME;Dark Future;;;;;;;;;;X
ACTIONNAME13000A;Woah!;;;;;;;;;;X
Config\Trait_Names:
TRAIT_NAME_EVIL;Evil;;;;;;;;;;X
TRAIT_DESC_EVIL;The character is evil, it is a shady or dark character who is hellbent on doing evil things.;;;;;;;;;;X
Misc:
db\traits:
evil =
{
antithesis = {
forgiving = yes
generous = yes
honest = yes
just = yes
}
attributes = { health = 2 fertility = -2 diplomacy = -6 martial = 1 stewardship = -5 intrigue = 3 }
opinion = { merciful = -10 cruel = 15 }
}
thx in advance.
error:

the event im making that caused it:
#########################
#Dark Future
#########################
character_event = {
id = 13000
picture = "event_madness.bmp"
trigger = {
condition = { type = age value = 20 }
condition = { type = ruler_child }
condition = {
type = not
value = {
type = trait
value = forgiving
}
action_a = {#Woah!
ai_chance = 30
#start AI modifier block
modifier = {
condition = { type = trait value = evil }
factor = 2.0
}
#end AI modifier block
effect = { type = add_trait value = evil }
}
}
It's string entries:
Config\Event_Text:
EVT_13000_NAME;Dark Future;;;;;;;;;;X
ACTIONNAME13000A;Woah!;;;;;;;;;;X
Config\Trait_Names:
TRAIT_NAME_EVIL;Evil;;;;;;;;;;X
TRAIT_DESC_EVIL;The character is evil, it is a shady or dark character who is hellbent on doing evil things.;;;;;;;;;;X
Misc:
db\traits:
evil =
{
antithesis = {
forgiving = yes
generous = yes
honest = yes
just = yes
}
attributes = { health = 2 fertility = -2 diplomacy = -6 martial = 1 stewardship = -5 intrigue = 3 }
opinion = { merciful = -10 cruel = 15 }
}
thx in advance.