po_dismantle_hre = {
	category = 6 #Is treaty
	power_projection = byz_dismantled_hre #50 PP decaying 1/year, new for the mod
	power_cost_base = 5.0 #Some number
	prestige_base = 0.3125 #Somehow AE & Prestige base from WS has been doubled. Not sure why. #0.625 #Meant to give 50 prestige for 80 WS cost
	ae_base = 0.1875 #Somehow AE & Prestige base from WS has been doubled. Not sure why. #0.375 #30 AE for 80 WS cost. Should this be in? I think so, yes.
	warscore_cost = { #80 WS cost no matter what
		# Which of the giver's provinces' war score costs are included and by how much. All entries default to 0. Any combination of entries can be used. Try negative values at your own risk.
		all_provinces = 0.0 # All the giver's provinces
		no_provinces = 80.0 # This is just a constant. Equivalent to a single province with with war score cost 1
		owner_keeps = 0.0 # The provinces that are not of any of the types below
		conquered = 0.0 # Provinces that are selected by a Demand Province treaty
		returned_core = 0.0 # Provinces that are selected by a Return Core treaty
		released_nation = 0.0 # Provinces that will become a part of a selected released-to-be nation
		cancelled_subject = 0.0 # This one should not be relevant here since Giver can't be a cancelled subject. Including anyway for completeness
		concede_colonial_region = 0.0 # Ditto
	}
	warscore_cap = -1 # No cap
	requires_demand_independence = yes #Added in case something screws up
	requires_is_allowed = yes #Needs specific CB of cb_byz_dismantle_hre
	is_visible = { #Should not matter, but included in case I wish to change something
		always = yes
	}
	is_allowed = { #See above
		always = yes
	}
	effect = { #Dismantle HRE effect
		dismantle_hre = yes
	}
	ai_weight = { # Defaults to always evaluate to 0
		export_to_variable = { #Byz SMASH!
			variable_name = ai_value # Mandatory to have entry called "ai_value". Its value at the end of the ai_weight scope is what will be used
			value = 1000
		}
		limit = { # if limit evaluates false, ai_weight will evaluate to 0 regardless
			hre_size = 1
		}
	}
}