﻿# URBANISM LEGACIES

fp2_urbanism_legacy_1 = { # Flourishing Cities
	legacy = fp2_urbanism_legacy_track

	#AGOT Modified
	#can_be_picked = { eligible_for_fp2_dynasty_legacies_trigger = yes }
	can_be_picked = {
		culture = {
			OR = {
				this = culture:high_valyrian
				any_parent_culture_or_above = {
					this = culture:high_valyrian
				}
			}
		}
	}

	effect = {
		# Each city increases development rate of their county
		custom_description_no_bullet = { text = fp2_urbanism_legacy_1_effect }
	}


	ai_chance = {
		value = 100
		#AGOT Disabled
		# if = {
		# 	limit = {
		# 		culture = {
		# 			OR = {
		# 				has_cultural_pillar = heritage_iberian
		# 				has_cultural_pillar = heritage_arabic
		# 			}
		# 		}
		# 	}
		# 	multiply = 10
		# }
	}
}

fp2_urbanism_legacy_2 = { # Republican Teaching
	legacy = fp2_urbanism_legacy_track

	# Chance to gain an extra traits for members of the dynasty or children educated by the members of the dynasty

	effect = {
		custom_description_no_bullet = { text = fp2_urbanism_legacy_2_effect }
	}

	ai_chance = {
		value = 100
	}
}

fp2_urbanism_legacy_3 = { #Replace by > faster and cheaper city development
	legacy = fp2_urbanism_legacy_track


	character_modifier = {
		city_holding_build_speed = -0.1
		city_holding_build_gold_cost = -0.1
		city_holding_holding_build_speed = -0.1
		city_holding_holding_build_gold_cost = -0.1
		#AGOT Added
		republic_government_levy_contribution_add = 0.15 # Moved from republican vassal contract
		republic_government_tax_contribution_add = 0.15 # Moved from republican vassal contract
	}
	effect = {
		custom_description_no_bullet = { text = fp2_urbanism_legacy_3_effect }
	}

	ai_chance = {
		value = 100
	}
}

fp2_urbanism_legacy_4 = { #Replace by > get prestige +  cool character on dev level gain
	legacy = fp2_urbanism_legacy_track

	# Gain Prestige and guest when completing a building
	effect = {
		custom_description_no_bullet = { text = fp2_urbanism_legacy_4_effect }
	}

	ai_chance = {
		value = 100
	}
}

fp2_urbanism_legacy_5 = { #Replace by ???
	legacy = fp2_urbanism_legacy_track

	effect = {
		custom_description_no_bullet = { text = fp2_urbanism_legacy_5_effect }
	}

	ai_chance = {
		value = 100
	}
}

# COTERIE LEGACIES

fp2_coterie_legacy_1 = { # Inner Circle
	legacy = fp2_coterie_legacy_track

	#AGOT Modified
	#can_be_picked = { eligible_for_fp2_dynasty_legacies_trigger = yes }
	can_be_picked = {
		culture = {
			OR = {
				this = culture:high_valyrian
				any_parent_culture_or_above = {
					this = culture:high_valyrian
				}
			}
		}
	}


	effect = {
		custom_description_no_bullet = { text = fp2_coterie_legacy_1_effect }
	}

	ai_chance = {
		value = 100
		#AGOT Disabled
		# if = {
		# 	limit = {
		# 		culture = {
		# 			OR = {
		# 				has_cultural_pillar = heritage_iberian
		# 				has_cultural_pillar = heritage_arabic
		# 			}
		# 		}
		# 	}
		# 	multiply = 10
		# }
	}
}

fp2_coterie_legacy_2 = { # House bonds
	legacy = fp2_coterie_legacy_track

	effect = {
		custom_description_no_bullet = { text = fp2_coterie_legacy_2_effect }
	}

	ai_chance = {
		value = 100
	}
}

fp2_coterie_legacy_3 = { # Unity
	legacy = fp2_coterie_legacy_track

	effect = {
		custom_description_no_bullet = { text = fp2_coterie_legacy_3_effect }
	}

	character_modifier = {
		dynasty_house_opinion = 10
	}

	ai_chance = {
		value = 100
	}
}
fp2_coterie_legacy_4 = { # Eternal Trust
	legacy = fp2_coterie_legacy_track

	effect = {
		custom_description_no_bullet = { text = fp2_coterie_legacy_4_effect }
	}

	ai_chance = {
		value = 100
	}
}

fp2_coterie_legacy_5 = { # Pragmatic Roots
	legacy = fp2_coterie_legacy_track

	effect = {
		custom_description_no_bullet = { text = fp2_coterie_legacy_5_effect }
	}

	ai_chance = {
		value = 100
	}
}

