ub_castel_jorge_01 = {  # Castelo de São Jorge : Cerca Moura
	construction_time = very_slow_construction_time
	type_icon = "icon_building_hill_forts.dds"
	can_construct_potential = {
		building_requirement_tribal = no
	}
	#ub_innovation_on
	can_construct = {
		custom_description = {
			text = ub_innovation_motte
			OR = {
				is_target_in_global_variable_list = {
					name = unavailable_unique_decisions
					target = flag:flag_ub_innovation_off
				}
				scope:holder = {
					culture = {
						has_innovation = innovation_motte				
					}			
				}									
			}
		}
	}
	
	cost_gold = 250
	
	character_modifier = {
		domain_tax_different_faith_mult = 0.03
		different_faith_opinion = 3
	}

	province_modifier = {
		defender_holding_advantage = 1
		fort_level = 1
	}
	county_modifier = {
		development_growth_factor = 0.05
		tax_mult = 0.02
	}
	
	ai_value = {
		base = 100
		culture_likely_to_fortify_modifier = yes		
	}

	next_building = ub_castel_jorge_02
	
	type = special
	flag = travel_point_of_interest_martial
}

ub_castel_jorge_02 = {  # Castelo de São Jorge, 1141
	construction_time = very_slow_construction_time

	type_icon = "icon_building_hill_forts.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder = {
			culture = {
				has_innovation = innovation_hoardings				
			}			
		}		
	}
	
	cost_gold = 700
	
	character_modifier = {
		monthly_dynasty_prestige_mult = 0.02
		different_faith_opinion = 5
		domain_tax_mult = 0.03
	}
	
	province_modifier = {
		defender_holding_advantage = 3
		fort_level = 2
	}
	county_modifier = {
		tax_mult = 0.2
		development_growth_factor = 0.3
		development_growth = 0.2	
	}
	
	ai_value = {
		base = 100
		culture_likely_to_fortify_modifier = yes		
	}
	
	type = special
	flag = travel_point_of_interest_martial	
}

ub_salzburg_fortress_01 = { #Hohensalzburg Fortress, 1070
	construction_time = very_slow_construction_time

	type_icon = "icon_building_hill_forts.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}
	
	can_construct = {
		scope:holder = {
			culture = {
				has_innovation = innovation_hoardings				
			}			
		}	
	}

	cost_gold = 1000
	
	character_modifier = {
		learning_per_piety_level = 2
		monthly_learning_lifestyle_xp_gain_mult = 0.05
	}
	province_modifier = {
		defender_holding_advantage = 6
		fort_level = 3
		garrison_size = 0.3
		levy_size = 0.3
	}
	county_modifier = {
		tax_mult = 0.2
		development_growth_factor = 0.3
		development_growth = 0.2	
	}
	
	ai_value = {
		base = 100
	}
	
	type = special
	flag = travel_point_of_interest_religious
	flag = travel_point_of_interest_martial_minor
}

ub_hohenbaden_castle_01 = { #Schloss Hohenbaden, 1102
	construction_time = very_slow_construction_time

	type_icon = "icon_building_hill_forts.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}
	
	can_construct = {
		scope:holder = {
			culture = {
				has_innovation = innovation_battlements				
			}			
		}	
	}

	cost_gold = 500

	character_modifier = {
		monthly_dynasty_prestige_mult = 0.05
		monthly_prestige = 0.5
	}
	province_modifier = {
		defender_holding_advantage = 6
		fort_level = 3
		garrison_size = 0.3
		levy_size = 0.3
	}
	county_modifier = {
		tax_mult = 0.15
		development_growth_factor = 0.2	
	}
	
	ai_value = {
		base = 100
	}
	
	type = special
	flag = travel_point_of_interest_martial	
}

ub_hohenzollern_castle_01 = { #Burg Hohenzollern, 1061
	construction_time = very_slow_construction_time

	type_icon = "icon_building_hill_forts.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}
	
	can_construct = {
		scope:holder = {
			culture = {
				has_innovation = innovation_hoardings				
			}			
		}	
	}

	cost_gold = 1000

	character_modifier = {
		monthly_martial_lifestyle_xp_gain_mult = 0.05
		martial_per_prestige_level = 1
	}
	province_modifier = {
		defender_holding_advantage = 6
		fort_level = 3
		garrison_size = 0.3
		levy_size = 0.3
	}
	county_modifier = {
		tax_mult = 0.15
		development_growth_factor = 0.2
	}
	
	ai_value = {
		base = 100
	}
	
	type = special
	flag = travel_point_of_interest_martial
}



ub_great_wall_korea_01 = { #Great Wall of Korea. Cheon-ri-jang-seong 
	construction_time = very_slow_construction_time

	type_icon = "icon_structure_the_great_wall.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}
	
	can_construct = {
	}

	cost_gold = 1000

	province_modifier = {
		fort_level = 2
		hostile_raid_time = 0.2
		stationed_maa_toughness_mult = 0.05
		defender_holding_advantage = 4
	}
	
	ai_value = {
		base = 100
	}
	
	type = special
}