portraits = {
	BOSS1 = {	texturefile = "gfx/models/portraits/BOSS1.dds"  }
	BOSS2 = {	texturefile = "gfx/models/portraits/BOSS2.dds"  }
	BOSS3 = {	texturefile = "gfx/models/portraits/BOSS3.dds"  }
	BOSS4 = {	texturefile = "gfx/models/portraits/BOSS4.dds"  }
	BOSS5 = {	texturefile = "gfx/models/portraits/BOSS5.dds"  }
	BOSS6 = {	texturefile = "gfx/models/portraits/BOSS6.dds"  }
	BOSS7 = {	texturefile = "gfx/models/portraits/BOSS7.dds"  }
	BOSS8 = {	texturefile = "gfx/models/portraits/BOSS8.dds"  }
	BOSS9 = {	texturefile = "gfx/models/portraits/BOSS9.dds"  }
	BOSS10 = {	texturefile = "gfx/models/portraits/BOSS10.dds"  }
	BOSS11 = {	texturefile = "gfx/models/portraits/BOSS11.dds"  }
	BOSS12 = {	texturefile = "gfx/models/portraits/BOSS12.dds"  }
	BOSS13 = {	texturefile = "gfx/models/portraits/BOSS13.dds"  }
	BOSS14 = {	texturefile = "gfx/models/portraits/BOSS14.dds"  }
	BOSS15 = {	texturefile = "gfx/models/portraits/BOSS15.dds"  }
	BOSS16 = {	texturefile = "gfx/models/portraits/BOSS16.dds"  }
	BOSS17 = {	texturefile = "gfx/models/portraits/BOSS17.dds"  }
	BOSS18 = {	texturefile = "gfx/models/portraits/BOSS18.dds"  }
	BOSS19 = {	texturefile = "gfx/models/portraits/BOSS19.dds"  }
	BOSS20 = {	texturefile = "gfx/models/portraits/BOSS20.dds"  }
	BOSS21 = {	texturefile = "gfx/models/portraits/BOSS21.dds"  }
	BOSS22 = {	texturefile = "gfx/models/portraits/BOSS22.dds"  }
	BOSS23 = {	texturefile = "gfx/models/portraits/BOSS23.dds"  }
	BOSS24 = {	texturefile = "gfx/models/portraits/BOSS24.dds"  }
	BOSS25 = {	texturefile = "gfx/models/portraits/BOSS25.dds"  }
	BOSS26 = {	texturefile = "gfx/models/portraits/BOSS26.dds"  }
	BOSS27 = {	texturefile = "gfx/models/portraits/BOSS27.dds"  }
	BOSS28 = {	texturefile = "gfx/models/portraits/BOSS28.dds"  }
	BOSS29 = {	texturefile = "gfx/models/portraits/BOSS29.dds"  }
	BOSS30 = {	texturefile = "gfx/models/portraits/BOSS30.dds"  }
	BOSS31 = {	texturefile = "gfx/models/portraits/BOSS31.dds"  }
	BOSS32 = {	texturefile = "gfx/models/portraits/BOSS32.dds"  }
	BOSS33 = {	texturefile = "gfx/models/portraits/BOSS33.dds"  }
	BOSS34 = {	texturefile = "gfx/models/portraits/BOSS34.dds"  }
	BOSS35 = {	texturefile = "gfx/models/portraits/BOSS35.dds"  }
	BOSS36 = {	texturefile = "gfx/models/portraits/BOSS36.dds"  }
	BOSS37 = {	texturefile = "gfx/models/portraits/BOSS37.dds"  }
	BOSS38 = {	texturefile = "gfx/models/portraits/BOSS38.dds"  }
	POP1 = {	texturefile = "gfx/models/portraits/POP1.dds"  }
	POP2 = {	texturefile = "gfx/models/portraits/POP2.dds"  }
	POP3 = {	texturefile = "gfx/models/portraits/POP3.dds"  }
	POP4 = {	texturefile = "gfx/models/portraits/POP4.dds"  }
	POP5 = {	texturefile = "gfx/models/portraits/POP5.dds"  }
	POP6 = {	texturefile = "gfx/models/portraits/POP6.dds"  }
	POP7 = {	texturefile = "gfx/models/portraits/POP7.dds"  }
	POP8 = {	texturefile = "gfx/models/portraits/POP8.dds"  }
	POP9 = {	texturefile = "gfx/models/portraits/POP9.dds"  }
	POP10 = {	texturefile = "gfx/models/portraits/POP10.dds"  }
	POP11 = {	texturefile = "gfx/models/portraits/POP11.dds"  }
	POP12 = {	texturefile = "gfx/models/portraits/POP12.dds"  }
	POP13 = {	texturefile = "gfx/models/portraits/POP13.dds"  }
	POP14 = {	texturefile = "gfx/models/portraits/POP14.dds"  }
	POP15 = {	texturefile = "gfx/models/portraits/POP15.dds"  }
	POP16 = {	texturefile = "gfx/models/portraits/POP16.dds"  }
	POP17 = {	texturefile = "gfx/models/portraits/POP17.dds"  }
	POP18 = {	texturefile = "gfx/models/portraits/POP18.dds"  }
	POP19 = {	texturefile = "gfx/models/portraits/POP19.dds"  }
	POP20 = {	texturefile = "gfx/models/portraits/POP20.dds"  }
	FMSK1 = {	texturefile = "gfx/models/portraits/FMSK1.dds"  }
	FMSK2 = {	texturefile = "gfx/models/portraits/FMSK2.dds"  }
	FMSK3 = {	texturefile = "gfx/models/portraits/FMSK3.dds"  }
	FMSK4 = {	texturefile = "gfx/models/portraits/FMSK4.dds"  }
	FMSK5 = {	texturefile = "gfx/models/portraits/FMSK5.dds"  }
	GD1 = {	texturefile = "gfx/models/portraits/GD1.dds"  }
	GD2 = {	texturefile = "gfx/models/portraits/GD2.dds"  }
	GD3 = {	texturefile = "gfx/models/portraits/GD3.dds"  }
	GD4 = {	texturefile = "gfx/models/portraits/GD4.dds"  }
	GQT1 = {	texturefile = "gfx/models/portraits/GQT1.dds"  }
	GQT2 = {	texturefile = "gfx/models/portraits/GQT2.dds"  }
	GQT3 = {	texturefile = "gfx/models/portraits/GQT3.dds"  }
	GQT4 = {	texturefile = "gfx/models/portraits/GQT4.dds"  }
	GQT5 = {	texturefile = "gfx/models/portraits/GQT5.dds"  }
	HXX1 = {	texturefile = "gfx/models/portraits/HXX1.dds"  }
	HXX2 = {	texturefile = "gfx/models/portraits/HXX2.dds"  }
	HXX3 = {	texturefile = "gfx/models/portraits/HXX3.dds"  }
	HXX4 = {	texturefile = "gfx/models/portraits/HXX4.dds"  }
	HXX5 = {	texturefile = "gfx/models/portraits/HXX5.dds"  }
	HYZ1 = {	texturefile = "gfx/models/portraits/HYZ1.dds"  }
	HYZ2 = {	texturefile = "gfx/models/portraits/HYZ2.dds"  }
	HYZ3 = {	texturefile = "gfx/models/portraits/HYZ3.dds"  }
	GZ1 = {	texturefile = "gfx/models/portraits/GZ1.dds"  }
	GZ2 = {	texturefile = "gfx/models/portraits/GZ2.dds"  }
	GZ3 = {	texturefile = "gfx/models/portraits/GZ3.dds"  }
	GZ4 = {	texturefile = "gfx/models/portraits/GZ4.dds"  }
	GZ5 = {	texturefile = "gfx/models/portraits/GZ5.dds"  }
	HM1 = {	texturefile = "gfx/models/portraits/HM1.dds"  }
	HM2 = {	texturefile = "gfx/models/portraits/HM2.dds"  }
	HM3 = {	texturefile = "gfx/models/portraits/HM3.dds"  }
	HM4 = {	texturefile = "gfx/models/portraits/HM4.dds"  }
	HM5 = {	texturefile = "gfx/models/portraits/HM5.dds"  }
	HM6 = {	texturefile = "gfx/models/portraits/HM6.dds"  }
	HM7 = {	texturefile = "gfx/models/portraits/HM7.dds"  }
	QT1 = {	texturefile = "gfx/models/portraits/QT1.dds"  }
	QT2 = {	texturefile = "gfx/models/portraits/QT2.dds"  }
	QT3 = {	texturefile = "gfx/models/portraits/QT3.dds"  }
	QT4 = {	texturefile = "gfx/models/portraits/QT4.dds"  }
	QT5 = {	texturefile = "gfx/models/portraits/QT5.dds"  }
	QT6 = {	texturefile = "gfx/models/portraits/QT6.dds"  }
	QT7 = {	texturefile = "gfx/models/portraits/QT7.dds"  }
	QT8 = {	texturefile = "gfx/models/portraits/QT8.dds"  }
	QT9 = {	texturefile = "gfx/models/portraits/QT9.dds"  }
	QT10 = {	texturefile = "gfx/models/portraits/QT10.dds"  }
	QT11 = {	texturefile = "gfx/models/portraits/QT11.dds"  }
	QT12 = {	texturefile = "gfx/models/portraits/QT12.dds"  }
	YM1 = {	texturefile = "gfx/models/portraits/YM1.dds"  }
	YM2 = {	texturefile = "gfx/models/portraits/YM2.dds"  }
	YM3 = {	texturefile = "gfx/models/portraits/YM3.dds"  }
	YM4 = {	texturefile = "gfx/models/portraits/YM4.dds"  }
	YM5 = {	texturefile = "gfx/models/portraits/YM5.dds"  }
	YM6 = {	texturefile = "gfx/models/portraits/YM6.dds"  }
	YM7 = {	texturefile = "gfx/models/portraits/YM7.dds"  }
	YM8 = {	texturefile = "gfx/models/portraits/YM8.dds"  }
	YY1 = {	texturefile = "gfx/models/portraits/YY1.dds"  }
	YY2 = {	texturefile = "gfx/models/portraits/YY2.dds"  }
	YY3 = {	texturefile = "gfx/models/portraits/YY3.dds"  }
	YY4 = {	texturefile = "gfx/models/portraits/YY4.dds"  }
	YY5 = {	texturefile = "gfx/models/portraits/YY5.dds"  }
	YY6 = {	texturefile = "gfx/models/portraits/YY6.dds"  }
	FS1 = {	texturefile = "gfx/models/portraits/FS1.dds"  }
	FS2 = {	texturefile = "gfx/models/portraits/FS2.dds"  }
	FS3 = {	texturefile = "gfx/models/portraits/FS3.dds"  }
	FS4 = {	texturefile = "gfx/models/portraits/FS4.dds"  }
	FS5 = {	texturefile = "gfx/models/portraits/FS5.dds"  }
	DL1 = {	texturefile = "gfx/models/portraits/DL1.dds"  }
	DL2 = {	texturefile = "gfx/models/portraits/DL2.dds"  }
	DL3 = {	texturefile = "gfx/models/portraits/DL3.dds"  }
	DL4 = {	texturefile = "gfx/models/portraits/DL4.dds"  }
	DL5 = {	texturefile = "gfx/models/portraits/DL5.dds"  }
	DL6 = {	texturefile = "gfx/models/portraits/DL6.dds"  }
	HZ1 = {	texturefile = "gfx/models/portraits/HZ1.dds"  }
	HZ2 = {	texturefile = "gfx/models/portraits/HZ2.dds"  }
	HZ3 = {	texturefile = "gfx/models/portraits/HZ3.dds"  }
	HZ4 = {	texturefile = "gfx/models/portraits/HZ4.dds"  }
	HZ5 = {	texturefile = "gfx/models/portraits/HZ5.dds"  }
	SL1 = {	texturefile = "gfx/models/portraits/SL1.dds"  }
	SL2 = {	texturefile = "gfx/models/portraits/SL2.dds"  }
	SL3 = {	texturefile = "gfx/models/portraits/SL3.dds"  }
	SL4 = {	texturefile = "gfx/models/portraits/SL4.dds"  }
	SL5 = {	texturefile = "gfx/models/portraits/SL5.dds"  }
	XL1 = {	texturefile = "gfx/models/portraits/XL1.dds"  }
	XL2 = {	texturefile = "gfx/models/portraits/XL2.dds"  }
	XL3 = {	texturefile = "gfx/models/portraits/XL3.dds"  }
	XL4 = {	texturefile = "gfx/models/portraits/XL4.dds"  }
	XL5 = {	texturefile = "gfx/models/portraits/XL5.dds"  }
	MSK1 = {	texturefile = "gfx/models/portraits/MSK1.dds"  }
	MSK2 = {	texturefile = "gfx/models/portraits/MSK2.dds"  }
	MSK3 = {	texturefile = "gfx/models/portraits/MSK3.dds"  }
	MSK4 = {	texturefile = "gfx/models/portraits/MSK4.dds"  }
	MSK5 = {	texturefile = "gfx/models/portraits/MSK5.dds"  }
	MSK6 = {	texturefile = "gfx/models/portraits/MSK6.dds"  }
	MSK7 = {	texturefile = "gfx/models/portraits/MSK7.dds"  }


}

portrait_groups = {
	touhou = {
		default = BOSS1
		game_setup = { #will run with a limited country scope. species and government is set but the country does not actually exist
			add = {
				portraits = {
					BOSS1			
					BOSS2			
					BOSS3			
					BOSS4			
					BOSS5			
					BOSS6			
					BOSS7			
					BOSS8			
					BOSS9			
					BOSS10			
					BOSS11			
					BOSS12			
					BOSS13			
					BOSS14			
					BOSS15			
					BOSS16			
					BOSS17			
					BOSS18			
					BOSS19	
					BOSS20
					BOSS21
					BOSS22
					BOSS23
					BOSS24
					BOSS25
					BOSS26
					BOSS27
					BOSS28
					BOSS29
					BOSS30
					BOSS31
					BOSS32
					BOSS33
					BOSS34
					BOSS35
					BOSS36
					BOSS37
					BOSS38		
					FMSK1
					FMSK2
					FMSK3
					FMSK4
					FMSK5
					MSK1
					MSK2
					MSK3
					MSK4
					MSK5
					MSK6
					MSK7
					HXX1
					HXX2
					HXX3
					HXX4
					HXX5
					GQT1			
					GQT2			
					GQT3			
					GQT4			
					GQT5			
					HM1			
					HM2			
					HM3			
					HM4			
					HM5			
					HM6			
					HM7
					YM1			
					YM2			
					YM3			
					YM4			
					YM5			
					YM6			
					YM7			
					YM8			
					YY1			
					YY2			
					YY3			
					YY4			
					YY5			
					YY6
					HYZ1
					HYZ2
					HYZ3
					FS1			
					FS2			
					FS3			
					FS4			
					FS5		
					DL1			
					DL2			
					DL3			
					DL4			
					DL5		
					DL6
					XL1
					XL2
					XL3
					XL4
					XL5
					SL1
					SL2
					SL3
					SL4
					SL5
					HZ1
					HZ2
					HZ3
					HZ4
					HZ5	
					GZ1			
					GZ2			
					GZ3			
					GZ4			
					GZ5			
					GD1			
					GD2			
					GD3			
					GD4							
					QT1			
					QT2			
					QT3			
					QT4			
					QT5			
					QT6			
					QT7
					QT8
					QT9
					QT10
					QT11
					QT12		
				}
			}
		}
		#species scope
		species = { #generic portrait for a species
			add = {
				portraits = {
					BOSS1			
					BOSS2			
					BOSS3			
					BOSS4			
					BOSS5			
					BOSS6			
					BOSS7			
					BOSS8			
					BOSS9			
					BOSS10			
					BOSS11			
					BOSS12			
					BOSS13			
					BOSS14			
					BOSS15			
					BOSS16			
					BOSS17			
					BOSS18			
					BOSS19	
					BOSS20
					BOSS21
					BOSS22
					BOSS23
					BOSS24
					BOSS25
					BOSS26
					BOSS27
					BOSS28
					BOSS29
					BOSS30
					BOSS31
					BOSS32
					BOSS33
					BOSS34
					BOSS35
					BOSS36
					BOSS37
					BOSS38		
					FMSK1
					FMSK2
					FMSK3
					FMSK4
					FMSK5
					MSK1
					MSK2
					MSK3
					MSK4
					MSK5
					MSK6
					MSK7
					HXX1
					HXX2
					HXX3
					HXX4
					HXX5
					GQT1			
					GQT2			
					GQT3			
					GQT4			
					GQT5			
					HM1			
					HM2			
					HM3			
					HM4			
					HM5			
					HM6			
					HM7
					YM1			
					YM2			
					YM3			
					YM4			
					YM5			
					YM6			
					YM7			
					YM8			
					YY1			
					YY2			
					YY3			
					YY4			
					YY5			
					YY6
					HYZ1
					HYZ2
					HYZ3
					FS1			
					FS2			
					FS3			
					FS4			
					FS5		
					DL1			
					DL2			
					DL3			
					DL4			
					DL5		
					DL6
					XL1
					XL2
					XL3
					XL4
					XL5
					SL1
					SL2
					SL3
					SL4
					SL5
					HZ1
					HZ2
					HZ3
					HZ4
					HZ5	
					GZ1			
					GZ2			
					GZ3			
					GZ4			
					GZ5			
					GD1			
					GD2			
					GD3			
					GD4							
					QT1			
					QT2			
					QT3			
					QT4			
					QT5			
					QT6			
					QT7
					QT8
					QT9
					QT10
					QT11
					QT12			
		
				}
			}
		}
		#pop scope
		pop = { #for a specific pop
			add = {
				portraits = {
					POP1
					POP2
					POP3
					POP4
					POP5
					POP6	
					POP7
					POP8			
					POP9			
					POP10			
					POP11			
					POP12			
					POP13			
					POP14			
					POP15			
					POP16			
					POP17			
					POP18			
					POP19	
					POP20
				}
			}
		}
		leader = {
			add = {
				portraits = {				
					BOSS1
					BOSS2
					BOSS3
					BOSS4
					BOSS5
					BOSS6
					BOSS7
					BOSS8
					BOSS9
					BOSS10
					BOSS11
					BOSS12
					BOSS13
					BOSS14
					BOSS15
					BOSS16
					BOSS17
					BOSS18
					BOSS19
					BOSS20
					BOSS21
					BOSS22
					BOSS23
					BOSS24
					BOSS25
					BOSS26
					BOSS27
					BOSS28
					BOSS29
					BOSS30
					BOSS31
					BOSS32
					BOSS33
					BOSS34
					BOSS35
					BOSS36
					BOSS37
					BOSS38
					FMSK1
					FMSK2
					FMSK3
					FMSK4
					FMSK5
					MSK1
					MSK2
					MSK3
					MSK4
					MSK5
					MSK6
					MSK7
					HXX1
					HXX2
					HXX3
					HXX4
					HXX5		
					GQT1			
					GQT2			
					GQT3			
					GQT4			
					GQT5	
					HM1			
					HM2			
					HM3			
					HM4			
					HM5			
					HM6			
					HM7
					YM1			
					YM2			
					YM3			
					YM4			
					YM5			
					YM6			
					YM7			
					YM8			
					YY1			
					YY2			
					YY3			
					YY4			
					YY5			
					YY6
					HYZ1
					HYZ2
					HYZ3
					FS1			
					FS2			
					FS3			
					FS4			
					FS5		
					DL1			
					DL2			
					DL3			
					DL4			
					DL5		
					DL6
					XL1
					XL2
					XL3
					XL4
					XL5
					SL1
					SL2
					SL3
					SL4
					SL5
					HZ1
					HZ2
					HZ3
					HZ4
					HZ5	
					GZ1			
					GZ2			
					GZ3			
					GZ4			
					GZ5			
					GD1			
					GD2			
					GD3			
					GD4						
					QT1			
					QT2			
					QT3			
					QT4			
					QT5			
					QT6			
					QT7	
					QT8
					QT9
					QT10
					QT11
					QT12			
				}
			}
		}
		ruler = {
			add = {

				portraits = {
					BOSS1			
					BOSS2			
					BOSS3			
					BOSS4			
					BOSS5			
					BOSS6			
					BOSS7			
					BOSS8			
					BOSS9			
					BOSS10			
					BOSS11			
					BOSS12			
					BOSS13			
					BOSS14			
					BOSS15			
					BOSS16			
					BOSS17			
					BOSS18			
					BOSS19	
					BOSS20
					BOSS21
					BOSS22
					BOSS23
					BOSS24
					BOSS25
					BOSS26
					BOSS27
					BOSS28
					BOSS29
					BOSS30
					BOSS31
					BOSS32
					BOSS33
					BOSS34
					BOSS35
					BOSS36
					BOSS37
					BOSS38		
					FMSK1
					FMSK2
					FMSK3
					FMSK4
					FMSK5
					MSK1
					MSK2
					MSK3
					MSK4
					MSK5
					MSK6
					MSK7
					HXX1
					HXX2
					HXX3
					HXX4
					HXX5
					GQT1			
					GQT2			
					GQT3			
					GQT4			
					GQT5			
					HM1			
					HM2			
					HM3			
					HM4			
					HM5			
					HM6			
					HM7
					YM1			
					YM2			
					YM3			
					YM4			
					YM5			
					YM6			
					YM7			
					YM8			
					YY1			
					YY2			
					YY3			
					YY4			
					YY5			
					YY6
					HYZ1
					HYZ2
					HYZ3
					FS1			
					FS2			
					FS3			
					FS4			
					FS5		
					DL1			
					DL2			
					DL3			
					DL4			
					DL5		
					DL6
					XL1
					XL2
					XL3
					XL4
					XL5
					SL1
					SL2
					SL3
					SL4
					SL5
					HZ1
					HZ2
					HZ3
					HZ4
					HZ5	
					GZ1			
					GZ2			
					GZ3			
					GZ4			
					GZ5			
					GD1			
					GD2			
					GD3			
					GD4						
					QT1			
					QT2			
					QT3			
					QT4			
					QT5			
					QT6			
					QT7
					QT8
					QT9
					QT10
					QT11
					QT12		
				}
			}
		}
	}
}