[Constants]
global persist $Hair = 0

[KeyHair]
Key = x 
;whenever you press X it changes the value of $hair       
type = cycle
;add a number number for each option
$Hair = 0, 1         

;then in your Texture override where you set your vb0, ib and textures you set an if condition for each option

[ResourceBakVB]
[ResourceBakIB]
[textureoverrideTails]
if $Hair == 0
hash = 99259119
match_first_index = 8475
ResourceBakVB = ref vb0
ResourceBakIB = ref IB
vb0 = ResourcePonyVB
IB = ResourcePonyIB
ps-t0 = ResourcePonyT0 
ps-t1 = ResourcePonyT1 
ps-t2 = ResourcePonyT2 
handling = skip
drawindexed = auto
vb0 = ref ResourceBakVB
IB = ref ResourceBakIB
endif

;Resources
[ResourcePonyVB]
type = buffer
stride = 76
filename = Ponytail/Roots.vb
[ResourcePonyIB]
type = buffer
format = DXGI_FORMAT_R16_UINT
filename = Ponytail/Roots.ib
[ResourcePonyT0] 
filename = Ponytail/hair-a_base.dds
[ResourcePonyT1] 
filename = Ponytail/hair-a_nrm.dds
[ResourcePonyT2] 
filename = Ponytail/hair-a_spec.dds


[textureoverrideTailsbun]
if $Hair == 1
hash = 99259119
match_first_index = 8475
ResourceBakVB = ref vb0
ResourceBakIB = ref IB
vb0 = ResourceSenranVB
IB = ResourceSenranIB
ps-t0 = ResourceSenranT0 
ps-t1 = ResourceSenranT1 
ps-t2 = ResourceSenranT2 
handling = skip
drawindexed = auto
vb0 = ref ResourceBakVB
IB = ref ResourceBakIB
endif

;Resources
[ResourceSenranVB]
type = buffer
stride = 76
filename = Senran/Base.vb
[ResourceSenranIB]
type = buffer
format = DXGI_FORMAT_R16_UINT
filename = Senran/Base.ib
[ResourceSenranT0] 
filename = Senran/001041.1-[commandlisthair]-ps-t0=e4498d43.dds
[ResourceSenranT1] 
filename = Senran/001041.2-[commandlisthair]-ps-t1=86d50901.dds
[ResourceSenranT2] 
filename = Senran/001041.3-[commandlisthair]-ps-t2=dd4df57a.dds
