I am trying to create an event to help Parthia early on. My idea would be to give Parthia some free cavalry units in the province of Parthia as long as it does not own some provinces and it is at war. here is how I coded the event
# Parthians Reinforcements
province_event = {
id = 1059
trigger = {
owner = PAR
<provincenum> = 208
controlled_by = PAR
owner = {
NOT = { army_size_percentage = 1.8 }
war = yes
not = { owns = 214 }
not = { owns = 184 }
not = { owns = 196 }
has_civil_war = no
}
}
mean_time_to_happen = {
months = 2
}
title = "EVTNAME1059"
desc = "EVTDESC1059"
option = {
name = "EVTOPTA1059" # Reinforcements coming for the east arrive in Parthia
from = {
cavalry = THIS
cavalry = THIS
cavalry = THIS
cavalry = THIS
}
}
}
Is this the right way to code this event ??
# Parthians Reinforcements
province_event = {
id = 1059
trigger = {
owner = PAR
<provincenum> = 208
controlled_by = PAR
owner = {
NOT = { army_size_percentage = 1.8 }
war = yes
not = { owns = 214 }
not = { owns = 184 }
not = { owns = 196 }
has_civil_war = no
}
}
mean_time_to_happen = {
months = 2
}
title = "EVTNAME1059"
desc = "EVTDESC1059"
option = {
name = "EVTOPTA1059" # Reinforcements coming for the east arrive in Parthia
from = {
cavalry = THIS
cavalry = THIS
cavalry = THIS
cavalry = THIS
}
}
}
Is this the right way to code this event ??