; AstraYao

; Constants -------------------------

[Constants]
global $active = 0
global $creditinfo = 0
global persist $cum = 0
global persist $top = 0
global persist $bottom = 0
global persist $corset = 0


[KeyBra]
condition = $active == 1
key = no_modifiers h
type = cycle
$top = 0,1,2,3,4,5
$creditinfo = 0

[KeyHip]
condition = $active == 1
key = n
key = VK_ENTER
type = cycle
$bottom = 0,1,2,3,4,5
$creditinfo = 0

[KeyPanties]
condition = $active == 1
key = y 
type = cycle
$corset = 0,1
$creditinfo = 0

[KeyCum]
condition = $active == 1
key = 6 
type = cycle
$cum = 0,1
$creditinfo = 0

[Present]
post $active = 0
run = CommandListCreditInfo

; Overrides -------------------------

[TextureOverrideAstraYaoHeadPosition]
hash = ee3c305a
handling = skip
vb0 = ResourceAstraYaoHeadPosition
vb2 = ResourceAstraYaoHeadBlend
draw = 14504,0
$active = 1

[TextureOverrideAstraYaoHeadTexcoord]
hash = 8ba0b335
; hash = f8b92870
vb1 = ResourceAstraYaoHeadTexcoord

[TextureOverrideAstraYaoHeadVertexLimitRaise]
hash = d3c951b9
; override_vertex_count = 10358
; override_byte_stride = 96

[TextureOverrideAstraYaoDressPosition]
hash = 9b17301d
handling = skip
vb0 = ResourceAstraYaoDressPosition
vb2 = ResourceAstraYaoDressBlend
draw = 34611,0
$active = 1

[TextureOverrideAstraYaoDressTexcoord]
hash = 240d8c83
vb1 = ResourceAstraYaoDressTexcoord

[TextureOverrideAstraYaoDressVertexLimitRaise]
hash = 13a07361
; override_vertex_count = 34611
; override_byte_stride = 96

[TextureOverrideAstraYaoBodyPosition]
hash = 97cef448
handling = skip
vb0 = ResourceAstraYaoBodyPosition
vb2 = ResourceAstraYaoBodyBlend
draw = 83938,0
$active = 1

[TextureOverrideAstraYaoBodyTexcoord]
hash = 1433ee78
; hash = da86a32e
vb1 = ResourceAstraYaoBodyTexcoord

[TextureOverrideAstraYaoBodyVertexLimitRaise]
hash = 8a8dbdc5
; override_vertex_count = 83938
; override_byte_stride = 96

[TextureOverrideAstraYaoHeadIB]
hash = 53cdac6c
handling = skip

[TextureOverrideAstraYaoHeadA]
hash = 53cdac6c
match_first_index = 0
run = CommandListSkinTexture
ib = ResourceAstraYaoHeadAIB
; AstraYaoHeadA-vb0=ee3c305a.txt (2073)
drawindexed = 5679, 0, 0
; AstraYaoHeadA
	; AstraYaoHeadA-vb0=ee3c305a.txt (2073)
	drawindexed = 5679, 5679, 0

[TextureOverrideAstraYaoHeadADiffuse]
hash = e634238a
; hash = 2daa2443
; hash = da673df0
this = ResourceAstraYaoHeadADiffuse

[TextureOverrideAstraYao.HairA.Diffuse.1024]
hash = 56c71ea2
; hash = 2daa2443
; hash = da673df0
this = ResourceAstraYaoHeadADiffuse

[TextureOverrideAstraYaoHeadANormalMap]
hash = ebac056e
this = ResourceAstraYaoHeadANormalMap

[TextureOverrideZhuYuan.Shared.NormalMap.2048]
hash = 9821017e
run = CommandListSkinTexture
match_priority = 0

[TextureOverrideAstraYaoHeadALightMap]
hash = 34f0706c
; hash = b085765e
; hash = 34aad3b4
this = ResourceAstraYaoHeadALightMap

[TextureOverrideAstraYao.HairA.LightMap.1024]
hash = fd3ca2a6
; hash = b085765e
; hash = 34aad3b4
this = ResourceAstraYaoHeadALightMap

[TextureOverrideAstraYaoHeadAMaterialMap]
hash = 883a578f
; hash = b53b2e12
this = ResourceAstraYaoHeadAMaterialMap

[TextureOverrideAstraYao.HairA.MaterialMap.1024]
hash = 759c15e0
; hash = b53b2e12
this = ResourceAstraYaoHeadAMaterialMap

[TextureOverrideAstraYaoHeadB]
hash = 53cdac6c
match_first_index = 4368
run = CommandListSkinTexture
ib = ResourceAstraYaoHeadBIB
; AstraYaoHeadB-vb0=ee3c305a.txt (5179)
drawindexed = 15783, 0, 0
; AstraYaoHeadB
	; AstraYaoHeadB-vb0=ee3c305a.txt (5179)
	drawindexed = 15783, 15783, 0

[TextureOverrideAstraYaoDressIB]
hash = 7a110804
handling = skip

[TextureOverrideAstraYaoDressA]
hash = 7a110804
match_first_index = 0
run = CommandListSkinTexture
ib = ResourceAstraYaoDressAIB
; AstraYaoDressA.EMPTY (0)
drawindexed = 0, 0, 0
; AstraYaoDressA
	; AstraYaoDressA.EMPTY (0)
	drawindexed = 0, 0, 0

if $top == 0
		; AstraBody Busty Nipple (4518)
		drawindexed = 24114, 12408, 0

elif $top == 1

	; Nipple Gape Chain Bikini (7908)
	drawindexed = 12408, 0, 0
		; AstraBody Gape Nipple (4518)
		drawindexed = 24114, 60636, 0

elif $top == 2
		; AstraBody Gape Nipple (4518)
		drawindexed = 24114, 60636, 0

	; Nipple Gape Chain Bikini (7908)
	drawindexed = 12408, 0, 0
		; Nipple Cum (1644)
		drawindexed = 9216, 129894, 0
elif $top == 3
		; AstraBody Gape Nipple (4518)
		drawindexed = 24114, 60636, 0

	; Nipple Gape Chain Bikini (7908)
	drawindexed = 12408, 0, 0
		; Rabbit Dildo C.001 (3550)
		drawindexed = 14052, 91878, 0

elif $top == 4
		; AstraBody Gape Nipple (4518)
		drawindexed = 24114, 60636, 0

	; Nipple Gape Chain Bikini (7908)
	drawindexed = 12408, 0, 0
		; Rabbit Dildo C.001 (3550)
		drawindexed = 14052, 91878, 0
		; Nipple Cum (1644)
		drawindexed = 9216, 129894, 0
elif $top == 5
		; AstraBody Dildo Nipple (4518)
		drawindexed = 24114, 36522, 0
		; Rabbit Dildo C.001 (3550)
		drawindexed = 14052, 91878, 0
endif


if $corset == 0
			; Dress Top.Corset (250)
			drawindexed = 870, 121728, 0

endif


if $cum == 1
		; Big Titty Cum (1298)
		drawindexed = 7296, 122598, 0
endif
	; AstraYao Dress OG

		; AstraBody Neck (542)
		drawindexed = 2220, 84750, 0
		; Dress Bangles (307)
		drawindexed = 1032, 86970, 0
		; Dress Hair Ribbons (1070)
		drawindexed = 3876, 88002, 0

		; AstraYao Dress OG 1
			; Dress Choker Ribbon (378)
			drawindexed = 1122, 105930, 0
			; Dress Jacket Frills (1847)
			drawindexed = 6054, 107052, 0
			; Dress Pearl Necklace (426)
			drawindexed = 1584, 113106, 0
			; Dress Sleeves Full (1837)
			drawindexed = 7038, 114690, 0

	; Cum Tits



[TextureOverrideAstraYaoDressADiffuse]
hash = d7f1c157
this = ResourceAstraYaoDressADiffuse

[TextureOverrideAstraYao.BodyA.Diffuse.1024]
hash = e523eb0f
this = ResourceAstraYaoDressADiffuse

[TextureOverrideAstraYaoDressALightMap]
hash = dba7d767
this = ResourceAstraYaoDressALightMap

[TextureOverrideAstraYao.BodyA.LightMap.1024]
hash = 3f9f0d8a
this = ResourceAstraYaoDressALightMap

[TextureOverrideAstraYaoDressAMaterialMap]
hash = 21d5f5e3
this = ResourceAstraYaoDressAMaterialMap

[TextureOverrideAstraYao.BodyA.MaterialMap.1024]
hash = c4248e2d
this = ResourceAstraYaoDressAMaterialMap

[TextureOverrideAstraYaoBodyIB]
hash = 92f33156
handling = skip

[TextureOverrideAstraYaoBodyA]
hash = 92f33156
match_first_index = 0
run = CommandListSkinTexture
ib = ResourceAstraYaoBodyAIB
; AstraYaoBodyA.EMPTY (0)
drawindexed = 0, 0, 0
; AstraYaoBodyA
	; AstraYaoBodyA.EMPTY (0)
	drawindexed = 0, 0, 0
	; Body.Hands (2111)
	drawindexed = 9360, 0, 0
	; Body.Legs.Bare (6814)
	drawindexed = 35760, 9360, 0
	; Body.Legs.PearlStrap (7390)
	drawindexed = 38448, 45120, 0

if $bottom == 0


	; Body.Pelvis OG (7273)
	drawindexed = 38142, 166170, 0

elif $bottom == 1
	; Body.Pelvis Gape (7273)
	drawindexed = 38142, 128028, 0
		; Gape Chain Underwear (7270)
		drawindexed = 10668, 253422, 0
elif $bottom == 2 
	; Body.Pelvis Gape (7273)
	drawindexed = 38142, 128028, 0
		; Gape Chain Underwear (7270)
		drawindexed = 10668, 253422, 0
	; CumInGape (26240)
	drawindexed = 35064, 204312, 0

elif $bottom == 3
	; Body.Pelvis Gape (7273)
	drawindexed = 38142, 128028, 0
		; Gape Chain Underwear (7270)
		drawindexed = 10668, 253422, 0
	; Rabbit Dildo C (1775)
	drawindexed = 7026, 239376, 0
elif $bottom == 4
	; Body.Pelvis Gape (7273)
	drawindexed = 38142, 128028, 0
	; Rabbit Dildo C (1775)
	drawindexed = 7026, 239376, 0
elif $bottom == 5
	; Body.Pelvis DP (8609)
	drawindexed = 44460, 83568, 0
endif


	; AstraYaoBody 1
		; Body Heels (1982)
		drawindexed = 7020, 246402, 0


	; Cum Body
if $cum == 1
		; Belly Cum (2226)
		drawindexed = 13056, 264732, 0
		; Pubic Cum (3366)
		drawindexed = 8916, 277788, 0
		; Pussy Cum (1307)
		drawindexed = 6912, 286704, 0
endif

; CommandList -----------------------

[CommandListCreditInfo]
if $creditinfo == 0 && $active == 1
    pre Resource\ShaderFixes\help.ini\Notification = ResourceCreditInfo
    pre run = CustomShader\ShaderFixes\help.ini\FormatText
    pre $\ShaderFixes\help.ini\notification_timeout = time + 5.0
    $creditinfo = 1
endif

; Resources -------------------------

[ResourceAstraYaoHeadPosition]
type = Buffer
stride = 40
filename = AstraYaoHeadPosition.buf

[ResourceAstraYaoHeadBlend]
type = Buffer
stride = 32
filename = AstraYaoHeadBlend.buf

[ResourceAstraYaoHeadTexcoord]
type = Buffer
stride = 24
filename = AstraYaoHeadTexcoord.buf

[ResourceAstraYaoDressPosition]
type = Buffer
stride = 40
filename = AstraYaoDressPosition.buf

[ResourceAstraYaoDressBlend]
type = Buffer
stride = 32
filename = AstraYaoDressBlend.buf

[ResourceAstraYaoDressTexcoord]
type = Buffer
stride = 24
filename = AstraYaoDressTexcoord.buf

[ResourceAstraYaoBodyPosition]
type = Buffer
stride = 40
filename = AstraYaoBodyPosition.buf

[ResourceAstraYaoBodyBlend]
type = Buffer
stride = 32
filename = AstraYaoBodyBlend.buf

[ResourceAstraYaoBodyTexcoord]
type = Buffer
stride = 24
filename = AstraYaoBodyTexcoord.buf

[ResourceAstraYaoHeadAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = AstraYaoHeadA.ib

[ResourceAstraYaoHeadBIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = AstraYaoHeadB.ib

[ResourceAstraYaoDressAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = AstraYaoDressA.ib

[ResourceAstraYaoBodyAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = AstraYaoBodyA.ib

[ResourceAstraYaoHeadADiffuse]
filename = AstraYaoHeadADiffuse.dds

[ResourceAstraYaoHeadANormalMap]
filename = AstraYaoHeadANormalMap.jpg

[ResourceAstraYaoHeadALightMap]
filename = AstraYaoHeadALightMap.dds

[ResourceAstraYaoHeadAMaterialMap]
filename = AstraYaoHeadAMaterialMap.dds

[ResourceAstraYaoDressADiffuse]
filename = AstraYaoDressADiffuse.dds

[ResourceAstraYaoDressALightMap]
filename = AstraYaoDressALightMap.dds

[ResourceAstraYaoDressAMaterialMap]
filename = AstraYaoDressAMaterialMap.dds

[ResourceCreditInfo]
type = Buffer
;data = "Created by www.patreon.com/lewd_lad || lewdlad.fanbox.cc"

; .ini generated by XXMI (XX-Model-Importer)
; If you have any issues or find any bugs, please open a ticket at https://github.com/leotorrez/XXMI-Tools/issues