@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

### 'North' North America ###

## United States of America / Waifu Universalis' Americhan / England's Petulant Eldest Daughter ##


America_WB_portriat = {
	textured_emblem = {
		texture = "wb_usa_repub.dds"
		instance = { scale = { 1.55 1.55 } position = { 0.5 0.67 } }
	}
}

America_WB_monarchist_portriat = {
	textured_emblem = {
		texture = "wb_usa_monarch.dds"
		instance = { scale = { 1.2 1.2 } position = { 0.5 0.55 } }
	}
}

America_WB_communist_portriat = {
	textured_emblem = {
		texture = "wb_usa_comm.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.49 0.6 } }
	}
}

America_WB_fascist_portriat = {
	textured_emblem = {
		texture = "wb_usa_fasch.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.53 0.61 } }
	}
}

America_WB_brunette_portrait = {
	textured_emblem = {
		texture = "wb_usa_repub_brunette_alt.dds"
		instance = { scale = { 1.55 1.55 } position = { 0.5 0.67 } }
	}
}

America_WB_brunette_monarchist_portrait = {
	textured_emblem = {
		texture = "wb_usa_monarch_brunette_alt.dds"
		instance = { scale = { 1.2 1.2 } position = { 0.5 0.55 } }
	}
}

America_WB_brunette_communist_portrait = {
	textured_emblem = {
		texture = "wb_usa_comm_brunette_alt.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.49 0.6 } }
	}
}

America_WB_brunette_fascist_portrait = {
	textured_emblem = {
		texture = "wb_usa_fasch_brunette_alt.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.53 0.61 } }
	}
}

America_and_Canada_portriat = {
	textured_emblem = {
		texture = "wb_usa_repub.dds"
		instance = { scale = { 1.4 1.4 } position = { 0.42 0.63 } }
	}
	
	textured_emblem = {
		texture = "wb_can_upper_canada.dds"
		instance = { scale = { 1.38 1.38 } position = { 0.73 0.83 } }
	}
}

America_WB_technocracy_portrait = {
	textured_emblem = {
		texture = "wb_usa_technocracy.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.47 0.67 } }
	}
}

America_WB_brunette_technocracy_portrait = {
	textured_emblem = {
		texture = "wb_usa_technocracy_brunette_alt.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.47 0.67 } }
	}
}

America_WB_subject_portrait = {
	textured_emblem = {
		texture = "wb_usa_repub.dds"
		instance = { scale = { 1.55 1.55 } position = { 0.72 0.67 } }
	}
}

America_WB_subject_portrait_brunette = {
	textured_emblem = {
		texture = "wb_usa_repub_brunette_alt.dds"
		instance = { scale = { 1.55 1.55 } position = { 0.72 0.67 } }
	}
}

USA = {
	@usa_canton_width = 0.5
	@usa_canton_height = @[ 1 / 13 * 7 ]
	
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
    sub = {
        parent = "sub_USA_canton_24" 
        instance = { scale = { @usa_canton_width @usa_canton_height }  } # top left
    }
	
	sub = {
        parent = "America_WB_portriat" 
    }
}
USA_coa = {
	# USA Coat of Arms used as a royal banner
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color3
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.5 @[5/6] } rotation = 90 }
	}
	
	sub = {
        parent = "America_WB_monarchist_portriat" 
    }
}
USA_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { position = { 0.25 @[ 1 / 13 * 7 / 2 ] } scale = { 0.5 @[ 1 / 13 * 7 ] } }		
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { position = { 0.25 @[ 1 / 13 * 7 / 2 ] } scale = { 0.06 0.4 } }
		instance = { position = { 0.25 @[ 1 / 13 * 7 / 2 - 0.05 ] } scale = { 0.2 0.09 } }		
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { position = { 0.25 @[ 1 / 13 * 7 / 2 ] } scale = { 0.04 0.37 } }
		instance = { position = { 0.25 @[ 1 / 13 * 7 / 2 - 0.05 ] } scale = { 0.18 0.06 } }		
	}	
	
	sub = {
        parent = "America_WB_fascist_portriat" 
    }
}
USA_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	
	textured_emblem = {
		texture = "te_usa_bald_eagle.dds"
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.52 } }
	}		
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.16 } }
	}
	textured_emblem = {
		texture = "te_coa_usa.dds"
		instance = { scale = { 0.30 0.32 } position = { 0.5 0.55 } }
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		instance = { scale = { 0.2 0.2 } position = { 0.125 0.125 } }
		instance = { scale = { 0.2 0.2 } position = { 0.125 0.875 } }	
		instance = { scale = { 0.2 0.2 } position = { 0.875 0.125 } }
		instance = { scale = { 0.2 0.2 } position = { 0.875 0.875 } }			
		color1 = "white"
		color2 = "white"		
	}	
	
	sub = {
        parent = "America_WB_fascist_portriat" 
    }
}
USA_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_stars_circle_13.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { position = { 0.20 0.30 } scale = { 0.5 0.5 } } 
	}	
	colored_emblem = {
		texture = "ce_hammer_sickle_cogwheel_usa.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { position = { 0.20 0.31 } scale = { 0.33 0.33 } } 
	}
	
	sub = {
        parent = "America_WB_communist_portriat" 
    }
}
USA_fascist = {	
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 0.5 0.5 } position = { 0.25 0.25 } }	
	}
    sub = {
        parent = "sub_USA_fascist_eagle" 
        instance = { scale = { 0.5 0.5 } }
    }	

	sub = {
        parent = "America_WB_fascist_portriat" 
    }	
}

USA_technocracy = { 
	pattern = "pattern_solid.tga"
	color1 = "grey"
	color2 = "white"
	color3 = "red"
	
	# WB edit
	colored_emblem = {
		texture = "wb_ce_taijitu.dds"
		color1 = "red"
		color2 = "white"
        instance = { position = { 0.5 0.5 } scale = { -0.8 0.8 } }		
	}
	
	sub = {
        parent = "America_WB_technocracy_portrait" 
    }
}

###

USA_state_of_michigan = {
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = blue
		color2 = blue
		instance = { scale = { @usa_canton_width @usa_canton_height } position = { 0.25 @[ 1 / 26 * 7 ] } }
	}

	textured_emblem = {
		texture = "te_coa_michigan.dds"
		instance = { scale = { 0.4 0.4 } position = { 0.25 @[ 1 / 26 * 7 ] } } 
	}	
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_state_of_california = {
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = blue
		color2 = blue
		instance = { scale = { @usa_canton_width @usa_canton_height } position = { 0.25 @[ 1 / 26 * 7 ] } }
	}

	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white" # WB edit
		color2 = "white"
		instance = { scale = { 0.25 0.25 } position = { 0.12 0.18 } }			
	}

	colored_emblem = {
		texture = "ce_bear_california.dds"
		color1 = "tan"
		color2 = "brown"
		color3 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.3 @[ 1 / 18 * 7 ] } } 
	}	
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

# WB originals

USA_state_of_michigan_brunette = {
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = blue
		color2 = blue
		instance = { scale = { @usa_canton_width @usa_canton_height } position = { 0.25 @[ 1 / 26 * 7 ] } }
	}

	textured_emblem = {
		texture = "te_coa_michigan.dds"
		instance = { scale = { 0.4 0.4 } position = { 0.25 @[ 1 / 26 * 7 ] } } 
	}	
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

USA_state_of_california_brunette = {
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = blue
		color2 = blue
		instance = { scale = { @usa_canton_width @usa_canton_height } position = { 0.25 @[ 1 / 26 * 7 ] } }
	}

	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.25 0.25 } position = { 0.12 0.18 } }			
	}

	colored_emblem = {
		texture = "ce_bear_california.dds"
		color1 = "tan"
		color2 = "brown"
		color3 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.3 @[ 1 / 18 * 7 ] } } 
	}	
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

USA_anarchist = {
	@usa_canton_width = 0.5
	@usa_canton_height = @[ 1 / 13 * 7 ]
	
	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
    sub = {
        parent = "WB_Anarchist_Flag" 
        instance = { scale = { @usa_canton_width @usa_canton_height }  } # top left
    }
	
	sub = {
        parent = "America_WB_communist_portriat" 
    }
}

# WB GBR subject / return of the prodigal daughter

USA_subject_GBR = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
    sub = {
        parent = "sub_GBR_uk" 
        instance = { scale = { 0.35 @usa_canton_height }  } # top left
    }
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

USA_monarchy_subject_GBR = { 
	pattern = "pattern_solid.tga"
	color1 = "red"

    sub = {
        parent = "sub_GBR_uk" 
        instance = { scale = { 0.35 @usa_canton_height }  } # top left
    }
	
	sub = {
        parent = "America_WB_brunette_monarchist_portrait" 
    }
}

USA_communist_subject_GBR = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_stars_circle_13.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { position = { 0.20 0.30 } scale = { 0.5 0.5 } } 
	}	
	colored_emblem = {
		texture = "ce_hammer_sickle_cogwheel_usa.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { position = { 0.20 0.31 } scale = { 0.33 0.33 } } 
	}
	
	sub = {
        parent = "America_WB_brunette_communist_portrait" 
    }
}

USA_anarchist_subject_GBR = {
	@usa_canton_width = 0.5
	@usa_canton_height = @[ 1 / 13 * 7 ]
	
	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
    sub = {
        parent = "WB_Anarchist_Flag" 
        instance = { scale = { @usa_canton_width @usa_canton_height }  } # top left
    }
	
	sub = {
        parent = "America_WB_brunette_communist_portrait" 
    }
}

USA_theocracy_subject_GBR = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { position = { 0.25 @[ 1 / 13 * 7 / 2 ] } scale = { 0.5 @[ 1 / 13 * 7 ] } }		
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { position = { 0.25 @[ 1 / 13 * 7 / 2 ] } scale = { 0.06 0.4 } }
		instance = { position = { 0.25 @[ 1 / 13 * 7 / 2 - 0.05 ] } scale = { 0.2 0.09 } }		
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { position = { 0.25 @[ 1 / 13 * 7 / 2 ] } scale = { 0.04 0.37 } }
		instance = { position = { 0.25 @[ 1 / 13 * 7 / 2 - 0.05 ] } scale = { 0.18 0.06 } }		
	}	
	
	sub = {
        parent = "America_WB_brunette_fascist_portrait" 
    }
}
USA_dictatorship_subject_GBR = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	
	textured_emblem = {
		texture = "te_usa_bald_eagle.dds"
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.52 } }
	}		
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.16 } }
	}
	textured_emblem = {
		texture = "te_coa_usa.dds"
		instance = { scale = { 0.30 0.32 } position = { 0.5 0.55 } }
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		instance = { scale = { 0.2 0.2 } position = { 0.125 0.125 } }
		instance = { scale = { 0.2 0.2 } position = { 0.125 0.875 } }	
		instance = { scale = { 0.2 0.2 } position = { 0.875 0.125 } }
		instance = { scale = { 0.2 0.2 } position = { 0.875 0.875 } }			
		color1 = "white"
		color2 = "white"		
	}	
	
	sub = {
        parent = "America_WB_brunette_fascist_portrait" 
    }
}
USA_fascist_subject_GBR = {	
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 0.5 0.5 } position = { 0.25 0.25 } }	
	}
    sub = {
        parent = "sub_USA_fascist_eagle" 
        instance = { scale = { 0.5 0.5 } }
    }	

	sub = {
        parent = "America_WB_brunette_fascist_portrait" 
    }	
}

# Anglo sisters portrait

USA_subject_CAN = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
    sub = {
        parent = "sub_CAN_flag" 
        instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "America_and_Canada_portriat" 
    }
}

USA_subject_AST = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
    sub = {
        parent = "sub_eureka_flag" 
        instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "America_and_Australia_WB_portrait" 
    }
}

USA_subject_NZL = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
    sub = {
        parent = "sub_red_peak_flag" 
        instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "NZ_and_America_WB_portrait" 
    }
}

# Technocracy portraits

USA_coa_tech = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color3
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.5 @[5/6] } rotation = 90 }
	}
	
	sub = {
        parent = "America_WB_technocracy_portrait" 
    }
}
USA_communist_tech = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_stars_circle_13.dds"
		color1 = "white"
		color2 = "red"
		instance = { position = { 0.20 0.30 } scale = { 0.55 0.55 } } 
	}	
	colored_emblem = {
		texture = "wb_ce_taijitu.dds"
		color1 = "red"
		color2 = "white"
		instance = { position = { 0.20 0.31 } scale = { -0.33 0.33 } } 
	}
	
	sub = {
        parent = "America_WB_technocracy_portrait" 
    }
}


## Canada / Upper Canada - Ontario / England's Well Behaved Second Eldest Daughter ##

Canada_WB_colonist_portrait = {
	textured_emblem = {
		texture = "wb_can_upper_canada.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.71 0.65 } }
	}
	
	textured_emblem = {
		texture = "wb_can_wind.dds"
		instance = { scale = { 1.1 1.4 } position = { 0.76 0.74 } }
	}
}

Canada_WB_republican_portrait = {
	textured_emblem = {
		texture = "wb_can_upper_canada.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.53 0.65 } }
	}
	
	textured_emblem = {
		texture = "wb_can_wind.dds"
		instance = { scale = { 1.2 1.4 } position = { 0.53 0.74 } }
	}
}

Canada_WB_republican_portrait = {
	textured_emblem = {
		texture = "wb_can_upper_canada.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.53 0.65 } }
	}
	
	textured_emblem = {
		texture = "wb_can_wind.dds"
		instance = { scale = { 1.2 1.4 } position = { 0.53 0.74 } }
	}
}
Canada_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_can_comm.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.53 0.65 } }
	}
	
	textured_emblem = {
		texture = "wb_can_wind.dds"
		instance = { scale = { 1.2 1.4 } position = { 0.53 0.74 } }
	}
}

Canada_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_can_fasch.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.53 0.65 } }
	}
}

# Upper Canada starts here

ONT = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "green"
	color3 = "yellow"
	color4 = "red"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_maple_leafs.dds"
		color1 = color3
		color2 = color2
		instance = { position = { 0.5 0.75] } scale = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color4
		color2 = color4
		instance = { position = { 0.5 0.25 } scale = { 1.0 0.15 } }
		instance = { position = { 0.5 0.25 } scale = { 0.1 0.5 } }
	}
	
	textured_emblem = {
		texture = "wb_can_upper_canada.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.53 0.65 } }
	}
	
	textured_emblem = {
		texture = "wb_can_wind.dds"
		instance = { scale = { 1.2 1.4 } position = { 0.53 0.74 } }
	}
}
ONT_subject = {
	# Red ensign with 1867 CoA
	
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	colored_emblem = {		
		texture = "ce_shield_heater_border.dds" 
		color1 = "green"
		color2 = "yellow"
        instance = { position = { 0.75 0.5 } scale = { 0.5 0.5 } }
	}	
	colored_emblem = {		
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
        instance = { position = { 0.75 0.37 } scale = { 0.198 0.11 } }
	}	
	colored_emblem = {		
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
        instance = { position = { 0.75 0.37 } scale = { 0.018 0.11 } }
        instance = { position = { 0.75 0.37 } scale = { 0.198 0.024 } }		
	}		
	colored_emblem = {		
		texture = "ce_maple_leafs.dds"
		color1 = "yellow"
		color2 = "yellow"
        instance = { position = { 0.75 0.545 } scale = { 0.3 0.3 } }
	}
	
	sub = {
        parent = "Canada_WB_colonist_portrait" 
    }
}
ONT_republic = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	color4 = "yellow"

	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.4 0.4 } position = { 0.33 0.25 } }	
		instance = { scale = { 0.4 0.4 } position = { 0.67 0.25 } }			
	}		
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2	
		instance = { position = { 0.5 0.75 } scale = { 1.0 0.5 } }
	}
	colored_emblem = {
		texture = "ce_maple_leafs.dds"
		color1 = color3
		color2 = color4
		instance = { position = { 0.5 0.75 } scale = { 0.7 0.7} }
	}
	
	textured_emblem = {
		texture = "wb_can_upper_canada.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.53 0.65 } }
	}
	
	textured_emblem = {
		texture = "wb_can_wind.dds"
		instance = { scale = { 1.2 1.4 } position = { 0.53 0.74 } }
	}
}
ONT_secessionist = {
	# 1837 Upper Canada Revolutionary flag
	
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_bicolor_top.dds"
		color1 = "blue"
		color2 = "blue"
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.4 0.4 } position = { 0.33 0.25 } }	
		instance = { scale = { 0.4 0.4 } position = { 0.67 0.25 } }			
	}		
	colored_emblem = {
		texture = "ce_letter_l.dds"
		color1 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.11 0.75 } }	
	}	
	colored_emblem = {
		texture = "ce_letter_i.dds"
		color1 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.21 0.75 } }	
	}	
	colored_emblem = {
		texture = "ce_letter_b.dds"
		color1 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.31 0.75 } }	
	}	
	colored_emblem = {
		texture = "ce_letter_e.dds"
		color1 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.445 0.75 } }	
	}	
	colored_emblem = {
		texture = "ce_letter_r.dds"
		color1 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.59 0.75 } }	
	}	
	colored_emblem = {
		texture = "ce_letter_t.dds"
		color1 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.74 0.75 } }	
	}	
	colored_emblem = {
		texture = "ce_letter_y.dds"
		color1 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.89 0.75 } }	
	}		
	
	textured_emblem = {
		texture = "wb_can_upper_canada.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.53 0.65 } }
	}
	
	textured_emblem = {
		texture = "wb_can_wind.dds"
		instance = { scale = { 1.2 1.4 } position = { 0.53 0.74 } }
	}
}

# WB originals

ONT_communist = {
	pattern = "pattern_two_stripes_fimbriated.dds"
	color1 = "red"
	color2 = "yellow"
	color3 = "green"		
	
	colored_emblem = {		
		texture = "ce_shield_heater_border.dds" 
		color1 = "green"
		color2 = "yellow"
        instance = { position = { 0.3 0.5 } scale = { 0.7 0.7 } }
	}	
	colored_emblem = {		
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "white"
        instance = { position = { 0.3 0.33 } scale = { 0.28 0.18 } }
	}

	colored_emblem = {		
		texture = "ce_hammer_sickle_star_cogwheel.dds"
		color1 = "yellow"
		color2 = "white"
        instance = { position = { 0.3 0.32 } scale = { 0.18 0.18 } }
	}	
		
	colored_emblem = {		
		texture = "ce_maple_leafs.dds"
		color1 = "yellow"
		color2 = "yellow"
        instance = { position = { 0.3 0.57 } scale = { 0.3 0.3 } }
	}
		
	textured_emblem = {
		texture = "wb_can_comm.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.63 0.65 } }
	}
}

ONT_subject_USA = {	# Canada with her big sis
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	colored_emblem = {		
		texture = "ce_shield_heater_border.dds" 
		color1 = "green"
		color2 = "yellow"
        instance = { position = { 0.75 0.5 } scale = { 0.5 0.5 } }
	}	
	colored_emblem = {		
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
        instance = { position = { 0.75 0.37 } scale = { 0.198 0.11 } }
	}	
	colored_emblem = {		
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
        instance = { position = { 0.75 0.37 } scale = { 0.018 0.11 } }
        instance = { position = { 0.75 0.37 } scale = { 0.198 0.024 } }		
	}		
	colored_emblem = {		
		texture = "ce_maple_leafs.dds"
		color1 = "yellow"
		color2 = "yellow"
        instance = { position = { 0.75 0.545 } scale = { 0.3 0.3 } }
	}
	
	sub = {
        parent = "sub_USA_canton_star" 
        instance = { scale = { 0.5 0.5 } offset = { 0.0 0.0 } } # top left
    }
	
	sub = {
        parent = "America_and_Canada_portriat" 
    }
}
	
ONT_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_maple_leafs.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.45 } }				
	}
		
	sub = {
		parent = "Canada_WB_communist_portrait" 
	}
}

ONT_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "green"
	color3 = "yellow"
	color4 = "red"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_maple_leafs.dds"
		color1 = color3
		color2 = color2
		instance = { position = { 0.5 0.75] } scale = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color4
		color2 = color4
		instance = { position = { 0.5 0.25 } scale = { 1.0 0.15 } }
		instance = { position = { 0.5 0.25 } scale = { 0.1 0.5 } }
	}
	
	textured_emblem = {
		texture = "wb_can_fasch.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.53 0.65 } }
	}
}

# WU Canada's Canada flags starts here

CAN = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"

	colored_emblem = {
		texture = "ce_tricolor_thick.dds"
		color1 = color2
		color2 = color1	
	}
	colored_emblem = {
		texture = "ce_maple_leaf.dds"
		color1 = color1
		color2 = color1
		instance = { scale = { 0.8 0.8 } } 
	}
	
	sub = {
        parent = "Canada_WB_republican_portrait" 
    }
}

sub_CAN_flag = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"

	colored_emblem = {
		texture = "ce_tricolor_thick.dds"
		color1 = color2
		color2 = color1	
	}
	colored_emblem = {
		texture = "ce_maple_leaf.dds"
		color1 = color1
		color2 = color1
		instance = { scale = { 0.8 0.8 } } 
	}
}

CAN_subject = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	textured_emblem = {
		texture = "te_coa_canada.dds"
		instance = { scale = { 0.6 0.6 } position = { 0.75 0.50 } }
	}
	
	sub = {
        parent = "Canada_WB_colonist_portrait" 
    }
}
CAN_theocracy = {
	# Anglican Church of Canada
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"
	color3 = "green"
	color4 = "yellow"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_maple_leaf.dds"
		color1 = color3
		color2 = color4
		
		instance = { scale = { 0.33 0.33 } position = { @[111/256/2] @[102/256/2] } } # top left
		instance = { scale = { 0.33 0.33 } position = { @[1-(111/256/2)] @[102/256/2] } } # top right
		instance = { scale = { 0.33 0.33 } position = { @[1-(111/256/2)] @[1-(102/256/2)] } } # bottom right
		instance = { scale = { 0.33 0.33 } position = { @[111/256/2] @[1-(102/256/2)] } }
	}
	
	sub = {
        parent = "Canada_WB_republican_portrait" 
    }
}
CAN_fascist = {		
	# Emblem of NUP
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_flame_canada_nup.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.52 } }
	}	
	
	sub = {
        parent = "Canada_WB_fascist_portrait" 
    }
}
CAN_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	colored_emblem = {
		texture = "ce_laurel.dds"
		color1 = "green"
		color2 = "orange"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.65 } }
	}		
	textured_emblem = {
		texture = "te_coa_canada.dds"
		instance = { scale = { 0.66 0.66 } position = { 0.50 0.58 } }
	}
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.40 0.40 } position = { 0.5 0.225 } }
	}	
	
	sub = {
        parent = "Canada_WB_republican_portrait" 
    }
}
CAN_republic = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_thick.dds"
		color1 = color2
		color2 = color1
	}
	colored_emblem = {
		texture = "ce_maple_leaf.dds"
		color1 = color3
		color2 = color3
		instance = { scale = { 0.8 0.8 } } 
	}
	
	sub = {
        parent = "Canada_WB_republican_portrait" 
    }
}
CAN_communist = {
	# Flag of the canadian CP, only with an additionnal white stripe for difference
	
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "white"
	
	# WB edit
	
	colored_emblem = {
		texture = "ce_roundel_canada_cpc.dds"
		color1 = color3
		color2 = color3
		instance = { position = { 0.16 0.255 } scale = { 0.52 0.5 } } 
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color3
		color2 = color3
		instance = { position = { 0.85 0.5 } scale = { 0.1 1.0 } } 
	}	
	
	sub = {
        parent = "Canada_WB_communist_portrait" 
    }
}
CAN_oligarchy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_thick.dds"
		color1 = "red"
		color2 = "blue"
	}
	colored_emblem = {
		texture = "ce_maple_leaf_canada.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.8 0.8 } } 
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { position = { 0.75 0.5 } scale = { 0.025 1.0 } } 
		instance = { position = { 0.25 0.5 } scale = { 0.025 1.0 } } 		
	}	
	
	sub = {
        parent = "Canada_WB_republican_portrait" 
    }
}
CAN_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_bend.dds"
		color1 = "white"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_maple_leaf_canada.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { position = { 0.83 0.71 } scale = { 0.55 0.55 } } 
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.45 0.45 } position = { 0.175 0.26 } }			
	}		
	
	sub = {
        parent = "Canada_WB_fascist_portrait" 
    }
}

CAN_subject_GBR = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	textured_emblem = {
		texture = "te_coa_canada.dds"
		instance = { scale = { 0.6 0.6 } position = { 0.75 0.50 } }
	}
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "Canada_WB_republican_portrait" 
    }
}

CAN_subject_USA = { # America with her little sis
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_thick.dds"
		color1 = color2
		color2 = color1
	}
	colored_emblem = {
		texture = "ce_maple_leaf.dds"
		color1 = color3
		color2 = color3
		instance = { scale = { 0.8 0.8 } } 
	}
	
	sub = {
        parent = "America_and_Canada_portriat" 
    }
}

# WB anarchist flag

CAN_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_maple_leafs.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.45 } }				
	}
		
	sub = {
		parent = "Canada_WB_communist_portrait" 
	}
}

CAN_parliamentary_committee_portrait = {
	textured_emblem = {
		texture = "wb_can_upper_canada.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.36 0.65 } }
	}
}

QUE_parliamentary_committee_portrait = {
	textured_emblem = {
		texture = "wb_que_lower_canada.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.74 0.67 } }
	}
}

CAN_parliamentary_committee_flag = {
	# A Parliamentary Committee flag from the Great Canadian flag debate 
	
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"

	colored_emblem = {
		texture = "ce_tricolor_thick.dds"
		color1 = color2
		color2 = color1	
	}
	colored_emblem = {
		texture = "ce_maple_leaf.dds"
		color1 = color1
		color2 = color1
		instance = { scale = { 0.8 0.8 } } 
	}
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.2 0.2 } offset = { 0.03 0.08 } }
    }
	
	sub = {
        parent = "sub_FRA_coa" 
		instance = { scale = { 0.2 0.2 } offset = { 0.78 0.08 } }
    }
	
	sub = {
        parent = "QUE_parliamentary_committee_portrait" 
		instance = { scale = { 1.0 1.0 } offset = { 0.01 0.0 } }
    }
	
	sub = {
        parent = "CAN_parliamentary_committee_portrait" 
		instance = { scale = { 1.0 1.0 } offset = { 0.01 0.0 } }
    }
}

CAN_subject_AST = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"

	colored_emblem = {
		texture = "ce_tricolor_thick.dds"
		color1 = color2
		color2 = color1	
	}
	colored_emblem = {
		texture = "ce_maple_leaf.dds"
		color1 = color1
		color2 = color1
		instance = { scale = { 0.8 0.8 } } 
	}
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.2 0.2 } offset = { 0.03 0.08 } }
    }
	
	sub = {
        parent = "sub_Australia_flag" 
		instance = { scale = { 0.2 0.2 } offset = { 0.78 0.08 } }
    }
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.105 0.1 } offset = { 0.78 0.08 } }
    }

	sub = {
        parent = "Canada_and_Australia_WB_portrait" 
		instance = { scale = { 1.0 1.0 } offset = { 0.01 0.0 } }
    }
}

CAN_subject_NZL = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"

	colored_emblem = {
		texture = "ce_tricolor_thick.dds"
		color1 = color2
		color2 = color1	
	}
	colored_emblem = {
		texture = "ce_maple_leaf.dds"
		color1 = color1
		color2 = color1
		instance = { scale = { 0.8 0.8 } } 
	}
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.2 0.2 } offset = { 0.03 0.08 } }
    }
	
	sub = {
        parent = "sub_New_Zealand_flag" 
		instance = { scale = { 0.2 0.2 } offset = { 0.78 0.08 } }
    }
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.105 0.1 } offset = { 0.78 0.08 } }
    }

	sub = {
        parent = "NZ_and_Canada_WB_portrait" 
		instance = { scale = { 1.0 1.0 } offset = { 0.01 0.0 } }
    }
}

CAN_subject_AST_NZL = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"

	colored_emblem = {
		texture = "ce_tricolor_thick.dds"
		color1 = color2
		color2 = color1	
	}
	colored_emblem = {
		texture = "ce_maple_leaf.dds"
		color1 = color1
		color2 = color1
		instance = { scale = { 0.8 0.8 } } 
	}
	
	sub = {
        parent = "sub_Australia_flag" 
		instance = { scale = { 0.2 0.2 } offset = { 0.03 0.08 } }
    }
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.105 0.1 } offset = { 0.03 0.08 } }
    }
	
	sub = {
        parent = "sub_New_Zealand_flag" 
		instance = { scale = { 0.2 0.2 } offset = { 0.78 0.08 } }
    }
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.105 0.1 } offset = { 0.78 0.08 } }
    }

	sub = {
        parent = "NZ_and_Canada_WB_portrait" 
		instance = { scale = { 1.0 1.0 } offset = { 0.01 0.0 } }
    }
}

## Hudson's Bay Company ##

Hudsons_Bay_WB_portrait = {
	textured_emblem = {
		texture = "wb_hbc_default.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.5 0.66 } }
	}
}

Hudsons_Bay_WB_subject_portrait = {
	textured_emblem = {
		texture = "wb_hbc_default.dds"
		instance = { scale = { 1.4 1.4 } position = { 0.71 0.63 } }
	}
}

Hudsons_Bay_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_hbc_comm.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.5 0.66 } }
	}
}

Hudsons_Bay_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_hbc_fasch.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.5 0.66 } }
	}
}

HBC = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	
	colored_emblem = {		
		texture = "ce_letter_h.dds"
		color1 = color2
		color2 = color2
        instance = { position = { 0.4 0.5 } scale = { 0.5 0.5 } }
	}
	colored_emblem = {		
		texture = "ce_letter_b.dds"
		color1 = color2
		color2 = color2
        instance = { position = { 0.49 0.5 } scale = { 0.5 0.5 } }
	}
	colored_emblem = {		
		texture = "ce_letter_c.dds"
		color1 = color2
		color2 = color2
        instance = { position = { 0.635 0.5 } scale = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Hudsons_Bay_WB_portrait" 
    }
}
HBC_subject = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	colored_emblem = {		
		texture = "ce_letter_h.dds"
		color1 = color2
		color2 = color2
        instance = { position = { 0.65 0.75 } scale = { 0.5 0.5 } }
	}
	colored_emblem = {		
		texture = "ce_letter_b.dds"
		color1 = color2
		color2 = color2
        instance = { position = { 0.74 0.75 } scale = { 0.5 0.5 } }
	}
	colored_emblem = {		
		texture = "ce_letter_c.dds"
		color1 = color2
		color2 = color2
        instance = { position = { 0.885 0.75 } scale = { 0.5 0.5 } }
	}
	colored_emblem = {		
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
        instance = { position = { 0.25 0.25 } scale = { 0.5 0.5 } }				
	}	
	
	sub = {
        parent = "Hudsons_Bay_WB_subject_portrait" 
    }
}
HBC_monarchy = {	
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"
	color3 = "brown"
	colored_emblem = {		
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_beaver.dds"
		color1 = "tan"
		color2 = "tan"
		color3 = "white"
		instance = { scale = { 0.6 0.6 } position = { 0.20 0.20 } }		
		instance = { scale = { 0.6 0.6 } position = { 0.76 0.80 } }		
		instance = { scale = { 0.6 0.6 } position = { 0.20 0.80 } }		
		instance = { scale = { 0.6 0.6 } position = { 0.76 0.20 } }				
	}	
	
	sub = {
        parent = "Hudsons_Bay_WB_portrait" 
    }
}
HBC_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_beaver.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "yellow_dark"
		instance = { scale = { 0.5 0.5 } position = { 0.16 0.26 } }			
	}	
	colored_emblem = {
		texture = "ce_letter_h.dds"
		color1 = color2
		color2 = color2
		color3 = color2
		instance = { scale = { 0.15 0.15 } position = { 0.08 0.4 } }
	}	
	colored_emblem = {
		texture = "ce_letter_b.dds"
		color1 = color2
		color2 = color2
		color3 = color2
		instance = { scale = { 0.15 0.15 } position = { 0.15 0.4 } }
	}
	colored_emblem = {
		texture = "ce_letter_s.dds"
		color1 = color2
		color2 = color2
		color3 = color2
		instance = { scale = { 0.15 0.15 } position = { 0.22 0.4 } }
	}
	colored_emblem = {
		texture = "ce_letter_r.dds"
		color1 = color2
		color2 = color2
		color3 = color2
		instance = { scale = { 0.15 0.15 } position = { 0.29 0.4 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 0.125 0.125 } position = { 0.09 0.11 }  }	
	}		

	textured_emblem = {
		texture = "wb_hbc_comm.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.65 0.66 } }
	}	
}

# WB originals

HBC_republic = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "white"
	
	colored_emblem = {
		texture = "ce_stripe_center.dds"
		color1 = "green"
		color2 = "red"
		instance = { scale = { 1.0 0.6 } position = { 0.5 0.16 } }				
	}
	
	colored_emblem = {
		texture = "ce_stripe_center.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 1.0 0.6 } position = { 0.5 0.4 } }				
	}
	
	colored_emblem = {
		texture = "ce_stripe_center.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 1.0 0.6 } position = { 0.5 0.64 } }				
	}
	
	colored_emblem = {
		texture = "ce_stripe_center.dds"
		color1 = "blue"
		color2 = "red"
		instance = { scale = { 1.0 0.6 } position = { 0.5 0.87 } }				
	}
	
	sub = {
        parent = "Hudsons_Bay_WB_portrait" 
    }
}

HBC_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_beaver.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }				
	}
	
	sub = {
        parent = "Hudsons_Bay_WB_communist_portrait" 
    }
}

HBC_dictatorship = {	
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	
	colored_emblem = {		
		texture = "ce_letter_h.dds"
		color1 = color2
		color2 = color2
        instance = { position = { 0.4 0.5 } scale = { 0.5 0.5 } }
	}
	colored_emblem = {		
		texture = "ce_letter_b.dds"
		color1 = color2
		color2 = color2
        instance = { position = { 0.49 0.5 } scale = { 0.5 0.5 } }
	}
	colored_emblem = {		
		texture = "ce_letter_c.dds"
		color1 = color2
		color2 = color2
        instance = { position = { 0.635 0.5 } scale = { 0.5 0.5 } }
	}	
	
	sub = {
        parent = "Hudsons_Bay_WB_portrait" 
    }
}

HBC_anarcho_capitalist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "yellow"
	color2 = "black"	
	
	sub = {
        parent = "Hudsons_Bay_WB_fascist_portrait" 
    }
}

HBC_canton = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	
	colored_emblem = {		
		texture = "ce_letter_h.dds"
		color1 = color2
		color2 = color2
        instance = { position = { 0.4 0.5 } scale = { 0.5 0.5 } }
	}
	colored_emblem = {		
		texture = "ce_letter_b.dds"
		color1 = color2
		color2 = color2
        instance = { position = { 0.49 0.5 } scale = { 0.5 0.5 } }
	}
	colored_emblem = {		
		texture = "ce_letter_c.dds"
		color1 = color2
		color2 = color2
        instance = { position = { 0.635 0.5 } scale = { 0.5 0.5 } }
	}
}

# Hudson Bay Canada

CAN_HBC_subject_GBR = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	textured_emblem = {
		texture = "wb_can_CoA_HBC.png"
		instance = { scale = { 0.6 0.6 } position = { 0.75 0.50 } }
	}
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "Hudsons_Bay_WB_portrait" 
    }
}

CAN_Hudson_Bay = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"

	colored_emblem = {
		texture = "ce_tricolor_thick.dds"
		color1 = color2
		color2 = color1	
	}
	colored_emblem = {
		texture = "ce_maple_leaf.dds"
		color1 = color1
		color2 = color1
		instance = { scale = { 0.8 0.8 } } 
	}
	
	sub = {
        parent = "Hudsons_Bay_WB_portrait" 
    }
}
CAN_HBC_subject = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	textured_emblem = {
		texture = "wb_can_CoA_HBC.png"
		instance = { scale = { 0.6 0.6 } position = { 0.75 0.50 } }
	}
	
	sub = {
        parent = "Hudsons_Bay_WB_subject_portrait" 
    }
}
CAN_HBC_theocracy = {
	# Anglican Church of Canada
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"
	color3 = "green"
	color4 = "yellow"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_maple_leaf.dds"
		color1 = color3
		color2 = color4
		
		instance = { scale = { 0.33 0.33 } position = { @[111/256/2] @[102/256/2] } } # top left
		instance = { scale = { 0.33 0.33 } position = { @[1-(111/256/2)] @[102/256/2] } } # top right
		instance = { scale = { 0.33 0.33 } position = { @[1-(111/256/2)] @[1-(102/256/2)] } } # bottom right
		instance = { scale = { 0.33 0.33 } position = { @[111/256/2] @[1-(102/256/2)] } }
	}
	
	sub = {
        parent = "Hudsons_Bay_WB_portrait" 
    }
}
CAN_HBC_fascist = {		
	# Emblem of NUP
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_flame_canada_nup.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.52 } }
	}	
	
	sub = {
        parent = "Hudsons_Bay_WB_fascist_portrait" 
    }
}
CAN_HBC_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	colored_emblem = {
		texture = "ce_laurel.dds"
		color1 = "green"
		color2 = "orange"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.65 } }
	}		
	textured_emblem = {
		texture = "te_coa_canada.dds"
		instance = { scale = { 0.66 0.66 } position = { 0.50 0.58 } }
	}
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.40 0.40 } position = { 0.5 0.225 } }
	}	
	
	sub = {
        parent = "Hudsons_Bay_WB_portrait" 
    }
}
CAN_HBC_republic = {
	# I would like to thank the person who added a beaver to a flag for the Great Canadian flag debate
	pattern = "pattern_solid.tga"
	color1 = "green"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_thick.dds"
		color1 = color2
		color2 = "green"
	}
	colored_emblem = {
		texture = "ce_beaver.dds"
		color1 = "brown_light"
		color2 = "brown"
		color3 = "white"
		instance = { scale = { -0.8 0.8 } position = { 0.52 0.5 } }
	}
	
	sub = {
        parent = "Hudsons_Bay_WB_portrait" 
    }
}
CAN_HBC_communist = {
	# Flag of the canadian CP, only with an additionnal white stripe for difference
	
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "white"
	
	# WB edit
	
	colored_emblem = {
		texture = "ce_roundel_canada_cpc.dds"
		color1 = color3
		color2 = color3
		instance = { position = { 0.16 0.255 } scale = { 0.52 0.5 } } 
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color3
		color2 = color3
		instance = { position = { 0.85 0.5 } scale = { 0.1 1.0 } } 
	}	
	
	sub = {
        parent = "Hudsons_Bay_WB_communist_portrait" 
    }
}
CAN_HBC_oligarchy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_thick.dds"
		color1 = "red"
		color2 = "blue"
	}
	colored_emblem = {
		texture = "ce_maple_leaf_canada.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.8 0.8 } } 
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { position = { 0.75 0.5 } scale = { 0.025 1.0 } } 
		instance = { position = { 0.25 0.5 } scale = { 0.025 1.0 } } 		
	}	
	
	sub = {
        parent = "Hudsons_Bay_WB_portrait" 
    }
}
CAN_HBC_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_bend.dds"
		color1 = "white"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_maple_leaf_canada.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { position = { 0.83 0.71 } scale = { 0.55 0.55 } } 
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.45 0.45 } position = { 0.175 0.26 } }			
	}		
	
	sub = {
        parent = "Hudsons_Bay_WB_fascist_portrait" 
    }
}

CAN_HBC_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_maple_leafs.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.45 } }				
	}
		
	sub = {
		parent = "Hudsons_Bay_WB_communist_portrait" 
	}
}

## Nova Scotia

Nova_Scotia_WB_portrait = {
	textured_emblem = {
		texture = "wb_nvs_colonial.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.62 0.57 } }
	}
}

Nova_Scotia_colonial_WB_portrait = {
	textured_emblem = {
		texture = "wb_nvs_colonial.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.76 0.59 } }
	}
}

Nova_Scotia_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_nvs_comm.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.62 0.57 } }
	}
}

Nova_Scotia_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_nvs_fasch.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.62 0.57 } }
	}
}

Nova_Scotia_WB_Maritimes_portrait = {

	textured_emblem = {
		texture = "wb_nbs_default.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.71 0.63 } }
	}

	textured_emblem = {
		texture = "wb_nvs_colonial.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.39 0.57 } }
	}
}

Nova_Scotia_WB_Maritimes_subject_portrait = {

	textured_emblem = {
		texture = "wb_nbs_default.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.92 0.63 } }
	}

	textured_emblem = {
		texture = "wb_nvs_colonial.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.69 0.58 } }
	}
}

Nova_Scotia_WB_Maritimes_communist_portrait = {

	textured_emblem = {
		texture = "wb_nbs_comm.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.71 0.63 } }
	}

	textured_emblem = {
		texture = "wb_nvs_comm.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.39 0.57 } }
	}
}
Nova_Scotia_WB_Maritimes_fascist_portrait = {

	textured_emblem = {
		texture = "wb_nbs_fasch.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.71 0.63 } }
	}

	textured_emblem = {
		texture = "wb_nvs_fasch.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.39 0.57 } }
	}
}


NVS_monarchy = { # Nova Scotia # WB edit
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "red"
	color3 = "red"
	
	textured_emblem = {
		texture = "te_coa_mantle.dds"
        instance = { position = { 0.5 0.52 } scale = { 1.0 1.0 } }
	}
	
	textured_emblem = {
		texture = "te_crown_cut.dds"
        instance = { position = { 0.5 0.22 } scale = { 0.6 0.6 } }
	}

	textured_emblem = {
		texture = "te_coa_nova_scotia.dds"
        instance = { position = { 0.5 0.58 } scale = { 0.8 0.8 } }
	}	
	
	sub = {
        parent = "Nova_Scotia_WB_portrait" 
    }
}

NVS = { 
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "blue"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = color2
		color2 = "yellow"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }			
	}	
	
	textured_emblem = {
		texture = "wb_scotland_coa.dds"
        instance = { position = { 0.5 0.5 } scale = { 0.5 0.55 } }
	}
	
	sub = {
        parent = "Nova_Scotia_WB_portrait" 
    }
}

NVS_subject = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "red"
	color3 = "red"
	
   sub = {
        parent = "sub_NVS" 
		instance = { scale = { 0.5 0.5 } offset = { 0.5 0.25 }  }   
    }
	
	sub = {
        parent = "Nova_Scotia_colonial_WB_portrait" 
    }
}

# WB originals

NVS_communist = { 
	pattern = "pattern_border_of_4.dds"
	color1 = "white"
	color2 = "red"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = color2
		color2 = "yellow"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }			
	}	
	
	colored_emblem = {
		texture = "ce_coa_roundel_austria.dds"
		color1 = "red"
		color2 = "yellow"
		color3 = "yellow"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 } }			
	}
	
	colored_emblem = {
		texture = "ce_ship_manchester.dds"
		color1 = "yellow"
		color2 = "white"
		color3 = "yellow"
		instance = { scale = { 0.47 0.47 } position = { 0.49 0.52 } }			
	}
	
	colored_emblem = {
		texture = "ce_waves_latvia.dds"
		color1 = "blue"
		color2 = "white"
		color3 = "yellow"
		instance = { scale = { 0.27 0.48 } position = { 0.5 0.53 } }			
	}
	
	colored_emblem = {
		texture = "ce_cornucopias.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "green"
		instance = { scale = { 1.0 0.9 } position = { 0.5 0.49 } }			
	}

	
	sub = {
        parent = "Nova_Scotia_WB_communist_portrait" 
    }
}

NVS_anarchist = { 
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = color2
		color2 = "yellow"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }			
	}	

	
	sub = {
        parent = "Nova_Scotia_WB_communist_portrait" 
    }
}

NVS_dictatorship = { 
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "blue"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = color2
		color2 = "yellow"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }			
	}	
	
	textured_emblem = {
		texture = "wb_scotland_coa.dds"
        instance = { position = { 0.5 0.5 } scale = { 0.5 0.55 } }
	}
	
	sub = {
        parent = "Nova_Scotia_WB_fascist_portrait" 
    }
}

# Unified Maritimes flags

NVS_monarchy_maritimes = { # Nova Scotia # WB edit
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "red"
	color3 = "red"
	
	textured_emblem = {
		texture = "te_coa_mantle.dds"
        instance = { position = { 0.5 0.52 } scale = { 1.0 1.0 } }
	}
	
	textured_emblem = {
		texture = "te_crown_cut.dds"
        instance = { position = { 0.5 0.22 } scale = { 0.6 0.6 } }
	}

	textured_emblem = {
		texture = "te_coa_nova_scotia.dds"
        instance = { position = { 0.5 0.58 } scale = { 0.8 0.8 } }
	}	
	
	sub = {
        parent = "Nova_Scotia_WB_Maritimes_portrait" 
    }
}

NVS_maritimes = { 
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "blue"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = color2
		color2 = "yellow"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }			
	}	
	
	textured_emblem = {
		texture = "wb_scotland_coa.dds"
        instance = { position = { 0.5 0.5 } scale = { 0.5 0.55 } }
	}
	
	sub = {
        parent = "Nova_Scotia_WB_Maritimes_portrait" 
    }
}

NVS_maritimes_subject = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "red"
	color3 = "red"
	
   sub = {
        parent = "sub_NVS" 
		instance = { scale = { 0.5 0.5 } offset = { 0.5 0.25 }  }   
    }
	
	sub = {
        parent = "Nova_Scotia_WB_Maritimes_subject_portrait" 
    }
}

NVS_communist_maritimes = { 
	pattern = "pattern_border_of_4.dds"
	color1 = "white"
	color2 = "red"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = color2
		color2 = "yellow"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }			
	}	
	
	colored_emblem = {
		texture = "ce_coa_roundel_austria.dds"
		color1 = "red"
		color2 = "yellow"
		color3 = "yellow"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 } }			
	}
	
	colored_emblem = {
		texture = "ce_ship_manchester.dds"
		color1 = "yellow"
		color2 = "white"
		color3 = "yellow"
		instance = { scale = { 0.47 0.47 } position = { 0.49 0.52 } }			
	}
	
	colored_emblem = {
		texture = "ce_waves_latvia.dds"
		color1 = "blue"
		color2 = "white"
		color3 = "yellow"
		instance = { scale = { 0.27 0.48 } position = { 0.5 0.53 } }			
	}
	
	colored_emblem = {
		texture = "ce_cornucopias.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "green"
		instance = { scale = { 1.0 0.9 } position = { 0.5 0.49 } }			
	}

	
	sub = {
        parent = "Nova_Scotia_WB_Maritimes_communist_portrait" 
    }
}

NVS_anarchist_maritimes = { 
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = color2
		color2 = "yellow"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }			
	}	

	
	sub = {
        parent = "Nova_Scotia_WB_Maritimes_communist_portrait" 
    }
}

NVS_dictatorship_maritimes = { 
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "blue"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = color2
		color2 = "yellow"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }			
	}	
	
	textured_emblem = {
		texture = "wb_scotland_coa.dds"
        instance = { position = { 0.5 0.5 } scale = { 0.5 0.55 } }
	}
	
	sub = {
        parent = "Nova_Scotia_WB_Maritimes_fascist_portrait" 
    }
}

# Nova Scotia Canada

The_Maritimes_WB_Nova_Scotia_portrait = {

	textured_emblem = {
		texture = "wb_nbs_default.dds"
		instance = { scale = { 1.33 1.33 } position = { 0.71 0.625 } }
	}
	
	textured_emblem = {
		texture = "wb_nvs_colonial.dds"
		instance = { scale = { 1.27 1.27 } position = { 0.38 0.58 } }
	}
}


CAN_Nova_Scotia = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "blue"
	
	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = color2
		color2 = "yellow"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }			
	}	
	
	sub = {
        parent = "CAN_CoA_no_portrait" 
        instance = { scale = { 0.8 0.8 } offset = { 0.1 0.1 } } 
    }
	
	sub = {
        parent = "The_Maritimes_WB_Nova_Scotia_portrait" 
    }
}
CAN_NVS_subject = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	textured_emblem = {
		texture = "te_coa_canada.dds"
		instance = { scale = { 0.6 0.6 } position = { 0.75 0.50 } }
	}
	
	sub = {
        parent = "Nova_Scotia_WB_Maritimes_subject_portrait" 
    }
}
CAN_NVS_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = color2
		color2 = color2
	}
	
	sub = {
        parent = "The_Maritimes_WB_Nova_Scotia_portrait" 
    }
}
CAN_NVS_fascist = {		
	# Emblem of NUP
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_flame_canada_nup.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.52 } }
	}	
	
	sub = {
        parent = "Nova_Scotia_WB_Maritimes_fascist_portrait" 
    }
}

CAN_CoA_no_portrait = {

	colored_emblem = {
		texture = "ce_laurel.dds"
		color1 = "green"
		color2 = "orange"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.65 } }
	}		
	textured_emblem = {
		texture = "te_coa_canada.dds"
		instance = { scale = { 0.66 0.66 } position = { 0.50 0.58 } }
	}
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.40 0.40 } position = { 0.5 0.225 } }
	}	
	
	sub = {
        parent = "The_Maritimes_WB_Maritimes_portrait" 
    }
}

CAN_NVS_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	sub = {
        parent = "sub_SCO_coa" 
        instance = { scale = { 0.5 0.5 } offset = { 0.0 0.0 } } # top left
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.5 } } # bottom right
    } 
	
	sub = {
        parent = "sub_ENG_coa" 
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.0 } } # top right
    }
	
	sub = {
        parent = "sub_FRA_coa" 
        instance = { scale = { 0.5 0.5 } offset = { 0.0 0.5 } } # bottom left
    }
	
	sub = {
        parent = "CAN_CoA_no_portrait" 
        instance = { scale = { 0.8 0.8 } offset = { 0.1 0.1 } } 
    }	
	
	sub = {
        parent = "The_Maritimes_WB_Nova_Scotia_portrait" 
    }
}
CAN_NVS_republic = {
	# Adapted from a Great Canadian Flag Debate flag
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_bend_sinister.dds"
		color1 = "white"
		color2 = "orange"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }
	}

	colored_emblem = {
		texture = "ce_bend_dexter.dds"
		color1 = "blue"
		color2 = "orange"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "yellow"
		color2 = "orange"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_maple_leaf.dds"
		color1 = "red"
		color2 = "orange"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "The_Maritimes_WB_Nova_Scotia_portrait" 
    }
}
CAN_NVS_communist = {
	# Flag of the canadian CP, only with an additionnal white stripe for difference
	
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "white"
	
	# WB edit
	
	colored_emblem = {
		texture = "ce_roundel_canada_cpc.dds"
		color1 = color3
		color2 = color3
		instance = { position = { 0.16 0.255 } scale = { 0.52 0.5 } } 
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color3
		color2 = color3
		instance = { position = { 0.85 0.5 } scale = { 0.1 1.0 } } 
	}	
	
	sub = {
        parent = "Nova_Scotia_WB_Maritimes_communist_portrait" 
    }
}
CAN_NVS_oligarchy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_thick.dds"
		color1 = "red"
		color2 = "blue"
	}
	colored_emblem = {
		texture = "ce_maple_leaf_canada.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.8 0.8 } } 
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { position = { 0.75 0.5 } scale = { 0.025 1.0 } } 
		instance = { position = { 0.25 0.5 } scale = { 0.025 1.0 } } 		
	}	
	
	sub = {
        parent = "The_Maritimes_WB_Nova_Scotia_portrait" 
    }
}
CAN_NVS_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_bend.dds"
		color1 = "white"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_maple_leaf_canada.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { position = { 0.83 0.71 } scale = { 0.55 0.55 } } 
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.45 0.45 } position = { 0.175 0.26 } }			
	}		
	
	sub = {
        parent = "Nova_Scotia_WB_Maritimes_fascist_portrait" 
    }
}

CAN_NVS_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_maple_leafs.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.45 } }				
	}
		
	sub = {
		parent = "Nova_Scotia_WB_Maritimes_communist_portrait" 
	}
}

GBR_scotland_no_portrait = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = "white"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = "white"
		color2 = "red"
	}	
}

CAN_NVS_subject_GBR = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	textured_emblem = {
		texture = "te_coa_canada.dds"
		instance = { scale = { 0.6 0.6 } position = { 0.75 0.50 } }
	}
	
	sub = {
        parent = "GBR_scotland_no_portrait" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "The_Maritimes_WB_Nova_Scotia_portrait" 
    }
}


## New Brunswick ##

New_Brunswick_WB_portrait = {
	textured_emblem = {
		texture = "wb_nbs_default.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.525 0.63 } }
	}
}

New_Brunswick_WB_subject_portrait = {
	textured_emblem = {
		texture = "wb_nbs_default.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.75 0.63 } }
	}
}

New_Brunswick_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_nbs_comm.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.525 0.63 } }
	}
}

New_Brunswick_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_nbs_fasch.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.525 0.63 } }
	}
}

New_Brunswick_WB_Maritimes_portrait = {

	textured_emblem = {
		texture = "wb_nvs_colonial.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.39 0.58 } }
	}

	textured_emblem = {
		texture = "wb_nbs_default.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.71 0.62 } }
	}
}

New_Brunswick_WB_Maritimes_subject_portrait = {

	textured_emblem = {
		texture = "wb_nvs_colonial.dds"
		instance = { scale = { 1.23 1.23 } position = { 0.65 0.61 } }
	}

	textured_emblem = {
		texture = "wb_nbs_default.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.85 0.63 } }
	}
}

New_Brunswick_WB_Maritimes_communist_portrait = {

	textured_emblem = {
		texture = "wb_nvs_comm.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.39 0.58 } }
	}

	textured_emblem = {
		texture = "wb_nbs_comm.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.71 0.62 } }
	}
}

New_Brunswick_WB_Maritimes_fascist_portrait = {

	textured_emblem = {
		texture = "wb_nvs_fasch.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.39 0.58 } }
	}

	textured_emblem = {
		texture = "wb_nbs_fasch.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.71 0.62 } }
	}
}

NBS = { # New Brunswick
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "red"
	color3 = "black"
	colored_emblem = {		
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
        instance = { position = { 0.5 0.18 } scale = { 1.0 0.36 } }
	}
	colored_emblem = {		
		texture = "ce_leopard_passant_guardant.dds"
		color1 = "yellow"
		color2 = "yellow"
        instance = { position = { 0.5 0.18 } scale = { 1.0 1.0 } }
	}
	colored_emblem = {		
		texture = "ce_lymphad.dds"
		color1 = "black"
		color2 = "red"
		color3 = "white"
        instance = { position = { 0.5 0.65 } scale = { 0.75 0.75 } }
	}
	colored_emblem = {		
		texture = "ce_waves.dds"
		color1 = "blue"
		color2 = "white"
        instance = { position = { 0.5 0.86 } scale = { 1.0 1.0 } }
	}	
	
	sub = {
        parent = "New_Brunswick_WB_portrait" 
    }
}
NBS_subject = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "black"
	
   sub = {
        parent = "sub_NBS" 
		instance = { scale = { 0.5 0.5 } offset = { 0.5 0.25 }  }   
    }
	
	sub = {
        parent = "New_Brunswick_WB_subject_portrait" 
    }
}

NBS_subject_FRA = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow"
	color3 = "black"
	
   sub = {
        parent = "sub_NBS_FRA" 
		instance = { scale = { 0.5 0.5 } offset = { 0.5 0.25 }  }   
    }
	
	sub = {
        parent = "New_Brunswick_WB_subject_portrait" 
    }
	
}
	
NBS_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "red"
	color3 = "black"
	colored_emblem = {		
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
        instance = { position = { 0.5 0.18 } scale = { 1.0 0.36 } }
	}
	
	colored_emblem = {		
		texture = "ce_star_16.dds"
		color1 = "yellow"
		color2 = "yellow"
        instance = { position = { 0.5 0.2 } scale = { 0.7 0.7 } }
	}
	colored_emblem = {		
		texture = "ce_star_frame_hammer_sickle.dds"
		color1 = "red"
		color2 = "yellow"
        instance = { position = { 0.5 0.2 } scale = { 0.5 0.5 } }
	}
	colored_emblem = {		
		texture = "ce_lymphad.dds"
		color1 = "black"
		color2 = "red"
		color3 = "white"
        instance = { position = { 0.5 0.65 } scale = { 0.75 0.75 } }
	}
	colored_emblem = {		
		texture = "ce_waves.dds"
		color1 = "blue"
		color2 = "white"
        instance = { position = { 0.5 0.86 } scale = { 1.0 1.0 } }
	}
		
	textured_emblem = {
		texture = "wb_nbs_comm.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.35 0.63 } }
	}
}
	
NBS_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "black"
	color2 = "black"	
	

	colored_emblem = {		
		texture = "ce_ship_manchester.dds"
		color1 = "white"
		color2 = "red"
		color3 = "red"
        instance = { position = { 0.5 0.55 } scale = { 1.5 1.6 } }
	}
	colored_emblem = {		
		texture = "ce_waves.dds"
		color1 = "red"
		color2 = "black"
        instance = { position = { 0.5 0.86 } scale = { 1.0 1.0 } }
	}
		
	sub = {
		parent = "New_Brunswick_WB_communist_portrait" 
	}
}

NBS_dictatorship = { 
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "red"
	color3 = "black"
	colored_emblem = {		
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
        instance = { position = { 0.5 0.18 } scale = { 1.0 0.36 } }
	}
	colored_emblem = {		
		texture = "ce_leopard_passant_guardant.dds"
		color1 = "yellow"
		color2 = "yellow"
        instance = { position = { 0.5 0.18 } scale = { 1.0 1.0 } }
	}
	colored_emblem = {		
		texture = "ce_lymphad.dds"
		color1 = "black"
		color2 = "red"
		color3 = "white"
        instance = { position = { 0.5 0.65 } scale = { 0.75 0.75 } }
	}
	colored_emblem = {		
		texture = "ce_waves.dds"
		color1 = "blue"
		color2 = "white"
        instance = { position = { 0.5 0.86 } scale = { 1.0 1.0 } }
	}	
	
	sub = {
        parent = "New_Brunswick_WB_fascist_portrait" 
    }
}

# United Maritimes flags

NBS_maritimes = { # New Brunswick
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "red"
	color3 = "black"
	colored_emblem = {		
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
        instance = { position = { 0.5 0.18 } scale = { 1.0 0.36 } }
	}
	colored_emblem = {		
		texture = "ce_leopard_passant_guardant.dds"
		color1 = "yellow"
		color2 = "yellow"
        instance = { position = { 0.5 0.18 } scale = { 1.0 1.0 } }
	}
	colored_emblem = {		
		texture = "ce_lymphad.dds"
		color1 = "black"
		color2 = "red"
		color3 = "white"
        instance = { position = { 0.5 0.65 } scale = { 0.75 0.75 } }
	}
	colored_emblem = {		
		texture = "ce_waves.dds"
		color1 = "blue"
		color2 = "white"
        instance = { position = { 0.5 0.86 } scale = { 1.0 1.0 } }
	}	
	
	sub = {
        parent = "New_Brunswick_WB_Maritimes_portrait" 
    }
}
NBS_maritimes_subject = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "black"
	
   sub = {
        parent = "sub_NBS" 
		instance = { scale = { 0.5 0.5 } offset = { 0.5 0.25 }  }   
    }
	
	sub = {
        parent = "New_Brunswick_WB_Maritimes_subject_portrait" 
    }
}

NBS_subject_FRA_maritimes = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow"
	color3 = "black"
	
   sub = {
        parent = "sub_NBS_FRA" 
		instance = { scale = { 0.5 0.5 } offset = { 0.5 0.25 }  }   
    }
	
	sub = {
        parent = "New_Brunswick_WB_Maritimes_subject_portrait" 
    }
	
}
	
NBS_communist_maritimes = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "red"
	color3 = "black"
	colored_emblem = {		
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
        instance = { position = { 0.5 0.18 } scale = { 1.0 0.36 } }
	}
	
	colored_emblem = {		
		texture = "ce_star_16.dds"
		color1 = "yellow"
		color2 = "yellow"
        instance = { position = { 0.5 0.2 } scale = { 0.7 0.7 } }
	}
	colored_emblem = {		
		texture = "ce_star_frame_hammer_sickle.dds"
		color1 = "red"
		color2 = "yellow"
        instance = { position = { 0.5 0.2 } scale = { 0.5 0.5 } }
	}
	colored_emblem = {		
		texture = "ce_lymphad.dds"
		color1 = "black"
		color2 = "red"
		color3 = "white"
        instance = { position = { 0.5 0.65 } scale = { 0.75 0.75 } }
	}
	colored_emblem = {		
		texture = "ce_waves.dds"
		color1 = "blue"
		color2 = "white"
        instance = { position = { 0.5 0.86 } scale = { 1.0 1.0 } }
	}
		
	sub = {
		parent = "New_Brunswick_WB_Maritimes_communist_portrait" 
	}
}
	
NBS_anarchist_maritimes = {
	pattern = "pattern_per_bend.dds"
	color1 = "black"
	color2 = "black"	
	

	colored_emblem = {		
		texture = "ce_ship_manchester.dds"
		color1 = "white"
		color2 = "red"
		color3 = "red"
        instance = { position = { 0.5 0.55 } scale = { 1.5 1.6 } }
	}
	colored_emblem = {		
		texture = "ce_waves.dds"
		color1 = "red"
		color2 = "black"
        instance = { position = { 0.5 0.86 } scale = { 1.0 1.0 } }
	}
		
	sub = {
		parent = "New_Brunswick_WB_Maritimes_communist_portrait" 
	}
}

NBS_dictatorship_maritimes = { 
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "red"
	color3 = "black"
	colored_emblem = {		
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
        instance = { position = { 0.5 0.18 } scale = { 1.0 0.36 } }
	}
	colored_emblem = {		
		texture = "ce_leopard_passant_guardant.dds"
		color1 = "yellow"
		color2 = "yellow"
        instance = { position = { 0.5 0.18 } scale = { 1.0 1.0 } }
	}
	colored_emblem = {		
		texture = "ce_lymphad.dds"
		color1 = "black"
		color2 = "red"
		color3 = "white"
        instance = { position = { 0.5 0.65 } scale = { 0.75 0.75 } }
	}
	colored_emblem = {		
		texture = "ce_waves.dds"
		color1 = "blue"
		color2 = "white"
        instance = { position = { 0.5 0.86 } scale = { 1.0 1.0 } }
	}	
	
	sub = {
        parent = "New_Brunswick_WB_Maritimes_fascist_portrait" 
    }
}


# New Brunswick Canada

The_Maritimes_WB_Maritimes_portrait = {
	
	textured_emblem = {
		texture = "wb_nvs_colonial.dds"
		instance = { scale = { 1.26 1.26 } position = { 0.38 0.58 } }
	}
	
	textured_emblem = {
		texture = "wb_nbs_default.dds"
		instance = { scale = { 1.34 1.34 } position = { 0.71 0.625 } }
	}
}


CAN_New_Brunswick = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"

	colored_emblem = {
		texture = "ce_tricolor_thick.dds"
		color1 = color2
		color2 = color1	
	}
	colored_emblem = {
		texture = "ce_maple_leaf.dds"
		color1 = color1
		color2 = color1
		instance = { scale = { 0.8 0.8 } } 
	}
	
	sub = {
        parent = "The_Maritimes_WB_Maritimes_portrait" 
    }
}
CAN_NBS_subject = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	textured_emblem = {
		texture = "te_coa_canada.dds"
		instance = { scale = { 0.6 0.6 } position = { 0.75 0.50 } }
	}
	
	sub = {
        parent = "New_Brunswick_WB_Maritimes_subject_portrait" 
    }
}
CAN_NBS_theocracy = {
	# flag of Arcadia
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 0.4 0.4 } position = { 0.18 0.3 } }
	}
	
	sub = {
        parent = "The_Maritimes_WB_Maritimes_portrait" 
    }
}
CAN_NBS_fascist = {		
	# Emblem of NUP
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_flame_canada_nup.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.52 } }
	}	
	
	sub = {
        parent = "New_Brunswick_WB_Maritimes_fascist_portrait" 
    }
}
CAN_NBS_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	colored_emblem = {
		texture = "ce_laurel.dds"
		color1 = "green"
		color2 = "orange"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.65 } }
	}		
	textured_emblem = {
		texture = "te_coa_canada.dds"
		instance = { scale = { 0.66 0.66 } position = { 0.50 0.58 } }
	}
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.40 0.40 } position = { 0.5 0.225 } }
	}	
	
	sub = {
        parent = "The_Maritimes_WB_Maritimes_portrait" 
    }
}
CAN_NBS_republic = {
	# Ephrem Cote flag
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_bend.dds"
		color1 = color2
		color2 = "red"
		instance = { scale = { 1.0 1.0 } }
	}
	colored_emblem = {
		texture = "ce_maple_leaf.dds"
		color1 = "green"
		color2 = color3
		instance = { scale = { 0.45 0.45 } } 
	}
	
	colored_emblem = {
		texture = "ce_fleur_quebec.dds"
		color1 = "white"
		color2 = color3
		instance = { scale = { 0.45 0.45 } position = { 0.84 0.7 } } 
	}
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.3 0.25 } offset = { 0.07 0.1 } }
    }
	
	sub = {
        parent = "The_Maritimes_WB_Maritimes_portrait" 
    }
}
CAN_NBS_communist = {
	# Flag of the canadian CP, only with an additionnal white stripe for difference
	
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "white"
	
	# WB edit
	
	colored_emblem = {
		texture = "ce_roundel_canada_cpc.dds"
		color1 = color3
		color2 = color3
		instance = { position = { 0.16 0.255 } scale = { 0.52 0.5 } } 
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color3
		color2 = color3
		instance = { position = { 0.85 0.5 } scale = { 0.1 1.0 } } 
	}	
	
	sub = {
        parent = "New_Brunswick_WB_Maritimes_communist_portrait" 
    }
}
CAN_NBS_oligarchy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_thick.dds"
		color1 = "red"
		color2 = "blue"
	}
	colored_emblem = {
		texture = "ce_maple_leaf_canada.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.8 0.8 } } 
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { position = { 0.75 0.5 } scale = { 0.025 1.0 } } 
		instance = { position = { 0.25 0.5 } scale = { 0.025 1.0 } } 		
	}	
	
	sub = {
        parent = "The_Maritimes_WB_Maritimes_portrait" 
    }
}
CAN_NBS_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_bend.dds"
		color1 = "white"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_maple_leaf_canada.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { position = { 0.83 0.71 } scale = { 0.55 0.55 } } 
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.45 0.45 } position = { 0.175 0.26 } }			
	}		
	
	sub = {
        parent = "New_Brunswick_WB_Maritimes_fascist_portrait" 
    }
}

CAN_NBS_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_maple_leafs.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.45 } }				
	}
		
	sub = {
		parent = "New_Brunswick_WB_Maritimes_communist_portrait" 
	}
}

CAN_NBS_subject_GBR = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	textured_emblem = {
		texture = "te_coa_canada.dds"
		instance = { scale = { 0.6 0.6 } position = { 0.75 0.50 } }
	}
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "The_Maritimes_WB_Maritimes_portrait" 
    }
}


## Newfoundland and Labrador

Newfoundland_and_Labrador_WB_portrait = {
	textured_emblem = {
		texture = "wb_new_labrador.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.7 0.65 } }
	}
	textured_emblem = {
		texture = "wb_new_newfoundland.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.54 0.64 } }
	}
}

Newfoundland_and_Labrador_WB_subject_portrait = {
	textured_emblem = {
		texture = "wb_new_labrador.dds"
		instance = { scale = { 1.2 1.2 } position = { 0.865 0.65 } }
	}
	textured_emblem = {
		texture = "wb_new_newfoundland.dds"
		instance = { scale = { 1.2 1.2 } position = { 0.805 0.6 } }
	}
}

Newfoundland_and_Labrador_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_new_labrador_comm.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.7 0.65 } }
	}
	textured_emblem = {
		texture = "wb_new_newfoundland_comm.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.54 0.64 } }
	}
}

Newfoundland_and_Labrador_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_new_labrador_fasch.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.7 0.65 } }
	}
	textured_emblem = {
		texture = "wb_new_newfoundland_fasch.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.54 0.64 } }
	}
}

NEW = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_crown_st_edward.dds"
		color1 = "yellow"
		color2 = "red_dark"
		color3 = "pearl"
		instance = { scale = { 0.42 0.42 } position = { 0.5 0.49 } } 		
	}	
	
	sub = {
		parent = "Newfoundland_and_Labrador_WB_portrait" 
	}
}
NEW_subject = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
		
	textured_emblem = {		
		texture = "te_coa_newfoundland.dds"
        instance = { position = { 0.75 0.5 } scale = { 0.5 0.5 } }
	}
	
	sub = {
		parent = "Newfoundland_and_Labrador_WB_subject_portrait" 
	}
}
NEW_republic = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "pink"
	}
	
	sub = {
		parent = "Newfoundland_and_Labrador_WB_portrait" 
	}
}
NEW_coa = {	
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_lion_statant_guardant.dds"
		color1 = "yellow"
		color2 = "blue"
		color3 = "grey"
		
		instance = { scale = { @[third*1.3] @[third*1.3] } position = { @[111/256/2] @[102/256/2+0.03] } } # top left
		instance = { scale = { @[third*1.3] @[third*1.3] } position = { @[1-(111/256/2)] @[1-(102/256/2-0.03)] } } # bottom right
	}
	colored_emblem = {
		texture = "ce_crown_st_edward.dds"
		color1 = color3
		color2 = "red"
		color3 = "pearl"
		
		instance = { scale = { 0.125 0.125 } position = { @[111/256/2-0.047] @[102/256/2-0.125] } rotation = 2.5 }
		instance = { scale = { 0.125 0.125 } position = { @[1-(111/256/2+0.047)] @[1-(102/256/2+0.125)] } rotation = 2.5 }
	}	
	colored_emblem = {
		texture = "ce_unicorn.dds"
		color1 = color2
		color2 = color3
		color3 = "grey"
		
		instance = { scale = { @[third*1.33] @[third*1.33] } position = { @[1-(111/256/2)] @[102/256/2] } } # top right
		instance = { scale = { @[third*1.33] @[third*1.33] } position = { @[111/256/2] @[1-(102/256/2)] } } # bottom left
	}
	
	sub = {
		parent = "Newfoundland_and_Labrador_WB_portrait" 
	}
}
NEW_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "pink"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "green"
	}
	
	sub = {
		parent = "Newfoundland_and_Labrador_WB_portrait" 
	}
}

NEW_communist = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_stripe_center.dds"
		color1 = "pink"
		color2 = "pink"
	}
	
	colored_emblem = {
		texture = "ce_star_05_safcp.dds"
		color1 = "white"
		color2 = "yellow"
	}
	
	sub = {
		parent = "Newfoundland_and_Labrador_WB_communist_portrait" 
	}
}

NEW_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_tree_new_england.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 1.0 1.0 } position = 	{ 0.5 0.5 } }				
	}
	
	sub = {
		parent = "Newfoundland_and_Labrador_WB_communist_portrait" 
	}
}

NEW_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "pink"
	}
	
	sub = {
		parent = "Newfoundland_and_Labrador_WB_fascist_portrait" 
	}
}

# Newfoundland Canada

CAN_Newfoundland = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"

	colored_emblem = {
		texture = "ce_tricolor_thick.dds"
		color1 = color2
		color2 = color1	
	}
	colored_emblem = {
		texture = "ce_maple_leaf.dds"
		color1 = color1
		color2 = color1
		instance = { scale = { 0.8 0.8 } } 
	}
	
	sub = {
        parent = "Newfoundland_and_Labrador_WB_portrait" 
    }
}
CAN_NEW_subject = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	textured_emblem = {
		texture = "te_coa_canada.dds"
		instance = { scale = { 0.6 0.6 } position = { 0.75 0.50 } }
	}
	
	sub = {
        parent = "Newfoundland_and_Labrador_WB_subject_portrait" 
    }
}
CAN_NEW_theocracy = {
	# Newfoundland Fishermen's Star of the Sea Association banner
	pattern = "pattern_solid.tga"
	color1 = "green"
	color2 = "red"
	color3 = "green"
	color4 = "yellow"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = "pink"
		color2 = color2
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = color2
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Newfoundland_and_Labrador_WB_portrait" 
    }
}
CAN_NEW_fascist = {		
	# Emblem of NUP
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_flame_canada_nup.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.52 } }
	}	
	
	sub = {
        parent = "Newfoundland_and_Labrador_WB_fascist_portrait" 
    }
}
CAN_NEW_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	colored_emblem = {
		texture = "ce_laurel.dds"
		color1 = "green"
		color2 = "orange"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.65 } }
	}		
	textured_emblem = {
		texture = "te_coa_canada.dds"
		instance = { scale = { 0.66 0.66 } position = { 0.50 0.58 } }
	}
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.40 0.40 } position = { 0.5 0.225 } }
	}	
	
	sub = {
        parent = "Newfoundland_and_Labrador_WB_portrait" 
    }
}
CAN_NEW_republic = {
	# Gerard Gallienne flag
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_thick.dds"
		color1 = color2
		color2 = "blue"
	}
	
	colored_emblem = {
		texture = "ce_frame_square.dds"
		color1 = "red"
		color2 = "white"
		instance = { scale = { 0.6 1 } position = { 0.5 0.5 } }
	}
	
	textured_emblem = {
		texture = "wb_can_modern_coa.png"
		instance = { scale = { 0.4 0.4 } position = { 0.50 0.5 } }
	}
	
	sub = {
        parent = "Newfoundland_and_Labrador_WB_portrait" 
    }
}
CAN_NEW_communist = {
	# Flag of the canadian CP, only with an additionnal white stripe for difference
	
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "white"
	
	# WB edit
	
	colored_emblem = {
		texture = "ce_roundel_canada_cpc.dds"
		color1 = color3
		color2 = color3
		instance = { position = { 0.16 0.255 } scale = { 0.52 0.5 } } 
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color3
		color2 = color3
		instance = { position = { 0.85 0.5 } scale = { 0.1 1.0 } } 
	}	
	
	sub = {
        parent = "Newfoundland_and_Labrador_WB_communist_portrait" 
    }
}
CAN_NEW_oligarchy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_thick.dds"
		color1 = "red"
		color2 = "blue"
	}
	colored_emblem = {
		texture = "ce_maple_leaf_canada.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.8 0.8 } } 
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { position = { 0.75 0.5 } scale = { 0.025 1.0 } } 
		instance = { position = { 0.25 0.5 } scale = { 0.025 1.0 } } 		
	}	
	
	sub = {
        parent = "Newfoundland_and_Labrador_WB_portrait" 
    }
}
CAN_NEW_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_bend.dds"
		color1 = "white"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_maple_leaf_canada.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { position = { 0.83 0.71 } scale = { 0.55 0.55 } } 
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.45 0.45 } position = { 0.175 0.26 } }			
	}		
	
	sub = {
        parent = "Newfoundland_and_Labrador_WB_fascist_portrait" 
    }
}

CAN_NEW_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_maple_leafs.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.45 } }				
	}
		
	sub = {
		parent = "Newfoundland_and_Labrador_WB_communist_portrait" 
	}
}

CAN_NEW_subject_GBR = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	textured_emblem = {
		texture = "te_coa_canada.dds"
		instance = { scale = { 0.6 0.6 } position = { 0.75 0.50 } }
	}
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "Newfoundland_and_Labrador_WB_portrait" 
    }
}


## Columbia District / Oregon / Waifu Universalis' Cascadia ##

Cascadia_WB_portrait = {
	textured_emblem = {
		texture = "wb_org_colonial.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.53 0.57 } }
	}
}

Cascadia_WB_subject_portrait = {
	textured_emblem = {
		texture = "wb_org_colonial.dds"
		instance = { scale = { -1.35 1.35 } position = { 0.53 0.57 } }
	}
}

# Reminder - There's a version that isn't using the subs under FSA_ORG_communist
Cascadia_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_org_comm.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.53 0.57 } }
	}
}

Cascadia_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_org_fasch.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.53 0.57 } }
	}
}


ORG = { # Oregon/British Columbia
	# More or less the design of the Oregon state flag reverse side (changed orientation since its not a reverse here)
	# Design is possibly a bit lacking and could be improved
	
	pattern = "pattern_solid.tga"
	color1 = "blue"	
		
	colored_emblem = {
		texture = "ce_beaver.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "blue"
		instance = { scale = { 1.0 1.0 } position = { 0.48 0.5 } }			
	}	
	
	sub = {
        parent = "Cascadia_WB_portrait" 
    }
}
ORG_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"	
		
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.32 } }
	}			
	colored_emblem = {
		texture = "ce_beaver.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "red"
		instance = { scale = { 0.75 0.75 } position = { 0.51 0.6 } }			
	}	
	
	sub = {
        parent = "Cascadia_WB_communist_portrait" 
    }
}
ORG_subject = {	
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.5 } }
	}
	colored_emblem = {
		texture = "ce_beaver.dds" # TODO Beaver with tail variant
		color1 = "tan"
		color2 = "tan"
		color3 = "white"
		instance = { scale = { 0.4 0.4 } position = { 0.75 0.5 } }
	}
	colored_emblem = {
		texture = "ce_laurel_circled.dds"
		color1 = "green"
		color2 = "green"
		color3 = "red"
		instance = { scale = { 0.58 0.55 } position = { 0.75 0.51 } }
	}	
	
	sub = {
        parent = "Cascadia_WB_subject_portrait" 
    }
}
ORG_subject_GBR = {
	
	pattern = "pattern_solid.tga"
	color1 = "blue"	
    sub = {
        parent = "sub_GBR_uk" 
        instance = { scale = { 0.5 0.5 } } 
    }	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.5 } }			
	}		
	colored_emblem = {
		texture = "ce_crown_st_edward.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "white"
		instance = { scale = { 0.36 0.36 } position = { 0.75 0.61 } }
	}	
	colored_emblem = {
		texture = "ce_lion_statant_guardant.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "white"
		instance = { scale = { 0.3 0.3 } position = { 0.75 0.43 } }
	}	
	colored_emblem = {
		texture = "ce_crown_st_edward.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.72 0.325 } rotation = 7.5 }
	}	
	colored_emblem = {
		texture = "ce_letter_b.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.225 0.225 } position = { 0.635 0.5 } }			
	}	
	colored_emblem = {
		texture = "ce_letter_c.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.225 0.225 } position = { 0.865 0.5 } }			
	}	
	
	sub = {
        parent = "Cascadia_WB_subject_portrait" 
    }
}

	
ORG_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "red"
	color2 = "black"	

	colored_emblem = {
		texture = "ce_tree_new_england.dds"
		color1 = "white"
		color2 = "white"
			instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }				
	}
		
	sub = {
		parent = "Cascadia_WB_communist_portrait" 
	}
}

ORG_dictatorship = {
	
	pattern = "pattern_solid.tga"
	color1 = "blue"	
		
	colored_emblem = {
		texture = "ce_beaver.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "blue"
		instance = { scale = { 1.0 1.0 } position = { 0.48 0.5 } }			
	}	
	
	sub = {
        parent = "Cascadia_WB_fascist_portrait" 
    }
}

# Oregon/Cascadia Canada

CAN_Oregon = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"

	colored_emblem = {
		texture = "ce_tricolor_thick.dds"
		color1 = color2
		color2 = color1	
	}
	colored_emblem = {
		texture = "ce_maple_leaf.dds"
		color1 = color1
		color2 = color1
		instance = { scale = { 0.8 0.8 } } 
	}
	
	sub = {
        parent = "Cascadia_WB_portrait" 
    }
}
CAN_ORG_subject = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	textured_emblem = {
		texture = "wb_can_CoA_British_Columbia.png"
		instance = { scale = { 0.6 0.6 } position = { 0.75 0.50 } }
	}
	
	sub = {
        parent = "Cascadia_WB_subject_portrait" 
    }
}
CAN_ORG_theocracy = {
	# Anglican Church of Canada
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"
	color3 = "green"
	color4 = "yellow"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_maple_leaf.dds"
		color1 = color3
		color2 = color4
		
		instance = { scale = { 0.33 0.33 } position = { @[111/256/2] @[102/256/2] } } # top left
		instance = { scale = { 0.33 0.33 } position = { @[1-(111/256/2)] @[102/256/2] } } # top right
		instance = { scale = { 0.33 0.33 } position = { @[1-(111/256/2)] @[1-(102/256/2)] } } # bottom right
		instance = { scale = { 0.33 0.33 } position = { @[111/256/2] @[1-(102/256/2)] } }
	}
	
	sub = {
        parent = "Cascadia_WB_portrait" 
    }
}
CAN_ORG_fascist = {		
	# Emblem of NUP
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_flame_canada_nup.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.52 } }
	}	
	
	sub = {
        parent = "Cascadia_WB_fascist_portrait" 
    }
}
CAN_ORG_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	colored_emblem = {
		texture = "ce_laurel.dds"
		color1 = "green"
		color2 = "orange"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.65 } }
	}		
	textured_emblem = {
		texture = "te_coa_canada.dds"
		instance = { scale = { 0.66 0.66 } position = { 0.50 0.58 } }
	}
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.40 0.40 } position = { 0.5 0.225 } }
	}	
	
	sub = {
        parent = "Cascadia_WB_portrait" 
    }
}
CAN_ORG_republic = {
	# An alleged proposed Canadian flag from British Columbia from the 1940s
	pattern = "pattern_solid.tga"
	color1 = "white"
	
	colored_emblem = {
		texture = "ce_maple_leaf_canada.dds"
		color1 = "red"
		color2 = color3
		instance = { scale = { 0.6 0.6 } position = { 0.75 0.50 } }
	}
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "Cascadia_WB_portrait" 
    }
}
CAN_ORG_communist = {
	# Flag of the canadian CP, only with an additionnal white stripe for difference
	
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "white"
	
	# WB edit
	
	colored_emblem = {
		texture = "ce_roundel_canada_cpc.dds"
		color1 = color3
		color2 = color3
		instance = { position = { 0.16 0.255 } scale = { 0.52 0.5 } } 
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color3
		color2 = color3
		instance = { position = { 0.85 0.5 } scale = { 0.1 1.0 } } 
	}	
	
	sub = {
        parent = "Cascadia_WB_communist_portrait" 
    }
}
CAN_ORG_oligarchy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_thick.dds"
		color1 = "red"
		color2 = "blue"
	}
	colored_emblem = {
		texture = "ce_maple_leaf_canada.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.8 0.8 } } 
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { position = { 0.75 0.5 } scale = { 0.025 1.0 } } 
		instance = { position = { 0.25 0.5 } scale = { 0.025 1.0 } } 		
	}	
	
	sub = {
        parent = "Cascadia_WB_portrait" 
    }
}
CAN_ORG_dictatorship = {
	# A flag proposed by the ethno-nationalist Native Sons of Canada for the Great Canadian flag debate
	pattern = "pattern_per_bend.dds"
	color1 = "red_light"
	color2 = "white"
	color3 = "yellow"


	colored_emblem = {
		texture = "ce_maple_leaf_canada.dds"
		color1 = "red"
		color2 = "yellow"
		instance = { position = { 0.5 0.49 } scale = { 0.8 0.8 } } 
	}	
	
	
	sub = {
        parent = "Cascadia_WB_fascist_portrait" 
    }
}

CAN_ORG_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_maple_leafs.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.45 } }				
	}
		
	sub = {
		parent = "Cascadia_WB_communist_portrait" 
	}
}

CAN_ORG_subject_GBR = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	textured_emblem = {
		texture = "wb_can_CoA_British_Columbia.png"
		instance = { scale = { 0.6 0.6 } position = { 0.75 0.50 } }
	}
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "Cascadia_WB_portrait" 
    }
}


## Quebec / Lower Canada / France's Grumpy Daughter ##

Quebec_WB_portrait = {
	textured_emblem = {
		texture = "wb_que_lower_canada.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.57 0.57 } }
	}
}

Quebec_WB_colonist_portrait = {
	textured_emblem = {
		texture = "wb_que_lower_canada.dds"
		instance = { scale = { 1.38 1.38 } position = { 0.73 0.6 } }
	}
}

Quebec_WB_with_mom_portrait = {
	
	textured_emblem = {
		texture = "wb_fra_repub.dds"
		instance = { scale = { 1.4 1.4 } position = { 0.48 0.68 } }
	}
	
	textured_emblem = {
		texture = "wb_que_lower_canada.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.73 0.8 } }
	}
}

Quebec_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_que_comm.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.57 0.57 } }
	}
}

Quebec_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_que_fasch.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.57 0.57 } }
	}
}

QUE = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_fleur_quebec.dds"
		color1 = color2
		color2 = color2
		
		instance = { scale = { @third @third } position = { @[111/256/2] @[102/256/2] } } # top left
		instance = { scale = { @third @third } position = { @[1-(111/256/2)] @[102/256/2] } } # top right
		instance = { scale = { @third @third } position = { @[1-(111/256/2)] @[1-(102/256/2)] } } # bottom right
		instance = { scale = { @third @third } position = { @[111/256/2] @[1-(102/256/2)] } }
	}
	
	sub = {
        parent = "Quebec_WB_portrait" 
    }
}
QUE_communist = {	 
	# 1837 Republican colours
	
	pattern = "pattern_solid.tga"
	color1 = "green"
			
	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "white"
		color2 = "white"
	}			
	colored_emblem = {
		texture = "ce_rhombus.dds"
		color1 = "red"
		color2 = "red"
		instance = { position = { 0 0.5 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { position = { 0.175 0.5 } scale = { 0.4 0.4 } }
	}	
	
	sub = {
        parent = "Quebec_WB_communist_portrait" 
    }
}
QUE_subject = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {		
		texture = "ce_shield_heater_fess.dds"
		color1 = "yellow"
		color2 = "red"
        instance = { position = { 0.75 0.5 } scale = { 0.5 0.5 } }
	}
    sub = {
        parent = "sub_QUE_coa" 
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.25 }  }
    }
	
	sub = {
        parent = "Quebec_WB_colonist_portrait" 
    }
}
QUE_secessionist = {
	# 1837 Lower Canada
	
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}
	
	sub = {
        parent = "Quebec_WB_portrait" 
    }
}
QUE_subject_FRA = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_fleur_quebec.dds"
		color1 = color3
		color2 = color3
		
		instance = { scale = { @third @third } position = { @[111/256/2] @[102/256/2] } } # top left
		instance = { scale = { @third @third } position = { @[1-(111/256/2)] @[102/256/2] } } # top right
		instance = { scale = { @third @third } position = { @[1-(111/256/2)] @[1-(102/256/2)] } } # bottom right
		instance = { scale = { @third @third } position = { @[111/256/2] @[1-(102/256/2)] } }
	}
	
	sub = {
        parent = "Quebec_WB_with_mom_portrait" 
    }
}
	
QUE_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_beaver.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 1.0 1.0 } position = 	{ 0.5 0.5 } }				
	}
	
	sub = {
		parent = "Quebec_WB_communist_portrait" 
	}
}

QUE_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_fleur_quebec.dds"
		color1 = color2
		color2 = color2
		
		instance = { scale = { @third @third } position = { @[111/256/2] @[102/256/2] } } # top left
		instance = { scale = { @third @third } position = { @[1-(111/256/2)] @[102/256/2] } } # top right
		instance = { scale = { @third @third } position = { @[1-(111/256/2)] @[1-(102/256/2)] } } # bottom right
		instance = { scale = { @third @third } position = { @[111/256/2] @[1-(102/256/2)] } }
	}
	
	sub = {
        parent = "Quebec_WB_fascist_portrait" 
    }
}

# Quebec Canada

CAN_Quebec = {
	# A flag submission from the Great Canadian flag debate
	pattern = "pattern_vertical_split_01.tga"
	color1 = "blue"
	color2 = "white"
	
	colored_emblem = {
		texture = "ce_maple_leaf.dds"
		color1 = "yellow"
		color2 = "orange"
		instance = { scale = { 0.5 0.5 } position = { 0.25 0.35 } }
	}
	
	colored_emblem = {
		texture = "ce_maple_leaf.dds"
		color1 = "red"
		color2 = "orange"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.65 } }
	}
	
	colored_emblem = {
		texture = "ce_maple_leaf.dds"
		color1 = "green"
		color2 = "orange"
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.35 } }
	}
	
	colored_emblem = {
		texture = "ce_fleur_quebec.dds"
		color1 = "yellow_light"
		color2 = "orange"
		instance = { scale = { 0.3 0.3 } position = { 0.25 0.35 } }
		instance = { scale = { 0.3 0.3 } position = { 0.5 0.65 } }
		instance = { scale = { 0.3 0.3 } position = { 0.75 0.35 } }
	}
	
	sub = {
        parent = "Quebec_WB_portrait" 
    }
}
CAN_QUE_subject = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	textured_emblem = {
		texture = "te_coa_canada.dds"
		instance = { scale = { 0.6 0.6 } position = { 0.75 0.50 } }
	}
	
	sub = {
        parent = "Quebec_WB_colonist_portrait" 
    }
}
CAN_QUE_theocracy = {
	# flag of Arcadia
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 0.4 0.4 } position = { 0.18 0.3 } }
	}
	
	sub = {
        parent = "Quebec_WB_portrait" 
    }
}
CAN_QUE_fascist = {		
	# Emblem of NUP
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_flame_canada_nup.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.52 } }
	}	
	
	sub = {
        parent = "Quebec_WB_fascist_portrait" 
    }
}
CAN_QUE_absolute_monarchy = {
	# A proposed flag from the Great Canadian flag debate
	pattern = "pattern_vertical_split_01.tga"
	color1 = "red"
	color2 = "white"
	
	colored_emblem = {
		texture = "ce_maple_leaf.dds"
		color1 = "white"
		color2 = "orange"
		instance = { scale = { 0.25 0.25 } position = { 0.25 0.2 } }
		instance = { scale = { 0.25 0.25 } position = { 0.15 0.5 } }
		instance = { scale = { 0.25 0.25 } position = { 0.35 0.5 } }
		instance = { scale = { 0.25 0.25 } position = { 0.25 0.8 } }
	}

	colored_emblem = {
		texture = "ce_maple_leaf.dds"
		color1 = "red"
		color2 = "orange"
		instance = { scale = { 0.25 0.25 } position = { 0.75 0.2 } }
		instance = { scale = { 0.25 0.25 } position = { 0.65 0.5 } }
		instance = { scale = { 0.25 0.25 } position = { 0.85 0.5 } }
		instance = { scale = { 0.25 0.25 } position = { 0.75 0.8 } }
	}
	
	colored_emblem = {
		texture = "ce_maple_leaf.dds"
		color1 = "red"
		color2 = "orange"
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.2 } }
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.8 } }
	}
	
	colored_emblem = {
		texture = "ce_maple_leaf.dds"
		color1 = "white"
		color2 = "orange"
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.2 } }
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.8 } }
		mask = { 1 }
	}
	
	sub = {
        parent = "Quebec_WB_portrait" 
    }
}
CAN_QUE_republic = {
	# Canadian Unity flag
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_thick.dds"
		color1 = "blue"
		color2 = color1
	}
	
	colored_emblem = {
		texture = "ce_frame_square.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.6 1 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_maple_leaf.dds"
		color1 = color3
		color2 = color3
		instance = { scale = { 0.7 0.7 } } 
	}
	
	
	sub = {
        parent = "Quebec_WB_portrait" 
    }
}
CAN_QUE_communist = {
	# Flag of the canadian CP, only with an additionnal white stripe for difference
	
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "white"
	
	# WB edit
	
	colored_emblem = {
		texture = "ce_roundel_canada_cpc.dds"
		color1 = color3
		color2 = color3
		instance = { position = { 0.16 0.255 } scale = { 0.52 0.5 } } 
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color3
		color2 = color3
		instance = { position = { 0.85 0.5 } scale = { 0.1 1.0 } } 
	}	
	
	textured_emblem = {
		texture = "wb_que_comm.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.5 0.57 } }
	}
}
CAN_QUE_oligarchy = {
	# Adelard Godbout's flag
	pattern = "pattern_per_bend.dds"
	color1 = "red"
	color2 = "white"


	colored_emblem = {
		texture = "ce_maple_leaf.dds"
		color1 = "green"
		color2 = color1
		instance = { scale = { 0.75 0.7 } position = 	{ 0.5 0.48 } } 
	}
	
	sub = {
        parent = "Quebec_WB_portrait" 
    }
}
CAN_QUE_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_bend.dds"
		color1 = "white"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_maple_leaf_canada.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { position = { 0.83 0.71 } scale = { 0.55 0.55 } } 
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.45 0.45 } position = { 0.175 0.26 } }			
	}		
	
	sub = {
        parent = "Quebec_WB_fascist_portrait" 
    }
}

CAN_QUE_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_maple_leafs.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.45 } }				
	}
		
	sub = {
		parent = "Quebec_WB_communist_portrait" 
	}
}

CAN_QUE_subject_GBR = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	textured_emblem = {
		texture = "te_coa_canada.dds"
		instance = { scale = { 0.6 0.6 } position = { 0.75 0.50 } }
	}
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "Quebec_WB_portrait" 
    }
}

CAN_QUE_subject_FRA = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_fleur_quebec.dds"
		color1 = color3
		color2 = color3
		
		instance = { scale = { @third @third } position = { @[111/256/2] @[102/256/2] } } # top left
		instance = { scale = { @third @third } position = { @[1-(111/256/2)] @[102/256/2] } } # top right
		instance = { scale = { @third @third } position = { @[1-(111/256/2)] @[1-(102/256/2)] } } # bottom right
		instance = { scale = { @third @third } position = { @[111/256/2] @[1-(102/256/2)] } }
	}
	
	textured_emblem = {
		texture = "wb_que_lower_canada.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.5 0.57 } }
	}
}

# Texas #

Texas_WB_portrait = {
	textured_emblem = {
		texture = "wb_tex_default.dds"
		instance = { scale = { 1.34 1.34 } position = { 0.52 0.575 } }
	}
}

Texas_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_tex_comm.dds"
		instance = { scale = { 1.34 1.34 } position = { 0.52 0.575 } }
	}
}

Texas_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_tex_fasch.dds"
		instance = { scale = { 1.34 1.34 } position = { 0.52 0.575 } }
	}
}

Texas_WB_subject_portrait = {
	textured_emblem = {
		texture = "wb_tex_default.dds"
		instance = { scale = { 1.34 1.34 } position = { 0.7 0.575 } }
	}
}

TEX = {	
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.51 }  }
	}
	
	sub = {
        parent = "Texas_WB_portrait" 
    }
}
TEX_absolute_monarchy = {	
	pattern = "pattern_border_of_4.dds"
	color1 = "white"
	color2 = "red"

    sub = {
        parent = "sub_TEX_coa" 
		instance = { scale = { 0.8 0.8 } offset = { 0.1 0.1 } }
    }
	
	sub = {
        parent = "Texas_WB_portrait" 
    }
}
TEX_subject_USA = {
	@tex_star_position = @[1/3/2]
	
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 1 @[1/2] } position = { 0.5 0.75 } }
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { @[1/3] 1 } position = { @tex_star_position 0.5 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.5 0.5 } position = { @tex_star_position 0.5 } }
	}
	
	sub = {
        parent = "Texas_WB_portrait" 
    }
}
TEX_subject = {
	# subject, other than USA & SPA, based on a (speculative) battle flag
	
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow"
		
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.4 0.4 } position = { 0.25 0.76 } }
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.5 1.0 } position = { 0.75 0.5 }  }
	}	
	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.5 1.0 } position = { 0.75 0.5 }  }
	}	
	
	textured_emblem = {
		texture = "wb_tex_default.dds"
		instance = { scale = { 1.34 1.34 } position = { 0.7 0.575 } }
	}
}
TEX_oligarchy = {
	# 1836 variant (naval ensign)
	
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 0.36 0.54 } position = { 0.18 0.27 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.35 0.35 } position = { 0.18 0.27 } }
	}
	
	sub = {
        parent = "Texas_WB_portrait" 
    }
}
TEX_merchant = {
	# 1839 another variant (merchant flag)
	
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 1.0 0.25 } position = { 0.5 0.125 } }			
	}	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"	
		instance = { scale = { 1.0 0.25 } position = { 0.5 0.875 } }		
	}		
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.52 } }
	}	
	
	sub = {
        parent = "Texas_WB_fascist_portrait" 
    }
}
TEX_Bonnie_Blue = {	
	# Bonnie blue w/ yellow border
	
	pattern = "pattern_border_of_4.dds"
	color1 = "blue"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.51 }  }
	}
	
	sub = {
        parent = "Texas_WB_portrait" 
    }
}
TEX_communist = {	
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "red"

	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.72 0.72 } position = { 0.5 0.51 }  }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.51 }  }
	}	
	
	sub = {
        parent = "Texas_WB_communist_portrait" 
    }
}
TEX_subject_SPA = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_cross_burgundy.dds"
		color1 = "red"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 0.42 0.42 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.35 0.35 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Texas_WB_portrait" 
    }
}
TEX_subject_MEX = {
	# Flag of the Alamo
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
    sub = {
        parent = "sub_TEX_subject_MEX" 
		instance = { scale = { 0.7 0.7 } offset = { 0.15 0.15 } }		
    }
	
	sub = {
        parent = "Texas_WB_portrait" 
    }
}

# WB originals

TEX_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "red"
	color2 = "red"	
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.4 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_l.dds"
		color1 = "white"
		instance = { scale = { 0.2 0.2 } position = { 0.08 0.7 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_i.dds"
		color1 = "white"
		instance = { scale = { 0.2 0.2 } position = { 0.13 0.7 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_b.dds"
		color1 = "white"
		instance = { scale = { 0.2 0.2 } position = { 0.18 0.7 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_e.dds"
		color1 = "white"
		instance = { scale = { 0.2 0.2 } position = { 0.24 0.7 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_r.dds"
		color1 = "white"
		instance = { scale = { 0.2 0.2 } position = { 0.3 0.7 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_t.dds"
		color1 = "white"
		instance = { scale = { 0.2 0.2 } position = { 0.36 0.7 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_y.dds"
		color1 = "white"
		instance = { scale = { 0.2 0.2 } position = { 0.4 0.7 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_o.dds"
		color1 = "white"
		instance = { scale = { 0.15 0.15 } position = { 0.48 0.72 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_r.dds"
		color1 = "white"
		instance = { scale = { 0.15 0.15 } position = { 0.53 0.72 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_d.dds"
		color1 = "white"
		instance = { scale = { 0.2 0.2 } position = { 0.63 0.7 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_e.dds"
		color1 = "white"
		instance = { scale = { 0.2 0.2 } position = { 0.695 0.7 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_a.dds"
		color1 = "white"
		instance = { scale = { 0.2 0.2 } position = { 0.76 0.7 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_t.dds"
		color1 = "white"
		instance = { scale = { 0.2 0.2 } position = { 0.817 0.7 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_h.dds"
		color1 = "white"
		instance = { scale = { 0.2 0.2 } position = { 0.88 0.7 } }
	}
	
	sub = {
        parent = "Texas_WB_communist_portrait" 
    }
}

### Central America ###

## Cuba ##

Cuba_WB_viceroyalty_portrait = {
	textured_emblem = {
		texture = "wb_cub_placeholder.dds"
		instance = { scale = { 1.47 1.47 } position = { 0.475 0.575 } }
	}
}

Cuba_WB_placeholder_portrait = {
	textured_emblem = {
		texture = "wb_cub_placeholder_alt.dds"
		instance = { scale = { 1.65 1.65 } position = { 0.45 0.8 } }
	}
}

CUB = { # Cuba
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_stripes_05.dds"
		color1 = color1
		color2 = color1
	}
	colored_emblem = {
		texture = "ce_rhombus.dds"
		color1 = color3
		color2 = color3
		instance = { position = { 0 0.5 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.175 0.5 } scale = { 0.4 0.4 } }
	}
	
	sub = {
        parent = "Cuba_WB_placeholder_portrait" 
    }
}
CUB_spa = {
	# Autonomista flag. Didn't actually appear until the 1890s.
	# Historically Cuba was using the Spanish flag which is a bit boring

	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "red"
	color3 = "white"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
	}
	colored_emblem = {
		texture = "ce_stripes_05.dds"
		color1 = color1
		color2 = color1
	}
	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = color3
		color2 = color3
	}
	
	sub = {
        parent = "Cuba_WB_viceroyalty_portrait" 
    }
}
CUB_early = {
	# Bolivar Flag - First independentist flag
	
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 1.0 0.1 } position = { 0.5 0.05 } }	
		instance = { scale = { 1.0 0.1 } position = { 0.5 0.95 } }		
		instance = { scale = { 0.066 1.0 } position = { 0.033 0.5 } }	
		instance = { scale = { 0.066 1.0 } position = { 0.967 0.5 } }			
	}
	colored_emblem = {
		texture = "ce_inti.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.5 } }
	}	
	
	sub = {
        parent = "Cuba_WB_viceroyalty_portrait" 
    }
}
CUB_subject_USA = {
	# Inspired from 1847 Independentist flag (Club de la Habana) - Precusor to modern one
	
	pattern = "pattern_solid.tga"
	color1 = "white"
	
	colored_emblem = {
		texture = "ce_stripes_05.dds"
		color1 = "red"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { position = { 0.2 0.5 } scale = { 0.4 1.0 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.2 0.5 } }
	}
	
	sub = {
        parent = "Cuba_WB_placeholder_portrait" 
    }
}
CUB_oligarchy = {
	# 1848 Independentist Flag (Conspiración de La Mina)
	
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { position = { 0.5 0.5 } scale = { 1.0 0.55 } }
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.20 0.51 } }
	}	
	
	sub = {
        parent = "Cuba_WB_placeholder_portrait" 
    }
}
CUB_dictatorship = {
	# 1868 Independentist Flag (Grito de Yara)
	
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 1.0 0.5 } position = { 0.5 0.75 } }
	}

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.25 0.25 }  }
	}

	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { @third @third } position = { 0.25 0.25 }  }
	}
	
	sub = {
        parent = "Cuba_WB_placeholder_portrait" 
    }
}
CUB_subject = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "red"

	textured_emblem  = {
		texture = "te_coa_cuba.dds"
		instance = { scale = { 0.55 0.55 } position = { 0.75 0.50 } }	
	}			
	
	textured_emblem = {
		texture = "wb_cub_placeholder_alt.dds"
		instance = { scale = { 1.65 1.65 } position = { 0.55 0.8 } }
	}
}

CUB_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "red"
	color2 = "black"	
	
	colored_emblem = {
		texture = "ce_star_05_circle.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }				
	}
	
	sub = {
		parent = "Cuba_WB_placeholder_portrait" 
	}
}


## Haiti ##

Haiti_WB_portrait = {
	textured_emblem = {
		texture = "wb_hai_repub.dds"
		instance = { scale = { 1.44 1.44 } position = { 0.537 0.57 } }
	}
}

Haiti_WB_monarchist_portrait = {
	textured_emblem = {
		texture = "wb_hai_monarch.dds"
		instance = { scale = { 1.39 1.39 } position = { 0.57 0.537 } }
	}
}

Haiti_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_hai_comm.dds"
		instance = { scale = { 1.455 1.455 } position = { 0.535 0.655 } }
	}
}

Haiti_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_hai_fascsh.dds"
		instance = { scale = { 1.58 1.58 } position = { 0.595 0.755 } }
	}
}

Haiti_WB_subject_portrait = {
	textured_emblem = {
		texture = "wb_hai_fascsh_alt.dds"
		instance = { scale = { 1.58 1.58 } position = { 0.595 0.755 } }
	}
}

HAI = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "red"
		color2 = "red"
	}
	
	sub = {
		parent = "Haiti_WB_portrait" 
	}
}
HAI_republic = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_bicolor_right.dds"
		color1 = "red"
		color2 = "red"
	}
	
	sub = {
		parent = "Haiti_WB_portrait" 
	}
}
HAI_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "red"
		color2 = "red"
	}	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "red"
		instance = { scale = { 0.33 0.5 } position = { 0.5 0.5 } }			
	}
	colored_emblem = {
		texture = "ce_palm_tree.dds"
		color1 = "brown_light"
		color2 = "green"
		instance = { scale = { 0.54 0.54 } position = { 0.5 0.49 } }		
	}
	colored_emblem = {
		texture = "ce_coa_haiti.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "yellow"
		instance = { scale = { 0.40 0.37 } position = { 0.5 0.60 } }		
	}	
	
	sub = {
		parent = "Haiti_WB_monarchist_portrait" 
	}
}
HAI_communist = { 
	pattern = "pattern_solid.tga"
	color1 = "red"
				
	colored_emblem = {
		texture = "ce_bicolor_right.dds"
		color1 = "blue"
		color2 = "blue"		
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.5 0.5 } position = { 0.25 0.5 } }
	}		
	
	sub = {
		parent = "Haiti_WB_communist_portrait" 
	}
}
HAI_subject = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.5 } }			
	}
	colored_emblem = {
		texture = "ce_palm_tree.dds"
		color1 = "brown_light"
		color2 = "green"
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.5 } }		
	}
	colored_emblem = {
		texture = "ce_coa_haiti.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "yellow"
		instance = { scale = { 0.38 0.35 } position = { 0.75 0.59 } }		
	}	
	
	textured_emblem = {
		texture = "wb_hai_repub.dds"
		instance = { scale = { 1.39 1.39 } position = { 0.63 0.543 } }
	}
}
HAI_subject_SPA = { 
	# Spanish Haiti, derived from Great Columbia
	pattern = "pattern_solid.tga"
	color1 = "yellow"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 1.0 0.25 } position = { 0.5 0.625 } }			
	}
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 1.0 0.25 } position = { 0.5 0.875 } }			
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.42 0.595 } }
		instance = { scale = { 0.1 0.1 } position = { 0.5 0.565 } }
		instance = { scale = { 0.1 0.1 } position = { 0.58 0.595 } }	
		instance = { scale = { 0.1 0.1 } position = { 0.365 0.68 } }
		instance = { scale = { 0.1 0.1 } position = { 0.635 0.68 } }			
	}		

	sub = {
		parent = "Haiti_WB_subject_portrait" 
	}	
}
HAI_subject_USA = { 
	
	pattern = "pattern_solid.tga"
	color1 = "blue"
				
	colored_emblem = {
		texture = "ce_bicolor_right.dds"
		color1 = "red"
		color2 = "red"		
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.25 0.5 } }
	}		
	
	sub = {
		parent = "Haiti_WB_portrait" 
	}
}

HAI_anarchist = { 
	pattern = "pattern_per_bend_senester.dds"
	color1 = "red"
	color2 = "black"		
	
	sub = {
		parent = "Haiti_WB_communist_portrait" 
	}
}

HAI_subject_FRA = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	
	textured_emblem = {
		texture = "te_necklace_st_george_parma.dds"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.55 } }
	}
	
	colored_emblem = {
		texture = "wb_ce_accolade_bend.dds"
		color1 = "blue"
		color2 = "blue"
		color3 = "blue"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.56 } }			
	}
	colored_emblem = {
		texture = "ce_fleur_de_lis.dds"
		color1 = "yellow"
		instance = { scale = { 0.25 0.25 } position = { 0.44 0.47 } }
		instance = { scale = { 0.25 0.25 } position = { 0.57 0.47 } }
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.63 } }
	}
	
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.6 0.5 } position = { 0.5 0.23 } }
	}
	
	sub = {
		parent = "Haiti_WB_subject_portrait" 
	}
}

# WB originals

HAI_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "ce_bicolor_right.dds"
		color1 = "red"
		color2 = "red"
	}
	
	sub = {
		parent = "Haiti_WB_monarchist_portrait" 
	}
}

HAI_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "red"
		color2 = "red"
	}
	
	sub = {
		parent = "Haiti_WB_fascist_portrait" 
	}
}

HAI_dictatorship_alt = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_bicolor_right.dds"
		color1 = "red"
		color2 = "red"
	}
	
	sub = {
		parent = "Haiti_WB_fascist_portrait" 
	}
}

HAI_republic_subject = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_bicolor_right.dds"
		color1 = "red"
		color2 = "red"
	}
	
	textured_emblem = {
		texture = "wb_hai_repub.dds"
		instance = { scale = { 1.39 1.39 } position = { 0.63 0.543 } }
	}
}

HAI_republic_coa = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "red"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_frame_square.dds"
		color1 = "white"
		color2 = "red"
		instance = { scale = { 0.75 0.6 } position = { 0.5 0.5 } }			
	}
	
	textured_emblem = {
		texture = "wb_hai_coa.png"
		instance = { scale = { 0.755 0.75 } position = { 0.5 0.505 } }
	}
	
	sub = {
		parent = "Haiti_WB_portrait" 
	}
}

HAI_fascist = {
	# A tad bit anachronistic, but this is the Duvalier flag
	
	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "ce_bicolor_right.dds"
		color1 = "red"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_frame_square.dds"
		color1 = "white"
		color2 = "red"
		instance = { scale = { 0.75 0.6 } position = { 0.5 0.5 } }			
	}
	
	textured_emblem = {
		texture = "wb_hai_coa_duvalier.png"
		instance = { scale = { 0.755 0.75 } position = { 0.5 0.505 } }
	}
	
	sub = {
		parent = "Haiti_WB_fascist_portrait" 
	}
}

HAI_secessionist = { 
	pattern = "pattern_solid.tga"
	color1 = "red"
				
	colored_emblem = {
		texture = "ce_bicolor_right.dds"
		color1 = "blue"
		color2 = "blue"		
	}
	colored_emblem = {
		texture = "wb_ce_liberte_ou_la_mort.png"
		color1 = "white"
	}		
	
	sub = {
		parent = "Haiti_WB_portrait" 
	}
}

HAI_secessionist_dictatorship = { 
	pattern = "pattern_solid.tga"
	color1 = "red"
				
	colored_emblem = {
		texture = "ce_bicolor_right.dds"
		color1 = "black"
		color2 = "blue"		
	}
	colored_emblem = {
		texture = "wb_ce_liberte_ou_la_mort.png"
		color1 = "white"
	}		
	
	sub = {
		parent = "Haiti_WB_fascist_portrait" 
	}
}

HAI_secessionist_communist = { 
	pattern = "pattern_solid.tga"
	color1 = "red"
				
	colored_emblem = {
		texture = "ce_bicolor_right.dds"
		color1 = "blue"
		color2 = "blue"		
	}
	colored_emblem = {
		texture = "wb_ce_liberte_ou_la_mort.png"
		color1 = "white"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.6 } }
	}		
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.3 0.3 } position = { 0.5 0.2 } }
	}
	
	sub = {
		parent = "Haiti_WB_communist_portrait" 
	}
}

## Mexico ##

Mexico_WB_portrait = {
	textured_emblem = {
		texture = "wb_mex_repub.dds"
		instance = { scale = { 1.38 1.38 } position = { 0.49 0.53 } }
	}
}

Mexico_WB_monarchist_portrait = {
	textured_emblem = {
		texture = "wb_mex_monarch.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.45 0.55 } }
	}
}

Mexico_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_mex_comm.dds"
		instance = { scale = { 1.49 1.49 } position = { 0.505 0.597 } }
	}
}

Mexico_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_mex_fascsh.dds"
		instance = { scale = { 1.34 1.34 } position = { 0.508 0.644 } }
	}
}

Mexico_WB_junta_portrait = {
	textured_emblem = {
		texture = "wb_mex_fascsh_alt.dds"
		instance = { scale = { 1.34 1.34 } position = { 0.508 0.644 } }
	}
}

Mexico_WB_subject_portrait = {
	textured_emblem = {
		texture = "wb_mex_repub.dds"
		instance = { scale = { 1.2 1.2 } position = { 0.745 0.51 } }
	}
}

Mexico_WB_monarchist_subject_portrait = {
	textured_emblem = {
		texture = "wb_mex_monarch_alt.dds"
		instance = { scale = { 1.36 1.36 } position = { 0.45 0.553 } }
	}
}

MEX = { # Mexico
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}

	textured_emblem = {
		texture = "te_coa_mexico.dds"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Mexico_WB_portrait" 
    }
}
MEX_subject = { 
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_coa_frame_mexico.dds"
		color1 = "white"
		color2 = "yellow_dark"
		color3 = "brown"
		instance = { scale = { 0.65 0.65 } position = { 0.75 0.5 } }
	}

	textured_emblem = {
		texture = "te_coa_mexico.dds"
		instance = { scale = { 0.42 0.42 } position = { 0.75 0.51 } }
	}
	
	sub = {
        parent = "Mexico_WB_monarchist_subject_portrait" 
    }
}
MEX_absolute_monarchy = {
	# 1865 imperial design
	
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	textured_emblem = {
		texture = "te_eagle_mexico.dds"
		instance = { scale = { 0.65 0.65 } position = { 0.51 0.60 } }
	}
	textured_emblem = {
		texture = "te_crown_imperial_eagles.dds"
		instance = { scale = { 0.35 0.35 } position = { 0.5 0.23 } }
	}	
	
	sub = {
        parent = "Mexico_WB_monarchist_portrait" 
    }
}
MEX_dictatorship = {
	# Inspired by the 1815 independentist flag
	
	pattern = "pattern_border_of_4.dds"
	color1 = "white"
	color2 = "red"

	colored_emblem = {
		texture = "ce_checker_05.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 1.225	0.8 } position = { 0.5 0.5 } }		
		mask = { 1 }
	}	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.525 0.48 } position = { 0.5 0.5 } }			
	}	
	colored_emblem = {
		texture = "ce_wreath.dds"
		color1 = "green"
		color2 = "green"
		instance = { scale = { 0.60 0.60 } position = { 0.5 0.5 } }
	}		
	textured_emblem = {
		texture = "te_eagle_mexico.dds"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.5 } }
	}	
	
	sub = {
        parent = "Mexico_WB_fascist_portrait" 
    }
}
MEX_communist = {	
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "green"
		color2 = "green"
		instance = { scale = { 1 @[1/2] } position = { 0.5 0.75 } }
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { @[1/3] 1 } position = { @[1/3/2] 0.5 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.25 0.25 } position = { @[1/3/2] 0.22 } }
		instance = { scale = { 0.25 0.25 } position = { @[1/3/2] 0.5 } }
		instance = { scale = { 0.25 0.25 } position = { @[1/3/2] 0.78 } }		
	}
	
	sub = {
        parent = "Mexico_WB_communist_portrait" 
    }
}
MEX_subject_USA = { 
	pattern = "pattern_solid.tga"
	color1 = "green"
	color2 = "white"
	color3 = "blue"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color3
		color2 = color3
		instance = { position = { @[1/3/2] 0.5 } scale = { 0.33 1.0 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = color2
		color2 = color2
		instance = { position = { @[1/3/2] 0.5 } scale = { 0.4 0.4 } }
	}
	
	sub = {
        parent = "Mexico_WB_portrait" 
    }
}

# WB originals

MEX_habsburg_monarchy = {
	# Maximilian's imperial standard
	
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}

	textured_emblem = {
		texture = "wb_mex_monarch_habsburg_coa.png"
	}
	
	sub = {
        parent = "Mexico_WB_monarchist_subject_portrait" 
    }
}

MEX_anarchist = {	
	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }	
	}
	
	sub = {
        parent = "Mexico_WB_communist_portrait" 
    }
}

MEX_subject_SPA = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"

	colored_emblem = {
		texture = "ce_cross_burgundy.dds"
		color1 = color2
		color2 = color2
	}
	
	sub = {
        parent = "Mexico_WB_monarchist_subject_portrait" 
    }
}

MEX_junta = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}

	textured_emblem = {
		texture = "te_coa_mexico.dds"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Mexico_WB_junta_portrait" 
    }
}


### Free States of America and its Unifiers ##

FSA_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 0.70 0.70 } position = { 0.5 0.5 } }
	}	
	textured_emblem = {
		texture = "te_usa_bald_eagle.dds"
		instance = { scale = { 0.72 0.72 } position = { 0.5 0.54 } }
	}		
	textured_emblem = {
		texture = "te_coa_usa.dds"
		instance = { scale = { 0.22 0.22 } position = { 0.5 0.55 } }
	}	
	colored_emblem = {
		texture = "ce_crown_st_edward.dds"
		instance = { scale = { 0.2 0.2 } position = { 0.5 0.26 } }		
		color1 = "yellow"
		color2 = "red"
		color3 = "blue"		
	}	
}

# Oregon FSA

FSA_ORG = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 0.70 0.70 } position = { 0.5 0.5 } }
	}	
	textured_emblem = {
		texture = "te_usa_bald_eagle.dds"
		instance = { scale = { 0.72 0.72 } position = { 0.5 0.54 } }
	}		
	textured_emblem = {
		texture = "te_coa_usa.dds"
		instance = { scale = { 0.22 0.22 } position = { 0.5 0.55 } }
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		instance = { scale = { 0.16 0.16 } position = { 0.5 0.25 } }		
		color1 = "white"
		color2 = "white"		
	}	
	
	sub = {
        parent = "Cascadia_WB_portrait" 
    }
}
FSA_ORG_dictatorship = {
	pattern = "pattern_per_saltire.dds"

	color1 = "blue"
	color2 = "red"

	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = "white"
	}
	colored_emblem = {
		texture = "ce_frame_star.dds"
		color1 = "blue"
		color2 = "white"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}
	textured_emblem = {
		texture = "te_usa_bald_eagle.dds"
		instance = { scale = { 0.36 0.36 } position = { 0.5 0.545 } }
	}		
	colored_emblem = {
		texture = "ce_star_05.dds"
		instance = { scale = { 0.1 0.1 } position = { 0.5 0.39 } }		
		color1 = "white"
		color2 = "white"		
	}
	
	sub = {
        parent = "Cascadia_WB_fascist_portrait" 
    }
}
FSA_ORG_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_eagle_usa_simple.dds"
		color1 = "yellow"
		color2 = "yellow"	
		color3 = "red"		
		instance = { scale = { 0.4 0.4 } position = { 0.16 0.275 } }
	}		
	colored_emblem = {
		texture = "ce_star_05_hollow.dds"
		instance = { scale = { 0.125 0.125 } position = { 0.16 0.10 } }		
		color1 = "yellow"
		color2 = "red"		
	}
	
	textured_emblem = {
		texture = "wb_org_comm.dds"
		instance = { scale = { -1.35 1.35 } position = { 0.53 0.57 } }
	}
}
FSA_ORG_subject = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.5 } }
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 0.47 0.47 } position = { 0.75 0.5 } }
	}	
	textured_emblem = {
		texture = "te_usa_bald_eagle.dds"
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.525 } }
	}		
	textured_emblem = {
		texture = "te_coa_usa.dds"
		instance = { scale = { 0.16 0.16 } position = { 0.75 0.53 } }
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		instance = { scale = { 0.12 0.12 } position = { 0.75 0.33 } }		
		color1 = "white"
		color2 = "white"		
	}	
	
	sub = {
        parent = "Cascadia_WB_subject_portrait" 
    }
}
FSA_ORG_subject_MEX = {
	pattern = "pattern_solid.tga"
	color1 = "green"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.5 } }
	}	
	textured_emblem = {
		texture = "te_usa_bald_eagle.dds"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.525 } }
	}		
	textured_emblem = {
		texture = "te_coa_usa.dds"
		instance = { scale = { 0.14 0.14 } position = { 0.5 0.53 } }
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		instance = { scale = { 0.11 0.11 } position = { 0.5 0.34 } }		
		color1 = "white"
		color2 = "white"		
	}

sub = {
        parent = "Cascadia_WB_portrait" 
    }	
}

FSA_ORG_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 0.70 0.70 } position = { 0.5 0.5 } }
	}	
	textured_emblem = {
		texture = "te_usa_bald_eagle.dds"
		instance = { scale = { 0.72 0.72 } position = { 0.5 0.54 } }
	}		
	textured_emblem = {
		texture = "te_coa_usa.dds"
		instance = { scale = { 0.22 0.22 } position = { 0.5 0.55 } }
	}	
	colored_emblem = {
		texture = "ce_crown_st_edward.dds"
		instance = { scale = { 0.2 0.2 } position = { 0.5 0.26 } }		
		color1 = "yellow"
		color2 = "red"
		color3 = "blue"		
	}	
	
	sub = {
        parent = "Cascadia_WB_portrait" 
    }
}