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

omega20056

Basileus Basileon
94 Badges
Dec 27, 2012
4.463
2.009
  • Crusader Kings III: Royal Edition
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Battle for Bosporus
  • Crusader Kings III
  • Europa Universalis 4: Emperor
  • Stellaris: Necroids
  • Victoria 3 Sign Up
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • Stellaris: Nemesis
  • March of the Eagles
  • Europa Universalis IV
  • Cities: Skylines - Natural Disasters
  • Cities: Skylines - Green Cities
  • Stellaris: Federations
  • Europa Universalis IV: Res Publica
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Crusader Kings II
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Mare Nostrum
  • Imperator: Rome Deluxe Edition
  • Stellaris
  • Stellaris - Path to Destruction bundle
  • Imperator: Rome Sign Up
  • Europa Universalis IV: Third Rome
  • Imperator: Rome - Magna Graecia
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: El Dorado
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Legacy of Rome
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Mandate of Heaven
  • 500k Club
  • Stellaris: Ancient Relics
  • Victoria 2
  • Imperator: Rome
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Synthetic Dawn
  • Stellaris: Lithoids
I'm getting a seemingly impossible error with this event. If I fire it using the console, it correctly says I don't satisfy the conditions, yet it still fires over and over if I play as any of the specified titles.

Code:
character_event = {
    id = theme.7

        hide_window = yes

    trigger = {
                independent = yes
                NOT = { has_landed_title = k_morea }
                NOT = { has_landed_title = k_epirus }
                NOT = { has_landed_title = k_thrace }
                NOT = { has_landed_title = k_macedon }
                NOT = { has_landed_title = k_trebizond }
                NOT = { has_landed_title = k_byzantium }
        NOT = { has_landed_title = e_trebizond }
        NOT = { has_landed_title = e_byzantium }
        NOT = { has_landed_title = e_western }
                NOT = { has_landed_title = e_thessalonika }
                NOT = { has_landed_title = e_roman_empire }
        any_realm_province =  {
            has_province_modifier = inactive_themes
                }
        }

    mean_time_to_happen = {
        days = 1
    }

    option = {
        name = OK
        any_realm_province = {
                limit = {
                    has_province_modifier = inactive_themes
                }
                remove_province_modifier = inactive_themes
            }
                }
        }

EDIT: I know why. The event is fine in all start dates and for all provinces other than post-1261 Constantinople because Genoa owns Galata, so the game is registering them as having the modifier while while not holding any of the specific titles. How would I have it ignore this? Would a "NOT = { tier = baron }" limit suffice?
 
Last edited:

TheDungen

Field Marshal
80 Badges
Jan 31, 2015
12.131
7.922
  • Crusader Kings II: Jade Dragon
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Conclave
  • Cities: Skylines
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: El Dorado
  • Magicka: Wizard Wars Founder Wizard
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Humble Paradox Bundle
  • Crusader Kings II: Horse Lords
  • Stellaris: Nemesis
  • War of the Roses
  • Stellaris
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Stellaris: Necroids
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome Deluxe Edition
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Europa Universalis IV
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders III
  • Age of Wonders
  • Age of Wonders II
  • Teleglitch: Die More Edition
  • Victoria 2
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Pre-order
  • Stellaris: Synthetic Dawn
Lo folks I write an decision about forming the Hansa, I basically lifted all the code from the for the HRE forming one. Yes i get loads of errors in the log about it.


they look like this:


[persistent.cpp:37]: Error: "Unexpected token: scaled_wealth, near line: 2276
" in file: "decisions/realm_decisions.txt" near line: 2276

Which is weird since all those unexpected tokens are extactly the same in the other decision.
Could anyone tell me what's wrong with it.

Code:
    form_the_hansa = {
        is_high_prio = yes
        potential = {
            is_playable = yes
            OR = {
                independent = yes
                liege = {higher_tier_than = king}
            }
            is_merchant_republic = yes
            religion_group = christian
            NOT = { has_global_flag = hansa_formed }
            year = 1000
        
        }
        allow = {
            is_adult = yes
            prisoner = no
            NOT = { trait = incapable }
            prestige = 500
            scaled_wealth = 1
            OR = {
                capital_scope = c_lubeck
                capital_scope = c_rostock
                capital_scope = c_hamburg
                capital_scope = c_gotland
                capital_scope = c_bremen
                capital_scope = c_danzig
                has_landed_title = d_novgorod
            }

        }
        effect = {
            scaled_wealth = -1
            if = {
                limit = { has_nickname = no }
                give_nickname = the_shrewd
            }
            primary_title = {
                k_hansa = {
                    grant_title = ROOT
                    copy_title_laws = PREV
                }
            }
            any_demesne_title = {
                limit = {
                    tier = KING
                    NOT = {
                        title = k_hansa
                    }
                }
                destroy_landed_title = THIS
            }
            set_global_flag = hansa_formed
        }
        revoke_allowed = {
            always = no
        }
        ai_will_do = {
            factor = 1
            modifier = {
                factor = 500
                NOT = {
                    culture = german
                }
            }
            modifier = {
                factor = 1000
                NOT = {
                    higher_tier_than = duke
                }
            }
        }
    }


Oh and also, the relative power condition

Code:
relative_power = {
    who =
   value =
}

If I want the root to be twice as powerful as the target in order for it to evaluate to true is that a value =2 or a value = 0.5?


Edit: and while I'm at it in what context are if statements allowed?
 
Last edited:

dehen

Second Lieutenant
80 Badges
Jun 29, 2012
113
142
  • Crusader Kings II
  • Europa Universalis III Complete
  • Crusader Kings II: Reapers Due
  • Cities: Skylines Industries
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Shadowrun Returns
  • Stellaris: Apocalypse
  • Crusader Kings II: Conclave
  • Stellaris: Humanoids Species Pack
  • Crusader Kings III: Royal Edition
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Stellaris: Necroids
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Green Cities
  • 500k Club
  • Europa Universalis IV: Dharma
  • Stellaris: Federations
  • Cities: Skylines - Campus
  • Cities: Skylines - Parklife
  • Crusader Kings II: Holy Fury
  • Stellaris: Ancient Relics
  • Europa Universalis IV
  • Europa Universalis IV: Golden Century
  • Stellaris: Distant Stars
  • Crusader Kings III
  • Stellaris: Lithoids
  • Europa Universalis III Complete
  • Imperator: Rome Deluxe Edition
  • Europa Universalis III Complete
  • Europa Universalis IV: Rule Britannia
  • Victoria 3 Sign Up
  • Victoria 2
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Europa Universalis III: Chronicles
  • Divine Wind
There's a sandy ripply texture that appears at the bottom of the ocean when you turn off water, in terrain map mode. How do you change it? I'd rather it just be a flat color.

I would have thought it'd be underwater_terrain.dds, but it's not. Or at least it doesn't look like it, and doesn't make a difference when I make it tranparent.
 

omega20056

Basileus Basileon
94 Badges
Dec 27, 2012
4.463
2.009
  • Crusader Kings III: Royal Edition
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Battle for Bosporus
  • Crusader Kings III
  • Europa Universalis 4: Emperor
  • Stellaris: Necroids
  • Victoria 3 Sign Up
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • Stellaris: Nemesis
  • March of the Eagles
  • Europa Universalis IV
  • Cities: Skylines - Natural Disasters
  • Cities: Skylines - Green Cities
  • Stellaris: Federations
  • Europa Universalis IV: Res Publica
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Crusader Kings II
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Mare Nostrum
  • Imperator: Rome Deluxe Edition
  • Stellaris
  • Stellaris - Path to Destruction bundle
  • Imperator: Rome Sign Up
  • Europa Universalis IV: Third Rome
  • Imperator: Rome - Magna Graecia
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: El Dorado
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Legacy of Rome
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Mandate of Heaven
  • 500k Club
  • Stellaris: Ancient Relics
  • Victoria 2
  • Imperator: Rome
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Synthetic Dawn
  • Stellaris: Lithoids
What stops pagan from declaring invasions on each other? As Telerig, I can invade Byzantium, but not pagan kingdoms.

I checked out the invasion CB and could find no restrictions based on religion.
 

dehen

Second Lieutenant
80 Badges
Jun 29, 2012
113
142
  • Crusader Kings II
  • Europa Universalis III Complete
  • Crusader Kings II: Reapers Due
  • Cities: Skylines Industries
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Shadowrun Returns
  • Stellaris: Apocalypse
  • Crusader Kings II: Conclave
  • Stellaris: Humanoids Species Pack
  • Crusader Kings III: Royal Edition
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Stellaris: Necroids
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Green Cities
  • 500k Club
  • Europa Universalis IV: Dharma
  • Stellaris: Federations
  • Cities: Skylines - Campus
  • Cities: Skylines - Parklife
  • Crusader Kings II: Holy Fury
  • Stellaris: Ancient Relics
  • Europa Universalis IV
  • Europa Universalis IV: Golden Century
  • Stellaris: Distant Stars
  • Crusader Kings III
  • Stellaris: Lithoids
  • Europa Universalis III Complete
  • Imperator: Rome Deluxe Edition
  • Europa Universalis III Complete
  • Europa Universalis IV: Rule Britannia
  • Victoria 3 Sign Up
  • Victoria 2
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Europa Universalis III: Chronicles
  • Divine Wind
There's a sandy ripply texture that appears at the bottom of the ocean when you turn off water, in terrain map mode. How do you change it? I'd rather it just be a flat color.

nevermind. Figured it out. It's the bottom right texture in atlas0. GIMP and paint.net3 weren't importing in properly so I couldn't see it.

It's as if the alpha channel has some other function. So they appear mostly transparent.
 

G-Flex

Captain
33 Badges
May 1, 2014
322
13
  • Crusader Kings II: Charlemagne
  • Stellaris: Synthetic Dawn
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Stellaris: Necroids
  • Crusader Kings III
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Crusader Kings II: Holy Fury
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Stellaris: Nemesis
  • Crusader Kings II: Jade Dragon
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Reapers Due
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
I'm getting some odd errors in a modded plot I've just made.

Weird thing is, it was just working less than an hour ago and I haven't made any significant changes to it at all.

In the error log, I'm getting this:
Code:
[persistent.cpp:37]: Error: "Malformed token: yes, near line: 56
" in file: "common/objectives/dh-plots.txt" near line: 56
[persistent.cpp:37]: Error: "Malformed token: yes, near line: 70
" in file: "common/objectives/dh-plots.txt" near line: 70
[persistent.cpp:37]: Error: "Malformed token: yes, near line: 76
" in file: "common/objectives/dh-plots.txt" near line: 76
[persistent.cpp:37]: Error: "Malformed token: yes, near line: 79
" in file: "common/objectives/dh-plots.txt" near line: 79
[persistent.cpp:37]: Error: "Malformed token: no, near line: 84
" in file: "common/objectives/dh-plots.txt" near line: 84

Line 56, for example, is: "can_be_given_away = yes". One of the other lines is "always = yes". Why would it think that "yes" and "no" are malformed tokens? Is there possibly some text encoding issue going on, or what?
 

richvh

Preserver of the Light
63 Badges
Dec 1, 2001
14.691
1.999
Visit site
  • Stellaris: Leviathans Story Pack
  • Pillars of Eternity
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Knights of Pen and Paper 2
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Crusader Kings II: Reapers Due
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Tyranny: Gold Edition
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Surviving Mars
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
  • Age of Wonders III
  • Age of Wonders: Shadow Magic
  • Age of Wonders
  • Age of Wonders II
  • Crusader Kings II: Jade Dragon
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • A Game of Dwarves
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • Majesty 2 Collection
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Rome Gold
  • Rome: Vae Victis
  • 500k Club
  • Cities: Skylines
Need more information. Paste the whole file here.
 

G-Flex

Captain
33 Badges
May 1, 2014
322
13
  • Crusader Kings II: Charlemagne
  • Stellaris: Synthetic Dawn
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Stellaris: Necroids
  • Crusader Kings III
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Crusader Kings II: Holy Fury
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Stellaris: Nemesis
  • Crusader Kings II: Jade Dragon
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Reapers Due
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
Never mind; I was being stupid. I used "success_effect =" instead of "effect =" in the plot. Why this messed up other stuff, I don't know, but now it's working fine.

My other question, then: Is it possible in an event or decision script to actually check if a barony is a holy site of any religion? You can check to see if it's a holy site of a specific character, but not if it's considered one by any religion in the game.

Reason being, I'm working on a mod for converting holdings from one type to another. This works OK, but converting holy sites has some possibly unwanted implications. For example, if you convert another religion's holy site to a castle or city and they eventually get their hands on that holy site again, I'm not sure I'd be able to set up what would be necessary for them to convert it back.
 

Vinroke

Megas Archon
52 Badges
Aug 8, 2011
369
11
  • Crusader Kings II
  • Victoria 2: A House Divided
  • Sword of the Stars
  • Sengoku
  • Rome Gold
  • March of the Eagles
  • Magicka
  • Heir to the Throne
  • Hearts of Iron III
  • For The Glory
  • Cities in Motion
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Europa Universalis III Complete
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Shadowrun: Dragonfall
  • Crusader Kings II: Way of Life
  • Stellaris
  • Crusader Kings II: Conclave
  • Cities: Skylines - After Dark
  • Crusader Kings II: Horse Lords
  • Magicka 2
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Monks and Mystics
  • Age of Wonders III
  • Crusader Kings II: Jade Dragon
  • Cities: Skylines - Parklife
  • Shadowrun Returns
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Holy Fury
  • 500k Club
  • War of the Vikings
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
Never mind; I was being stupid. I used "success_effect =" instead of "effect =" in the plot. Why this messed up other stuff, I don't know, but now it's working fine.

My other question, then: Is it possible in an event or decision script to actually check if a barony is a holy site of any religion? You can check to see if it's a holy site of a specific character, but not if it's considered one by any religion in the game.

Reason being, I'm working on a mod for converting holdings from one type to another. This works OK, but converting holy sites has some possibly unwanted implications. For example, if you convert another religion's holy site to a castle or city and they eventually get their hands on that holy site again, I'm not sure I'd be able to set up what would be necessary for them to convert it back.

you can limit the decision to exclude holy sites
Code:
limit = {
any_realm_title = {
is_holy_site = no
}
}
 

TheDungen

Field Marshal
80 Badges
Jan 31, 2015
12.131
7.922
  • Crusader Kings II: Jade Dragon
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Conclave
  • Cities: Skylines
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: El Dorado
  • Magicka: Wizard Wars Founder Wizard
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Humble Paradox Bundle
  • Crusader Kings II: Horse Lords
  • Stellaris: Nemesis
  • War of the Roses
  • Stellaris
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Stellaris: Necroids
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome Deluxe Edition
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Europa Universalis IV
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders III
  • Age of Wonders
  • Age of Wonders II
  • Teleglitch: Die More Edition
  • Victoria 2
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Pre-order
  • Stellaris: Synthetic Dawn
How would you check if a duchy has any coastal provinces?

I'm guessing the port = yes condition could be useful. Havent managed to get a hang of the any_de_jure vassal scope yet though.
 

TheDungen

Field Marshal
80 Badges
Jan 31, 2015
12.131
7.922
  • Crusader Kings II: Jade Dragon
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Conclave
  • Cities: Skylines
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: El Dorado
  • Magicka: Wizard Wars Founder Wizard
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Humble Paradox Bundle
  • Crusader Kings II: Horse Lords
  • Stellaris: Nemesis
  • War of the Roses
  • Stellaris
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Stellaris: Necroids
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome Deluxe Edition
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Europa Universalis IV
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders III
  • Age of Wonders
  • Age of Wonders II
  • Teleglitch: Die More Edition
  • Victoria 2
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Pre-order
  • Stellaris: Synthetic Dawn

TheDungen

Field Marshal
80 Badges
Jan 31, 2015
12.131
7.922
  • Crusader Kings II: Jade Dragon
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Conclave
  • Cities: Skylines
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: El Dorado
  • Magicka: Wizard Wars Founder Wizard
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Humble Paradox Bundle
  • Crusader Kings II: Horse Lords
  • Stellaris: Nemesis
  • War of the Roses
  • Stellaris
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Stellaris: Necroids
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome Deluxe Edition
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Europa Universalis IV
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders III
  • Age of Wonders
  • Age of Wonders II
  • Teleglitch: Die More Edition
  • Victoria 2
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Pre-order
  • Stellaris: Synthetic Dawn
I just went into the titles files and made the duchy of gotland and the duchy of soccotra real duchies. Now the flags of several countries are wrong. Abyssinia uses some kind of red blue wavy lines, and france use the berry one. Is it because the location of title in the file is somehow used to assign them their flags?