@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

# The Observer flag
NULL = {
	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "NULL.dds"
		color1 = "blue"
	}
	
	textured_emblem = {
		texture = "wb_anglo_sisters_curtain.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }
	}
	
	textured_emblem = {
		texture = "wb_anglo_sisters.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.48 0.62 } }
	}
	
	textured_emblem = {
		texture = "wb_anglo_sisters_ledge.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.59 } }
	}
}

#for anarchist USA canton
WB_Anarchist_Flag = {
	pattern = "pattern_per_bend.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_stars_circle_13.dds"
		color1 = "white"
		color2 = "red"
		instance = { position = { 0.5 0.5 } scale = { 0.9 0.9 } } 
	}
}

Pocatello_flag = {
pattern = "pattern_solid.tga"
	color1 = "white"
	
	colored_emblem = {
		texture = "wb_ce_pocatello_test.dds"
		color1 = hex { 660099 } #nice
		color2 = rgb { 255 255 0 }
		color3 = rgb { 255 51 0 }
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }
	}	
}


## Prince Edward Island # unused

sub_PEI = {
	#pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "black"
	
	colored_emblem = {		
		texture = "ce_shield_heater_border.dds"
		color1 = "white"
		color2 = "black"
        instance = { position = { 0.5 0.5 } scale = { 1.0 1.0 } }
	}
	colored_emblem = {		
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
        instance = { position = { 0.5 0.275 } scale = { 0.395 0.295 } }
	}
	colored_emblem = {		
		texture = "ce_lion_passant_guardant_long.dds"
		color1 = "yellow"
		color2 = "azure"
		color3 = "orange"		
        instance = { position = { 0.495 0.28 } scale = { 0.51 0.58 } }
	}
	colored_emblem = {		
		texture = "ce_coa_saf_tree.dds"
		color1 = "brown"
		color2 = "green"
		color3 = "green"
        instance = { position = { 0.54 0.635 } scale = { 0.5 0.56 } }
	}
	colored_emblem = {		
		texture = "ce_tree_new_england.dds"
		color1 = "green"
		color2 = "brown"
		color3 = "green"
		instance = { position = { 0.42 0.635 } scale = { 0.05 0.35 } }
        instance = { position = { 0.395 0.635 } scale = { 0.05 0.35 } }
		instance = { position = { 0.37 0.635 } scale = { 0.05 0.35 } }
	}	
}

sub_PEI_FRA = {
	#pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "black"
	
	colored_emblem = {		
		texture = "ce_shield_heater_border.dds"
		color1 = "white"
		color2 = "black"
        instance = { position = { 0.5 0.5 } scale = { 1.0 1.0 } }
	}
	colored_emblem = {		
		texture = "ce_solid.dds"
		color1 = "blue"
		color2 = "red"
        instance = { position = { 0.5 0.275 } scale = { 0.395 0.295 } }
	}
	colored_emblem = {		
		texture = "ce_fleur_quebec.dds"
		color1 = "yellow"
		color2 = "yellow"		
        instance = { position = { 0.375 0.275 } scale = { 0.27 0.28 } }
        instance = { position = { 0.5 0.275 } scale = { 0.27 0.28 } }
        instance = { position = { 0.625 0.275 } scale = { 0.27 0.28 } }		
	}
	colored_emblem = {		
		texture = "ce_coa_saf_tree.dds"
		color1 = "brown"
		color2 = "green"
		color3 = "green"
        instance = { position = { 0.54 0.635 } scale = { 0.5 0.56 } }
	}
	colored_emblem = {		
		texture = "ce_tree_new_england.dds"
		color1 = "green"
		color2 = "brown"
		color3 = "green"
		instance = { position = { 0.42 0.635 } scale = { 0.05 0.35 } }
        instance = { position = { 0.395 0.635 } scale = { 0.05 0.35 } }
		instance = { position = { 0.37 0.635 } scale = { 0.05 0.35 } }
	}	
}

PEI = { # Prince Edward Island
	pattern = "pattern_border_west_africa_04.dds"
	color1 = "white"
	color2 = "red"
	color3 = "white"
	colored_emblem = {		
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
        instance = { position = { 0.435 0.25 } scale = { 1.0 0.3 } }
	}
	colored_emblem = {		
		texture = "ce_leopard_passant_guardant.dds"
		color1 = "yellow"
		color2 = "yellow"
        instance = { position = { 0.5 0.25 } scale = { 1.3 0.8 } }
	}
	colored_emblem = {		
		texture = "ce_circle.dds"
		color1 = "green"
		color2 = "green"
		color3 = "green"
        instance = { position = { 0.5 0.765 } scale = { 1.2 0.2 } }
	}
	colored_emblem = {		
		texture = "ce_coa_saf_tree.dds"
		color1 = "brown"
		color2 = "green"
		color3 = "green"
        instance = { position = { 0.54 0.635 } scale = { 0.5 0.56 } }
	}
	colored_emblem = {		
		texture = "ce_tree_new_england.dds"
		color1 = "green"
		color2 = "brown"
		color3 = "green"
		instance = { position = { 0.34 0.635 } scale = { 0.05 0.35 } }
        instance = { position = { 0.395 0.635 } scale = { 0.05 0.35 } }
		instance = { position = { 0.37 0.635 } scale = { 0.05 0.35 } }
	}	
}
PEI_subject = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "black"
	
   sub = {
        parent = "sub_PEI" 
		instance = { scale = { 0.5 0.5 } offset = { 0.5 0.25 }  }   
    }
}

PEI_subject_FRA = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow"
	color3 = "black"
	
   sub = {
        parent = "sub_PEI_FRA" 
		instance = { scale = { 0.5 0.5 } offset = { 0.5 0.25 }  }   
    }
}