﻿@gpt_cooldown = 1

gpt_religious_law = { #Realm
	default = gpt_religious_law_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_religious_law_0 = {
		modifier = {
			clergy_opinion = 10
			zealot_opinion = 10
			courtly_opinion = -10
			legitimacy_gain_mult = -0.2
			monthly_prestige_gain_mult = -0.2
			monthly_piety_gain_mult = 0.2
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_pass = {
			has_trait = zealous
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_religious_law_1
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_religious_law_1 = {
		modifier = {
			clergy_opinion = 5
			zealot_opinion = 5
			courtly_opinion = -5
			legitimacy_gain_mult = -0.1
			monthly_prestige_gain_mult = -0.1
			monthly_piety_gain_mult = 0.1
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_religious_law_3 }
			NOT = { has_realm_law = gpt_religious_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_religious_law_2 = {
		modifier = { 
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
			gptl_organized_religion_trigger = yes
		}
		
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_religious_law_0 }
			NOT = { has_realm_law = gpt_religious_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_religious_law_3 = {
		modifier = {
			clergy_opinion = -30
			zealot_opinion = -10
			courtly_opinion = 5
			legitimacy_gain_mult = 0.25
			monthly_prestige_gain_mult = 0.1
			monthly_piety_gain_mult = -0.1
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
			gptl_organized_religion_trigger = yes
		}
	
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_religious_law_1 }
			NOT = { has_realm_law = gpt_religious_law_0 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_religious_law_4 = {
		modifier = { 
			clergy_opinion = -60
			zealot_opinion = -20
			courtly_opinion = 10
			legitimacy_gain_mult = 0.5
			monthly_prestige_gain_mult = 0.2
			monthly_piety_gain_mult = -0.2
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
			gptl_organized_religion_trigger = yes
		}
	
		can_pass = {
			has_trait = cynical
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_religious_law_3
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
}

gpt_diplomacy_law = { #Realm
	default = gpt_diplomacy_law_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_diplomacy_law_0 = {
		modifier = {
			diplomatic_range_mult = -0.2
			cultural_head_acceptance_gain_mult = -0.2
			direct_vassal_opinion = 20
			fellow_vassal_opinion = 20
			liege_opinion = 20
			independent_ruler_opinion = -20
			minority_opinion = -20
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_pass = {
			has_trait = shy
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_diplomacy_law_1
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_diplomacy_law_1 = {
		modifier = {
			diplomatic_range_mult = -0.1
			cultural_head_acceptance_gain_mult = -0.1
			direct_vassal_opinion = 10
			fellow_vassal_opinion = 10
			liege_opinion = 10
			independent_ruler_opinion = -10
			minority_opinion = -10
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}

		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_diplomacy_law_3 }
			NOT = { has_realm_law = gpt_diplomacy_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_diplomacy_law_2 = {
		modifier = {
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}
		
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_diplomacy_law_0 }
			NOT = { has_realm_law = gpt_diplomacy_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_diplomacy_law_3 = {
		modifier = {
			diplomatic_range_mult = 0.1
			cultural_head_acceptance_gain_mult = 0.1
			direct_vassal_opinion = -10
			fellow_vassal_opinion = -10
			liege_opinion = -10
			independent_ruler_opinion = 10
			minority_opinion = 10
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}
	
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_diplomacy_law_1 }
			NOT = { has_realm_law = gpt_diplomacy_law_0 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_diplomacy_law_4 = {
		modifier = {
			diplomatic_range_mult = 0.2
			cultural_head_acceptance_gain_mult = 0.2
			direct_vassal_opinion = -20
			fellow_vassal_opinion = -20
			liege_opinion = -20
			independent_ruler_opinion = 20
			minority_opinion = 20
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}
	
		can_pass = {
			has_trait = gregarious
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_diplomacy_law_3
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
}

gpt_taxation_law = { #Realm
	default = gpt_taxation_law_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_taxation_law_0 = {
		modifier = {
			domain_tax_mult = -0.3
			piety_level_impact_mult = 0.3
			county_opinion_add = 30
			stress_gain_mult = -0.2
			barons_and_minor_landholders_opinion = 20
			glory_hound_opinion = -10
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
			gptl_civilized_or_nomad_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
			gptl_civilized_or_nomad_trigger = yes
		}

		can_pass = {
			has_trait = generous
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_taxation_law_1
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_taxation_law_1 = {
		modifier = {
			domain_tax_mult = -0.15
			piety_level_impact_mult = 0.15
			county_opinion_add = 15
			stress_gain_mult = -0.1
			barons_and_minor_landholders_opinion = 10
			glory_hound_opinion = -5
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
			gptl_civilized_or_nomad_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
			gptl_civilized_or_nomad_trigger = yes
		}

		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_taxation_law_3 }
			NOT = { has_realm_law = gpt_taxation_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_taxation_law_2 = {
		modifier = { 
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
			gptl_civilized_or_nomad_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
			gptl_civilized_or_nomad_trigger = yes
		}
		
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_taxation_law_0 }
			NOT = { has_realm_law = gpt_taxation_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_taxation_law_3 = {
		modifier = {
			domain_tax_mult = 0.1
			men_at_arms_maintenance = -0.1
			men_at_arms_recruitment_cost = -0.1
			county_opinion_add = -20
			stress_gain_mult = 0.1
			barons_and_minor_landholders_opinion = -10
			glory_hound_opinion = 5
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
			gptl_civilized_or_nomad_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
			gptl_civilized_or_nomad_trigger = yes
		}
	
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_taxation_law_1 }
			NOT = { has_realm_law = gpt_taxation_law_0 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_taxation_law_4 = {
		modifier = {
			domain_tax_mult = 0.2
			men_at_arms_maintenance = -0.2
			men_at_arms_recruitment_cost = -0.2
			county_opinion_add = -40
			stress_gain_mult = 0.2
			barons_and_minor_landholders_opinion = -20
			glory_hound_opinion = 10
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
			gptl_civilized_or_nomad_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
			gptl_civilized_or_nomad_trigger = yes
		}
	
		can_pass = {
			has_trait = greedy
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_taxation_law_3
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
}

gpt_slavery_law = { #Realm
	default = gpt_slavery_law_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_slavery_law_0 = {
		modifier = {
			build_speed = 1
			build_gold_cost = 0.2
			dread_baseline_add = -10
			different_faith_opinion = 10
			zealot_opinion = 10
			monthly_county_control_growth_add = 0.2
			tyranny_gain_mult = -0.2
			glory_hound_opinion = -10
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}

		can_pass = {
			has_trait = compassionate
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_slavery_law_1
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_slavery_law_1 = {
		modifier = {
			build_speed = 0.5
			build_gold_cost = 0.1
			dread_baseline_add = -5
			different_faith_opinion = 5
			zealot_opinion = 5
			monthly_county_control_growth_add = 0.1
			tyranny_gain_mult = -0.1
			glory_hound_opinion = -5
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}

		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_slavery_law_3 }
			NOT = { has_realm_law = gpt_slavery_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_slavery_law_2 = {
		modifier = { 
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}
		
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_slavery_law_0 }
			NOT = { has_realm_law = gpt_slavery_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_slavery_law_3 = {
		modifier = {
			build_gold_cost = -0.1
			domicile_build_gold_cost = -0.1
			holding_build_gold_cost = -0.15
			dread_baseline_add = 5
			monthly_county_control_growth_add = -0.2
			tyranny_gain_mult = 0.2
			different_faith_opinion = -15
			glory_hound_opinion = 5
			zealot_opinion = -5
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}
	
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_slavery_law_1 }
			NOT = { has_realm_law = gpt_slavery_law_0 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_slavery_law_4 = {
		modifier = {
			build_gold_cost = -0.2
			domicile_build_gold_cost = -0.2
			holding_build_gold_cost = -0.3
			dread_baseline_add = 10
			monthly_county_control_growth_add = -0.4
			tyranny_gain_mult = 0.4
			different_faith_opinion = -30
			glory_hound_opinion = 10
			zealot_opinion = -10
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}
	
		can_pass = {
			has_trait = callous
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_slavery_law_3
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
}

gpt_urban_law = { #Realm
	default = gpt_urban_law_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_urban_law_0 = {
		modifier = {
			monthly_prestige_gain_mult = -0.20
			monthly_dynasty_prestige_mult = -0.20
			build_gold_cost = -0.20
			title_creation_cost_mult = -0.20
			parochial_opinion = 20
			minority_opinion = 10
			glory_hound_opinion = -10
			courtly_opinion = -20
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
			gptl_civilized_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
			gptl_civilized_trigger = yes
		}

		can_pass = {
			has_trait = humble
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_urban_law_1
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_urban_law_1 = {
		modifier = {
			monthly_prestige_gain_mult = -0.10
			monthly_dynasty_prestige_mult = -0.10
			build_gold_cost = -0.10
			title_creation_cost_mult = -0.10
			parochial_opinion = 10
			minority_opinion = 5
			glory_hound_opinion = -5
			courtly_opinion = -10
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
			gptl_civilized_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
			gptl_civilized_trigger = yes
		}

		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_urban_law_3 }
			NOT = { has_realm_law = gpt_urban_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_urban_law_2 = {
		modifier = { 
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
			gptl_civilized_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
			gptl_civilized_trigger = yes
		}
		
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_urban_law_0 }
			NOT = { has_realm_law = gpt_urban_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_urban_law_3 = {
		modifier = {
			monthly_prestige_gain_mult = 0.1
			monthly_dynasty_prestige_mult = 0.1
			build_gold_cost = 0.15
			title_creation_cost_mult = 0.1
			parochial_opinion = -10
			minority_opinion = -5
			glory_hound_opinion = 5
			courtly_opinion = 10
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
			gptl_civilized_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
			gptl_civilized_trigger = yes
		}
	
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_urban_law_1 }
			NOT = { has_realm_law = gpt_urban_law_0 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_urban_law_4 = {
		modifier = {
			monthly_prestige_gain_mult = 0.20
			monthly_dynasty_prestige_mult = 0.20
			build_gold_cost = 0.3
			title_creation_cost_mult = 0.20
			parochial_opinion = -20
			minority_opinion = -10
			glory_hound_opinion = 10
			courtly_opinion = 20
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
			gptl_civilized_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
			gptl_civilized_trigger = yes
		}
	
		can_pass = {
			has_trait = arrogant
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_urban_law_3
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
}

gpt_officers_law = { #Realm
	default = gpt_officers_law_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_officers_law_0 = {
		modifier = {
			character_capital_county_monthly_development_growth_add = 0.4
			monthly_lifestyle_xp_gain_mult = 0.2
			monthly_county_control_growth_factor = 0.2
			courtly_opinion = -30
			glory_hound_opinion = -20
			zealot_opinion = -20
			parochial_opinion = -10
			barons_and_minor_landholders_opinion = -30
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}

		can_pass = {
			has_trait = just
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_officers_law_1
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_officers_law_1 = {
		modifier = {
			character_capital_county_monthly_development_growth_add = 0.2
			monthly_lifestyle_xp_gain_mult = 0.10
			monthly_county_control_growth_factor = 0.1
			courtly_opinion = -15
			glory_hound_opinion = -10
			zealot_opinion = -10
			parochial_opinion = -5
			barons_and_minor_landholders_opinion = -15
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}

		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_officers_law_3 }
			NOT = { has_realm_law = gpt_officers_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_officers_law_2 = {
		modifier = {
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}
		
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_officers_law_0 }
			NOT = { has_realm_law = gpt_officers_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_officers_law_3 = {
		modifier = {
			character_capital_county_monthly_development_growth_add = -0.2
			monthly_lifestyle_xp_gain_mult = -0.10
			monthly_county_control_growth_factor = -0.1
			courtly_opinion = 15
			glory_hound_opinion = 10
			zealot_opinion = 10
			parochial_opinion = 5
			barons_and_minor_landholders_opinion = 15
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}
	
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_officers_law_1 }
			NOT = { has_realm_law = gpt_officers_law_0 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_officers_law_4 = {
		modifier = {
			character_capital_county_monthly_development_growth_add = -0.4
			monthly_lifestyle_xp_gain_mult = -0.2
			monthly_county_control_growth_factor = -0.2
			courtly_opinion = 30
			glory_hound_opinion = 20
			zealot_opinion = 20
			parochial_opinion = 10
			barons_and_minor_landholders_opinion = 30
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}
	
		can_pass = {
			has_trait = arbitrary
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_officers_law_3
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
}

gpt_formality_law = { #Social
	default = gpt_formality_law_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_formality_law_0 = {
		modifier = {
			county_opinion_add = 20
			monthly_piety_gain_per_legitimacy_level_add = 0.5
			happy_powerful_vassal_tax_contribution_mult = -0.20
			happy_powerful_vassal_levy_contribution_mult = -0.20
			powerful_vassal_opinion = -10
			clergy_opinion = -10
			barons_and_minor_landholders_opinion = 20
			minority_opinion = 20
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}

		can_pass = {
			has_trait = honest
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_formality_law_1
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_formality_law_1 = {
		modifier = {
			county_opinion_add = 10
			monthly_piety_gain_per_legitimacy_level_add = 0.25
			happy_powerful_vassal_tax_contribution_mult = -0.1
			happy_powerful_vassal_levy_contribution_mult = -0.1
			powerful_vassal_opinion = -5
			clergy_opinion = -5
			barons_and_minor_landholders_opinion = 10
			minority_opinion = 10
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}

		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_formality_law_3 }
			NOT = { has_realm_law = gpt_formality_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_formality_law_2 = {
		modifier = { 
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}
		
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_formality_law_0 }
			NOT = { has_realm_law = gpt_formality_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_formality_law_3 = {
		modifier = {
			county_opinion_add = -10
			monthly_piety_gain_per_legitimacy_level_add = -0.25
			happy_powerful_vassal_tax_contribution_mult = 0.1
			happy_powerful_vassal_levy_contribution_mult = 0.1
			powerful_vassal_opinion = 5
			clergy_opinion = 5
			barons_and_minor_landholders_opinion = -10
			minority_opinion = -10
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}
	
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_formality_law_1 }
			NOT = { has_realm_law = gpt_formality_law_0 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_formality_law_4 = {
		modifier = {
			county_opinion_add = -20
			monthly_piety_gain_per_legitimacy_level_add = -0.5
			happy_powerful_vassal_tax_contribution_mult = 0.20
			happy_powerful_vassal_levy_contribution_mult = 0.20
			powerful_vassal_opinion = 10
			clergy_opinion = 10
			barons_and_minor_landholders_opinion = -20
			minority_opinion = -20
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}
	
		can_pass = {
			has_trait = deceitful
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_formality_law_3
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
}

gpt_punishment_law = { #Social
	default = gpt_punishment_law_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_punishment_law_0 = {
		modifier = {
			courtier_and_guest_opinion = 20
			dread_baseline_add = -30
			army_toughness_mult = -0.1
			army_damage_mult = -0.1
			county_opinion_add = 20
			development_growth_factor = 0.3
			zealot_opinion = 10
			glory_hound_opinion = -10
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}

		can_pass = {
			has_trait = forgiving
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_punishment_law_1
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_punishment_law_1 = {
		modifier = {
			courtier_and_guest_opinion = 10
			dread_baseline_add = -15
			army_toughness_mult = -0.05
			army_damage_mult = -0.05
			county_opinion_add = 10
			development_growth_factor = 0.15
			zealot_opinion = 5
			glory_hound_opinion = -5
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}

		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_punishment_law_3 }
			NOT = { has_realm_law = gpt_punishment_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_punishment_law_2 = {
		modifier = { 
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}
		
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_punishment_law_0 }
			NOT = { has_realm_law = gpt_punishment_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_punishment_law_3 = {
		modifier = {
			courtier_and_guest_opinion = -10
			dread_baseline_add = 15
			army_toughness_mult = 0.05
			army_damage_mult = 0.05
			county_opinion_add = -10
			development_growth_factor = -0.15
			zealot_opinion = -5
			glory_hound_opinion = 5
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}
	
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_punishment_law_1 }
			NOT = { has_realm_law = gpt_punishment_law_0 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_punishment_law_4 = {
		modifier = {
			courtier_and_guest_opinion = -20
			dread_baseline_add = 30
			army_toughness_mult = 0.1
			army_damage_mult = 0.1
			county_opinion_add = -20
			development_growth_factor = -0.3
			zealot_opinion = -10
			glory_hound_opinion = 10
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}
	
		can_pass = {
			has_trait = vengeful
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_punishment_law_3
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
}

gpt_moral_law = { #Social
	default = gpt_moral_law_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_moral_law_0 = {
		modifier = {
			courting_scheme_phase_duration_add = -70
			elope_scheme_phase_duration_add = -70
			seduce_scheme_phase_duration_add = -70
			mercenary_hire_cost_mult = -0.4
			epidemic_resistance = -20
			general_opinion = -20
			zealot_opinion = -10
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_pass = {
			has_trait = lustful
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_moral_law_1
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_moral_law_1 = {
		modifier = {
			courting_scheme_phase_duration_add = -35
			elope_scheme_phase_duration_add = -35
			seduce_scheme_phase_duration_add = -35
			mercenary_hire_cost_mult = -0.2
			epidemic_resistance = -10
			general_opinion = -10
			zealot_opinion = -5
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_moral_law_3 }
			NOT = { has_realm_law = gpt_moral_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_moral_law_2 = {
		modifier = {
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
			gptl_organized_religion_trigger = yes
		}
		
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_moral_law_0 }
			NOT = { has_realm_law = gpt_moral_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_moral_law_3 = {
		modifier = { 
			courting_scheme_phase_duration_add = 35
			elope_scheme_phase_duration_add = 35
			seduce_scheme_phase_duration_add = 35
			mercenary_hire_cost_mult = 0.2
			epidemic_resistance = 10
			general_opinion = 10
			zealot_opinion = 5
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
			gptl_organized_religion_trigger = yes
		}
	
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_moral_law_1 }
			NOT = { has_realm_law = gpt_moral_law_0 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_moral_law_4 = {
		modifier = {
			courting_scheme_phase_duration_add = 70
			elope_scheme_phase_duration_add = 70
			seduce_scheme_phase_duration_add = 70
			mercenary_hire_cost_mult = 0.4
			epidemic_resistance = 20
			general_opinion = 20
			zealot_opinion = 10
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
			gptl_organized_religion_trigger = yes
		}
	
		can_pass = {
			has_trait = chaste
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_moral_law_3
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
}

gpt_women_law = { #Social
	default = gpt_women_law_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_women_law_0 = {
		modifier = {
			opinion_of_female_rulers = -20
			opinion_of_male_rulers = 10
			attraction_opinion = -10
			stress_loss_mult = 0.2
			fertility = 0.2
			zealot_opinion = 20
			parochial_opinion = -10
			development_growth = -0.1
			cultural_head_fascination_mult = -0.2
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
			gptl_male_dominated_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
			gptl_male_dominated_trigger = yes
		}

		can_pass = {
			has_trait = sadistic
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_women_law_1
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_women_law_1 = {
		modifier = {
			opinion_of_female_rulers = -10
			opinion_of_male_rulers = 5
			attraction_opinion = -5
			stress_loss_mult = 0.1
			fertility = 0.1
			zealot_opinion = 10
			parochial_opinion = -5
			development_growth = -0.05
			cultural_head_fascination_mult = -0.1
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
			gptl_male_dominated_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
			gptl_male_dominated_trigger = yes
		}

		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_women_law_3 }
			NOT = { has_realm_law = gpt_women_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_women_law_2 = {
		modifier = { 
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
			gptl_male_dominated_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
			gptl_male_dominated_trigger = yes
		}
		
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_women_law_0 }
			NOT = { has_realm_law = gpt_women_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_women_law_3 = {
		modifier = {
			opinion_of_female_rulers = 5
			opinion_of_male_rulers = -5
			attraction_opinion = 5
			stress_loss_mult = -0.1
			fertility = -0.1
			zealot_opinion = -10
			parochial_opinion = 5
			development_growth = 0.1
			cultural_head_fascination_mult = 0.1
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
			gptl_male_dominated_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
			gptl_male_dominated_trigger = yes
		}
	
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_women_law_1 }
			NOT = { has_realm_law = gpt_women_law_0 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_women_law_4 = {
		modifier = {
			opinion_of_female_rulers = 10
			opinion_of_male_rulers = -10
			attraction_opinion = 10
			stress_loss_mult = -0.2
			fertility = -0.2
			zealot_opinion = -20
			parochial_opinion = 10
			development_growth = 0.2
			cultural_head_fascination_mult = 0.2
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
			gptl_male_dominated_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
			gptl_male_dominated_trigger = yes
		}
	
		can_pass = {
			has_trait = eccentric
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_women_law_3
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
}

gpt_festivity_law = {  #Social
	default = gpt_festivity_law_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_festivity_law_0 = {
		modifier = {
			tyranny_loss_mult = -0.4
			short_reign_duration_mult = 0.4
			long_reign_bonus_mult = -0.4
			legitimacy_loss_mult = 0.4
			dread_per_tyranny_add = 2
			monthly_income_mult = 0.10
			health = 0.4
			enemy_hostile_scheme_success_chance_add = -10
			owned_legend_spread_mult = -0.4
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}

		can_pass = {
			has_trait = temperate
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_festivity_law_1
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_festivity_law_1 = {
		modifier = {
			tyranny_loss_mult = -0.2
			short_reign_duration_mult = 0.2
			long_reign_bonus_mult = -0.2
			legitimacy_loss_mult = 0.2
			dread_per_tyranny_add = 1
			monthly_income_mult = 0.05
			health = 0.2
			enemy_hostile_scheme_success_chance_add = -5
			owned_legend_spread_mult = -0.2
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}

		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_festivity_law_3 }
			NOT = { has_realm_law = gpt_festivity_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_festivity_law_2 = {
		modifier = { 
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}
		
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_festivity_law_0 }
			NOT = { has_realm_law = gpt_festivity_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_festivity_law_3 = {
		modifier = {
			tyranny_loss_mult = 0.2
			short_reign_duration_mult = -0.2
			long_reign_bonus_mult = 0.2
			legitimacy_loss_mult = -0.2
			dread_per_tyranny_add = -1
			monthly_income_mult = -0.05
			health = -0.2
			enemy_hostile_scheme_success_chance_add = 5
			owned_legend_spread_mult = 0.2
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}
	
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_festivity_law_1 }
			NOT = { has_realm_law = gpt_festivity_law_0 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_festivity_law_4 = {
		modifier = {
			tyranny_loss_mult = 0.4
			short_reign_duration_mult = -0.4
			long_reign_bonus_mult = 0.4
			legitimacy_loss_mult = -0.4
			dread_per_tyranny_add = -2
			monthly_income_mult = -0.1
			health = -0.4
			enemy_hostile_scheme_success_chance_add = 10
			owned_legend_spread_mult = 0.4
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}
	
		can_pass = {
			has_trait = gluttonous
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_festivity_law_3
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
}

gpt_command_law = { #Military
	default = gpt_command_law_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_command_law_0 = {
		modifier = {
			raid_speed = 0.2
			movement_speed = 0.2
			hard_casualty_modifier = 0.2
			counter_efficiency = -0.2
			attacker_advantage = 8
			defender_advantage = -8
			siege_phase_time = 0.2
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}

		can_pass = {
			has_trait = fickle
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_command_law_1
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_command_law_1 = {
		modifier = {
			raid_speed = 0.1
			movement_speed = 0.1
			hard_casualty_modifier = 0.1
			counter_efficiency = -0.1
			attacker_advantage = 4
			defender_advantage = -4
			siege_phase_time = 0.1
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}

		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_command_law_3 }
			NOT = { has_realm_law = gpt_command_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_command_law_2 = {
		modifier = { 
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}
		
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_command_law_0 }
			NOT = { has_realm_law = gpt_command_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_command_law_3 = {
		modifier = {
			raid_speed = -0.1
			movement_speed = -0.1
			hard_casualty_modifier = -0.1
			counter_efficiency = 0.1
			attacker_advantage = -4
			defender_advantage = 4
			siege_phase_time = -0.1
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}
	
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_command_law_1 }
			NOT = { has_realm_law = gpt_command_law_0 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_command_law_4 = {
		modifier = {
			raid_speed = -0.2
			movement_speed = -0.2
			hard_casualty_modifier = -0.2
			counter_efficiency = 0.2
			attacker_advantage = -8
			defender_advantage = 8
			siege_phase_time = -0.2
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}
	
		can_pass = {
			has_trait = stubborn
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_command_law_3
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
}

gpt_security_law = { #Military
	default = gpt_security_law_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_security_law_0 = {
		modifier = {
			character_travel_safety = -10
			character_travel_speed_mult = -0.2
			garrison_size = -0.4
			levy_reinforcement_rate = 0.6
			levy_size = 0.3
			glory_hound_opinion = 20
			parochial_opinion = -10
			barons_and_minor_landholders_opinion = -10
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}

		can_pass = {
			has_trait = brave
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_security_law_1
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_security_law_1 = {
		modifier = {
			character_travel_safety = -5
			character_travel_speed_mult = -0.10
			garrison_size = -0.2
			levy_reinforcement_rate = 0.3
			levy_size = 0.15
			glory_hound_opinion = 10
			parochial_opinion = -5
			barons_and_minor_landholders_opinion = -5
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}

		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_security_law_3 }
			NOT = { has_realm_law = gpt_security_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_security_law_2 = {
		modifier = { 
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}
		
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_security_law_0 }
			NOT = { has_realm_law = gpt_security_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_security_law_3 = {
		modifier = {
			character_travel_safety = 5
			character_travel_speed_mult = 0.10
			garrison_size = 0.2
			levy_reinforcement_rate = -0.3
			levy_size = -0.15
			glory_hound_opinion = -10
			parochial_opinion = 5
			barons_and_minor_landholders_opinion = 5
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}
	
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_security_law_1 }
			NOT = { has_realm_law = gpt_security_law_0 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_security_law_4 = {
		modifier = {
			character_travel_safety = 10
			character_travel_speed_mult = 0.20
			garrison_size = 0.4
			levy_reinforcement_rate = -0.6
			levy_size = -0.3
			glory_hound_opinion = -20
			parochial_opinion = 10
			barons_and_minor_landholders_opinion = 10
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}
	
		can_pass = {
			has_trait = craven
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_security_law_3
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
}

gpt_vigilance_law = { #Military
	default = gpt_vigilance_law_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_vigilance_law_0 = {
		modifier = {
			enemy_hostile_scheme_success_chance_add = 10
			scheme_discovery_chance_mult = -0.2
			befriend_scheme_phase_duration_add = -70
			sway_scheme_phase_duration_add = -50
			holy_order_hire_cost_mult = -0.4
			courtly_opinion = -10
			zealot_opinion = -10
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}

		can_pass = {
			has_trait = trusting
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_vigilance_law_1
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_vigilance_law_1 = {
		modifier = {
			enemy_hostile_scheme_success_chance_add = 5
			scheme_discovery_chance_mult = -0.1
			befriend_scheme_phase_duration_add = -35
			sway_scheme_phase_duration_add = -25
			holy_order_hire_cost_mult = -0.2
			courtly_opinion = -5
			zealot_opinion = -5
		}

		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}

		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_vigilance_law_3 }
			NOT = { has_realm_law = gpt_vigilance_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_vigilance_law_2 = {
		modifier = { 
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}
		
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_vigilance_law_0 }
			NOT = { has_realm_law = gpt_vigilance_law_4 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_vigilance_law_3 = {
		modifier = {
			enemy_hostile_scheme_success_chance_add = -5
			scheme_discovery_chance_mult = 0.1
			befriend_scheme_phase_duration_add = 35
			sway_scheme_phase_duration_add = 25
			holy_order_hire_cost_mult = 0.2
			courtly_opinion = 5
			zealot_opinion = 5
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}
	
		can_pass = {
			gptl_basic_pass_trigger = yes
			NOT = { has_realm_law = gpt_vigilance_law_1 }
			NOT = { has_realm_law = gpt_vigilance_law_0 }
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 25
				multiply = highest_held_title_tier
				add = -25
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_vigilance_law_4 = {
		modifier = {
			enemy_hostile_scheme_success_chance_add = -10
			scheme_discovery_chance_mult = 0.2
			befriend_scheme_phase_duration_add = 70
			sway_scheme_phase_duration_add = 50
			holy_order_hire_cost_mult = 0.4
			courtly_opinion = 10
			zealot_opinion = 10
		}
		
		can_keep = { 
			gptl_basic_liege_trigger = yes
		}

		can_have = { 
			gptl_basic_liege_trigger = yes
		}
	
		can_pass = {
			has_trait = paranoid
			gptl_basic_pass_trigger = yes
			has_realm_law = gpt_vigilance_law_3
			custom_tooltip = {
				subject = root
				text = "has_gpt_newlaws_cooldown_1"
				NOT = { has_character_flag = gptl_pass_cooldown }
			}
		}
		
		pass_cost = { 
			piety = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
			prestige = {
				value = 75
				multiply = highest_held_title_tier
				add = -75
				if = {
					limit = {
						NOT = { has_realm_law_flag = max_authority_level }
					}
				 #	multiply = 4
				}
			}
		}
		
		on_pass = {
			add_character_flag = { flag = gptl_pass_cooldown years = @gpt_cooldown }
		}

		ai_will_do = {
			value = -100
		}
	}
}




gpt_religious_law_vassal = {
	default = gpt_religious_law_vassal_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_religious_law_vassal_0 = {
		modifier = {
			clergy_opinion = 10
			zealot_opinion = 10
			courtly_opinion = -10
			legitimacy_gain_mult = -0.2
			monthly_prestige_gain_mult = -0.2
			monthly_piety_gain_mult = 0.2
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		on_pass = {
		}

		pass_cost = { 
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_religious_law_vassal_1 = {
		modifier = {
			clergy_opinion = 5
			zealot_opinion = 5
			courtly_opinion = -5
			legitimacy_gain_mult = -0.1
			monthly_prestige_gain_mult = -0.1
			monthly_piety_gain_mult = 0.1
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_religious_law_vassal_2 = {
		modifier = { 
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
			gptl_organized_religion_trigger = yes
		}
		
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_religious_law_vassal_3 = {
		modifier = { 
			clergy_opinion = -30
			zealot_opinion = -10
			courtly_opinion = 5
			legitimacy_gain_mult = 0.25
			monthly_prestige_gain_mult = 0.1
			monthly_piety_gain_mult = -0.1
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
			gptl_organized_religion_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_religious_law_vassal_4 = {
		modifier = { 
			clergy_opinion = -60
			zealot_opinion = -20
			courtly_opinion = 10
			legitimacy_gain_mult = 0.5
			monthly_prestige_gain_mult = 0.2
			monthly_piety_gain_mult = -0.2
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
			gptl_organized_religion_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
}

gpt_diplomacy_law_vassal = {
	default = gpt_diplomacy_law_vassal_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_diplomacy_law_vassal_0 = {
		modifier = {
			diplomatic_range_mult = -0.2
			cultural_head_acceptance_gain_mult = -0.2
			direct_vassal_opinion = 20
			fellow_vassal_opinion = 20
			liege_opinion = 20
			independent_ruler_opinion = -20
			minority_opinion = -20
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		on_pass = {
		}

		pass_cost = { 
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_diplomacy_law_vassal_1 = {
		modifier = {
			diplomatic_range_mult = -0.1
			cultural_head_acceptance_gain_mult = -0.1
			direct_vassal_opinion = 10
			fellow_vassal_opinion = 10
			liege_opinion = 10
			independent_ruler_opinion = -10
			minority_opinion = -10
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_diplomacy_law_vassal_2 = {
		modifier = { 
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}
		
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_diplomacy_law_vassal_3 = {
		modifier = { 
			diplomatic_range_mult = 0.1
			cultural_head_acceptance_gain_mult = 0.1
			direct_vassal_opinion = -10
			fellow_vassal_opinion = -10
			liege_opinion = -10
			independent_ruler_opinion = 10
			minority_opinion = 10
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_diplomacy_law_vassal_4 = {
		modifier = { 
			diplomatic_range_mult = 0.2
			cultural_head_acceptance_gain_mult = 0.2
			direct_vassal_opinion = -20
			fellow_vassal_opinion = -20
			liege_opinion = -20
			independent_ruler_opinion = 20
			minority_opinion = 20
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
}

gpt_taxation_law_vassal = {
	default = gpt_taxation_law_vassal_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_taxation_law_vassal_0 = {
		modifier = {
			domain_tax_mult = -0.3
			piety_level_impact_mult = 0.3
			county_opinion_add = 30
			stress_gain_mult = -0.2
			barons_and_minor_landholders_opinion = 20
			glory_hound_opinion = -10
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
			gptl_civilized_or_nomad_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
			gptl_civilized_or_nomad_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		on_pass = {
		}

		pass_cost = { 
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_taxation_law_vassal_1 = {
		modifier = {
			domain_tax_mult = -0.15
			piety_level_impact_mult = 0.15
			county_opinion_add = 15
			stress_gain_mult = -0.1
			barons_and_minor_landholders_opinion = 10
			glory_hound_opinion = -5
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
			gptl_civilized_or_nomad_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
			gptl_civilized_or_nomad_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_taxation_law_vassal_2 = {
		modifier = { 
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
			gptl_civilized_or_nomad_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
			gptl_civilized_or_nomad_trigger = yes
		}
		
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_taxation_law_vassal_3 = {
		modifier = { 
			domain_tax_mult = 0.1
			men_at_arms_maintenance = -0.1
			men_at_arms_recruitment_cost = -0.1
			county_opinion_add = -20
			stress_gain_mult = 0.1
			barons_and_minor_landholders_opinion = -10
			glory_hound_opinion = 5
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
			gptl_civilized_or_nomad_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
			gptl_civilized_or_nomad_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_taxation_law_vassal_4 = {
		modifier = { 
			domain_tax_mult = 0.2
			men_at_arms_maintenance = -0.2
			men_at_arms_recruitment_cost = -0.2
			county_opinion_add = -40
			stress_gain_mult = 0.2
			barons_and_minor_landholders_opinion = -20
			glory_hound_opinion = 10
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
			gptl_civilized_or_nomad_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
			gptl_civilized_or_nomad_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
}

gpt_slavery_law_vassal = {
	default = gpt_slavery_law_vassal_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_slavery_law_vassal_0 = {
		modifier = {
			build_speed = 1
			build_gold_cost = 0.2
			dread_baseline_add = -10
			different_faith_opinion = 10
			zealot_opinion = 10
			monthly_county_control_growth_add = 0.2
			tyranny_gain_mult = -0.2
			glory_hound_opinion = -10
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		on_pass = {
		}

		pass_cost = { 
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_slavery_law_vassal_1 = {
		modifier = {
			build_speed = 0.5
			build_gold_cost = 0.1
			dread_baseline_add = -5
			different_faith_opinion = 5
			zealot_opinion = 5
			monthly_county_control_growth_add = 0.1
			tyranny_gain_mult = -0.1
			glory_hound_opinion = -5
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_slavery_law_vassal_2 = {
		modifier = { 
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}
		
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_slavery_law_vassal_3 = {
		modifier = { 
			build_gold_cost = -0.1
			domicile_build_gold_cost = -0.1
			holding_build_gold_cost = -0.15
			dread_baseline_add = 5
			monthly_county_control_growth_add = -0.2
			tyranny_gain_mult = 0.2
			different_faith_opinion = -15
			glory_hound_opinion = 5
			zealot_opinion = -5
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_slavery_law_vassal_4 = {
		modifier = { 
			build_gold_cost = -0.2
			domicile_build_gold_cost = -0.2
			holding_build_gold_cost = -0.3
			dread_baseline_add = 10
			monthly_county_control_growth_add = -0.4
			tyranny_gain_mult = 0.4
			different_faith_opinion = -30
			glory_hound_opinion = 10
			zealot_opinion = -10
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
}

gpt_urban_law_vassal = {
	default = gpt_urban_law_vassal_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_urban_law_vassal_0 = {
		modifier = {
			monthly_prestige_gain_mult = -0.20
			monthly_dynasty_prestige = -0.5
			build_gold_cost = -0.20
			title_creation_cost_mult = -0.20
			parochial_opinion = 20
			minority_opinion = 10
			glory_hound_opinion = -10
			courtly_opinion = -20
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
			gptl_civilized_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
			gptl_civilized_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		on_pass = {
		}

		pass_cost = { 
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_urban_law_vassal_1 = {
		modifier = {
			monthly_prestige_gain_mult = -0.1
			monthly_dynasty_prestige = -0.25
			build_gold_cost = -0.1
			title_creation_cost_mult = -0.1
			parochial_opinion = 10
			minority_opinion = 5
			glory_hound_opinion = -5
			courtly_opinion = -10
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
			gptl_civilized_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
			gptl_civilized_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_urban_law_vassal_2 = {
		modifier = { 
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
			gptl_civilized_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
			gptl_civilized_trigger = yes
		}
		
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_urban_law_vassal_3 = {
		modifier = { 
			monthly_prestige_gain_mult = 0.1
			monthly_dynasty_prestige = 0.25
			build_gold_cost = 0.15
			title_creation_cost_mult = 0.1
			parochial_opinion = -10
			minority_opinion = -5
			glory_hound_opinion = 5
			courtly_opinion = 10
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
			gptl_civilized_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
			gptl_civilized_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_urban_law_vassal_4 = {
		modifier = {
			monthly_prestige_gain_mult = 0.20
			monthly_dynasty_prestige = 0.5
			build_gold_cost = 0.30
			title_creation_cost_mult = 0.20
			parochial_opinion = -20
			minority_opinion = -10
			glory_hound_opinion = 10
			courtly_opinion = 20
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
			gptl_civilized_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
			gptl_civilized_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
}

gpt_officers_law_vassal = {
	default = gpt_officers_law_vassal_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_officers_law_vassal_0 = {
		modifier = {
			character_capital_county_monthly_development_growth_add = 0.4
			monthly_lifestyle_xp_gain_mult = 0.2
			monthly_county_control_growth_factor = 0.2
			courtly_opinion = -30
			glory_hound_opinion = -20
			zealot_opinion = -20
			parochial_opinion = -10
			barons_and_minor_landholders_opinion = -30
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		on_pass = {
		}

		pass_cost = { 
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_officers_law_vassal_1 = {
		modifier = {
			character_capital_county_monthly_development_growth_add = 0.2
			monthly_lifestyle_xp_gain_mult = 0.10
			monthly_county_control_growth_factor = 0.1
			courtly_opinion = -15
			glory_hound_opinion = -10
			zealot_opinion = -10
			parochial_opinion = -5
			barons_and_minor_landholders_opinion = -15
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_officers_law_vassal_2 = {
		modifier = { 
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}
		
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_officers_law_vassal_3 = {
		modifier = { 
			character_capital_county_monthly_development_growth_add = -0.2
			monthly_lifestyle_xp_gain_mult = -0.10
			monthly_county_control_growth_factor = -0.1
			courtly_opinion = 15
			glory_hound_opinion = 10
			zealot_opinion = 10
			parochial_opinion = 5
			barons_and_minor_landholders_opinion = 15
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_officers_law_vassal_4 = {
		modifier = { 
			character_capital_county_monthly_development_growth_add = -0.4
			monthly_lifestyle_xp_gain_mult = -0.2
			monthly_county_control_growth_factor = -0.2
			courtly_opinion = 30
			glory_hound_opinion = 20
			zealot_opinion = 20
			parochial_opinion = 10
			barons_and_minor_landholders_opinion = 30
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
}

gpt_formality_law_vassal = {
	default = gpt_formality_law_vassal_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_formality_law_vassal_0 = {
		modifier = {
			county_opinion_add = 20
			monthly_piety_gain_per_legitimacy_level_add = 0.5
			happy_powerful_vassal_tax_contribution_mult = -0.20
			happy_powerful_vassal_levy_contribution_mult = -0.20
			powerful_vassal_opinion = -10
			clergy_opinion = -10
			barons_and_minor_landholders_opinion = 20
			minority_opinion = 20
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		on_pass = {
		}

		pass_cost = { 
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_formality_law_vassal_1 = {
		modifier = {
			county_opinion_add = 10
			monthly_piety_gain_per_legitimacy_level_add = 0.25
			happy_powerful_vassal_tax_contribution_mult = -0.1
			happy_powerful_vassal_levy_contribution_mult = -0.1
			powerful_vassal_opinion = -5
			clergy_opinion = -5
			barons_and_minor_landholders_opinion = 10
			minority_opinion = 10
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_formality_law_vassal_2 = {
		modifier = { 
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}
		
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_formality_law_vassal_3 = {
		modifier = { 
			county_opinion_add = -10
			monthly_piety_gain_per_legitimacy_level_add = -0.25
			happy_powerful_vassal_tax_contribution_mult = 0.1
			happy_powerful_vassal_levy_contribution_mult = 0.1
			powerful_vassal_opinion = 5
			clergy_opinion = 5
			barons_and_minor_landholders_opinion = -10
			minority_opinion = -10
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_formality_law_vassal_4 = {
		modifier = {
			county_opinion_add = -20
			monthly_piety_gain_per_legitimacy_level_add = -0.5
			happy_powerful_vassal_tax_contribution_mult = 0.20
			happy_powerful_vassal_levy_contribution_mult = 0.20
			powerful_vassal_opinion = 10
			clergy_opinion = 10
			barons_and_minor_landholders_opinion = -20
			minority_opinion = -20
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
}

gpt_punishment_law_vassal = {
	default = gpt_punishment_law_vassal_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_punishment_law_vassal_0 = {
		modifier = {
			courtier_and_guest_opinion = 20
			dread_baseline_add = -30
			army_toughness_mult = -0.1
			army_damage_mult = -0.1
			county_opinion_add = 20
			development_growth_factor = 0.3
			zealot_opinion = 10
			glory_hound_opinion = -10
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		on_pass = {
		}

		pass_cost = { 
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_punishment_law_vassal_1 = {
		modifier = {
			courtier_and_guest_opinion = 10
			dread_baseline_add = -15
			army_toughness_mult = -0.05
			army_damage_mult = -0.05
			county_opinion_add = 10
			development_growth_factor = 0.15
			zealot_opinion = 5
			glory_hound_opinion = -5
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_punishment_law_vassal_2 = {
		modifier = { 
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}
		
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_punishment_law_vassal_3 = {
		modifier = { 
			courtier_and_guest_opinion = -10
			dread_baseline_add = 15
			army_toughness_mult = 0.05
			army_damage_mult = 0.05
			county_opinion_add = -10
			development_growth_factor = -0.15
			zealot_opinion = -5
			glory_hound_opinion = 5
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_punishment_law_vassal_4 = {
		modifier = { 
			courtier_and_guest_opinion = -20
			dread_baseline_add = 30
			army_toughness_mult = 0.1
			army_damage_mult = 0.1
			county_opinion_add = -20
			development_growth_factor = -0.3
			zealot_opinion = -10
			glory_hound_opinion = 10
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
}

gpt_moral_law_vassal = {
	default = gpt_moral_law_vassal_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_moral_law_vassal_0 = {
		modifier = {
			courting_scheme_phase_duration_add = -70
			elope_scheme_phase_duration_add = -70
			seduce_scheme_phase_duration_add = -70
			mercenary_hire_cost_mult = -0.4
			epidemic_resistance = -20
			general_opinion = -20
			zealot_opinion = -10
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		on_pass = {
		}

		pass_cost = { 
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_moral_law_vassal_1 = {
		modifier = {
			courting_scheme_phase_duration_add = -35
			elope_scheme_phase_duration_add = -35
			seduce_scheme_phase_duration_add = -35
			mercenary_hire_cost_mult = -0.2
			epidemic_resistance = -10
			general_opinion = -10
			zealot_opinion = -5
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_moral_law_vassal_2 = {
		modifier = { 
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
			gptl_organized_religion_trigger = yes
		}
		
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_moral_law_vassal_3 = {
		modifier = { 
			courting_scheme_phase_duration_add = 35
			elope_scheme_phase_duration_add = 35
			seduce_scheme_phase_duration_add = 35
			mercenary_hire_cost_mult = 0.2
			epidemic_resistance = 10
			general_opinion = 10
			zealot_opinion = 5
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
			gptl_organized_religion_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_moral_law_vassal_4 = {
		modifier = { 
			courting_scheme_phase_duration_add = 70
			elope_scheme_phase_duration_add = 70
			seduce_scheme_phase_duration_add = 70
			mercenary_hire_cost_mult = 0.4
			epidemic_resistance = 20
			general_opinion = 20
			zealot_opinion = 10
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
			gptl_organized_religion_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
			gptl_organized_religion_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
}

gpt_women_law_vassal = {
	default = gpt_women_law_vassal_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_women_law_vassal_0 = {
		modifier = {
			opinion_of_female_rulers = -20
			opinion_of_male_rulers = 10
			attraction_opinion = -10
			stress_loss_mult = 0.2
			fertility = 0.2
			zealot_opinion = 20
			parochial_opinion = -10
			development_growth = -0.1
			cultural_head_fascination_mult = -0.2
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
			gptl_male_dominated_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
			gptl_male_dominated_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		on_pass = {
		}

		pass_cost = { 
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_women_law_vassal_1 = {
		modifier = {
			opinion_of_female_rulers = -10
			opinion_of_male_rulers = 5
			attraction_opinion = -5
			stress_loss_mult = 0.1
			fertility = 0.1
			zealot_opinion = 10
			parochial_opinion = -5
			development_growth = -0.05
			cultural_head_fascination_mult = -0.1
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
			gptl_male_dominated_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
			gptl_male_dominated_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_women_law_vassal_2 = {
		modifier = { 
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
			gptl_male_dominated_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
			gptl_male_dominated_trigger = yes
		}
		
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_women_law_vassal_3 = {
		modifier = { 
			opinion_of_female_rulers = 5
			opinion_of_male_rulers = -5
			attraction_opinion = 5
			stress_loss_mult = -0.1
			fertility = -0.1
			zealot_opinion = -10
			parochial_opinion = 5
			development_growth = 0.1
			cultural_head_fascination_mult = 0.1
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
			gptl_male_dominated_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
			gptl_male_dominated_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_women_law_vassal_4 = {
		modifier = {
			opinion_of_female_rulers = 10
			opinion_of_male_rulers = -10
			attraction_opinion = 10
			stress_loss_mult = -0.2
			fertility = -0.2
			zealot_opinion = -20
			parochial_opinion = 10
			development_growth = 0.2
			cultural_head_fascination_mult = 0.2
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
			gptl_male_dominated_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
			gptl_male_dominated_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
}

gpt_festivity_law_vassal = {
	default = gpt_festivity_law_vassal_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_festivity_law_vassal_0 = {
		modifier = {
			tyranny_loss_mult = -0.4
			short_reign_duration_mult = 0.4
			long_reign_bonus_mult = -0.4
			legitimacy_loss_mult = 0.4
			dread_per_tyranny_add = 2
			monthly_income_mult = 0.10
			health = 0.4
			enemy_hostile_scheme_success_chance_add = -10
			owned_legend_spread_mult = -0.4
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		on_pass = {
		}

		pass_cost = { 
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_festivity_law_vassal_1 = {
		modifier = {
			tyranny_loss_mult = -0.2
			short_reign_duration_mult = 0.2
			long_reign_bonus_mult = -0.2
			legitimacy_loss_mult = 0.2
			dread_per_tyranny_add = 1
			monthly_income_mult = 0.05
			health = 0.2
			enemy_hostile_scheme_success_chance_add = -5
			owned_legend_spread_mult = -0.2
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_festivity_law_vassal_2 = {
		modifier = { 
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}
		
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_festivity_law_vassal_3 = {
		modifier = { 
			tyranny_loss_mult = 0.2
			short_reign_duration_mult = -0.2
			long_reign_bonus_mult = 0.2
			legitimacy_loss_mult = -0.2
			dread_per_tyranny_add = -1
			monthly_income_mult = -0.05
			health = -0.2
			enemy_hostile_scheme_success_chance_add = 5
			owned_legend_spread_mult = 0.2
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_festivity_law_vassal_4 = {
		modifier = {
			tyranny_loss_mult = 0.4
			short_reign_duration_mult = -0.4
			long_reign_bonus_mult = 0.4
			legitimacy_loss_mult = -0.4
			dread_per_tyranny_add = -2
			monthly_income_mult = -0.1
			health = -0.4
			enemy_hostile_scheme_success_chance_add = 10
			owned_legend_spread_mult = 0.4
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
}

gpt_command_law_vassal = {
	default = gpt_command_law_vassal_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_command_law_vassal_0 = {
		modifier = {
			raid_speed = 0.2
			movement_speed = 0.2
			hard_casualty_modifier = 0.2
			counter_efficiency = -0.2
			attacker_advantage = 8
			defender_advantage = -8
			siege_phase_time = 0.2
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		on_pass = {
		}

		pass_cost = { 
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_command_law_vassal_1 = {
		modifier = {
			raid_speed = 0.1
			movement_speed = 0.1
			hard_casualty_modifier = 0.1
			counter_efficiency = -0.1
			attacker_advantage = 4
			defender_advantage = -4
			siege_phase_time = 0.1
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_command_law_vassal_2 = {
		modifier = { 
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}
		
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_command_law_vassal_3 = {
		modifier = { 
			raid_speed = -0.1
			movement_speed = -0.1
			hard_casualty_modifier = -0.1
			counter_efficiency = 0.1
			attacker_advantage = -4
			defender_advantage = 4
			siege_phase_time = -0.1
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_command_law_vassal_4 = {
		modifier = {
			raid_speed = -0.2
			movement_speed = -0.2
			hard_casualty_modifier = -0.2
			counter_efficiency = 0.2
			attacker_advantage = -8
			defender_advantage = 8
			siege_phase_time = -0.2
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
}

gpt_security_law_vassal = {
	default = gpt_security_law_vassal_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_security_law_vassal_0 = {
		modifier = {
			character_travel_safety = -10
			character_travel_speed_mult = -0.2
			garrison_size = -0.4
			levy_reinforcement_rate = 0.6
			levy_size = 0.3
			glory_hound_opinion = 20
			parochial_opinion = -10
			barons_and_minor_landholders_opinion = -10
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		on_pass = {
		}

		pass_cost = { 
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_security_law_vassal_1 = {
		modifier = {
			character_travel_safety = -5
			character_travel_speed_mult = -0.10
			garrison_size = -0.2
			levy_reinforcement_rate = 0.3
			levy_size = 0.15
			glory_hound_opinion = 10
			parochial_opinion = -5
			barons_and_minor_landholders_opinion = -5
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_security_law_vassal_2 = {
		modifier = { 
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}
		
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_security_law_vassal_3 = {
		modifier = { 
			character_travel_safety = 5
			character_travel_speed_mult = 0.10
			garrison_size = 0.2
			levy_reinforcement_rate = -0.3
			levy_size = -0.15
			glory_hound_opinion = -10
			parochial_opinion = 5
			barons_and_minor_landholders_opinion = 5
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_security_law_vassal_4 = {
		modifier = { 
			character_travel_safety = 10
			character_travel_speed_mult = 0.20
			garrison_size = 0.4
			levy_reinforcement_rate = -0.6
			levy_size = -0.3
			glory_hound_opinion = -20
			parochial_opinion = 10
			barons_and_minor_landholders_opinion = 10
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
}

gpt_vigilance_law_vassal = {
	default = gpt_vigilance_law_vassal_2
	cumulative = no
	flag = realm_sub_laws
	
	gpt_vigilance_law_vassal_0 = {
		modifier = {
			enemy_hostile_scheme_success_chance_add = 10
			scheme_discovery_chance_mult = -0.2
			befriend_scheme_phase_duration_add = -70
			sway_scheme_phase_duration_add = -50
			holy_order_hire_cost_mult = -0.4
			courtly_opinion = -10
			zealot_opinion = -10
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		on_pass = {
		}

		pass_cost = { 
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_vigilance_law_vassal_1 = {
		modifier = {
			enemy_hostile_scheme_success_chance_add = 5
			scheme_discovery_chance_mult = -0.1
			befriend_scheme_phase_duration_add = -35
			sway_scheme_phase_duration_add = -25
			holy_order_hire_cost_mult = -0.2
			courtly_opinion = -5
			zealot_opinion = -5
		}

		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}

		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_vigilance_law_vassal_2 = {
		modifier = { 
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}
		
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}

		should_start_with = {
			always = yes
		}

		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
	
	gpt_vigilance_law_vassal_3 = {
		modifier = { 
			enemy_hostile_scheme_success_chance_add = -5
			scheme_discovery_chance_mult = 0.1
			befriend_scheme_phase_duration_add = 35
			sway_scheme_phase_duration_add = 25
			holy_order_hire_cost_mult = 0.2
			courtly_opinion = 5
			zealot_opinion = 5
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}

	gpt_vigilance_law_vassal_4 = {
		modifier = { 
			enemy_hostile_scheme_success_chance_add = -10
			scheme_discovery_chance_mult = 0.2
			befriend_scheme_phase_duration_add = 70
			sway_scheme_phase_duration_add = 50
			holy_order_hire_cost_mult = 0.4
			courtly_opinion = 10
			zealot_opinion = 10
		}
		
		can_keep = { 
			gptl_basic_vassal_trigger = yes
		}

		can_have = { 
			gptl_basic_vassal_trigger = yes
		}
	
		can_pass = {
			custom_tooltip = {
				subject = root
				text = "gpt_newlaws_pass_Trigger_vassal_text"
				is_independent_ruler = yes
			}
		}
		
		pass_cost = { 
		}
		
		on_pass = {
		}

		ai_will_do = {
			value = -100
		}
	}
}