@semy = 0.25
@third = @[1/3]
@fifth = @[1/5]
@sixth = @[1/6]

@canton_scale_cross_x = @[ ( 333 / 768 ) + 0.001 ]
@canton_scale_cross_y = @[ ( 205 / 512 ) + 0.001 ]

@canton_scale_sweden_x = @[ ( 255 / 768 ) + 0.001 ]
@canton_scale_sweden_y = @[ ( 204 / 512 ) + 0.001 ]

@uru_canton_height = 0.556
@NZL_coa_offset = @[3/16] 
@sm_fra = 0.16

@pi = 3.1416


# Nepal - for testing ##

NEP_triangular = {
	
	pattern = "pattern_border_of_3.dds"
	color1 = "red"
	color2 = "red"
	
	colored_emblem = {
		texture = "wb_ce_nepal_old.dds"
		color1 = "green"
		color2 = "black"
		color3 = "highlight"			
	}
	
	colored_emblem = {
		texture = "ce_moon_face.dds"
		color1 = "white"
		color2 = "white"
		color3 = "white"
		instance = { scale = { 0.2 0.2 } position = { 0.18 0.238 } }			
	}
	colored_emblem = {
		texture = "ce_crescent_nepal.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.35 0.35 } position = { 0.18 0.28 } }			
	}	
	colored_emblem = {
		texture = "ce_star_16.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.3 0.3 } position = { 0.18 0.7 } }			
	}		
	colored_emblem = {
		texture = "ce_moon_face.dds"
		color1 = "white"
		color2 = "white"
		color3 = "white"
		instance = { scale = { 0.12 0.12 } position = { 0.18   0.7 } }			
	}	
}

NEP_triangular_modern = {
	# Blue border
	
	pattern = "pattern_border_of_3.dds"
	color1 = "red"
	color2 = "red"
	
	colored_emblem = {
		texture = "wb_ce_nepal_modern.dds"
		color1 = "blue"
		color2 = "black"
		color3 = "highlight"			
	}
	
	colored_emblem = {
		texture = "ce_moon_face.dds"
		color1 = "white"
		color2 = "white"
		color3 = "white"
		instance = { scale = { 0.15 0.15 } position = { 0.18 0.32 } }			
	}
	colored_emblem = {
		texture = "ce_crescent_nepal.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.35 0.35 } position = { 0.18 0.33 } }			
	}	
	colored_emblem = {
		texture = "ce_star_16.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.4 0.4 } position = { 0.18 0.75 } }			
	}		
	colored_emblem = {
		texture = "ce_moon_face.dds"
		color1 = "white"
		color2 = "white"
		color3 = "white"
		instance = { scale = { 0.22 0.22 } position = { 0.18   0.75 } }			
	}			
}

NEP_border_modern = {
	# Blue border after 1930
	
	pattern = "pattern_border_of_3.dds"
	color1 = "red"
	color2 = "blue"
	
	colored_emblem = {
		texture = "ce_moon_face.dds"
		color1 = "white"
		color2 = "white"
		color3 = "white"
		instance = { scale = { 0.22 0.22 } position = { 0.22 0.24 } }			
	}
	colored_emblem = {
		texture = "ce_crescent_nepal.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.45 0.45 } position = { 0.22 0.28 } }			
	}	
	colored_emblem = {
		texture = "ce_star_16.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.40 0.40 } position = { 0.22 0.68 } }			
	}		
	colored_emblem = {
		texture = "ce_moon_face.dds"
		color1 = "white"
		color2 = "white"
		color3 = "white"
		instance = { scale = { 0.22 0.22 } position = { 0.22 0.68 } }			
	}	
}

NEP_republic = {
	# Blue border
	
	pattern = "pattern_border_of_3.dds"
	color1 = "red"
	color2 = "red"
	
	colored_emblem = {
		texture = "wb_ce_nepal_modern.dds"
		color1 = "blue"
		color2 = "black"
		color3 = "highlight"			
	}
	
	colored_emblem = {
		texture = "wb_ce_nepal_moon_sun.dds"
		color1 = "white"
		color2 = "white"
		color3 = "white"
		instance = { position = { 0.175 0.5 } }			
	}		
}

NEP_republic_border = {
	# Blue border after 1930
	
	pattern = "pattern_border_of_3.dds"
	color1 = "red"
	color2 = "blue"
	
	colored_emblem = {
		texture = "wb_ce_nepal_moon_sun.dds"
		color1 = "white"
		color2 = "white"
		color3 = "white"
		instance = { scale = { 1.1 1.1 } position = { 0.23 0.43 } }			
	}
}

NEP_communist = {
	# one of Nepal's many communist parties' flags but with a border
	
	pattern = "pattern_border_of_4.dds"
	color1 = "red"
	color2 = "blue"
	
	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = "white"
		color2 = "white"
		color3 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.27 0.36 } }			
	}
}