• 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.
Next thing is the little decission icons, they are stored at %DIR%\gfx\interface, for example "decision_icon_tournament.dds".
I made my own dds file and placed it in the directory but I see no place where I can make the game actually know what icon
to use. (Something like picture = "..." ).

Anyone knows?
 
The_legion did all the hard work, I only borrowed and adjusted it (I used Cyprus as example). After a few attempts it finally worked, except that also vassals of an emperor become independent with this decision.

I did make one small change (again ;)):

Edit: I solved the liege issue too.

Code:
effect = {
                piety = -1
                wealth = -1
                k_cyprus = {
                    gain_title = FROM
                    [COLOR=#ff0000]FROM = { set_defacto_liege = e_hre }[/COLOR]
                    }
                }
Will that cause you to become a vassal of the HRE if you weren't one before? If so, (and if that is not the intended behaviour) then maybe two decisions one for HRE vassals and on for independent dukes would be the best way of doing it.
 
Will that cause you to become a vassal of the HRE if you weren't one before? If so, (and if that is not the intended behaviour) then maybe two decisions one for HRE vassals and on for independent dukes would be the best way of doing it.

That's why I made two versions myself, even though due to issues related to balance, this could give vassals of the HRE and ERE a too big advantage. Note that I used Cyprus as an example an to test whether such a decision would work.

Independent:

Code:
decisions = {
    Kingdom = {
        potential = {
            min_age = 16
            prisoner = no
            independent = yes
            NOT = { trait = incapable }
            NOT = { FROM = { 
                    tier = emperor 
                    tier = king
                    } 
                }# Is no Emperor or king                        
            } 

        allow = {
            FROM = {
                AND = {    
                    piety = 200
                    wealth = 400
                    prestige = 400                
                    religion = catholic
                    is_heretic = no
                    prisoner = no                    
                    primary_title = { title = d_cyprus }    # Is duke of Cyprus
                    AND = {            
                        OR = {                        
                            is_liege_of = 757 #c_famagusta                                    
                            owns = 757 #c_famagusta
                                    }
                        OR = {
                            is_liege_of = 756 #c_limisol
                                  owns = 756 #c_limisol
                                }
                            }
                        }
                    }              
                }

        effect = {
                piety = -200
                wealth = -400
                k_cyprus = {
                    gain_title = FROM
                    }
                }

        ai_will_do = {
            factor = 100                # AI will always do
            }
    }        
}

Imperial vassal (not a king)

Code:
decisions = {
    Kingdom = {
        potential = {
            min_age = 16
            prisoner = no
            top_liege = {
                        primary_title = {
                            title = e_hre
                            }            
                    } 
            NOT = { trait = incapable }
            NOT = { FROM = { 
                    tier = emperor 
                    tier = king
                    } 
                }# Is no Emperor or king                        
            } 

        allow = {
            FROM = {
                AND = {    
                    piety = 200
                    wealth = 400
                    prestige = 400            
                    religion = catholic
                    is_heretic = no
                    prisoner = no                    
                    primary_title = { title = d_cyprus }    # Is duke of Cyprus
                    AND = {            
                        OR = {                        
                            is_liege_of = 757 #c_famagusta                                    
                            owns = 757 #c_famagusta
                                    }
                        OR = {
                            is_liege_of = 756 #c_limisol
                                  owns = 756 #c_limisol
                                }
                            }
                        }
                    }              
                }

        effect = {
                piety = -200
                wealth = -400
                k_cyprus = {
                    gain_title = FROM
                    FROM = { set_defacto_liege = e_hre }
                    }
                }

        ai_will_do = {
            factor = 100                # AI will always do
            }
    }        
}