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

tripple40

Corporal
13 Badges
Jan 3, 2021
27
0
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
  • Europa Universalis IV
  • Cities: Skylines
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Mass Transit
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Parklife
  • Cities: Skylines Industries
  • Cities: Skylines - Campus
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
I have been attempting to create a decision for days for Ireland but the decision although all seems right refuses to appear in the decisions tab. I have literally zero idea why.
The decision is supposed to on activating give the user a title I have personally created and destroy the current Kingdom of Ireland title.
requirements for it to appear are:
- Be of either King or Duke title.
- Be between the ages of 16 and 60 (didn't know how to make it so that all you have to be is above 16).
- Be either Irish, English, Norman, Scottish or Welsh.
- And either own the Kingdom of England or Ireland or the Duchy of Ulster the other Irish Duchies (only one of all these listed titles needed to be owned for it to appear. Being able to activate it takes different conditions).
For those of whom wish to check my landed_titles folder for possible reasons may do so, they are attached.
 

Attachments

  • create_lordship_of_ireland.txt
    1,3 KB · Views: 0
  • lordship_of_ireland.txt
    1,5 KB · Views: 0
For proper modding advice, you should register your game (ie. link your steam account to the forum) and go to the modding forum.

I am not a CK2 modder, but I think at least one of your problems is that you've done the new k_lordship_of_ireland incorrectly: it probably should not have de jure duchies at game start; the duchies should be migrated to a different de jure kingdom as part of the effect block of the decision.

You may find it useful to look at the decision that creates k_antioch and use that as a framework for your mod.

Code:
    create_antioch = {
        only_independent = yes
        is_high_prio = yes
        ai_check_interval = 60

        potential = {
            NOT = {
                higher_tier_than = DUKE
            }
            has_landed_title = d_antioch
            religion = catholic
            k_antioch = {
                has_holder = no
            }
            k_antioch = {
                is_titular = yes
            }
            NOR = {
                has_alternate_start_setting = {
                    setting = dejure
                    value = random
                }
                has_alternate_start_setting = {
                    setting = title_names
                    value = random
                }
                has_alternate_start_setting = {
                    setting = title_names
                    value = random_including_duchies
                }
            }
        }
        allow = {
            is_adult = yes
            independent = yes
            war = no
            NOT = {
                trait = incapable
            }
            completely_controls = d_antioch
            num_of_duke_titles >= 2
            conditional_tooltip = {
                trigger = {
                    ai = no
                }

                prestige = 1000
            }
            wealth = 100
        }
        effect = {
            wealth = -100
            primary_title = {
                save_event_target_as = current_primary_title
            }
            k_antioch = {
                show_scope_change = no
                grant_title = ROOT
                copy_title_laws = event_target:current_primary_title
            }
            d_antioch = {
                show_scope_change = no
                de_jure_liege = k_antioch
            }
            if = {
                limit = {
                    has_landed_title = d_tripoli
                }
                d_tripoli = {
                    show_scope_change = no
                    de_jure_liege = k_antioch
                }
            }
            if = {
                limit = {
                    has_landed_title = d_edessa
                }
                d_edessa = {
                    show_scope_change = no
                    de_jure_liege = k_antioch
                }
            }
            if = {
                limit = {
                    has_landed_title = d_aleppo
                }
                d_aleppo = {
                    show_scope_change = no
                    de_jure_liege = k_antioch
                }
            }
            narrative_event = { id = HFP.40013 }
        }
    }

Code:
k_antioch = {
    color={ 228 53 53 }
    color2={ 216 216 84 }

    capital = 764 # Antioch

    title = "principality_title"
    title_female = "principality_title_female"
    foa = "principality_foa"
    title_prefix = "principality_prefix"

    allow = {
        conditional_tooltip = {
            trigger = {
                k_antioch = {
                    is_titular = yes
                }
            }
            k_antioch = {
                is_titular = no
            }
        }
        hidden_tooltip = {
            OR = {
                ai = no
                religion = catholic
            }
        }
    }
}