• 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.

tocharisch

Private
27 Badges
Mar 18, 2020
24
12
  • Crusader Kings III
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV
  • Imperator: Rome
  • Imperator: Rome - Magna Graecia
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
I've checked my codes numerous times and they all seem to be correct. If I leave only one event in the game then it works. All the events work by themselves. However when I put all of them into the game even if in separate files then only the last event I modded in will work. What's wrong?

Do I need to define a namespace? How do I do that?

Code:
#Inuksuk Raising
character_event = {
    id = SOV.500
    desc = EVTDESC_SOV_500
    picture = GFX_evt_inuksuk
    border = GFX_event_normal_frame_diplomacy
  
    is_triggered_only = yes
  
    hide_from = yes

    option = {
        name = "EVTOPT_SOV_501"
            prestige = 100
        add_character_modifier = {
            name = raised_inuksuk
            duration = 730
                    }
            }
}
#Tobacco
character_event = {
    id = SOV.002
    desc = EVTDESCSOV.002
    picture = GFX_evt_tobacco
  
    is_triggered_only = no
  
    trigger = {
        government = amerindian_tribal_government
    }

    mean_time_to_happen = {
        months = 48
    }
  
    option = {
        name = EVTOPT_SOV_C
        prestige = 15
        }
    option = {
        name = EVTOPT_SOV_D
        prestige = -15
        }
}
#Counting Coup
character_event = {
    id = SOV.001
    desc = EVTDESCSOV.001
    picture = GFX_evt_NAwarriors
  
    is_triggered_only = no
  
    trigger = {
        government = amerindian_tribal_government
    }

    mean_time_to_happen = {
        months = 48
    }
  
    immediate = {
        set_character_flag = counting_coup
        years = 100
    }
  
    option = {
        name = EVTOPT_SOV_A
        add_character_modifier = {
            name = counting_coup
            duration = 730
                    }
        }
    option = {
        name = EVTOPT_SOV_B
        }
}
#Migration
character_event = {
    id = SOV.003
    desc = EVTDESC_SOV_003
    picture = GFX_evt_migrationSOV
    border = GFX_event_normal_frame_diplomacy
  
    is_triggered_only = no
  
    trigger = {
        government = amerindian_tribal_government
    }

    mean_time_to_happen = {
        months = 48
    }

    option = {
        name = EVTOPT_SOV_E
        prestige = -15
        }
    option = {
        name = EVTOPT_SOV_F
        }
}

Localisation:

Code:
EVTOPT_SOV_A;The elders are right. More than the spirit of courage, we need results.;;;;;;;;;;;;;x
EVTOPT_SOV_B;The elders are fools.;;;;;;;;;;;;;x
EVTDESCSOV.001;Bravery is a valued trait among our warriors, and this is reflected in many of our traditions. One such is counting coups, recording acts of courage in battle, which serve both to mark our greatest soldiers and to inspire new recruits. Some of the elders have been questioning this practice, calling for our military to focus on more practical goals and efficiency in killing our enemies.;;;;;;;;;;;;;x
counting_coup;Counting Coup;;;;;;;;;;;;;x
commission_inuksuk;Commission Inuksuk;;;;;;;;;;;;;x
commission_inuksuk_desc;Commission an inuksuk to aid travellers in travelling the frozen wastes. This can be done only once in a lifetime, but others will look more favorably on you for a time.;;;;;;;;;;;;;x
EVTOPT_SOV_501;May the cairns guide our people for ages to come.;;;;;;;;;;;;;x
EVTDESC_SOV_500;The cairn rises high over the snow, a welcoming sight amidst the frozen wasteland. Future travelers will look upon it and feel relief upon seeing the rough stone waypoint.;;;;;;;;;;;;;x
raised_inuksuk;Raised Inuksuk;;;;;;;;;;;;;x
EVTOPT_SOV_C;A reasonable suggestion.;;;;;;;;;;;;;x
EVTOPT_SOV_D;Let the youths use it as they like.;;;;;;;;;;;;;x
EVTDESCSOV.002;Tobacco has always been of use to our tribe. Some view the plant as medicine, some as sacred, while others simply find inhalation of the smoke relaxing. However, the recreational use of it has caused the elders to declare that the use of tobacco be restricted to ceremonies where the plant is essential, to prevent youths from listlessly wasting it.;;;;;;;;;;;;;x
EVTOPT_SOV_E;The son stays. He should know better.;;;;;;;;;;;;;x
EVTOPT_SOV_F;Bands should be flexible. The split should be allowed.;;;;;;;;;;;;;x
EVTDESC_SOV_003;Bands forming and splitting up is a fairly common occurrence and does not normally generate serious disputes, but a recent case has required our intervention. A son is leaving his father's band with a large group of followers against the will of his parents. The father requests we intervene on his behalf to keep the band together and avoid weakening his authority in the tribe.;;;;;;;;;;;;;x
 
Last edited: