I'm trying to create a few events for the mod Magna Terra. First i'd like to modify this event
so that it doesn't happen before the year 604. I was thinking of adding in the trigger 'year = 604'. Is this correct and will this make the event happen only in the year 604 or from 604 onward?
I was also wondering whether there is a list of all the event ids used and if there is a way to launch events from the keyboard during the game.
Thanks in advance
Code:
country_event = {
id = 1053
trigger = {
TAG = PAR
ruler = {
military = 0
}
NOT = { has_country_flag = parthian_horde }
any_neighbor_country = {
has_country_flag = parthian_nation
}
}
mean_time_to_happen = {
days = 1
}
title = "EVTNAME1053"
desc = "EVTDESC1053"
immediate = {
set_country_flag = parthian_horde
}
option = {
name = "EVTOPTA1053"
ruler = {
horse_archers = THIS
horse_archers = THIS
horse_archers = THIS
horse_archers = THIS
cavalry = THIS
cavalry = THIS
cavalry = THIS
cavalry = THIS
heavy_infantry = THIS
heavy_infantry = THIS
heavy_infantry = THIS
heavy_infantry = THIS
archers = THIS
archers = THIS
archers = THIS
archers = THIS
}
}
}
I was also wondering whether there is a list of all the event ids used and if there is a way to launch events from the keyboard during the game.
Thanks in advance