• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

BeeDate

Private
75 Badges
Feb 1, 2016
18
2
  • For the Motherland
  • Europa Universalis IV: Pre-order
  • Pillars of Eternity
  • Cities: Skylines - After Dark
  • Semper Fi
  • Magicka
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Cities in Motion 2
  • Shadowrun Returns
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Mass Transit
  • Crusader Kings II: Reapers Due
  • Surviving Mars
  • Stellaris
  • Cities: Skylines - Natural Disasters
  • Tyranny: Archon Edition
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines - Parklife
  • Hearts of Iron IV: Expansion Pass
  • Prison Architect
  • Imperator: Rome Deluxe Edition
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Dharma
  • Cities: Skylines - Green Cities
  • Europa Universalis 4: Emperor
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome
  • Europa Universalis IV: El Dorado
  • Age of Wonders III
  • Europa Universalis IV: Golden Century
  • Teleglitch: Die More Edition
  • Victoria 2
  • Shadowrun: Hong Kong
  • Europa Universalis IV: Rule Britannia
  • Warlock: Master of the Arcane
  • War of the Roses
I am making a mod wherin norse and saxon culture merge, and I ran into problems and decided to pretty much steal the english melting pot events for the time being until I could figure out what was wrong. However the same problem still occurs; If I call the first event in the console "event meltPot.1" the last event which was created is called "meltPot.4"

code:

province_event = {
id = meltPot.1
desc = "EVTDESC_meltPot.1"
picture = GFX_evt_viking_throneroom_oldgods
only_playable = yes

trigger = {
should_evolve_cultures_trigger = yes
year = 800
region = custom_england
culture = saxon
owner = {
OR = {
culture = norse
culture = angloscandinavian
}
}
}
mean_time_to_happen = {
months = 500
modifier = {
factor = 0.3
OR = {
has_game_rule = {
name = culture_conversion
value = faster_melting_pots
}
has_game_rule = {
name = culture_conversion
value = faster_melting_pots_and_slower_normal
}
}
}
}

option = {
name = EVTOPTA_meltPot.1
trigger = {
NOT = {
owner = { culture = angloscandinavian }
}
}
culture = angloscandinavian
}
option = {
name = EVTOPTAA_meltPot.1
trigger = {
NOT = {
owner = { culture = angloscandinavian }
}
}
owner { culture = angloscandinavian }
culture = angloscandinavian
}
option = {
name = EVTOPTB_meltpot.1
trigger = {
owner = { culture = angloscandinavian }
}
culture = angloscandinavian
}
}

#Make my court speak anglo-norse
character_event = {
id = meltPot.2
desc = "EVTDESCmeltPot.2"
picture = GFX_evt_throne_room

only_rulers = yes
culture = angloscandinavian

trigger = {
should_evolve_cultures_trigger = yes
year = 800
top_liege = {
primary_title = {
OR = {
title = d_york
title = k_england
title = e_britannia
}
}
}
any_courtier = {
OR = {
culture = saxon
culture = norse
}
}
}

mean_time_to_happen = {
months = 60
modifier = {
factor = 0.3
OR = {
has_game_rule = {
name = culture_conversion
value = faster_melting_pots
}
has_game_rule = {
name = culture_conversion
value = faster_melting_pots_and_slower_normal
}
}
}
}

option = {
name = "EVTOPTAmeltPot.2"
any_courtier = {
limit = {
OR = {
culture = saxon
culture = norse
}
}
score_value = { #Prioritizes selecting an interesting courtier...
value = 10
interesting_courtier_selection_score = yes
}
culture = angloscandinavian
hidden_tooltip = {
character_event = { id = meltPot.4 days = 3 }
}
}
}
}

#Make my vassal speak the common language
character_event = {
id = meltPot.3
desc = "EVTDESCmeltPot.3"
picture = GFX_evt_throne_room

only_playable = yes
culture = angloscandinavian

trigger = {
should_evolve_cultures_trigger = yes
year = 800
independent = no
top_liege = {
primary_title = {
OR = { # Add danelaw and NSE when they have been created
title = d_york
title = k_england
title = e_britannia
}
}
}
any_vassal = {
OR = {
culture = saxon
culture = norse
}
}
}

mean_time_to_happen = {
months = 350
modifier = {
factor = 0.3
OR = {
has_game_rule = {
name = culture_conversion
value = faster_melting_pots
}
has_game_rule = {
name = culture_conversion
value = faster_melting_pots_and_slower_normal
}
}
}
}

option = {
name = "EVTOPTAmeltPot.3"
any_vassal = {
limit = {
OR = {
culture = saxon
culture = norse
}
}
score_value = { #Prioritizes selecting an interesting courtier...
value = 10
interesting_courtier_selection_score = yes
}
culture = angloscandinavian
hidden_tooltip = {
character_event = { id = meltPot.4 days = 3 }
}
}
}
}

character_event = {
id = meltPot.4
desc = "EVTDESCmeltPot.4"
picture = GFX_evt_throne_room

is_triggered_only = yes

option = {
name = "EVTOPTAmeltPot.4"
culture = angloscandinavian
}
}


Any ideas ?
 
First of all: please indent your script. This is really hard to read.
Secondly: your first event is a province event. You cannot call it with the event <id> command sans parameters. That command will normally run on the selected character when not supplied with any parameters, but since the character is a character scope, not a province scope, a province event won't work properly.
So find the province you want to call it for, on this map: https://ck2.paradoxwikis.com/images/c/cd/Numbered_province_map.png
(note that it is slightly outdated and doesn't include any new Iberian or Egyptian provinces, but that shouldn't be relevant here)
Then put the province number behind the console command. E.g., if you want to call it for York, type this: event meltPot.1 57

Then have fun with the rest :)