• 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

ahistorically correct

Corporal
12 Badges
Oct 13, 2020
30
6
  • Crusader Kings II: Sons of Abraham
  • 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
Finally it occured to me to sieve through the all the relevant EMF source on GitHub and I found that Ransom All, Execute All, etc. was removed from EMF back in 2017. Unfortunately without any mention of it in the changelog or changing of the wiki, where it still prominently features. Geez, thank you guys for several days of confusion, trying to find an advertised but quietly removed feature! ;)

emf_prisoner_decisions.txt on Github: "removing ransom-all/etc. due to 2.7s QoL improvements" - Mar 14, 2017 commit by Zijistark (sorry, can't link yet as it flags as spam with my low post count or whatever)

I had a look at CK2 2.7 patch, and yes, it adds new Prisoner Management tool with filtering, but only as a paid feature for owners of MNM.

Is there any modding policy of not going against paid QoL improvements (quite understandable), or was it removed more by accident because Zijistark and other EMF authors own every DLC already and haven't noticed prisoner management tool (the "2.7 QoL improvement") was in the paid section of patch 2.7 with MNM DLC only? In case of the latter, would you consider adding the basic Ransom All/Execute All/Release All decision back into EMF again?

Now I'll just have to go through all the commits and see if I can mod it back just for myself. The MNM Prisoner Management tool looks great, filtering by all parameters, but I just need a simple Ransom All, nothing else. Clicking through thirty prisoners and waiting months between all the replies is just unworkable.

BTW, just in case to prevent any misunderstandings, I really like EMF, mods like these in HIP and others really make the game much more enjoyable It's just that looking for a feature that should be there according to text and changelogs - but isn't - is really confusing :) Thanks!
 

ahistorically correct

Corporal
12 Badges
Oct 13, 2020
30
6
  • Crusader Kings II: Sons of Abraham
  • 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
Just tried a quick test merging just the relevant portions of commits from github (three files, EMF_decisions.gfx, emf_prison_decisions.txt and emf_prisoner.txt) into latest EMF while keeping the later EMF changes of the files. Superficially, it seems to work - I finally see the Ransom All decision and it seems to somewhat work, great! Of course, I have no idea if it breaks anything or how well it works with current version, since the code I copied is from 2017...

Would be great if the devs could chime in, thanks!
 

ahistorically correct

Corporal
12 Badges
Oct 13, 2020
30
6
  • Crusader Kings II: Sons of Abraham
  • 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
What's the deal with Zoroastrian and Yazidi Great Holy Wars? How to Unlock Crusades or Great Holy Wars for Zoroastrian or Yazidi faiths?

Tried to call Great Holy War as Yazidi sheikh. The Send button is greyed out and the pop-up only says:

(X) The Ahura Mazda Great Holy War Era has Began

(all the other requirements are met)

It's year 1295, I hold all the Yazidi holy sites and I am Sheikh with Yazidi having 78% moral authority (I converted all of realm for sake of testing).
Global flags emf_crusades_unlocked, muslim_jihads_unlocked, christian_crusades_unlocked are all SET (I checked).

So, what's the requirement to unlock it? The CK2 Wiki says Zoroastrian faith unlocks GHW immediately upon creating Moabadan-Moabad. In another play through, I did just that and never got any option for GHW at all, not even greyed out, just regular holy wars. EMF wiki doesn't mention unlocking crusades at all.

Finally, I delved for a few hours into the EMF code:

00_cb_types.txt checks for zoroastrian_ghws_unlocked global flag to allow GHWs for these religions. Great. Setting the flag manually via console works. But what's the normal requirement?

The only place that ever sets the zoroastrian_ghws_unlocked global flag is emf_religion.txt (plus alternate - random world - starts):
INI:
# emf_religion.4 -- Activation of Mazdan Great Holy Wars, after two of Christians, Muslims, and Pagans
narrative_event = {
    id = emf_religion.4
    title = EVTNAME_emf_religion_4
    desc = {
        trigger = {
            has_global_flag = muslim_jihads_unlocked
            has_global_flag = christian_crusades_unlocked
        }
        text = EVTDESCA_emf_religion_4
    }
    desc = {
        trigger = {
            has_global_flag = pagan_ghws_unlocked
            has_global_flag = christian_crusades_unlocked
        }
        text = EVTDESCB_emf_religion_4
    }
    desc = {
        trigger = {
            has_global_flag = muslim_jihads_unlocked
            has_global_flag = pagan_ghws_unlocked
        }
        text = EVTDESCC_emf_religion_4
    }
    picture = GFX_evt_zoroaster
    border = GFX_event_narrative_frame_religion

    major = yes

    show_ROOT = yes
    hide_new = yes

    only_playable = yes
    min_age = 16
    religion_group = zoroastrian_group

    trigger = {
        controls_religion = yes
        is_heretic = no
        can_call_crusade = yes
        NOT = { has_alternate_start_parameter = { key = religion_names value = random } }
        NOT = { has_global_flag = zoroastrian_ghws_unlocked }
        calc_true_if = {
            amount = 2
            has_global_flag = muslim_jihads_unlocked
            has_global_flag = christian_crusades_unlocked
            has_global_flag = pagan_ghws_unlocked
        }
    }

    mean_time_to_happen = {
        months = 120
        modifier = {
            factor = 0
            has_global_flag = emf_debug_fast_ghw_unlock
        }
        modifier = {
            factor = 0.5
            any_landed_title = {
                is_holy_site = ROOT
                owner = {
                    top_liege = {
                        NOR = {
                            religion_group = ROOT
                            ROOT = { emf_syncretized_religion_with_PREV = yes }
                        }
                        trigger_if = {
                            limit = { religion_group = christian }
                            has_global_flag = christian_crusades_unlocked
                        }
                        trigger_else_if = {
                            limit = { religion_group = muslim }
                            has_global_flag = muslim_jihads_unlocked
                        }
                        trigger_else_if = {
                            limit = { religion_group = pagan_group }
                            has_global_flag = pagan_ghws_unlocked
                        }
                        trigger_else_if = {
                            limit = { religion_group = jewish_group }
                            has_global_flag = jewish_ghws_unlocked
                        }
                    }
                }
            }
        }
        modifier = {
            factor = 2
            NAND = {
                ROOT = { religion_scope = { has_religion_feature = religion_syncretic_christian } }
                has_global_flag = christian_crusades_unlocked
            }
            NAND = {
                ROOT = { religion_scope = { has_religion_feature = religion_syncretic_muslim } }
                has_global_flag = muslim_jihads_unlocked
            }
            NOT = {
                any_landed_title = {
                    is_holy_site = ROOT
                    NOT = {
                        owner = {
                            top_liege = {
                                OR = {
                                    religion_group = zoroastrian_group
                                    ROOT = { emf_syncretized_religion_with_PREV = yes }
                                    liege_before_war = {
                                        OR = {
                                            religion_group = zoroastrian_group
                                            ROOT = { emf_syncretized_religion_with_PREV = yes }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    immediate = {
        set_global_flag = zoroastrian_ghws_unlocked
    }

    option = {
        name = EVTOPTA_emf_religion_4
        trigger = {
            religion_group = zoroastrian_group
        }
    }

    option = {
        name = EVTOPTB_emf_religion_4
        trigger = {
            NOT = { religion_group = zoroastrian_group }
        }
    }
}
So the from above code, it seems that MTTH for Zoroastrians unlocking GHWs is 10 years (with possible 0.5x or 2x modifiers depending on conditions)?
I couldn't be bothered waiting 10 years just testing it, so I used the emf_debug flag, Zoro GHW Unlocked event fired almost immediately - so it works. Unfortunately, there is no mention of it anywhere and it took me several hours finding the answer in the code...