Does the core_national trigger also apply for core_claim or core_casusbelli in the same way removecore_national applies for all?
From the following statement:
it doesn't seem to be the case..
..which causes problems in events like these:
Caux and Normandie will still be core_claims if the second event fires less than 30 years after the first one, so core_national triggers will not do. Same applies to core_claim triggers if the second event fires after more than 30 years.
From the following statement:
core_national = { province = x data = aaa }
Is true if province x is a naional core province of country aaa (if data = -1 then it is for the
country receiving the event).
it doesn't seem to be the case..
..which causes problems in events like these:
Code:
#(1471-1477) Treaty of Picquigny - Ahistorical
event = {
id = 164249 #triggered by FRA_170321 C
random = no
country = ENG
name = "EVENTNAME164248" #Treaty of Picquigny
desc = "EVENTHIST164249"
#-#
action_a = {
name = "ACTIONNAME164249A" #That was easier than expected...
[COLOR="#008000"] command = { type = addcore_claim which = 384 } #Caux
command = { type = addcore_claim which = 413 } #Normandie[/COLOR]
command = { type = province_revoltrisk which = 384 value = 5 } #Caux
command = { type = province_revoltrisk which = 413 value = 5 } #Normandie
command = { type = stability value = 3 }
command = { type = treasury value = 500 }
command = { type = vp value = 25 }
}
}
Code:
#(1471-1820) Normandy is lost forever
event = {
id = 164252
trigger = {
[COLOR="#008000"] core_national = { province = 384 data = -1 } #Caux
core_national = { province = 413 data = -1 } #Normandie[/COLOR]
atwar = no
event = 164249 #ENG: Treaty of Picquigny - Ahistorical
NOT = {
event = 164180 #ENG: English Final Victory
owned = { province = 384 data = -1 } #Caux
owned = { province = 413 data = -1 } #Normandie
}
}
random = no
country = ENG
name = "EVENTNAME164252" #Normandy is lost forever
desc = "EVENTHIST164252"
#-#
date = { day = 12 month = april year = 1471 }
offset = 360
deathdate = { year = 1820 }
action_a = {
name = "ACTIONNAME164252A" #Our future lies over the seas!
command = { type = removecore_national which = 384 } #Caux
command = { type = removecore_national which = 413 } #Normandie
command = { type = stability value = -1 }
}
}
Caux and Normandie will still be core_claims if the second event fires less than 30 years after the first one, so core_national triggers will not do. Same applies to core_claim triggers if the second event fires after more than 30 years.