decisions = {
	viking_sword = {
		is_high_prio = no
		
		potential = {
			culture_group = north_germanic
			religion_group = pagan_group
			OR = {
				trait = swordsman1
				trait = swordsman2
				trait = swordsman3
				trait = swordsman4
				trait = swordsman5
			}
			has_regent = no
		}
		
		allow = {
			prestige = 500
			wealth = 75
		}
		
		effect = {
			wealth = -75

			if = {
				limit = {trait = swordsman1}
				remove_trait = swordsman1
				add_trait = ulfberht1
			}
			if = {
				limit = {trait = swordsman2}
				remove_trait = swordsman2
				add_trait = ulfberht2
			}
			if = {
				limit = {trait = swordsman3}
				remove_trait = swordsman3
				add_trait = ulfberht3
			}
			if = {
				limit = {trait = swordsman4}
				remove_trait = swordsman4
				add_trait = ulfberht4
			}
			if = {
				limit = {trait = swordsman5}
				remove_trait = swordsman5
				add_trait = ulfberht5
			}

		}
		
		revoke_allowed = {
			always = no
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 0
				trait = greedy
			}
			
			
			modifier = {
				factor = 0
				trait = slow
			}
			
			modifier = {
				factor = 0
				OR = {
					trait = skilled_tactician
					trait = brilliant_strategist #Prefer strategical weapons
				}
			}
			
			modifier = {
				factor = 0
				trait = imbecile
			}
			
			modifier = {
				factor = 0
				has_regent = yes
			}
			
			modifier = {
				factor = 0
				NOT = {martial = 10}
			}
		}
		
	}
}
