Hello. I'm trying to make an event to decrease the stats of a character. When I try to test the event in-game by selecting a character and typing "charevent XXXXX", the console says "Event not found". Here's the event:
character_event = { #Martial Malus
id = 30000
picture = "event_education"
trigger = {
condition = { type = age value = 17 }
condition = { type = not value = { type = age value = 90 } }
condition = { type = or
condition = { type = martial value = 10 }
condition = { type = and
condition = { type = martial value = 8 }
condition = { type = diplomacy value = 8 }
}
condition = { type = and
condition = { type = martial value = 8 }
condition = { type = intrigue value = 8 }
}
condition = { type = and
condition = { type = martial value = 8 }
condition = { type = stewardship value = 8 }
}
}
}
mean_time_to_happen = {
months = 999999
}
immidiate = {
effect = { type = random_list
1 = { type = no_effect }
99 = { type = martial value = -2 }
}
}
}
I used the wiz skill deterioration events from DVIP as my template. It's meant to be fired manually, but I left in most of the conditions because I didn't know how to properly delete them without breaking the event, so I just increased the MTTH to some absurd number. I saved the event in the same file as the wiz events (wiz.txt).
So what's my problem? Is the event itself incorrect? Is it saved in the wrong file? Sorry if these questions are noobish. It's my first time making an event, and I couldn't find the answer in the CK search engine.
character_event = { #Martial Malus
id = 30000
picture = "event_education"
trigger = {
condition = { type = age value = 17 }
condition = { type = not value = { type = age value = 90 } }
condition = { type = or
condition = { type = martial value = 10 }
condition = { type = and
condition = { type = martial value = 8 }
condition = { type = diplomacy value = 8 }
}
condition = { type = and
condition = { type = martial value = 8 }
condition = { type = intrigue value = 8 }
}
condition = { type = and
condition = { type = martial value = 8 }
condition = { type = stewardship value = 8 }
}
}
}
mean_time_to_happen = {
months = 999999
}
immidiate = {
effect = { type = random_list
1 = { type = no_effect }
99 = { type = martial value = -2 }
}
}
}
I used the wiz skill deterioration events from DVIP as my template. It's meant to be fired manually, but I left in most of the conditions because I didn't know how to properly delete them without breaking the event, so I just increased the MTTH to some absurd number. I saved the event in the same file as the wiz events (wiz.txt).
So what's my problem? Is the event itself incorrect? Is it saved in the wrong file? Sorry if these questions are noobish. It's my first time making an event, and I couldn't find the answer in the CK search engine.