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

Arrnea

Meatbag Exterminator
67 Badges
Jun 30, 2008
531
297
  • Stellaris: Necroids
  • 500k Club
  • Arsenal of Democracy
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Holy Fury
  • Stellaris: Galaxy Edition
  • Stellaris - Path to Destruction bundle
  • Stellaris: Apocalypse
  • Stellaris: Megacorp
  • Stellaris: Federations
  • Stellaris: Leviathans Story Pack
  • Stellaris: Synthetic Dawn
  • Stellaris: Distant Stars
  • Stellaris: Ancient Relics
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Humanoids Species Pack
  • Stellaris: Lithoids
  • Surviving Mars
  • Surviving Mars: First Colony Edition
  • Surviving Mars: First Colony Edition
  • Magicka
  • Prison Architect
  • Prison Architect: Psych Ward
  • Cities: Skylines Deluxe Edition
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Cities: Skylines - Mass Transit
  • Cities: Skylines - Green Cities
  • Cities: Skylines - Parklife
  • Cities: Skylines Industries
  • Cities: Skylines - Campus
  • Age of Wonders III
  • Majesty 2 Collection
  • Shadowrun Returns
  • Sword of the Stars
One line summary of your issue
[3.1.0] Getting Uncrowned Envy Events as Merchant Republic Ruler

Game Version
3.1.0

What expansions do you have installed?
All of the above

Do you have mods enabled?
Yes

Please explain your issue is in as much detail as possible.
After attending the coronation of a foreign King, my Merchant Republic ruler gets an event where they are envious of that ruler, because they have not had a coronation ceremony themselves.

The problem is that Merchant Republic rulers can't have a coronation ceremony.

Unfortunately, I don't have a screenshot, but I believe the culprit of this bug is the event HF.20392 in \events\HF_coronation_events.txt, which doesn't check to see if the envious character is a ruler type that can't get a coronation ceremony (eg. Merchant Republic rulers).
Code:
#Former guest is envious of extravagant coronation.
character_event = {
    id = HF.20392
    desc = {
        trigger = {
            has_character_modifier = crowned_in_barn
        }
        text = EVTDESCHFA20392     
    }
    desc = {
        trigger = {
            NOT = { has_character_modifier = crowned_in_barn }
        }
        text = EVTDESCHFB20392     
    }

    picture = GFX_evt_bad_news
    border = GFX_event_normal_frame_diplomacy

    is_triggered_only = yes

    trigger = {
        FROMFROM = { has_character_modifier = extravagant_coronation }
        OR = {
            has_character_modifier = crowned_in_barn
            NOR = {
                trait = crowned_by_priest
                trait = crowned_by_bishop
                trait = crowned_by_pope
                trait = crowned_by_myself
            }
        }
     }
    option = {
        name = EVTOPTAHF20392
        trigger = { trait = humble }
        tooltip_info = humble
        piety = 50
        ai_chance = {   
            factor = 50
        }
    }

    option = {
        name = EVTOPTBHF20392
        if = {
            limit = { trait = kind }
            remove_trait = kind
            break = yes
        }
        if = {
            limit = {
                NOR = {
                    trait = kind
                    trait = envious
                }
            }
            add_trait = envious
            break = yes
        }
        if = {
            limit = { trait = envious }
            piety = -50
            break = yes
        }
        ai_chance = {   
            factor = 50
        }
    }
}

Steps to reproduce the issue.
Be a merchant republic ruler and be invited to a foreign King's coronation. You might get an event saying your ruler is envious, not having had their own coronation ceremony.
 
Upvote 0
Cv3LyTV.jpg