In EUIV, it was possible to create an event along the lines of:
In Imperator, I've tried
and
and
none of which seem to even fire.
I'm floundering. Any help or ideas would be most appreciated.
Code:
province_event = {
id = emre.300
title = "flavor_rus.EVTNAME3404"
desc = "flavor_rus.EVTDESC3404"
picture = MILITARY_CAMP_eventPicture
trigger = {
is_year = 1444
owned_by = BYZ
NOT = { has_province_modifier = supply_increase }
}
mean_time_to_happen = {
months = 1
}
option = {
name = "flavor_rus.EVTOPTB3404"
add_province_modifier = {
name = "supply_increase"
duration = -1
}
}
}
In Imperator, I've tried
Code:
ey.1 = {
type = state_event
trigger = {
owned_by = JUD
}
immediate = {
add_state_modifier = {
name = supply
duration = -1
mode = add
}
}
}
and
Code:
ey.2 = {
type = country_event
title = "Supply Increase"
desc = "provincial_events.1.desc"
picture = city_construction
left_portrait = current_ruler
right_portrait = scope:governor_of_province
goto_location = scope:governorship_capital
trigger = {
num_of_cities >= 1
owns_or_subject_owns = JUD
NOT = { has_variable = supply }
}
immediate = {
set_variable = {
name = supply
duration = -1
}
}
}
and
Code:
ey.3 = {
type = state_event
trigger = {
num_of_cities >= 1
owns_or_subject_owns = JUD
NOT = { has_variable = supply }
}
immediate = {
set_variable = {
name = supply
}
add_state_modifier = {
name = supply
duration = -1
}
}
}
none of which seem to even fire.
I'm floundering. Any help or ideas would be most appreciated.
- 1