start_date is a valid trigger (tested and works).--- Error 1 of 1 ---
At <mod>\events\achievement_events.txt [character_event\trigger\start_date] (Line 2784, column 3):
Invalid node "start_date" in scope CharTrigger (value is: 1066.9.15)
start_date is a valid trigger (tested and works).--- Error 1 of 1 ---
At <mod>\events\achievement_events.txt [character_event\trigger\start_date] (Line 2784, column 3):
Invalid node "start_date" in scope CharTrigger (value is: 1066.9.15)
republic_total_num_of_trade_posts is a valid trigger (tested, recognized in game)--- Error 1 of 1 ---
At <mod>\events\achievement_events.txt [character_event\trigger\republic_total_num_of_trade_posts] (Line 3783, column 3):
Invalid node "republic_total_num_of_trade_posts" in scope CharTrigger (value is: 80)
score is a valid trigger (tested, recognized in game)--- Error 1 of 1 ---
At <mod>\events\achievement_events.txt [character_event\trigger\score] (Line 3995, column 3):
Invalid node "score" in scope CharTrigger (value is: 100000)
GetFromRootCompliment is a valid bracket command (untested but used in vanilla, present in executable)--- Error 1 of 1 ---
At <mod>\localisation\achievements.csv [Entry\1] (Line 133, column 15):
Localization error: Invalid bracket command: "GetFromRootCompliment" in "GetFromRootCompliment" in "To the [GetFromRootCompliment] [Root.GetTitledFirstName],\nCongratulations on your recent achievement.\n\nSincerely,\n[From.GetTitledFirstName] of [From.PrimaryTitle.GetName]"
Trade routes may pass through sea provinces.--- Error 1 of 1 ---
At <mod>\common\trade_routes\00_silk_route.txt [silk_road\path\1347] (Line 90, column 31):
"1347" is not a valid LandProvince.
# Reincarnation: Toddler thinks of the past life
character_event = {
id = RoI.10002
desc = EVTDESC_RoI_10002
picture = GFX_evt_reincarnation
border = GFX_event_normal_frame_religion
is_triggered_only = yes
option = {
name = EVTOPTA_RoI_10002
hidden_tooltip = {
FROM = {
character_event = {
id = RoI.10003
days = 2
}
}
}
}
}
I'm getting an error on this event, but I have absolutely no idea what's wrong:
Code:# Reincarnation: Toddler thinks of the past life character_event = { id = RoI.10002 desc = EVTDESC_RoI_10002 picture = GFX_evt_reincarnation border = GFX_event_normal_frame_religion is_triggered_only = yes option = { name = EVTOPTA_RoI_10002 hidden_tooltip = { FROM = { character_event = { id = RoI.10003 days = 2 } } } } }
The error is: "Parse Failure. Token "picture" at line 210, column 2 must be an equals sign."
trigger = {
is_female = yes
employer = {
limit = { ai = no }
}
}
--- Error 1 of 1 ---
At <mod>\events\DWRandom.txt [character_event\option\trigger\employer\limit] (Line 466, column 5):
Invalid node "limit" in scope CharTrigger (value is: <a complex type>)
You don't use limit inside a trigger, you should just be using trigger = { ... employer = { ai = no } }
Could you add a check that, if an event specifies a border, that it is the right border for the event type?
where * represents one of: war, diplomacy, intrigue, religion or economy.
- Province and character events use GFX_event_normal_frame_*
- Narrative events use GFX_event_narrative_frame_*
- Letter events use GFX_event_letter_frame_*
- Long character events use GFX_event_long_frame_*
The thing is, if you don't use the right style frame for the event type, the border won't fit right. The entries in the interface folder point to actual graphical objects in the gfx folder, which are matched to the corresponding event window objects. I'm not at a computer that can run CK2 at the moment, so I can't show the problems it causes.I think these are just entries in the "interface" folder so a modder could basically do whatever they want with the frames?
But I mean that someone could make a GFX_my_cool_narrative_event_border right? Then the Validator's complaining for no reason because it can't check that a certain border is actually sized correctly. Probably someone in the ValidatorSettings file could list the appropriate borders for each event type but this seems like (almost) no one would actually bother to do that.The thing is, if you don't use the right style frame for the event type, the border won't fit right. The entries in the interface folder point to actual graphical objects in the gfx folder, which are matched to the corresponding event window objects. I'm not at a computer that can run CK2 at the moment, so I can't show the problems it causes.
The event is called in the preceding unit_event:--- Error 1 of 1 ---
At <mod>\events\achievement_events.txt [narrative_event] (Line 47, column 1):
The event is set to be triggered only, but it is never called.
# Viking Raider
unit_event = {
id = 700
hide_window = yes
ai = no
is_triggered_only = yes
trigger = {
has_dlc = "Charlemagne"
FROM = {
culture_group = north_germanic
OR = {
religion = norse_pagan
religion = norse_pagan_reformed
}
}
loot = 1000
}
immediate = {
FROM = {
if = {
limit = {
NOT = { has_global_flag = achievement_viking_raider }
}
set_global_flag = achievement_viking_raider
chronicle = {
entry = CHRONICLE_ACHIEVEMENT_VIKING_RAIDER
portrait = [From.GetID]
picture = GFX_evt_viking_arriving_oldgods
}
narrative_event = {
id = chronicled_achievements.1
}
}
}
}
}
narrative_event = {
id = chronicled_achievements.1
Not yet handled. "population" is only used in a character scope, both as a trigger and an effect.--- Error 1 of 1 ---
At <mod>\decisions\HL_decisions.txt [decisions\become_genghis_khan\effect\if\population] (Line 245, column 5):
Invalid node "population" in scope CharIfClause (value is: 50000)
Is Validator counting custom_tooltip or hidden_tooltip as a scope change? Because I make PREVPREV to point to the allow starting scope (a title scope, since it's a settlement_decision).--- Error 1 of 1 ---
At <mod>\decisions\settlement_decisions.txt [settlement_decisions\pillage_settlement\allow\FROM\custom_tooltip\hidden_tooltip\top_liege\PREVPREV\holder_scope] (Line 305, column 9):
Invalid node "holder_scope" in scope CharTrigger (value is: <a complex type>)
from_potential is valid in trade_post_decisions.--- Error 1 of 1 ---
At <mod>\decisions\trade_post_decisions.txt [trade_post_decisions\abandon_trade_post\from_potential] (Line 17, column 3):
Invalid node "from_potential" in scope DecisionDef (value is: <a complex type>)
succ_law_title changes scope from character to title.--- Error 1 of 2 ---
At <mod>\common\laws\succession_laws.txt [succession_laws\succ_patrician_elective\potential\OR\holder_scope\succ_law_title] (Line 1151, column 6):
Invalid node "succ_law_title" in scope CharTrigger (value is: <a complex type>)
--- Error 2 of 2 ---
At <mod>\common\laws\succession_laws.txt [succession_laws\succ_seniority\allow\OR\holder_scope\OR\NOR\succ_law_title] (Line 160, column 8):
Invalid node "succ_law_title" in scope CharTrigger (value is: <a complex type>)