CK II - [3.1.0] Getting Uncrowned Envy Events as Merchant Republic Ruler

CK II - [3.1.0] Getting Uncrowned Envy Events as Merchant Republic Ruler

  • Crusader Kings III Available Now!

    The realm rejoices as Paradox Interactive announces the launch of Crusader Kings III, the latest entry in the publisher’s grand strategy role-playing game franchise. Advisors may now jockey for positions of influence and adversaries should save their schemes for another day, because on this day Crusader Kings III can be purchased on Steam, the Paradox Store, and other major online retailers.


    Real Strategy Requires Cunning

Arrnea

Ȩ͏l̷͘d̨ŕ̨i̴̢t͏͝c̨h̢ ͠Ab̵om̨̛i̴̡͡n҉͏á͞t͝io̴͠n̨͝
64 Badges
Jun 30, 2008
493
187
  • Stellaris: Federations
  • 500k Club
  • Arsenal of Democracy
  • Darkest Hour
  • Hearts of Iron III Collection
  • Europa Universalis III: Collection
  • Crusader Kings II
  • Stellaris: Galaxy Edition
  • Cities in Motion 2
  • Cities: Skylines Deluxe Edition
  • Magicka
  • Magicka 2
  • Majesty 2 Collection
  • Pillars of Eternity
  • Prison Architect
  • Shadowrun Returns
  • Sword of the Stars
  • Tyranny: Archon Edition
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

This thread is more than 5 months old.

It is very likely that it does not need any further discussion and thus bumping it serves no purpose. If you feel it is necessary to make a new reply, you can still do so though.

Arrnea

Ȩ͏l̷͘d̨ŕ̨i̴̢t͏͝c̨h̢ ͠Ab̵om̨̛i̴̡͡n҉͏á͞t͝io̴͠n̨͝
64 Badges
Jun 30, 2008
493
187
  • Stellaris: Federations
  • 500k Club
  • Arsenal of Democracy
  • Darkest Hour
  • Hearts of Iron III Collection
  • Europa Universalis III: Collection
  • Crusader Kings II
  • Stellaris: Galaxy Edition
  • Cities in Motion 2
  • Cities: Skylines Deluxe Edition
  • Magicka
  • Magicka 2
  • Majesty 2 Collection
  • Pillars of Eternity
  • Prison Architect
  • Shadowrun Returns
  • Sword of the Stars
  • Tyranny: Archon Edition
Cv3LyTV.jpg