@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

@eureka_star_scale = 0.302

## Aotearoa

Aotearoa_WB_portrait = {
	textured_emblem = {
		texture = "wb_aot_default.dds"
		instance = { scale = { 1.47 1.47 } position = { 0.5 0.49 } }
	}
}

Aotearoa_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_aot_fasch.dds"
		instance = { scale = { 1.47 1.47 } position = { 0.5 0.49 } }
	}
}

AOT = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	colored_emblem = {
		texture = "ce_koru.dds"
		color1 = "white"
		color2 = "red"
	}
	
	sub = {
        parent = "Aotearoa_WB_portrait" 
    }
}

# WB new

AOT_absolute_monarchy = {
	
	pattern = "pattern_border_of_3.dds"
	color1 = "white"
	color2 = "red"
	
	colored_emblem = {
		texture = "ce_frame_square.dds"
		color1 = color2
		color2 = color2
		instance = { scale = { 0.2 1.0 } position = { 0.9 0.5 } }
	}

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
		instance = { scale = { 0.3 0.4 } position = { 0.15 0.29 } }
	}

	colored_emblem = {
		texture = "ce_morning_star.dds"
		color1 = color2
		color2 = color2
		instance = { scale = { 0.3 0.3 } position = { 0.6 0.3 } }
		instance = { scale = { 0.3 0.3 } position = { 0.4 0.5 } }
		instance = { scale = { 0.3 0.3 } position = { 0.6 0.7 } }
	}
	
	sub = {
        parent = "Aotearoa_WB_portrait" 
    }
}

AOT_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	colored_emblem = {
		texture = "ce_koru.dds"
		color1 = "white"
		color2 = "red"
	}
	
	sub = {
        parent = "Aotearoa_WB_fascist_portrait" 
    }
}

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

	colored_emblem = {
		texture = "wb_ce_nzl_boat.dds"
		color1 = "white"
		color2 = "red"
		color3 = "red"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_star_05_circle.dds"
		color1 = "white"
		color2 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.325 } }
	}
	
	sub = {
        parent = "Aotearoa_WB_portrait" 
    }
}

AOT_anarchist = {
	# Lucy Gray's Laser Kiwi flag
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = rgb { 163 104 24 }

	colored_emblem = {
		texture = "wb_ce_laser_kiwi.dds"
		color1 = color2
		color2 = hex { 20fc00 }
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.6 } }
	}
	
	colored_emblem = {
		texture = "wb_ce_fern.dds"
		color1 = "white"
		instance = { scale = { 0.6 0.55 } position = { 0.3 0.33 } }
	}
	
	sub = {
        parent = "Aotearoa_WB_portrait" 
    }
}

AOT_ahitereiria_aotearoa = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	colored_emblem = {
		texture = "ce_koru.dds"
		color1 = "white"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.33 0.33 } position = { 0.8 0.3 } }
	}
	
	sub = {
        parent = "Aotearoa_WB_portrait" 
    }
}

## Australia / New South Wales / England's Rowdy Third Daughter

# WU Australia's New South Wales flags

Australia_WB_NSW_portrait = {
	textured_emblem = {
		texture = "wb_ast_colonial.dds"
		instance = { scale = { 1.43 1.43 } position = { 0.5 0.66 } }
	}
}

Australia_WB_NSW_subject_portrait = {
	textured_emblem = {
		texture = "wb_ast_colonial.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.67 0.62 } }
	}
}

Australia_WB_NSW_communist_portrait = {
	textured_emblem = {
		texture = "wb_ast_colonial_comm_alt.dds"
		instance = { scale = { 1.43 1.43 } position = { 0.5 0.66 } }
	}
}

Australia_WB_NSW_fascist_portrait = {
	textured_emblem = {
		texture = "wb_ast_colonial_fasch_alt.dds"
		instance = { scale = { 1.43 1.43 } position = { 0.5 0.66 } }
	}
}

NSW = {
	# New South Wales Ensign
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "blue"

	colored_emblem = {		
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}

	colored_emblem = {		
		texture = "ce_star_08.dds"
		color1 = color1
		color2 = color1
        instance = { scale = { 0.2 0.2 } position = { 0.5 0.5 }  } # centre
        instance = { scale = { 0.2 0.2 } position = { 0.5 0.2 }  } # top
        instance = { scale = { 0.2 0.2 } position = { 0.782 0.5 }  } # right
        instance = { scale = { 0.2 0.2 } position = { 0.5 0.8 }  } # bottom
        instance = { scale = { 0.2 0.2 } position = { 0.218 0.5 }  } # left
	}
	
	sub = {
        parent = "Australia_WB_NSW_portrait" 
    }
}

NSW_subject = {
	# New South Wales Ensign
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "blue"

	colored_emblem = {		
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}

	colored_emblem = {		
		texture = "ce_star_08.dds"
		color1 = color1
		color2 = color1
        instance = { scale = { 0.2 0.2 } position = { 0.5 0.5 }  } # centre
        instance = { scale = { 0.2 0.2 } position = { 0.5 0.2 }  } # top
        instance = { scale = { 0.2 0.2 } position = { 0.782 0.5 }  } # right
        instance = { scale = { 0.2 0.2 } position = { 0.5 0.8 }  } # bottom
        instance = { scale = { 0.2 0.2 } position = { 0.218 0.5 }  } # left
	}
	
	textured_emblem = {
		texture = "wb_ast_colonial.dds"
		instance = { scale = { 1.3 1.3 } position = { 0.65 0.62 } }
	}
}

# WB originals

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

	colored_emblem = {		
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}

	colored_emblem = {		
		texture = "ce_star_08.dds"
		color1 = "yellow"
		color2 = "yellow"
        instance = { scale = { 0.2 0.2 } position = { 0.5 0.2 }  } # top
        instance = { scale = { 0.2 0.2 } position = { 0.782 0.5 }  } # right
        instance = { scale = { 0.2 0.2 } position = { 0.5 0.8 }  } # bottom
        instance = { scale = { 0.2 0.2 } position = { 0.218 0.5 }  } # left
	}
	
	colored_emblem = {		
		texture = "ce_lion_passant_guardant.dds"
		color1 = "yellow"
		color2 = "yellow"
        instance = { scale = { 0.45 0.45 } position = { 0.5 0.5 }  }
	}
	
	sub = {
        parent = "Australia_WB_NSW_portrait" 
    }
}

NSW_communist = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow"
	
	colored_emblem = {		
		texture = "ce_bicolor_left_third.dds"
		color1 = "white"
		color2 = "yellow"
        instance = { scale = { 0.2 1.0 } position = { 0.15 0.5 } }
	}
	
	colored_emblem = {		
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "yellow"
        instance = { scale = { 1.0 1.0 } position = { 0.61 0.5 } }
	}
	
	colored_emblem = {		
		texture = "ce_wreath_thin.dds"
		color1 = "white"
		color2 = "yellow"
        instance = { scale = { 0.5 0.5 } position = { 0.3 0.25 } }
	}	
	
	colored_emblem = {		
		texture = "ce_hammer_wheat.dds"
		color1 = "white"
		color2 = "yellow"
        instance = { scale = { 0.4 0.4 } position = { 0.3 0.25 } }
	}
	
	sub = {
        parent = "Australia_WB_NSW_communist_portrait" 
    }
}

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

	colored_emblem = {		
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}

	colored_emblem = {		
		texture = "ce_star_08.dds"
		color1 = "yellow"
		color2 = "yellow"
        instance = { scale = { 0.2 0.2 } position = { 0.5 0.2 }  } # top
        instance = { scale = { 0.2 0.2 } position = { 0.782 0.5 }  } # right
        instance = { scale = { 0.2 0.2 } position = { 0.5 0.8 }  } # bottom
        instance = { scale = { 0.2 0.2 } position = { 0.218 0.5 }  } # left
	}
	
	colored_emblem = {		
		texture = "ce_lion_passant_guardant.dds"
		color1 = "yellow"
		color2 = "yellow"
        instance = { scale = { 0.45 0.45 } position = { 0.5 0.5 }  }
	}
	
	sub = {
        parent = "Australia_WB_NSW_fascist_portrait" 
    }
}

# WU Australia's Australia flags

AST = { # Australia
	# Eureka flag
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
		instance = { scale = { 0.102 0.730 } position = { 0.5 0.5 } }
		instance = { scale = { 0.8 0.154 } position = { 0.5 0.5 } }		
	}
	colored_emblem = {
		texture = "ce_star_08_eureka.dds"
		color1 = "white"
		color2 = "blue"
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.5 } }
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.1 0.5 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.9 0.5 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.135 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.865 } }				
	}
	
	sub = {
        parent = "Australia_WB_NSW_portrait" 
    }
}
AST_subject = {	
	# blue ensign with commonwealth star and southern cross
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.33 0.33 } position = { 0.25 0.75 } }
		instance = { scale = { 0.17 0.17 } position = { 0.743 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.625 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.861 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.743 0.849 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.8 0.543 } }
	}
	
	sub = {
        parent = "Australia_WB_NSW_subject_portrait" 
    }
}
AST_theocracy = {
	# Australian Anglican flag
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	color4 = "yellow"
	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_mitre.dds"
		color1 = "white"
		color2 = "yellow"
		color3 = "red"
		instance = { scale = { @third @third } position = { 0.5 0.48 } }
	}
	colored_emblem = {
		texture = "ce_star_08.dds"
		color1 = color2
		color2 = color2
		
		instance = { scale = { @third @third } position = { @[1/5] @[1/6] } } # top left
		instance = { scale = { @third @third } position = { @[1/5] @[1-(1/6)] } } 
		instance = { scale = { @third @third } position = { @[1-(1/5)] @[1-(1/6)] } } 
		instance = { scale = { @third @third } position = { @[1-(1/5)] @[1/6] } } 
	}
	
	sub = {
        parent = "Australia_WB_NSW_portrait" 
    }
}
AST_monarchy = {
	# Early COA
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "white"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "blue"
	}
	colored_emblem = {
		texture = "ce_laurel_circled.dds"
		color1 = "green_dark"
		color2 = "red"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.552 } }
	}
	colored_emblem = {
		texture = "ce_laurel_circled.dds"
		color1 = "green"
		color2 = "orange"
		color3 = "red"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.55 } }
	}
	colored_emblem = {		
		texture = "ce_coa_australia.dds"
		color1 = "blue"
		color2 = "white"
		color3 = "red"
        instance = { scale = { 0.55 0.55 } position = { 0.5 0.55 } }		
	}
	colored_emblem = {
		texture = "ce_crown_st_edward.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "pearl"
		instance = { scale = { 0.35 0.35 } position = { 0.5 0.23 } }
	}	
	
	sub = {
        parent = "Australia_WB_NSW_portrait" 
    }
}

# WB originals

AST_subject_GBR = {	
	# blue ensign with commonwealth star and southern cross
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.33 0.33 } position = { 0.25 0.75 } }
		instance = { scale = { 0.17 0.17 } position = { 0.743 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.625 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.861 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.743 0.849 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.8 0.543 } }
	}
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "Australia_WB_NSW_portrait" 
    }
}

sub_Australia_flag = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.33 0.33 } position = { 0.25 0.75 } }
		instance = { scale = { 0.17 0.17 } position = { 0.743 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.625 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.861 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.743 0.849 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.8 0.543 } }
	}
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
}

AST_dictatorship_GBR_subject = {	
	# blue ensign with commonwealth star and southern cross
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.33 0.33 } position = { 0.25 0.75 } }
		instance = { scale = { 0.17 0.17 } position = { 0.743 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.625 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.861 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.743 0.849 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.8 0.543 } }
	}
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "Australia_WB_NSW_fascist_portrait" 
    }
}

sub_eureka_flag = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
		instance = { scale = { 0.102 0.730 } position = { 0.5 0.5 } }
		instance = { scale = { 0.8 0.154 } position = { 0.5 0.5 } }		
	}
	colored_emblem = {
		texture = "ce_star_08_eureka.dds"
		color1 = "white"
		color2 = "blue"
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.5 } }
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.1 0.5 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.9 0.5 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.135 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.865 } }				
	}
}

AST_dictatorship = {
	# Lambing Flat riots flag
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 94 184 }
	color2 = "white"
	

	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = color2
		color2 = color2		
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = color2
		color2 = color2
		
		instance = { scale = { 0.25 0.25 } position = { @[1/2] @[1/6] } } # top
		instance = { scale = { 0.25 0.25 } position = { @[1/2] @[1-(1/6)] } } 
		instance = { scale = { 0.25 0.25 } position = { @[1-(1/6)] @[1-(1/2)] } } 
		instance = { scale = { 0.25 0.25 } position = { @[(1/6)] @[1/2] } } 
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = color2
		
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Australia_WB_NSW_fascist_portrait" 
    }
}

AST_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	
	colored_emblem = {
		texture = "wb_ce_kangaroo.dds"
		color1 = color2
		color2 = color2
		instance = { scale = { 0.9 0.9 } position = { 0.655 0.58 } }	
	}
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.4 0.4 } position = { 0.2 0.5 } }
	}
	
	sub = {
        parent = "Australia_WB_NSW_communist_portrait" 
    }
}

AST_communist_GBR_subject = {	
	# blue ensign with commonwealth star and southern cross
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.17 0.17 } position = { 0.743 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.625 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.861 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.743 0.849 } }
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.8 0.543 } }
	}
	
	colored_emblem = {
		texture = "ce_canton.dds"
		color1 = "red"
		color2 = "white"
	}
	
	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = "yellow"
		color2 = "white"
		instance = { scale = { 0.6 0.6 } position = { 0.25 0.28 } }
	}
	
	sub = {
        parent = "Australia_WB_NSW_communist_portrait" 
    }
}

AST_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "black"
	color2 = "red"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.102 0.730 } position = { 0.5 0.5 } }
		instance = { scale = { 0.8 0.154 } position = { 0.5 0.5 } }		
	}
	colored_emblem = {
		texture = "ce_star_08_eureka.dds"
		color1 = "white"
		color2 = "blue"
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.5 } }
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.1 0.5 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.9 0.5 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.135 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.865 } }				
	}
	
	sub = {
        parent = "Australia_WB_NSW_communist_portrait" 
    }
}

# New Zealand's Australia flags

Ozzie_and_Kiwi_WB_portrait = { # England's Australasian kids
	textured_emblem = {
		texture = "wb_ast_colonial.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.38 0.68 } }
	}
	
	textured_emblem = {
		texture = "wb_nzl_colonial.dds"
		instance = { scale = { 1.4 1.4 } position = { 0.74 0.76 } }
	}
}

wb_australia_southern_cross = {
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.17 0.17 } position = { 0.743 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.625 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.861 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.743 0.849 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.8 0.543 } }
	}
}

wb_new_zealand_southern_cross = {	
	colored_emblem = {
		texture = "ce_star_05_hollow.dds"
		color1 = "white"
		color2 = "red"
		instance = { scale = { 0.2 0.2 } position = { 0.24 0.23 } }
		instance = { scale = { 0.2 0.2 } position = { 0.13 0.44 } }
		instance = { scale = { 0.18 0.18 } position = { 0.335 0.385 } }
		instance = { scale = { 0.22 0.22 } position = { 0.24 0.775 } }
	}
}

AST_NZL = { 
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "blue"
	color3 = "white"
	color4 = "red"
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 1.0 0.5 } }
	}
	colored_emblem = {
		texture = "ce_chevron.dds"
		color1 = color3
		color2 = color4
	}
	
	sub = {
        parent = "wb_australia_southern_cross" 
		instance = { scale = { 0.5 0.5 } offset = { 0.5 0.04 } }
    }
	
	sub = {
        parent = "wb_new_zealand_southern_cross" 
		instance = { scale = { 0.5 0.5 } offset = { 0.03 0.04 } }
    }
	
	sub = {
        parent = "New_Zealand_WB_portrait" 
    }
}
AST_NZL_subject = {	
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.33 0.33 } position = { 0.25 0.75 } }
		instance = { scale = { 0.17 0.17 } position = { 0.743 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.625 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.861 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.743 0.849 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.8 0.543 } }
	}
	
	sub = {
        parent = "New_Zealand_WB_subject_portrait" 
    }
}
AST_NZL_theocracy = {
	# Australian Anglican flag
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	color4 = "yellow"
	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_mitre.dds"
		color1 = "white"
		color2 = "yellow"
		color3 = "red"
		instance = { scale = { @third @third } position = { 0.5 0.48 } }
	}
	sub = {
        parent = "sub_NZL_theocracy" 
        instance = { scale = { 0.3 0.3 } offset = { 0.65 0.7 }  } # bottom right
		instance = { scale = { 0.3 0.3 } offset = { 0.65 0.02 }  } # top right
		instance = { scale = { 0.3 0.3 } offset = { 0.05 0.7 }  } # bottom left
		instance = { scale = { 0.3 0.3 } offset = { 0.05 0.02 }  } # top left
    }
	
	sub = {
        parent = "New_Zealand_WB_portrait" 
    }
}

AST_NZL_monarchy = { # Australia-Zealandia
	pattern = "pattern_vertical_split_01.tga"
	color1 = "blue"
	color2 = "black"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "blue"
		instance = { scale = { 1.0 -1.0 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "sub_NZL_coa" 
		instance = { scale = { 0.5 0.5 } offset = { 0.5 0.25 } }
    }
	
	colored_emblem = {		
		texture = "ce_coa_australia.dds"
		color1 = "blue"
		color2 = "white"
		color3 = "red"
        instance = { scale = { 0.5 0.5 } position = { 0.3 0.5 } }		
	}
	
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.5 0.5 } position = { 0.3 0.24 } } 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.24 } } 
	}
	
	sub = {
        parent = "Ozzie_and_Kiwi_WB_portrait" 
    }
}

AST_NZL_subject_GBR = {	
	# blue ensign with commonwealth star and southern cross
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.33 0.33 } position = { 0.25 0.75 } }
	}
	colored_emblem = {
		texture = "ce_star_05_hollow.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.2 0.2 } position = { 0.74 0.23 } }
		instance = { scale = { 0.2 0.2 } position = { 0.63 0.44 } }
		instance = { scale = { 0.18 0.18 } position = { 0.835 0.385 } }
		instance = { scale = { 0.22 0.22 } position = { 0.74 0.775 } }
	}
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "New_Zealand_WB_portrait" 
    }
}

AST_NZL_dictatorship_GBR_subject = {	
	# blue ensign with commonwealth star and southern cross
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.33 0.33 } position = { 0.25 0.75 } }
	}
	colored_emblem = {
		texture = "ce_star_05_hollow.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.2 0.2 } position = { 0.74 0.23 } }
		instance = { scale = { 0.2 0.2 } position = { 0.63 0.44 } }
		instance = { scale = { 0.18 0.18 } position = { 0.835 0.385 } }
		instance = { scale = { 0.22 0.22 } position = { 0.74 0.775 } }
	}
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "New_Zealand_WB_fascist_portrait" 
    }
}

AST_NZL_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"

	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = color2
		color2 = color2
		instance = { scale = { 1.2 1.2 } position = { 0.5 0.5 } }		
	}
	
	colored_emblem = {
		texture = "ce_southern_cross_new_zealand.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.49 0.5 } } 
	}
	
	sub = {
        parent = "New_Zealand_WB_fascist_portrait" 
    }
}

AST_NZL_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	
	colored_emblem = {
		texture = "wb_ce_kangaroo.dds"
		color1 = color2
		color2 = color2
		instance = { scale = { 0.9 0.9 } position = { 0.655 0.58 } }	
	}
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.4 0.4 } position = { 0.2 0.5 } }
	}
	
	sub = {
        parent = "New_Zealand_WB_communist_portrait" 
    }
}

AST_NZL_communist_GBR_subject = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_05_hollow.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.2 0.2 } position = { 0.74 0.23 } }
		instance = { scale = { 0.2 0.2 } position = { 0.63 0.44 } }
		instance = { scale = { 0.18 0.18 } position = { 0.835 0.385 } }
		instance = { scale = { 0.22 0.22 } position = { 0.74 0.775 } }
	}
	
	colored_emblem = {
		texture = "ce_canton.dds"
		color1 = "red"
		color2 = "white"
	}
	
	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = "yellow"
		color2 = "white"
		instance = { scale = { 0.6 0.6 } position = { 0.25 0.28 } }
	}
	
	sub = {
        parent = "New_Zealand_WB_communist_portrait" 
    }
}

# Tasmania's Australia flags

AST_TAS = { 
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
		instance = { scale = { 0.102 0.730 } position = { 0.5 0.5 } }
		instance = { scale = { 0.8 0.154 } position = { 0.5 0.5 } }		
	}
	colored_emblem = {
		texture = "ce_star_08_eureka.dds"
		color1 = "white"
		color2 = "blue"
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.5 } }
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.1 0.5 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.9 0.5 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.135 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.865 } }				
	}
	
	sub = {
        parent = "Palawa_WB_portrait" 
    }
}

AST_TAS_subject = {
	# blue ensign with commonwealth star and southern cross
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.17 0.17 } position = { 0.743 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.625 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.861 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.743 0.849 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.8 0.543 } }
	}
	
	colored_emblem = { 
		texture = "ce_lion_passant_guardant.dds"
		color1 = "white"
		color2 = "black"
		color3 = "white"
		instance = { scale = { 0.4 0.4 } position = { 0.25 0.75 } }
	}
	
	sub = {
        parent = "Palawa_WB_subject_portrait" 
    }
}
AST_TAS_theocracy = {
	# Australian Anglican flag
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	color4 = "yellow"
	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_mitre.dds"
		color1 = "white"
		color2 = "yellow"
		color3 = "red"
		instance = { scale = { @third @third } position = { 0.5 0.48 } }
	}
	colored_emblem = {
		texture = "ce_star_08.dds"
		color1 = color2
		color2 = color2
		
		instance = { scale = { @third @third } position = { @[1/5] @[1/6] } } # top left
		instance = { scale = { @third @third } position = { @[1/5] @[1-(1/6)] } } 
		instance = { scale = { @third @third } position = { @[1-(1/5)] @[1-(1/6)] } } 
		instance = { scale = { @third @third } position = { @[1-(1/5)] @[1/6] } } 
	}
	
	sub = {
        parent = "Palawa_WB_portrait" 
    }
}
AST_TAS_monarchy = {
	# Early COA
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "white"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "blue"
	}
	colored_emblem = {
		texture = "ce_laurel_circled.dds"
		color1 = "green_dark"
		color2 = "red"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.552 } }
	}
	colored_emblem = {
		texture = "ce_laurel_circled.dds"
		color1 = "green"
		color2 = "orange"
		color3 = "red"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.55 } }
	}
	colored_emblem = {		
		texture = "ce_coa_australia.dds"
		color1 = "blue"
		color2 = "white"
		color3 = "red"
        instance = { scale = { 0.55 0.55 } position = { 0.5 0.55 } }		
	}
	colored_emblem = {
		texture = "ce_crown_st_edward.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "pearl"
		instance = { scale = { 0.35 0.35 } position = { 0.5 0.23 } }
	}	
	
	sub = {
        parent = "Palawa_WB_portrait" 
    }
}

AST_TAS_subject_GBR = {	
	# blue ensign with commonwealth star and southern cross
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.17 0.17 } position = { 0.743 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.625 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.861 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.743 0.849 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.8 0.543 } }
	}
	
	colored_emblem = { 
		texture = "ce_lion_passant_guardant.dds"
		color1 = "white"
		color2 = "black"
		color3 = "white"
		instance = { scale = { 0.4 0.4 } position = { 0.25 0.75 } }
	}
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "Palawa_WB_portrait" 
    }
}

AST_TAS_dictatorship_GBR_subject = {	
	# blue ensign with commonwealth star and southern cross
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.17 0.17 } position = { 0.743 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.625 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.861 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.743 0.849 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.8 0.543 } }
	}
	
	colored_emblem = { 
		texture = "ce_lion_passant_guardant.dds"
		color1 = "white"
		color2 = "black"
		color3 = "white"
		instance = { scale = { 0.4 0.4 } position = { 0.25 0.75 } }
	}
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "Palawa_WB_fascist_portrait" 
    }
}

AST_TAS_dictatorship = {
	# Lambing Flat riots flag
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 94 184 }
	color2 = "white"
	

	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = color2
		color2 = color2		
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = color2
		color2 = color2
		
		instance = { scale = { 0.25 0.25 } position = { @[1/2] @[1/6] } } # top
		instance = { scale = { 0.25 0.25 } position = { @[1/2] @[1-(1/6)] } } 
		instance = { scale = { 0.25 0.25 } position = { @[1-(1/6)] @[1-(1/2)] } } 
		instance = { scale = { 0.25 0.25 } position = { @[(1/6)] @[1/2] } } 
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = color2
		
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Palawa_WB_fascist_portrait" 
    }
}

AST_TAS_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	
	colored_emblem = {
		texture = "wb_ce_kangaroo.dds"
		color1 = color2
		color2 = color2
		instance = { scale = { 0.9 0.9 } position = { 0.655 0.58 } }	
	}
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.4 0.4 } position = { 0.2 0.5 } }
	}
	
	sub = {
        parent = "Palawa_WB_communist_portrait" 
    }
}

AST_TAS_communist_GBR_subject = {	
	# blue ensign with commonwealth star and southern cross
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.17 0.17 } position = { 0.743 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.625 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.861 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.743 0.849 } }
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.8 0.543 } }
	}
	
	colored_emblem = {
		texture = "ce_canton.dds"
		color1 = "red"
		color2 = "white"
	}
	
	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = "yellow"
		color2 = "white"
		instance = { scale = { 0.6 0.6 } position = { 0.25 0.28 } }
	}
	
	sub = {
        parent = "Palawa_WB_communist_portrait" 
    }
}

AST_TAS_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "black"
	color2 = "red"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.102 0.730 } position = { 0.5 0.5 } }
		instance = { scale = { 0.8 0.154 } position = { 0.5 0.5 } }		
	}
	colored_emblem = {
		texture = "ce_star_08_eureka.dds"
		color1 = "white"
		color2 = "blue"
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.5 } }
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.1 0.5 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.9 0.5 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.135 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.865 } }				
	}
	
	sub = {
        parent = "Palawa_WB_communist_portrait" 
    }
}

# Aboriginal Tasmania's Australia flags

AST_TAS_free = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = color2
		color2 = color2	
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "yellow"
		color2 = "blue"
	}
	
	sub = {
        parent = "Palawa_WB_aboriginal_portrait" 
    }
}

AST_TAS_free_eureka_flag = { 
	# Eureka flag
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
		instance = { scale = { 0.102 0.730 } position = { 0.5 0.5 } }
		instance = { scale = { 0.8 0.154 } position = { 0.5 0.5 } }		
	}
	colored_emblem = {
		texture = "ce_star_08_eureka.dds"
		color1 = "white"
		color2 = "blue"
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.5 } }
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.1 0.5 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.9 0.5 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.135 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.865 } }				
	}
	
	sub = {
        parent = "Palawa_WB_aboriginal_portrait" 
    }
}

AST_TAS_free_subject = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.17 0.17 } position = { 0.743 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.625 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.861 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.743 0.849 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.8 0.543 } }
	}
	colored_emblem = { 
		texture = "ce_lion_passant_guardant.dds"
		color1 = "white"
		color2 = "black"
		color3 = "white"
		instance = { scale = { 0.4 0.4 } position = { 0.25 0.75 } }
	}
	
	sub = {
        parent = "Palawa_WB_aboriginal_subject_portrait" 
    }
}
AST_TAS_free_theocracy = {
	# Australian Anglican flag
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	color4 = "yellow"
	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_mitre.dds"
		color1 = "white"
		color2 = "yellow"
		color3 = "red"
		instance = { scale = { @third @third } position = { 0.5 0.48 } }
	}
	colored_emblem = {
		texture = "ce_star_08.dds"
		color1 = color2
		color2 = color2
		
		instance = { scale = { @third @third } position = { @[1/5] @[1/6] } } # top left
		instance = { scale = { @third @third } position = { @[1/5] @[1-(1/6)] } } 
		instance = { scale = { @third @third } position = { @[1-(1/5)] @[1-(1/6)] } } 
		instance = { scale = { @third @third } position = { @[1-(1/5)] @[1/6] } } 
	}
	
	sub = {
        parent = "Palawa_WB_aboriginal_portrait" 
    }
}
AST_TAS_free_monarchy = {
	# Early COA
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "white"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "red"
	}
	colored_emblem = {
		texture = "ce_laurel_circled.dds"
		color1 = "green_dark"
		color2 = "red"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.552 } }
	}
	colored_emblem = {
		texture = "ce_laurel_circled.dds"
		color1 = "green"
		color2 = "orange"
		color3 = "red"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.55 } }
	}
	colored_emblem = {		
		texture = "ce_coa_australia.dds"
		color1 = "blue"
		color2 = "white"
		color3 = "red"
        instance = { scale = { 0.55 0.55 } position = { 0.5 0.55 } }		
	}
	colored_emblem = {
		texture = "ce_crown_st_edward.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "pearl"
		instance = { scale = { 0.35 0.35 } position = { 0.5 0.23 } }
	}	
	
	sub = {
        parent = "Palawa_WB_aboriginal_portrait" 
    }
}

AST_TAS_free_subject_GBR = {	
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.17 0.17 } position = { 0.743 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.625 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.861 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.743 0.849 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.8 0.543 } }
	}
	
	colored_emblem = { 
		texture = "ce_lion_passant_guardant.dds"
		color1 = "white"
		color2 = "black"
		color3 = "white"
		instance = { scale = { 0.4 0.4 } position = { 0.25 0.75 } }
	}
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "Palawa_WB_aboriginal_portrait" 
    }
}

AST_TAS_free_dictatorship_GBR_subject = {	
	# blue ensign with commonwealth star and southern cross
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.17 0.17 } position = { 0.743 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.625 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.861 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.743 0.849 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.8 0.543 } }
	}
	
	colored_emblem = { 
		texture = "ce_lion_passant_guardant.dds"
		color1 = "white"
		color2 = "black"
		color3 = "white"
		instance = { scale = { 0.4 0.4 } position = { 0.25 0.75 } }
	}
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "Palawa_WB_aboriginal_fascist_portrait" 
    }
}

AST_TAS_free_dictatorship = {
	# Lambing Flat riots flag
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 94 184 }
	color2 = "white"
	

	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = color2
		color2 = color2		
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = color2
		color2 = color2
		
		instance = { scale = { 0.25 0.25 } position = { @[1/2] @[1/6] } } # top
		instance = { scale = { 0.25 0.25 } position = { @[1/2] @[1-(1/6)] } } 
		instance = { scale = { 0.25 0.25 } position = { @[1-(1/6)] @[1-(1/2)] } } 
		instance = { scale = { 0.25 0.25 } position = { @[(1/6)] @[1/2] } } 
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = color2
		
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Palawa_WB_aboriginal_fascist_portrait" 
    }
}

AST_TAS_free_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	
	colored_emblem = {
		texture = "wb_ce_kangaroo.dds"
		color1 = color2
		color2 = color2
		instance = { scale = { 0.9 0.9 } position = { 0.655 0.58 } }	
	}
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.4 0.4 } position = { 0.2 0.5 } }
	}
	
	sub = {
        parent = "Palawa_WB_aboriginal_portrait" 
    }
}

AST_TAS_free_communist_GBR_subject = {	
	# blue ensign with commonwealth star and southern cross
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.17 0.17 } position = { 0.743 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.625 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.861 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.743 0.849 } }
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.8 0.543 } }
	}
	
	colored_emblem = {
		texture = "ce_canton.dds"
		color1 = "red"
		color2 = "white"
	}
	
	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = "yellow"
		color2 = "white"
		instance = { scale = { 0.6 0.6 } position = { 0.25 0.28 } }
	}
	
	sub = {
        parent = "Palawa_WB_aboriginal_portrait" 
    }
}

AST_TAS_free_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "black"
	color2 = "red"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.102 0.730 } position = { 0.5 0.5 } }
		instance = { scale = { 0.8 0.154 } position = { 0.5 0.5 } }		
	}
	colored_emblem = {
		texture = "ce_star_08_eureka.dds"
		color1 = "white"
		color2 = "blue"
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.5 } }
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.1 0.5 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.9 0.5 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.135 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.865 } }				
	}
	
	sub = {
        parent = "Palawa_WB_aboriginal_portrait" 
    }
}

# Western Australia's Australia flags

AST_WAS = { 
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
		instance = { scale = { 0.102 0.730 } position = { 0.5 0.5 } }
		instance = { scale = { 0.8 0.154 } position = { 0.5 0.5 } }		
	}
	colored_emblem = {
		texture = "ce_star_08_eureka.dds"
		color1 = "white"
		color2 = "blue"
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.5 } }
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.1 0.5 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.9 0.5 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.135 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.865 } }				
	}
	
	sub = {
        parent = "Westralia_WB_portrait" 
    }
}

AST_WAS_subject = {
	# blue ensign with commonwealth star and southern cross
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.17 0.17 } position = { 0.743 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.625 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.861 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.743 0.849 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.8 0.543 } }
	}
	
	colored_emblem = {		
		texture = "ce_frame_circle.dds"
		color1 = "black"
		color2 = "yellow"
        instance = { position = { 0.25 0.75 } scale = { 0.4 0.4 } }
	}
	colored_emblem = {		
		texture = "ce_frame_circle.dds"
		color1 = "yellow"
		color2 = "yellow"
        instance = { position = { 0.25 0.75 } scale = { 0.35 0.35 } }
	}
	colored_emblem = {
		texture = "ce_swan.dds"
		color1 = "black"
		color2 = "red"
		color3 = "white"
		instance = { scale = { 0.33 0.33 } position = { 0.25 0.75 } }
	}
	
	sub = {
        parent = "Westralia_WB_subject_portrait" 
    }
}
AST_WAS_theocracy = {
	# Australian Anglican flag
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	color4 = "yellow"
	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_mitre.dds"
		color1 = "white"
		color2 = "yellow"
		color3 = "red"
		instance = { scale = { @third @third } position = { 0.5 0.48 } }
	}
	colored_emblem = {
		texture = "ce_star_08.dds"
		color1 = color2
		color2 = color2
		
		instance = { scale = { @third @third } position = { @[1/5] @[1/6] } } # top left
		instance = { scale = { @third @third } position = { @[1/5] @[1-(1/6)] } } 
		instance = { scale = { @third @third } position = { @[1-(1/5)] @[1-(1/6)] } } 
		instance = { scale = { @third @third } position = { @[1-(1/5)] @[1/6] } } 
	}
	
	sub = {
        parent = "Westralia_WB_portrait" 
    }
}
AST_WAS_monarchy = {
	# Early COA
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "white"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "black"
	}
	colored_emblem = {		
		texture = "ce_shield_heater_large_barry_05_bottom.dds"
		color1 = "white"
		color2 = "blue"
		color3 = "blue"
        instance = { scale = { 0.5 0.5 } position = { 0.5 0.55 } }		
	}
	colored_emblem = {
		texture = "ce_swan.dds"
		color1 = "black"
		color2 = "orange"
		color3 = "red"
		instance = { scale = { -0.35 0.35 } position = { 0.5 0.55 } }
	}
	colored_emblem = {
		texture = "ce_laurel_circled.dds"
		color1 = "green_dark"
		color2 = "red"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.552 } }
	}
	colored_emblem = {
		texture = "ce_laurel_circled.dds"
		color1 = "green"
		color2 = "orange"
		color3 = "red"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.55 } }
	}
	colored_emblem = {
		texture = "ce_crown_st_edward.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "pearl"
		instance = { scale = { 0.35 0.35 } position = { 0.5 0.23 } }
	}	
	
	sub = {
        parent = "Westralia_WB_portrait" 
    }
}

AST_WAS_subject_GBR = {	
	# blue ensign with commonwealth star and southern cross
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.17 0.17 } position = { 0.743 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.625 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.861 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.743 0.849 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.8 0.543 } }
	}
	colored_emblem = {		
		texture = "ce_frame_circle.dds"
		color1 = "black"
		color2 = "yellow"
        instance = { position = { 0.25 0.75 } scale = { 0.4 0.4 } }
	}
	colored_emblem = {		
		texture = "ce_frame_circle.dds"
		color1 = "yellow"
		color2 = "yellow"
        instance = { position = { 0.25 0.75 } scale = { 0.35 0.35 } }
	}
	colored_emblem = {
		texture = "ce_swan.dds"
		color1 = "black"
		color2 = "red"
		color3 = "white"
		instance = { scale = { 0.33 0.33 } position = { 0.25 0.75 } }
	}
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "Westralia_WB_portrait" 
    }
}

AST_WAS_dictatorship_GBR_subject = {	
	# blue ensign with commonwealth star and southern cross
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.17 0.17 } position = { 0.743 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.625 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.861 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.743 0.849 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.8 0.543 } }
	}
	
	colored_emblem = {		
		texture = "ce_frame_circle.dds"
		color1 = "black"
		color2 = "yellow"
        instance = { position = { 0.25 0.75 } scale = { 0.4 0.4 } }
	}
	colored_emblem = {		
		texture = "ce_frame_circle.dds"
		color1 = "yellow"
		color2 = "yellow"
        instance = { position = { 0.25 0.75 } scale = { 0.35 0.35 } }
	}
	colored_emblem = {
		texture = "ce_swan.dds"
		color1 = "black"
		color2 = "red"
		color3 = "white"
		instance = { scale = { 0.33 0.33 } position = { 0.25 0.75 } }
	}
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "Westralia_WB_fascist_portrait" 
    }
}

AST_WAS_dictatorship = {
	# Lambing Flat riots flag
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 94 184 }
	color2 = "white"
	

	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = color2
		color2 = color2		
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = color2
		color2 = color2
		
		instance = { scale = { 0.25 0.25 } position = { @[1/2] @[1/6] } } # top
		instance = { scale = { 0.25 0.25 } position = { @[1/2] @[1-(1/6)] } } 
		instance = { scale = { 0.25 0.25 } position = { @[1-(1/6)] @[1-(1/2)] } } 
		instance = { scale = { 0.25 0.25 } position = { @[(1/6)] @[1/2] } } 
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = color2
		
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Westralia_WB_fascist_portrait" 
    }
}

AST_WAS_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	
	colored_emblem = {
		texture = "ce_swan.dds"
		color1 = color2
		color2 = color2
		color3 = color2
		instance = { scale = { -1.0 1.0 } position = { 0.67 0.58 } }	
	}
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.4 0.4 } position = { 0.2 0.5 } }
	}
	
	sub = {
        parent = "Westralia_WB_communist_portrait" 
    }
}

AST_WAS_communist_GBR_subject = {	
	# blue ensign with commonwealth star and southern cross
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.17 0.17 } position = { 0.743 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.625 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.861 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.743 0.849 } }
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.8 0.543 } }
	}
	
	colored_emblem = {
		texture = "ce_canton.dds"
		color1 = "red"
		color2 = "white"
	}
	
	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = "yellow"
		color2 = "white"
		instance = { scale = { 0.6 0.6 } position = { 0.25 0.28 } }
	}
	
	sub = {
        parent = "Westralia_WB_communist_portrait" 
    }
}

# South Australia's Australia flags

AST_SAS = { 
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
		instance = { scale = { 0.102 0.730 } position = { 0.5 0.5 } }
		instance = { scale = { 0.8 0.154 } position = { 0.5 0.5 } }		
	}
	colored_emblem = {
		texture = "ce_star_08_eureka.dds"
		color1 = "white"
		color2 = "blue"
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.5 } }
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.1 0.5 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.9 0.5 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.135 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.865 } }				
	}
	
	sub = {
        parent = "South_Australia_WB_portrait" 
    }
}

AST_SAS_subject = {
	# blue ensign with commonwealth star and southern cross
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.17 0.17 } position = { 0.743 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.625 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.861 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.743 0.849 } }
		
		instance = { scale = { 0.20 0.20 } position = { 0.32 0.7 } }
		instance = { scale = { 0.20 0.20 } position = { 0.17 0.8 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.8 0.543 } }
	}
	
	sub = {
        parent = "South_Australia_WB_subject_portrait" 
    }
}
AST_SAS_theocracy = {
	# Australian Anglican flag
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	color4 = "yellow"
	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_mitre.dds"
		color1 = "white"
		color2 = "yellow"
		color3 = "red"
		instance = { scale = { @third @third } position = { 0.5 0.48 } }
	}
	colored_emblem = {
		texture = "ce_star_08.dds"
		color1 = color2
		color2 = color2
		
		instance = { scale = { @third @third } position = { @[1/5] @[1/6] } } # top left
		instance = { scale = { @third @third } position = { @[1/5] @[1-(1/6)] } } 
		instance = { scale = { @third @third } position = { @[1-(1/5)] @[1-(1/6)] } } 
		instance = { scale = { @third @third } position = { @[1-(1/5)] @[1/6] } } 
	}
	
	sub = {
        parent = "South_Australia_WB_portrait" 
    }
}
AST_SAS_monarchy = {
	# Early COA
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "white"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "blue"
	}
	colored_emblem = {
		texture = "ce_laurel_circled.dds"
		color1 = "green_dark"
		color2 = "red"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.552 } }
	}
	colored_emblem = {
		texture = "ce_laurel_circled.dds"
		color1 = "green"
		color2 = "orange"
		color3 = "red"
		instance = { scale = { 0.75 0.75 } position = { 0.5 0.55 } }
	}
	colored_emblem = {		
		texture = "ce_coa_australia.dds"
		color1 = "blue"
		color2 = "white"
		color3 = "red"
        instance = { scale = { 0.55 0.55 } position = { 0.5 0.55 } }		
	}
	colored_emblem = {
		texture = "ce_crown_st_edward.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "pearl"
		instance = { scale = { 0.35 0.35 } position = { 0.5 0.23 } }
	}	
	
	sub = {
        parent = "South_Australia_WB_portrait" 
    }
}

AST_SAS_subject_GBR = {	
	# blue ensign with commonwealth star and southern cross
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.17 0.17 } position = { 0.743 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.625 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.861 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.743 0.849 } }
		
		instance = { scale = { 0.20 0.20 } position = { 0.32 0.7 } }
		instance = { scale = { 0.20 0.20 } position = { 0.17 0.8 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.8 0.543 } }
	}
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "South_Australia_WB_portrait" 
    }
}

AST_SAS_dictatorship_GBR_subject = {	
	# blue ensign with commonwealth star and southern cross
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.17 0.17 } position = { 0.743 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.625 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.861 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.743 0.849 } }
		
		instance = { scale = { 0.20 0.20 } position = { 0.32 0.7 } }
		instance = { scale = { 0.20 0.20 } position = { 0.17 0.8 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.8 0.543 } }
	}
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "South_Australia_WB_fascist_portrait" 
    }
}

AST_SAS_dictatorship = {
	# Lambing Flat riots flag
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 94 184 }
	color2 = "white"
	

	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = color2
		color2 = color2		
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = color2
		color2 = color2
		
		instance = { scale = { 0.25 0.25 } position = { @[1/2] @[1/6] } } # top
		instance = { scale = { 0.25 0.25 } position = { @[1/2] @[1-(1/6)] } } 
		instance = { scale = { 0.25 0.25 } position = { @[1-(1/6)] @[1-(1/2)] } } 
		instance = { scale = { 0.25 0.25 } position = { @[(1/6)] @[1/2] } } 
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = color2
		
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "South_Australia_WB_fascist_portrait" 
    }
}

AST_SAS_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	
	colored_emblem = {
		texture = "wb_ce_kangaroo.dds"
		color1 = color2
		color2 = color2
		instance = { scale = { 0.9 0.9 } position = { 0.655 0.58 } }	
	}
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.4 0.4 } position = { 0.2 0.5 } }
	}
	
	sub = {
        parent = "South_Australia_WB_communist_portrait" 
    }
}

AST_SAS_communist_GBR_subject = {	
	# blue ensign with commonwealth star and southern cross
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.17 0.17 } position = { 0.743 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.625 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.861 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.743 0.849 } }
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.8 0.543 } }
	}
	
	colored_emblem = {
		texture = "ce_canton.dds"
		color1 = "red"
		color2 = "white"
	}
	
	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = "yellow"
		color2 = "white"
		instance = { scale = { 0.6 0.6 } position = { 0.25 0.28 } }
	}
	
	sub = {
        parent = "South_Australia_WB_communist_portrait" 
    }
}

AST_SAS_anarchist = {
	pattern = "pattern_per_bend_senester.dds"
	color1 = "black"
	color2 = "red"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.102 0.730 } position = { 0.5 0.5 } }
		instance = { scale = { 0.8 0.154 } position = { 0.5 0.5 } }		
	}
	colored_emblem = {
		texture = "ce_star_08_eureka.dds"
		color1 = "white"
		color2 = "blue"
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.5 } }
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.1 0.5 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.9 0.5 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.135 } }		
		instance = { scale = { @eureka_star_scale @eureka_star_scale } position = { 0.5 0.865 } }				
	}
	
	sub = {
        parent = "South_Australia_WB_communist_portrait" 
    }
}

# Australia Anglo Sisters Subject Flags

Canada_and_Australia_WB_portrait = { # smol big sister and big small sister
	
	textured_emblem = {
		texture = "wb_can_upper_canada.dds"
		instance = { scale = { 1.47 1.47 } position = { 0.74 0.82 } }
	}

	textured_emblem = {
		texture = "wb_ast_colonial.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.37 0.68 } }
	}
}

America_and_Australia_WB_portrait = { # England's rowdy kids
	
	textured_emblem = {
		texture = "wb_usa_repub.dds"
		instance = { scale = { 1.4 1.4 } position = { 0.42 0.63 } }
	}

	textured_emblem = {
		texture = "wb_ast_colonial.dds"
		instance = { scale = { 1.28 1.28 } position = { 0.75 0.73 } }
	}
}

AST_subject_CAN = {
	# blue ensign with commonwealth star and southern cross
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.33 0.33 } position = { 0.25 0.75 } }
		instance = { scale = { 0.17 0.17 } position = { 0.743 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.625 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.861 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.743 0.849 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.8 0.543 } }
	}
	
	sub = {
        parent = "sub_CAN_flag" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "Canada_and_Australia_WB_portrait" 
    }
}

AST_NZL_subject_CAN = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.33 0.33 } position = { 0.25 0.75 } }
	}
	colored_emblem = {
		texture = "ce_star_05_hollow.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.2 0.2 } position = { 0.74 0.23 } }
		instance = { scale = { 0.2 0.2 } position = { 0.63 0.44 } }
		instance = { scale = { 0.18 0.18 } position = { 0.835 0.385 } }
		instance = { scale = { 0.22 0.22 } position = { 0.74 0.775 } }
	}
	
	sub = {
        parent = "sub_CAN_flag" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "NZ_and_Canada_WB_portrait" 
    }
}

AST_subject_USA = {
	# blue ensign with commonwealth star and southern cross
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.33 0.33 } position = { 0.25 0.75 } }
		instance = { scale = { 0.17 0.17 } position = { 0.743 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.625 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.861 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.743 0.849 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.8 0.543 } }
	}
	
	sub = {
        parent = "sub_USA_canton_star" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "America_and_Australia_WB_portrait" 
    }
}

AST_NZL_subject_USA = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.33 0.33 } position = { 0.25 0.75 } }
	}
	colored_emblem = {
		texture = "ce_star_05_hollow.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.2 0.2 } position = { 0.74 0.23 } }
		instance = { scale = { 0.2 0.2 } position = { 0.63 0.44 } }
		instance = { scale = { 0.18 0.18 } position = { 0.835 0.385 } }
		instance = { scale = { 0.22 0.22 } position = { 0.74 0.775 } }
	}
	
	sub = {
        parent = "sub_USA_canton_star" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "NZ_and_America_WB_portrait" 
    }
}

## New Zealand / England's Sheepish Youngest Daughter

New_Zealand_WB_portrait = {
	textured_emblem = {
		texture = "wb_nzl_colonial.dds"
		instance = { scale = { 1.6 1.6 } position = { 0.49 0.755 } }
	}
}

New_Zealand_WB_subject_portrait = {
	textured_emblem = {
		texture = "wb_nzl_colonial.dds"
		instance = { scale = { 1.45 1.45 } position = { 0.705 0.755 } }
	}
}

New_Zealand_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_nzl_colonial_comm_alt.dds"
		instance = { scale = { 1.6 1.6 } position = { 0.49 0.755 } }
	}
}

New_Zealand_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_nzl_colonial_fasch_alt.dds"
		instance = { scale = { 1.6 1.6 } position = { 0.49 0.755 } }
	}
}

NZL = {	
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_star_05_hollow.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.4 0.4 } position = { 0.5 0.25 } } # top
		instance = { scale = { 0.4 0.4 } position = { 0.75 0.5 } } # right
		instance = { scale = { 0.4 0.4 } position = { 0.5 0.75 } } # bottom
		instance = { scale = { 0.4 0.4 } position = { 0.25 0.5 } } # left
	}
	
	sub = {
        parent = "New_Zealand_WB_portrait" 
    }
}
NZL_canton = {
	# blue ensign
	
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_star_05_hollow.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.2 0.2 } position = { 0.74 0.23 } }
		instance = { scale = { 0.2 0.2 } position = { 0.63 0.44 } }
		instance = { scale = { 0.18 0.18 } position = { 0.835 0.385 } }
		instance = { scale = { 0.22 0.22 } position = { 0.74 0.775 } }
	}
	
	sub = {
        parent = "New_Zealand_WB_subject_portrait" 
    }
}
NZL_republic = {
	# red peak (no black)
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "blue"
	color3 = "white"
	color4 = "red"
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 1.0 0.5 } }
	}
	colored_emblem = {
		texture = "ce_chevron.dds"
		color1 = color3
		color2 = color4
	}
	
	sub = {
        parent = "New_Zealand_WB_portrait" 
    }
}
NZL_republic_maori = {
	# red peak with maori black
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "blue"
	color3 = "white"
	color4 = "red"
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 1.0 0.5 } }
	}
	colored_emblem = {
		texture = "ce_chevron.dds"
		color1 = color3
		color2 = color4
	}
	
	sub = {
        parent = "New_Zealand_WB_portrait" 
    }
}

sub_red_peak_flag = {
	# red peak with maori black
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "blue"
	color3 = "white"
	color4 = "red"
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 1.0 0.5 } }
	}
	colored_emblem = {
		texture = "ce_chevron.dds"
		color1 = color3
		color2 = color4
	}
}

NZL_coa = {
	# Not used in definitions
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
	color4 = "yellow"
	color5 = "black"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color3
		color2 = color3
		instance = { position = { 0.25 0.75 } scale = { 0.5 0.5 } }
		instance = { position = { 0.75 0.25 } scale = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.5 0.5 } scale = { 0.25 1.0 } }
	}
	colored_emblem = {
		texture = "ce_galley.dds"
		color1 = color5
		color2 = color5
		color3 = color5
		instance = { position = { 0.5 @sixth } scale = { @third @third } }
		instance = { position = { 0.5 0.5 } scale = { @third @third } }
		instance = { position = { 0.5 @[1-sixth] } scale = { @third @third } }
	}
	colored_emblem = {
		texture = "ce_golden_fleece.dds"
		color1 = color4
		color2 = color4
		instance = { position = { @[1-NZL_coa_offset] 0.25 } scale = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_mining_hammers.dds"
		color1 = color4
		color2 = color4
		instance = { position = { @[1-NZL_coa_offset] 0.75 } scale = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_wheat_garb.dds"
		color1 = color4
		color2 = color4
		instance = { position = { @NZL_coa_offset 0.75 } scale = { 0.5 0.5 } }
	}
	colored_emblem = {
		@nzl_coa_star_scale = 0.2
		texture = "ce_star_05_hollow.dds"
		color1 = color2
		color2 = color3
		instance = { position = { @[0.55*NZL_coa_offset] 0.24 } 	scale = { @nzl_coa_star_scale @nzl_coa_star_scale } }
		instance = { position = { @[1.45*NZL_coa_offset] 0.24 } 	scale = { @nzl_coa_star_scale @nzl_coa_star_scale } }
		instance = { position = { @NZL_coa_offset @[0.5/4] } 	scale = { @nzl_coa_star_scale @nzl_coa_star_scale } }
		instance = { position = { @NZL_coa_offset @[1.5/4] } 	scale = { @[nzl_coa_star_scale*1.33] @[nzl_coa_star_scale*1.33] } }
	}
}
NZL_theocracy = {
	# Based on the arms of the Anglican diocese of Auckland.
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"

    sub = {
        parent = "sub_NZL_theocracy" 
        #instance = { scale = { 0.5 0.5 } offset = { 0.5 0.25 }  } # top left
    }
	
	sub = {
        parent = "New_Zealand_WB_portrait" 
    }
}
NZL_theocracy_subject = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
    sub = {
        parent = "sub_NZL_theocracy" 
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.25 }  } # top left
    }
	
	sub = {
        parent = "New_Zealand_WB_subject_portrait" 
    }
}
NZL_colony_subject = {
	# Earliest blue ensign, not used in definitions atm
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"
    sub = {
        parent = "sub_NZL_colony" 
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.5 }  } # top left
    }
	
	sub = {
        parent = "New_Zealand_WB_subject_portrait" 
    }
}
NZL_absolute_monarchy = {	
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "red"
	color4 = "yellow"
	color5 = "black"

    sub = {
        parent = "sub_NZL_coa" 
		instance = { scale = { 0.75 0.75 } offset = { 0.125 0.225 } }
    }
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.55 0.55 } position = { 0.5 0.26 } } 
	}	
	
	sub = {
        parent = "New_Zealand_WB_portrait" 
    }
}
NZL_absolute_monarchy_subject = {	
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "red"
	color4 = "yellow"
	color5 = "black"

    sub = {
        parent = "sub_NZL_coa" 
		instance = { scale = { 0.5 0.5 } offset = { 0.5 0.3 } }
    }
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.35 0.35 } position = { 0.75 0.32 } } 
	}	
	
	sub = {
        parent = "New_Zealand_WB_subject_portrait" 
    }
}
NZL_dictatorship = {	
	pattern = "pattern_solid.tga"
	color1 = "blue"

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

	colored_emblem = {
		texture = "ce_southern_cross_new_zealand.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 } } 
	}
	
	sub = {
        parent = "New_Zealand_WB_fascist_portrait" 
    }
}
NZL_fascist = {
	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 1.0 0.21 } position = { 0.5 0.5 } } 
		instance = { scale = { 0.14 1.0 } position = { 0.4 0.5 } } 		
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "blue"
		instance = { scale = { 1.0 0.12 } position = { 0.5 0.5 } } 
		instance = { scale = { 0.08 1.0 } position = { 0.4 0.5 } } 		
	}	

	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.70 0.70 } position = { 0.4 0.5 } } 
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.65 0.65 } position = { 0.4 0.5 } } 
	}
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 0.62 0.62 } position = { 0.4 0.5 } } 
	}	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"		
		instance = { scale = { 0.25 0.06 } position = { 0.4 0.5 } } 
		instance = { scale = { 0.04 0.3 } position = { 0.4 0.5 } } 			
	}	
	colored_emblem = {
		texture = "ce_star_08.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 0.26 0.26 } position = { 0.52 0.505 } } 
		instance = { scale = { 0.26 0.26 } position = { 0.28 0.505 } } 	
		instance = { scale = { 0.26 0.26 } position = { 0.4 0.32 } } 
		instance = { scale = { 0.26 0.26 } position = { 0.4 0.68 } } 			
	}	
	colored_emblem = {
		texture = "ce_star_08.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.2 0.2 } position = { 0.52 0.505 } } 
		instance = { scale = { 0.2 0.2 } position = { 0.28 0.505 } } 	
		instance = { scale = { 0.2 0.2 } position = { 0.4 0.32 } } 
		instance = { scale = { 0.2 0.2 } position = { 0.4 0.68 } } 			
	}
	sub = {
        parent = "New_Zealand_WB_fascist_portrait" 
    }
}

# WB orignals

NZL_subject_GBR = {
	# blue ensign
	
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_star_05_hollow.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.2 0.2 } position = { 0.74 0.23 } }
		instance = { scale = { 0.2 0.2 } position = { 0.63 0.44 } }
		instance = { scale = { 0.18 0.18 } position = { 0.835 0.385 } }
		instance = { scale = { 0.22 0.22 } position = { 0.74 0.775 } }
	}
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "New_Zealand_WB_portrait" 
    }
}

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

	colored_emblem = {
		texture = "ce_star_05_hollow.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.2 0.2 } position = { 0.74 0.23 } }
		instance = { scale = { 0.2 0.2 } position = { 0.63 0.44 } }
		instance = { scale = { 0.18 0.18 } position = { 0.835 0.385 } }
		instance = { scale = { 0.22 0.22 } position = { 0.74 0.775 } }
	}
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
}

NZL_theocracy_GBR_subject = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
    sub = {
        parent = "sub_NZL_theocracy" 
        instance = { scale = { 0.5 0.5 } offset = { 0.5 0.25 }  } # top left
    }
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "New_Zealand_WB_portrait" 
    }
}

NZL_absolute_monarchy_GBR_subject = {	
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "red"
	color4 = "yellow"
	color5 = "black"

    sub = {
        parent = "sub_NZL_coa" 
		instance = { scale = { 0.5 0.5 } offset = { 0.5 0.3 } }
    }
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.35 0.35 } position = { 0.75 0.32 } } 
	}	
	
	sub = {
        parent = "sub_GBR_uk" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "New_Zealand_WB_portrait" 
    }
}

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

	colored_emblem = {
		texture = "wb_ce_nzl_boat.dds"
		color1 = "white"
		color2 = "red"
		color3 = "blue"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_star_05_circle.dds"
		color1 = "white"
		color2 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.325 } }
	}
	
	sub = {
        parent = "New_Zealand_WB_communist_portrait" 
    }
}

NZL_anarchist = {
	# Lucy Gray's Laser Kiwi flag
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = rgb { 163 104 24 }

	colored_emblem = {
		texture = "wb_ce_laser_kiwi.dds"
		color1 = color2
		color2 = hex { 20fc00 }
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.6 } }
	}
	
	colored_emblem = {
		texture = "wb_ce_fern.dds"
		color1 = "white"
		instance = { scale = { 0.6 0.55 } position = { 0.3 0.33 } }
	}
	
	sub = {
        parent = "New_Zealand_WB_communist_portrait" 
    }
}

# If Australia, Canada, or America puppets their baby sister

NZ_and_Canada_WB_portrait = { 
	textured_emblem = {
		texture = "wb_can_upper_canada.dds"
		instance = { scale = { 1.55 1.55 } position = { 0.38 0.8 } }
	}
	
	textured_emblem = {
		texture = "wb_nzl_colonial.dds"
		instance = { scale = { 1.4 1.4 } position = { 0.74 0.7 } }
	}
}

NZ_and_America_WB_portrait = { 
	textured_emblem = {
		texture = "wb_usa_repub.dds"
		instance = { scale = { 1.4 1.4 } position = { 0.42 0.63 } }
	}
	
	textured_emblem = {
		texture = "wb_nzl_colonial.dds"
		instance = { scale = { 1.2 1.2 } position = { 0.74 0.75 } }
	}
}

NZL_subject_AST = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "blue"
	color3 = "white"
	color4 = "red"
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 1.0 0.5 } }
	}
	colored_emblem = {
		texture = "ce_chevron.dds"
		color1 = color3
		color2 = color4
	}
	sub = {
        parent = "wb_australia_southern_cross" 
		instance = { scale = { 0.5 0.5 } offset = { 0.5 0.04 } }
    }
	
	sub = {
        parent = "wb_new_zealand_southern_cross" 
		instance = { scale = { 0.5 0.5 } offset = { 0.03 0.04 } }
    }
	
	sub = {
        parent = "Ozzie_and_Kiwi_WB_portrait" 
    }
}

NZL_subject_CAN = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "blue"
	color3 = "white"
	color4 = "red"
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 1.0 0.5 } }
	}
	colored_emblem = {
		texture = "ce_chevron.dds"
		color1 = color3
		color2 = color4
	}
	colored_emblem = {
		texture = "ce_maple_leaf_canada.dds"
		color1 = "white"
		instance = { scale = { 0.35 0.3 } position = { 0.13 0.2 } }
		instance = { scale = { 0.35 0.3 } position = { 0.87 0.2 } }
	}
	
	sub = {
        parent = "NZ_and_Canada_WB_portrait" 
    }
}

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

	colored_emblem = {
		texture = "ce_star_05_hollow.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 0.2 0.2 } position = { 0.74 0.23 } }
		instance = { scale = { 0.2 0.2 } position = { 0.63 0.44 } }
		instance = { scale = { 0.18 0.18 } position = { 0.835 0.385 } }
		instance = { scale = { 0.22 0.22 } position = { 0.74 0.775 } }
	}
	
	sub = {
        parent = "sub_USA_canton_star" 
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.50 } }
    }
	
	sub = {
        parent = "NZ_and_America_WB_portrait" 
    }
}


## South Australia

South_Australia_WB_portrait = {
	textured_emblem = {
		texture = "wb_sas_default.dds"
		instance = { scale = { 1.42 1.42 } position = { 0.7 0.665 } }
	}
}

South_Australia_WB_subject_portrait = {
	textured_emblem = {
		texture = "wb_sas_default.dds"
		instance = { scale = { 1.42 1.42 } position = { 0.765 0.665 } }
	}
}

South_Australia_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_sas_comm_alt.dds"
		instance = { scale = { 1.42 1.42 } position = { 0.7 0.665 } }
	}
}

South_Australia_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_sas_fasch_alt.dds"
		instance = { scale = { 1.42 1.42 } position = { 0.7 0.665 } }
	}
}

SAS = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "black"
	color3 = "white"
	colored_emblem = {		
		texture = "ce_frame_circle.dds"
		color1 = color2
		color2 = color2
        instance = { position = { 0.5 0.5 } scale = { 0.75 0.75 } }
	}
	colored_emblem = {		
		texture = "ce_southern_cross_australia.dds"
		color1 = color3
		color2 = color3
        instance = { position = { 0.5 0.5 } scale = { 0.5 0.5 } }
	}
	
	textured_emblem = {
		texture = "wb_sas_default.dds"
		instance = { scale = { 1.42 1.42 } position = { 0.6 0.665 } }
	}
}
SAS_subject = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "black"
	color3 = "white"
	colored_emblem = {		
		texture = "ce_frame_circle.dds"
		color1 = color2
		color2 = color2
        instance = { position = { 0.75 0.5 } scale = { 0.6 0.6 } }
	}
	colored_emblem = {		
		texture = "ce_southern_cross_australia.dds"
		color1 = color3
		color2 = color3
        instance = { position = { 0.82 0.48 } scale = { 0.45 0.45 } }
	}
	colored_emblem = {		
		texture = "ce_star_08.dds"
		color1 = color3
		color2 = color3
        instance = { position = { 0.625 0.625 } scale = { 0.09 0.09 } }
        instance = { position = { 0.67 0.57 } scale = { 0.09 0.09 } }
	}
	
	sub = {
        parent = "South_Australia_WB_subject_portrait" 
    }
}

# WB originals

SAS_republic = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "blue"
	
	textured_emblem = {
		texture = "wb_piping_shrike.png"
		instance = { scale = { 0.65 0.65 } position = { 0.25 0.35 } }
	}
	
	colored_emblem = {		
		texture = "ce_stripes_02_bottom_karelia.dds"
		color1 = color3
		color2 = color3
		color3 = color2
	}
	
	sub = {
        parent = "South_Australia_WB_portrait" 
    }
}

SAS_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "black"
	color3 = "black"
	
	colored_emblem = {		
		texture = "ce_bicolor_left_third.dds"
		color1 = color2
		color2 = color2
        instance = { position = { 0.6 0.5 } scale = { 1.2 1.0 } }
	}
	colored_emblem = {		
		texture = "wb_ce_piping_shrike.dds"
		color1 = "black"
		color2 = "white"
		color3 = "white"
        instance = { position = { 0.7 0.5 } scale = { 0.8 0.8 } }
	}
	
	colored_emblem = {		
		texture = "ce_star_08_eureka.dds"
		color1 = "white"
		color2 = "blue"
		color3 = "white"
        instance = { position = { 0.2 0.5 } scale = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "South_Australia_WB_fascist_portrait" 
    }
}

SAS_dictatorship_subject = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "black"
	color3 = "red"
	
	colored_emblem = {		
		texture = "wb_ce_kangaroo.dds"
		color1 = color3
		color2 = color3
        instance = { position = { 0.75 0.5 } scale = { 0.3 0.3 } }
		instance = { position = { 0.75 0.25 } scale = { 0.3 0.3 } }
		instance = { position = { 0.75 0.75 } scale = { 0.3 0.3 } }
	}
	
	
	textured_emblem = {
		texture = "wb_sas_fasch_alt.dds"
		instance = { scale = { 1.42 1.42 } position = { 0.765 0.665 } }
	}
}

SAS_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "black"
	
	colored_emblem = {	
		texture = "wb_ce_piping_shrike.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "yellow"
        instance = { position = { 0.25 0.35 } scale = { 0.6 0.6 } }
	}
	
	colored_emblem = {	
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "yellow"
        instance = { position = { 0.25 0.15 } scale = { 0.18 0.18 } }
	}

	
	sub = {
        parent = "South_Australia_WB_communist_portrait" 
    }
}

SAS_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "black"
	color2 = "red"
	
	colored_emblem = {		
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
        instance = { position = { 0.5 0.5 } scale = { 0.75 0.75 } }
	}
	colored_emblem = {		
		texture = "wb_ce_piping_shrike.dds"
		color1 = "black"
		color2 = "white"
		color3 = "white"
        instance = { position = { 0.5 0.55 } scale = { 0.75 0.75 } }
	}
	
	sub = {
        parent = "South_Australia_WB_communist_portrait" 
    }
}

SAS_theocracy = { # Anglican Diocese of Adelaide
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "white"
	color3 = "red"
	color4 = "yellow"
	
	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "wb_ce_crozier.dds"
		color1 = "white"
		color2 = "yellow"
		color3 = "red"
		instance = { scale = { 0.8 0.9 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_star_06.dds"
		color1 = color3
		color2 = color3
		
		instance = { scale = { @third @third } position = { @[1/5] @[1/6] } } # top left
		instance = { scale = { @third @third } position = { @[1/5] @[1-(1/6)] } } 
		instance = { scale = { @third @third } position = { @[1-(1/5)] @[1-(1/6)] } } 
		instance = { scale = { @third @third } position = { @[1-(1/5)] @[1/6] } } 
	}
	
	sub = {
        parent = "South_Australia_WB_portrait" 
    }
}

SAS_subject_1876 = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "black"
	color3 = "white"
	
	textured_emblem = {
		texture = "wb_south_australia_old_coa.png"
		instance = { scale = { 0.7 0.7 } position = { 0.765 0.55 } }
	}
	
	sub = {
        parent = "South_Australia_WB_subject_portrait" 
    }
}

SAS_subject_modern = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow"
	color3 = "white"
	
	colored_emblem = {		
		texture = "ce_frame_circle.dds"
		color1 = color2
		color2 = color2
        instance = { position = { 0.75 0.5 } scale = { 0.6 0.6 } }
	}
	textured_emblem = {
		texture = "wb_piping_shrike.png"
		instance = { scale = { 0.6 0.6 } position = { 0.75 0.54 } }
	}
	
	sub = {
        parent = "South_Australia_WB_subject_portrait" 
    }
}


## Tasmania / Waifu Universalis' Palawa

Palawa_WB_portrait = {
	textured_emblem = {
		texture = "wb_tas_default.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.49 0.575 } }
	}
}

Palawa_WB_subject_portrait = {
	textured_emblem = {
		texture = "wb_tas_default.dds"
		instance = { scale = { 1.28 1.28 } position = { 0.715 0.6 } }
	}
}

Palawa_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_tas_comm.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.49 0.575 } }
	}
}

Palawa_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_tas_fasch.dds"
		instance = { scale = { 1.25 1.25 } position = { 0.49 0.575 } }
	}
}

Palawa_WB_aboriginal_portrait = {
	textured_emblem = {
		texture = "wb_tas_free.dds"
		instance = { scale = { 1.33 1.33 } position = { 0.49 0.51 } }
	}
}

Palawa_WB_aboriginal_subject_portrait = {
	textured_emblem = {
		texture = "wb_tas_free.dds"
		instance = { scale = { 1.33 1.33 } position = { 0.67 0.52 } }
	}
}

Palawa_WB_aboriginal_fascist_portrait = {
	textured_emblem = {
		texture = "wb_tas_free_fasch_alt.dds"
		instance = { scale = { 1.33 1.33 } position = { 0.49 0.51 } }
	}
}

TAS = { 
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"
	color3 = "black"
	colored_emblem = {		
		texture = "ce_lion_passant_guardant.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Palawa_WB_portrait" 
    }
}
TAS_subject = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = white
	color3 = "red"
	color4 = "black"
	colored_emblem = {		
		texture = "ce_frame_circle.dds"
		color1 = color2
		color2 = color2
        instance = { position = { 0.75 0.5 } scale = { 0.5 0.5 } }
	}
	colored_emblem = {		
		texture = "ce_lion_passant_guardant.dds"
		color1 = color3
		color2 = color4
        instance = { position = { 0.75 0.5 } scale = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Palawa_WB_subject_portrait" 
    }
}

# WB originals

TAS_van_diemens_land = { 
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "blue"
	color3 = "red"
	
	colored_emblem = {		
		texture = "ce_stripes_13.dds"
		color1 = color2
	}
	
	colored_emblem = {		
		texture = "ce_stripe_center.dds"
		color1 = color3
		instance = {  scale = { 1.0 0.5 } }
		instance = {  scale = { 0.35 1.0 } rotation = 90 }
	}
	
	sub = {
        parent = "Palawa_WB_portrait" 
    }
}

TAS_van_diemens_land_subject = { 
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "blue"
	color3 = "red"
	
	colored_emblem = {		
		texture = "ce_stripes_13.dds"
		color1 = color2
	}
	
	colored_emblem = {		
		texture = "ce_stripe_center.dds"
		color1 = color3
		instance = {  scale = { 1.0 0.5 } }
		instance = {  scale = { 0.35 1.0 } rotation = 90 }
	}
	
	sub = {
        parent = "Palawa_WB_subject_portrait" 
    }
}

TAS_republic = { 
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = rgb { 0 107 84 }
	
	colored_emblem = {		
		texture = "ce_frame_square.dds"
		color1 = color3
		color2 = color3
		instance = { position = { 0.75 0.5 } scale = { 0.85 1.0 } }
	}
	
	colored_emblem = {		
		texture = "ce_frame_square.dds"
		color1 = color2
		color2 = color3
		instance = { position = { 0.48 0.5 } scale = { 0.15 1.0 } }
	}
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.17 0.17 } position = { 0.223 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.105 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.341 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.223 0.849 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.29 0.543 } }
	}
	
	colored_emblem = {		
		texture = "ce_lion_passant_guardant.dds"
		color1 = color2
		color2 = "red"
		color3 = "red"
        instance = { position = { 0.77 0.5 } scale = { 0.7 0.7 } }
	}
	
	sub = {
        parent = "Palawa_WB_portrait" 
    }
}

TAS_dictatorship = { 
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "blue"
	color3 = "red"
	
	colored_emblem = {		
		texture = "ce_stripes_13.dds"
		color1 = color2
	}
	
	colored_emblem = {		
		texture = "ce_stripe_center.dds"
		color1 = color3
		instance = {  scale = { 1.0 0.5 } }
		instance = {  scale = { 0.35 1.0 } rotation = 90 }
	}
	
	sub = {
        parent = "Palawa_WB_fascist_portrait" 
    }
}

TAS_communist = { 
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = rgb { 0 107 84 }
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.17 0.17 } position = { 0.723 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.605 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.841 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.723 0.849 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.8 0.543 } }
	}
	
	colored_emblem = {
		texture = "ce_hammer_wheat.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.45 0.45 } position = { 0.18 0.25 } }
	}
	
	
	sub = {
        parent = "Palawa_WB_communist_portrait" 
    }
}

TAS_theocracy = { # Anglican Diocese of Tasmania
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow"
	color3 = "black"
	
	colored_emblem = {		
		texture = "wb_ce_crozier_rotated.dds"
		color1 = color2
		color2 = color2
        instance = { position = { 0.5 0.5 } scale = { 1.0 1.0 } }
	}
	
	colored_emblem = {		
		texture = "ce_key_bremen.dds"
		color1 = color2
		color2 = color2
        instance = { position = { 0.5 0.5 } scale = { -0.9 0.9 } }
	}
	
	colored_emblem = {		
		texture = "ce_star_08.dds"
		color1 = "white"
		color2 = "white"
        instance = { scale = { 0.15 0.15 } position = { 0.5 0.1 }  } # top
        instance = { scale = { 0.15 0.15 } position = { 0.8 0.55 }  } # right
        instance = { scale = { 0.15 0.15 } position = { 0.5 0.9 }  } # bottom
        instance = { scale = { 0.15 0.15 } position = { 0.2 0.55 }  } # left
	}
	
	
	sub = {
        parent = "Palawa_WB_portrait" 
    }
}

TAS_anarchist = { 
	pattern = "pattern_per_bend.dds"
	color1 = "black"
	color2 = "red"
	
	colored_emblem = {		
		texture = "ce_lion_passant_guardant.dds"
		color1 = "white"
		color2 = "white"
		color3 = "white"
        instance = { position = { 0.5 0.5 } scale = { 1.0 1.0 } }
	}
	
	sub = {
        parent = "Palawa_WB_communist_portrait" 
    }
}

# Free/Non-Prisoner/Aboriginal Tasmania

TAS_free_van_diemens_land = { 
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "blue"
	color3 = "red"
	
	colored_emblem = {		
		texture = "ce_stripes_13.dds"
		color1 = color2
	}
	
	colored_emblem = {		
		texture = "ce_stripe_center.dds"
		color1 = color3
		instance = {  scale = { 1.0 0.5 } }
		instance = {  scale = { 0.35 1.0 } rotation = 90 }
	}
	
	sub = {
        parent = "Palawa_WB_aboriginal_portrait" 
    }
}

TAS_free_van_diemens_land_subject = { 
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "blue"
	color3 = "red"
	
	colored_emblem = {		
		texture = "ce_stripes_13.dds"
		color1 = color2
	}
	
	colored_emblem = {		
		texture = "ce_stripe_center.dds"
		color1 = color3
		instance = {  scale = { 1.0 0.5 } }
		instance = {  scale = { 0.35 1.0 } rotation = 90 }
	}
	
	textured_emblem = {
		texture = "wb_tas_free.dds"
		instance = { scale = { 1.33 1.33 } position = { 0.64 0.52 } }
	}
}

TAS_free = { 
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"
	color3 = "black"
	colored_emblem = {		
		texture = "ce_lion_passant_guardant.dds"
		color1 = color2
		color2 = color3
	}
	
	sub = {
        parent = "Palawa_WB_aboriginal_portrait" 
    }
}
TAS_free_subject = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = white
	color3 = "red"
	color4 = "black"
	colored_emblem = {		
		texture = "ce_frame_circle.dds"
		color1 = color2
		color2 = color2
        instance = { position = { 0.75 0.5 } scale = { 0.5 0.5 } }
	}
	colored_emblem = {		
		texture = "ce_lion_passant_guardant.dds"
		color1 = color3
		color2 = color4
        instance = { position = { 0.75 0.5 } scale = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Palawa_WB_aboriginal_subject_portrait" 
    }
}

TAS_free_republic = { 
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = rgb { 0 107 84 }
	
	colored_emblem = {		
		texture = "ce_frame_square.dds"
		color1 = color3
		color2 = color3
		instance = { position = { 0.75 0.5 } scale = { 0.85 1.0 } }
	}
	
	colored_emblem = {		
		texture = "ce_frame_square.dds"
		color1 = color2
		color2 = color3
		instance = { position = { 0.48 0.5 } scale = { 0.15 1.0 } }
	}
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.17 0.17 } position = { 0.223 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.105 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.341 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.223 0.849 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.29 0.543 } }
	}
	
	colored_emblem = {		
		texture = "ce_lion_passant_guardant.dds"
		color1 = color2
		color2 = "red"
		color3 = "red"
        instance = { position = { 0.77 0.5 } scale = { 0.7 0.7 } }
	}
	
	sub = {
        parent = "Palawa_WB_aboriginal_portrait" 
    }
}

TAS_free_dictatorship = { 
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "blue"
	color3 = "red"
	
	colored_emblem = {		
		texture = "ce_stripes_13.dds"
		color1 = color2
	}
	
	colored_emblem = {		
		texture = "ce_stripe_center.dds"
		color1 = color3
		instance = {  scale = { 1.0 0.5 } }
		instance = {  scale = { 0.35 1.0 } rotation = 90 }
	}
	
	sub = {
        parent = "Palawa_WB_aboriginal_fascist_portrait" 
    }
}

TAS_free_communist = { 
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = rgb { 0 107 84 }
	
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.17 0.17 } position = { 0.723 0.181 } }
		instance = { scale = { 0.17 0.17 } position = { 0.605 0.484 } }
		instance = { scale = { 0.17 0.17 } position = { 0.841 0.37 } }
		instance = { scale = { 0.20 0.20 } position = { 0.723 0.849 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.8 0.543 } }
	}
	
	colored_emblem = {
		texture = "ce_hammer_wheat.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.45 0.45 } position = { 0.18 0.25 } }
	}
	
	
	sub = {
        parent = "Palawa_WB_aboriginal_portrait" 
    }
}

TAS_free_theocracy = { # Anglican Diocese of Tasmania
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow"
	color3 = "black"
	
	colored_emblem = {		
		texture = "wb_ce_crozier_rotated.dds"
		color1 = color2
		color2 = color2
        instance = { position = { 0.5 0.5 } scale = { 1.0 1.0 } }
	}
	
	colored_emblem = {		
		texture = "ce_key_bremen.dds"
		color1 = color2
		color2 = color2
        instance = { position = { 0.5 0.5 } scale = { -0.9 0.9 } }
	}
	
	colored_emblem = {		
		texture = "ce_star_08.dds"
		color1 = "white"
		color2 = "white"
        instance = { scale = { 0.15 0.15 } position = { 0.5 0.1 }  } # top
        instance = { scale = { 0.15 0.15 } position = { 0.8 0.55 }  } # right
        instance = { scale = { 0.15 0.15 } position = { 0.5 0.9 }  } # bottom
        instance = { scale = { 0.15 0.15 } position = { 0.2 0.55 }  } # left
	}
	
	
	sub = {
        parent = "Palawa_WB_aboriginal_portrait" 
    }
}

TAS_free_anarchist = { 
	pattern = "pattern_per_bend.dds"
	color1 = "black"
	color2 = "red"
	
	colored_emblem = {		
		texture = "ce_lion_passant_guardant.dds"
		color1 = "white"
		color2 = "white"
		color3 = "white"
        instance = { position = { 0.5 0.5 } scale = { 1.0 1.0 } }
	}
	
	sub = {
        parent = "Palawa_WB_aboriginal_portrait" 
    }
}

## Western Australia

Westralia_WB_portrait = {
	textured_emblem = {
		texture = "wb_was_default.dds"
		instance = { scale = { 1.4 1.4 } position = { 0.535 0.66 } }
	}
}

Westralia_WB_subject_portrait = {
	textured_emblem = {
		texture = "wb_was_default.dds"
		instance = { scale = { 1.4 1.4 } position = { 0.735 0.65 } }
	}
}

Westralia_WB_communist_portrait = {
	textured_emblem = {
		texture = "wb_was_comm_alt.dds"
		instance = { scale = { 1.4 1.4 } position = { 0.535 0.66 } }
	}
}

Westralia_WB_fascist_portrait = {
	textured_emblem = {
		texture = "wb_was_fasch_alt.dds"
		instance = { scale = { 1.4 1.4 } position = { 0.535 0.66 } }
	}
}

WAS = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow"
	color3 = "black"
	colored_emblem = {		
		texture = "ce_frame_circle.dds"
		color1 = color2
		color2 = color2
        instance = { position = { 0.5 0.5 } scale = { 0.75 0.75 } }
	}
	colored_emblem = {		
		texture = "ce_swan.dds"
		color1 = "black"
		color2 = "red"
		color3 = "white"
        instance = { position = { 0.5 0.5 } scale = { 0.75 0.75 } }
	}
	
	sub = {
        parent = "Westralia_WB_portrait" 
    }
}
WAS_subject = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow"
	color3 = "black"
	colored_emblem = {		
		texture = "ce_frame_circle.dds"
		color1 = color2
		color2 = color2
        instance = { position = { 0.75 0.5 } scale = { 0.5 0.5 } }
	}
	colored_emblem = {		
		texture = "ce_swan.dds"
		color1 = "black"
		color2 = "red"
		color3 = "white"
        instance = { position = { 0.75 0.51 } scale = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Westralia_WB_subject_portrait" 
    }
}

# WB originals

WAS_republic = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "white"
	color3 = "black"
	
	colored_emblem = {		
		texture = "ce_swan.dds"
		color1 = "black"
		color2 = "red"
		color3 = "white"
        instance = { position = { 0.35 0.45 } scale = { 0.75 0.75 } }
	}
	
	colored_emblem = {		
		texture = "ce_stripes_02_bottom_karelia.dds"
		color1 = color3
		color2 = color3
		color3 = color2
	}
	
	sub = {
        parent = "Westralia_WB_portrait" 
    }
}

WAS_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "black"
	color3 = "black"
	
	colored_emblem = {		
		texture = "ce_bicolor_left_third.dds"
		color1 = color2
		color2 = color2
        instance = { position = { 0.6 0.5 } scale = { 1.2 1.0 } }
	}
	colored_emblem = {		
		texture = "ce_swan.dds"
		color1 = "black"
		color2 = "red"
		color3 = "white"
        instance = { position = { 0.7 0.5 } scale = { 0.75 0.75 } }
	}
	
	colored_emblem = {		
		texture = "ce_star_08_eureka.dds"
		color1 = "white"
		color2 = "yellow"
		color3 = "white"
        instance = { position = { 0.2 0.5 } scale = { 0.5 0.5 } }
	}
	
	sub = {
        parent = "Westralia_WB_fascist_portrait" 
    }
}

WAS_dictatorship_subject = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow"
	color3 = "black"
	colored_emblem = {		
		texture = "ce_frame_circle.dds"
		color1 = color2
		color2 = color2
        instance = { position = { 0.75 0.5 } scale = { 0.5 0.5 } }
	}
	colored_emblem = {		
		texture = "ce_swan.dds"
		color1 = "black"
		color2 = "red"
		color3 = "white"
        instance = { position = { 0.75 0.51 } scale = { 0.5 0.5 } }
	}
	
	textured_emblem = {
		texture = "wb_was_fasch_alt.dds"
		instance = { scale = { 1.4 1.4 } position = { 0.735 0.65 } }
	}
}

WAS_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "black"
	
	colored_emblem = {		
		texture = "ce_hammer_and_sickle_round.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "white"
        instance = { position = { 0.5 0.31 } scale = { 0.42 0.38 } }
	}
	
	colored_emblem = {		
		texture = "ce_swan.dds"
		color1 = "black"
		color2 = "red"
		color3 = "white"
        instance = { position = { 0.25 0.5 } scale = { 0.75 0.75 } }
	}
	
	colored_emblem = {		
		texture = "ce_swan.dds"
		color1 = "black"
		color2 = "red"
		color3 = "white"
        instance = { position = { 0.75 0.5 } scale = { -0.75 0.75 } }
	}
	
	colored_emblem = {		
		texture = "ce_stripes_02_bottom_karelia.dds"
		color1 = "yellow"
		color3 = "black"
		instance = { position = { 0.5 0.5 } scale = { 1.0 0.75 } }
	}
	
	sub = {
        parent = "Westralia_WB_communist_portrait" 
    }
}

WAS_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "black"
	color2 = "red"
	
	colored_emblem = {		
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
        instance = { position = { 0.5 0.5 } scale = { 0.75 0.75 } }
	}
	colored_emblem = {		
		texture = "ce_swan.dds"
		color1 = "black"
		color2 = "red"
		color3 = "white"
        instance = { position = { 0.5 0.5 } scale = { 0.75 0.75 } }
	}
	
	sub = {
        parent = "Westralia_WB_communist_portrait" 
    }
}

WAS_theocracy = { # Anglican Diocese of Perth
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow"
	color3 = "black"
	
	colored_emblem = {		
		texture = "wb_ce_crozier_rotated.dds"
		color1 = color2
		color2 = color2
        instance = { position = { 0.48 0.53 } scale = { 1.2 1.2 } }
		instance = { position = { 0.53 0.53 } scale = { -1.2 1.2 } }
	}
	
	colored_emblem = {		
		texture = "ce_star_08.dds"
		color1 = "white"
		color2 = "white"
        instance = { scale = { 0.3 0.3 } position = { 0.5 0.3 }  } # top
        instance = { scale = { 0.3 0.3 } position = { 0.7 0.55 }  } # right
        instance = { scale = { 0.3 0.3 } position = { 0.5 0.8 }  } # bottom
        instance = { scale = { 0.3 0.3 } position = { 0.3 0.55 }  } # left
	}
	
	colored_emblem = {		
		texture = "ce_circle.dds"
		color1 = "blue"
		color2 = "white"
        instance = { scale = { 0.1 0.1 } position = { 0.5 0.3 }  } # top
        instance = { scale = { 0.1 0.1 } position = { 0.7 0.55 }  } # right
        instance = { scale = { 0.1 0.1 } position = { 0.5 0.8 }  } # bottom
        instance = { scale = { 0.1 0.1 } position = { 0.3 0.55 }  } # left
	}
	
	sub = {
        parent = "Westralia_WB_portrait" 
    }
}

WAS_westralia = {
	pattern = "pattern_gironny_8.dds"
	color1 = "blue"
	color2 = "blue"
	color3 = "white"
	color4 = "red"
	
	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = color3
		color2 = color3
	}	
	colored_emblem = {
		texture = "ce_saltire_fimbriated.dds"
		color1 = color3
		color2 = color4
		mask = { 2 }
	}
	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = color3
		color2 = color4
	}
	
	colored_emblem = {		
		texture = "ce_frame_circle.dds"
		color1 = "black"
        instance = { position = { 0.5 0.5 } scale = { 0.45 0.45 } }
	}
	colored_emblem = {		
		texture = "ce_frame_circle.dds"
		color1 = "yellow"
        instance = { position = { 0.5 0.5 } scale = { 0.4 0.4 } }
	}
	colored_emblem = {		
		texture = "ce_swan.dds"
		color1 = "black"
		color2 = "red"
		color3 = "white"
        instance = { position = { 0.5 0.51 } scale = { 0.45 0.45 } }
	}
	
	textured_emblem = {
		texture = "wb_was_default.dds"
		instance = { scale = { 1.4 1.4 } position = { 0.62 0.66 } }
	}
}


## United Tribes of New Zealand
## Waifu Universalis' Te Arawa, Tainui, Mataatua, and Te Tai Tokerau

United_Tribes_WB_smol_pair_portrait = { # Te Arawa and Tainui
	
	textured_emblem = {
		texture = "wb_unt_smol_pair_default.dds"
		instance = { scale = { 1.4 1.4 } position = { 0.345 0.66 } }
	}
}

United_Tribes_WB_big_pair_portrait = { # Mataatua and Te Tai Tokerau
	
	textured_emblem = {
		texture = "wb_unt_big_pair_default.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.795 0.595 } }
	}
}

United_Tribes_WB_fasch_portrait = {
	textured_emblem = {
		texture = "wb_unt_big_pair_fasch.dds"
		instance = { scale = { 1.35 1.35 } position = { 0.795 0.595 } }
	}
	
	textured_emblem = {
		texture = "wb_unt_smol_pair_fasch.dds"
		instance = { scale = { 1.4 1.4 } position = { 0.345 0.66 } }
	}
}


UNT = {
	# with black fimbriation
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
    sub = {
        parent = "sub_UNT_canton_black" 
        instance = { scale = { @canton_scale_cross_x @canton_scale_cross_y }  } # top left
    }
	
	sub = {
        parent = "United_Tribes_WB_big_pair_portrait" 
    }
	sub = {
        parent = "United_Tribes_WB_smol_pair_portrait" 
    }
}
UNT_subject = {
	# with white fimbriation
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
    sub = {
        parent = "sub_UNT_canton_white" 
        instance = { scale = { @canton_scale_cross_x @canton_scale_cross_y }  } # top left
    }
	
	sub = {
        parent = "United_Tribes_WB_big_pair_portrait" 
    }
	sub = {
        parent = "United_Tribes_WB_smol_pair_portrait" 
    }
}

# WB originals

UNT_absolute_monarchy = {
	# with black fimbriation
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}

	colored_emblem = {
		texture = "ce_frame_square.dds"
		color1 = color2
		instance = { scale = { 0.8 0.5 } position = { 0.8 0.8 } }
	}
	
	colored_emblem = {
		texture = "ce_letter_p.dds"
		color1 = "black"
		instance = { scale = { 0.1 0.1 } position = { 0.62 0.7 } }
	}
	colored_emblem = {
		texture = "ce_letter_o.dds"
		color1 = "black"
		instance = { scale = { 0.1 0.1 } position = { 0.66 0.7 } }
	}
	colored_emblem = {
		texture = "ce_letter_t.dds"
		color1 = "black"
		instance = { scale = { 0.1 0.1 } position = { 0.7 0.7 } }
	}
	colored_emblem = {
		texture = "ce_letter_a.dds"
		color1 = "black"
		instance = { scale = { 0.1 0.1 } position = { 0.74 0.7 } }
	}
	colored_emblem = {
		texture = "ce_letter_t.dds"
		color1 = "black"
		instance = { scale = { 0.1 0.1 } position = { 0.78 0.7 } }
	}
	colored_emblem = {
		texture = "ce_letter_a.dds"
		color1 = "black"
		instance = { scale = { 0.1 0.1 } position = { 0.82 0.7 } }
	}
	colored_emblem = {
		texture = "ce_letter_u.dds"
		color1 = "black"
		instance = { scale = { 0.1 0.1 } position = { 0.86 0.7 } }
	}
	colored_emblem = {
		texture = "ce_letter_h.dds"
		color1 = "black"
		instance = { scale = { 0.1 0.1 } position = { 0.7 0.78 } }
	}
	colored_emblem = {
		texture = "ce_letter_e.dds"
		color1 = "black"
		instance = { scale = { 0.1 0.1 } position = { 0.74 0.78 } }
	}
	colored_emblem = {
		texture = "ce_letter_i.dds"
		color1 = "black"
		instance = { scale = { 0.1 0.1 } position = { 0.78 0.78 } }
	}
	colored_emblem = {
		texture = "ce_letter_k.dds"
		color1 = "black"
		instance = { scale = { 0.1 0.1 } position = { 0.67 0.86 } }
	}
	colored_emblem = {
		texture = "ce_letter_i.dds"
		color1 = "black"
		instance = { scale = { 0.1 0.1 } position = { 0.71 0.86 } }
	}
	colored_emblem = {
		texture = "ce_letter_n.dds"
		color1 = "black"
		instance = { scale = { 0.1 0.1 } position = { 0.75 0.86 } }
	}
	colored_emblem = {
		texture = "ce_letter_g.dds"
		color1 = "black"
		instance = { scale = { 0.1 0.1 } position = { 0.79 0.86 } }
	}
	colored_emblem = {
		texture = "ce_letter_i.dds"
		color1 = "black"
		instance = { scale = { 0.1 0.1 } position = { 0.83 0.86 } }
	}
	
	sub = {
        parent = "United_Tribes_WB_big_pair_portrait" 
    }
	sub = {
        parent = "United_Tribes_WB_smol_pair_portrait" 
    }
}

UNT_independent_monarchy = {
	
	pattern = "pattern_border_of_3.dds"
	color1 = "white"
	color2 = "red"
	
	colored_emblem = {
		texture = "ce_frame_square.dds"
		color1 = color2
		color2 = color2
		instance = { scale = { 0.2 1.0 } position = { 0.9 0.5 } }
	}

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
		instance = { scale = { 0.3 0.4 } position = { 0.15 0.29 } }
	}

	colored_emblem = {
		texture = "ce_morning_star.dds"
		color1 = color2
		color2 = color2
		instance = { scale = { 0.3 0.3 } position = { 0.6 0.3 } }
		instance = { scale = { 0.3 0.3 } position = { 0.4 0.5 } }
		instance = { scale = { 0.3 0.3 } position = { 0.6 0.7 } }
	}
	
	sub = {
        parent = "United_Tribes_WB_big_pair_portrait" 
    }
	sub = {
        parent = "United_Tribes_WB_smol_pair_portrait" 
    }
}

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

	colored_emblem = {
		texture = "ce_canton.dds"
		color1 = "blue"
		color2 = color2
	}

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
	
	colored_emblem = {
		texture = "wb_ce_nzl_boat.dds"
		color1 = color1
		color2 = color1
		color3 = color1
		
		instance = { scale = { 0.2 0.25 } position = { 0.2 0.2 } rotation = -90 }
	}

	sub = {
        parent = "United_Tribes_WB_fasch_portrait" 
    }
}
UNT_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	colored_emblem = {
		texture = "ce_koru.dds"
		color1 = "yellow"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		
		instance = { scale = { 0.3 0.3 } position = { 0.8 0.25 } }
	}
	
	sub = {
        parent = "United_Tribes_WB_big_pair_portrait" 
    }
	sub = {
        parent = "United_Tribes_WB_smol_pair_portrait" 
    }
}

UNT_anarchist = {
	pattern = "pattern_per_bend.dds"
	color1 = "red"
	color2 = "black"	
	
	sub = {
        parent = "United_Tribes_WB_big_pair_portrait" 
    }
	sub = {
        parent = "United_Tribes_WB_smol_pair_portrait" 
    }
}


### Polynesia ###

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

	colored_emblem = {
		texture = "ce_stripes_08_hawaii.dds"
		color1 = "black"
		color2 = "white"
	}

	colored_emblem = {
		texture = "ce_shield_hesse.dds"
		color1 = "black"
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.5 } }	
	}

	colored_emblem = {
		texture = "ce_kanaka.dds"
		color1 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }	
	}
}

PNS_communist = {
	pattern = "pattern_gironny_32.dds"
	color1 = "red"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_waves.dds"
		color1 = "blue"
		color2 = "light_blue"
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }	
	}

	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "yellow"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }	
	}

	colored_emblem = {
		texture = "ce_hammer_ddr.dds"
		color1 = "red"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.5 } rotation = 25 }	
	}

	colored_emblem = {
		texture = "ce_outrigger_hook.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.5 } rotation = -25 }	
	}
}


# WB orignals

## Aotearoa Polynesia 

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

	colored_emblem = {
		texture = "ce_stripes_08_hawaii.dds"
		color1 = "black"
		color2 = "white"
	}

	colored_emblem = {
		texture = "ce_shield_hesse.dds"
		color1 = "black"
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.5 } }	
	}

	colored_emblem = {
		texture = "ce_kanaka.dds"
		color1 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }	
	}
	
	sub = {
        parent = "Aotearoa_WB_portrait" 
    }
}

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

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

	colored_emblem = {
		texture = "ce_shield_hesse.dds"
		color1 = "white"
		instance = { scale = { 0.97 0.95 } position = { 0.5 0.5 } }	
	}

	colored_emblem = {
		texture = "ce_shield_hesse.dds"
		color1 = "blue"
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.5 } }	
	}
	

	colored_emblem = {
		texture = "ce_kanaka.dds"
		color1 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.54 } }	
	}
	
	sub = {
        parent = "Aotearoa_WB_portrait" 
    }
}

PNS_AOT_communist = {
	pattern = "pattern_gironny_32.dds"
	color1 = "red"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_waves.dds"
		color1 = "blue"
		color2 = "light_blue"
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }	
	}

	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "yellow"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.5 } }	
	}

	colored_emblem = {
		texture = "ce_hammer_ddr.dds"
		color1 = "red"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.5 } rotation = 25 }	
	}

	colored_emblem = {
		texture = "ce_outrigger_hook.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.5 } rotation = -25 }	
	}
	
	sub = {
        parent = "Aotearoa_WB_portrait" 
    }
}

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

	colored_emblem = {
		texture = "ce_stripes_08_hawaii.dds"
		color1 = "black"
		color2 = "white"
	}

	colored_emblem = {
		texture = "ce_shield_hesse.dds"
		color1 = "black"
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.5 } }	
	}

	colored_emblem = {
		texture = "ce_kanaka.dds"
		color1 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }	
	}
	
	sub = {
        parent = "Aotearoa_WB_fascist_portrait" 
    }
}