I altered it, just making sure it's done correctly. Changes in bold
event = {
id = 17
random = no
country = JAP
# Historical event December 1941
name = EVT_17_NAME
desc = EVT_17_DESC
style = 0
picture = "Pearl_harbor"
trigger = {
NOT = {
war = { country = JAP country = USA }
}
}
date = { day = 1 month = december year = 1941 }
offset = 1
deathdate = { day = 29 month = december year = 1945 }
action_a = {
name = EVT_17_ACTA
ai_chance = 100
command = { type = war which = USA }
command = { type = domestic which = defense_lobby value = 1 }
command = { type = ambush value = 30 }
command = { type = surprise which = land value = 20 }
command = { type = surprise which = air value = 40 }
command = { type = surprise which = naval value = 40 }
command = { type = trigger which = 18 }
}
action_b = {
ai_chance = 0
name = EVT_17_ACTB
command = { type = sleepevent which = 18 }
command = { type = sleepevent which = 19 }
}
}
Will this have the desired effect?
event = {
id = 17
random = no
country = JAP
# Historical event December 1941
name = EVT_17_NAME
desc = EVT_17_DESC
style = 0
picture = "Pearl_harbor"
trigger = {
NOT = {
war = { country = JAP country = USA }
}
}
date = { day = 1 month = december year = 1941 }
offset = 1
deathdate = { day = 29 month = december year = 1945 }
action_a = {
name = EVT_17_ACTA
ai_chance = 100
command = { type = war which = USA }
command = { type = domestic which = defense_lobby value = 1 }
command = { type = ambush value = 30 }
command = { type = surprise which = land value = 20 }
command = { type = surprise which = air value = 40 }
command = { type = surprise which = naval value = 40 }
command = { type = trigger which = 18 }
}
action_b = {
ai_chance = 0
name = EVT_17_ACTB
command = { type = sleepevent which = 18 }
command = { type = sleepevent which = 19 }
}
}
Will this have the desired effect?