reforge_crown_wenceslas_decision = {
	picture = {
		reference = "gfx/interface/illustrations/decisions/decision_smith.dds"
	}

    desc = reforge_crown_wenceslas_decision_desc
    decision_group_type = realm
    sort_order = 100
    selection_tooltip = reforge_crown_wenceslas_decision_tooltip
    cooldown = { days = 1000 }
	
	is_shown = {
        OR = {
            any_character_artifact = {
                has_variable = crown_wenceslas
            }
            has_title = title:k_bohemia
        }
	}

    is_valid = {
        has_title = title:k_bohemia
        prestige_level >= high_prestige_level
        piety_level >= high_piety_level
        custom_tooltip = {
            text = must_have_crown_wenceslas
            any_character_artifact = {
                has_name = crown_wenceslas_name
            }
        }
    }

    cost = {
        gold = 750
        prestige = 500
    }

    effect = {
        if = {
            limit = {
                has_name = crown_wenceslas_name
            }
            every_character_artifact = {
                limit = {
                    has_name = crown_wenceslas_name
                }
                destroy_artifact = this
            }
            set_artifact_rarity_illustrious = yes
            create_artifact = {
		        name = crown_wenceslas_name
		        description = crown_wenceslas_reforged_description
		        modifier = crown_wenceslas_reforged_modifier
		        template = generic_template
		        type = pedestal
		        visuals = crown_wenceslas_court
		        wealth = scope:wealth
		        quality = scope:quality
                culture = root.culture
	        	decaying = no
	        	save_scope_as = newly_created_artifact
	        	history = {
	        		location = root.capital_province
	        		actor = root
	        		recipient = root
                    type = created_before_history
		        }
            }
        }
    }

    ai_check_interval = { 500 }
    ai_will_do = {
        base = 15
    }
}