; SigridBody

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

[Constants]
global $active = 0
global $creditinfo = 0

; --------------------------------------------------袜子
global persist $WaZi = 5
; --------------------------------------------------胸
global persist $Xiong = 1
; --------------------------------------------------下半身
global persist $XiaBanShen = 2
; --------------------------------------------------手套
global persist $ShouTao = 1
; --------------------------------------------------指甲
global persist $ZhiJia = 2
; --------------------------------------------------乳环
global persist $RuHuanZuo = 0
global persist $RuHuanYou = 0
; --------------------------------------------------内衣
global persist $NeiYi = 1
; --------------------------------------------------上衣
global persist $ShangYi = 1
; --------------------------------------------------项圈
global persist $XiangQuan = 1
; --------------------------------------------------手饰
global persist $ShouShiAZuo = 1
global persist $ShouShiAYou = 1
; --------------------------------------------------面具
global persist $MianJu = 0
; --------------------------------------------------扶她
global persist $FuTa = 0
; --------------------------------------------------肚挤穿孔
global persist $DuJiChuanKong = 1
; --------------------------------------------------内裤
global persist $NeiKu = 2
; --------------------------------------------------大腿饰品
global persist $TuiShiZuo = 0
global persist $TuiShiYou = 1
; --------------------------------------------------鞋子
global persist $XieZi = 2
; --------------------------------------------------袜色
global persist $WaSe = 0
; --------------------------------------------------肤色
global persist $FuSe = 0
; --------------------------------------------------化妆
global persist $Face = 1
; --------------------------------------------------尾巴
global persist $WeiBa = 1


[Present]
post $active = 0
run = CommandListCreditInfo



; --------------------------------------------------袜子
[KeyWaZi]
condition = $active == 1
key = ,
type = cycle
$WaZi = 1,2,3,4,5,6
; --------------------------------------------------胸
[KeyXiong]
condition = $active == 1
key = u
type = cycle
$Xiong = 1,2
; --------------------------------------------------下半身
[KeyXiaBanShen]
condition = $active == 1
key = i
type = cycle
$XiaBanShen = 1,2
; --------------------------------------------------手套
[KeyShouTao]
condition = $active == 1
key = p
type = cycle
$ShouTao = 0,1
; --------------------------------------------------指甲
[KeyZhiJia]
condition = $active == 1
key = [
type = cycle
$ZhiJia = 1,2
; --------------------------------------------------腿
[KeyTui]
condition = $active == 1
key = ]
type = cycle
$Tui = 1,2,3
; --------------------------------------------------乳环
[KeyRuHuanZuo]
condition = $active == 1
key = no_ctrl no_alt no_Shift VK_LEFT
type = cycle
$RuHuanZuo = 0,1,2,3

[KeyRuHuanYou]
condition = $active == 1
key = no_ctrl no_alt no_Shift VK_RIGHT
type = cycle
$RuHuanYou = 0,1,2,3
; --------------------------------------------------内衣
[KeyNeiYi]
condition = $active == 1
key = ctrl no_alt no_Shift VK_UP
type = cycle
$NeiYi = 0,1
; --------------------------------------------------上衣
[KeyShangYi]
condition = $active == 1
key = no_ctrl no_alt no_Shift VK_UP
type = cycle
$ShangYi = 0,1,2
; --------------------------------------------------项圈
[KeyXiangQuan]
condition = $active == 1
key = no_ctrl no_alt no_Shift 6
type = cycle
$XiangQuan = 0,1,2,3
; --------------------------------------------------手饰
[KeyShouShiAZuo]
condition = $active == 1
key = no_ctrl no_alt no_Shift 4
type = cycle
$ShouShiAZuo = 0,1,2,3

[KeyShouShiAYou]
condition = $active == 1
key = no_ctrl no_alt no_Shift 5
type = cycle
$ShouShiAYou = 0,1,2,3
; --------------------------------------------------面具
[KeyMianJu]
condition = $active == 1
key = no_ctrl no_alt no_Shift 7
type = cycle
$MianJu = 0,1,2
; --------------------------------------------------扶她
[KeyFuTa]
condition = $active == 1
key = no_ctrl no_alt no_Shift 8
type = cycle
$FuTa = 0,1
; --------------------------------------------------肚挤穿孔
[KeyDuJiChuanKong]
condition = $active == 1
key = no_ctrl no_alt no_Shift 9
type = cycle
$DuJiChuanKong = 0,1
; --------------------------------------------------内裤
[KeyNeiKu]
condition = $active == 1
key = ctrl no_alt no_Shift VK_DOWN
type = cycle
$NeiKu = 0,1,2
; --------------------------------------------------大腿饰品
[KeyTuiShiZuo]
condition = $active == 1
key = no_ctrl alt no_Shift 4
type = cycle
$TuiShiZuo = 0,1

[KeyTuiShiYou]
condition = $active == 1
key = no_ctrl alt no_Shift 5
type = cycle
$TuiShiYou = 0,1
; --------------------------------------------------鞋子
[KeyXieZi]
condition = $active == 1
key = no_ctrl no_alt no_Shift VK_DOWN
type = cycle
$XieZi = 0,1,2
; --------------------------------------------------袜色
[KeyWaSe]
condition = $active == 1
key = .
type = cycle
$WaSe = 0,1,2,3
; --------------------------------------------------肤色
[KeyFuSe]
condition = $active == 1
key = /
type = cycle
$FuSe = 0,1
; --------------------------------------------------化妆
[KeyFace]
condition = $active == 1
key = ;
type = cycle
$Face = 0,1,2,3
; --------------------------------------------------尾巴
[KeyWeiBa]
condition = $active == 1
key = no_ctrl no_alt no_Shift 0
type = cycle
$WeiBa = 0,1


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

[TextureOverrideSigridfaceIB]
hash = 48625d6d
	if $FuSe == 0
		if $Face == 0
	Resource\ZZMI\Diffuse = ref ResourceFaceA1
			elif $Face == 1
	Resource\ZZMI\Diffuse = ref ResourceFaceA2
			elif $Face == 2
	Resource\ZZMI\Diffuse = ref ResourceFaceA3
			elif $Face == 3
	Resource\ZZMI\Diffuse = ref ResourceFaceA4
		endif	
	elif $FuSe == 1
		if $Face == 0
	Resource\ZZMI\Diffuse = ref ResourceFaceB1
			elif $Face == 1
	Resource\ZZMI\Diffuse = ref ResourceFaceB2
			elif $Face == 2
	Resource\ZZMI\Diffuse = ref ResourceFaceB3
			elif $Face == 3
	Resource\ZZMI\Diffuse = ref ResourceFaceB4
	endif
endif	
run = CommandList\ZZMI\SetTextures

[TextureOverrideSigridBodyABlend]
hash = 018ea72c
handling = skip
$active = 1
if DRAW_TYPE == 2 || DRAW_TYPE == 4
	vb1 = ResourceSigridBodyATexcoord
	vb2 = ResourceSigridBodyABlend
	checktextureoverride = ib
elif DRAW_TYPE == 1
	vb0 = ResourceSigridBodyAPosition
	vb2 = ResourceSigridBodyABlend
	Draw = 94871, 0
endif

[TextureOverrideSigridBodyATexcoord]
hash = 08ddaed3
vb1 = ResourceSigridBodyATexcoord

[TextureOverrideSigridBodyAVertexLimitRaise]
hash = d0bf0e87
override_vertex_count = 94871
override_byte_stride = 40

[TextureOverrideSigridBodyBBlend]
hash = bf543990
handling = skip
$active = 1
if DRAW_TYPE == 2 || DRAW_TYPE == 4
	vb1 = ResourceSigridBodyBTexcoord
	vb2 = ResourceSigridBodyBBlend
	checktextureoverride = ib
elif DRAW_TYPE == 1
	vb0 = ResourceSigridBodyBPosition
	vb2 = ResourceSigridBodyBBlend
	Draw = 164627, 0
endif

[TextureOverrideSigridBodyBTexcoord]
hash = 5c0fefda
vb1 = ResourceSigridBodyBTexcoord

[TextureOverrideSigridBodyBVertexLimitRaise]
hash = dd9c8d5e
override_vertex_count = 164627
override_byte_stride = 40

[TextureOverrideSigridBodyAA]
hash = 38daef11
match_first_index = 0
match_index_count = 42963
handling = skip
ib = ResourceSigridBodyAAIB
if $FuSe == 0
	if $WaSe == 0
		Resource\ZZMI\Diffuse = ref ResourceAH
	elif $WaSe == 1
		Resource\ZZMI\Diffuse = ref ResourceAHW
	elif $WaSe == 2
		Resource\ZZMI\Diffuse = ref ResourceAB
	elif $WaSe == 3
		Resource\ZZMI\Diffuse = ref ResourceABW
	endif
elif $FuSe == 1
	if $WaSe == 0
		Resource\ZZMI\Diffuse = ref ResourceEH
	elif $WaSe == 1
		Resource\ZZMI\Diffuse = ref ResourceEHW
	elif $WaSe == 2
		Resource\ZZMI\Diffuse = ref ResourceEB
	elif $WaSe == 3
		Resource\ZZMI\Diffuse = ref ResourceEBW
	endif			
endif

if $WaSe == 0 || $WaSe == 2
	Resource\ZZMI\NormalMap = ref ResourceBodyAN
	Resource\ZZMI\LightMap = ref ResourceBodyAL
	Resource\ZZMI\MaterialMap = ref ResourceBodyAM
elif $WaSe == 1 || $WaSe == 3
	Resource\ZZMI\NormalMap = ref ResourceBodyBN
	Resource\ZZMI\LightMap = ref ResourceBodyBL
	Resource\ZZMI\MaterialMap = ref ResourceBodyBM
endif

Resource\ZZMI\GlowMap = ref ResourceBodyAGlowMap
run = CommandList\ZZMI\SetTextures
; SigridBodyAA-vb0=e2a28287.txt (3)
drawindexed = 3, 0, 0

; 基础 上半身
	if $WaZi == 1
; 1基础 上半身 (2408)
drawindexed = 12678, 3, 0
endif

; 基础 胸部
	if $WaZi == 1
		if $Xiong == 1
; 1基础 胸部 (2582)
drawindexed = 14412, 12681, 0
			elif $Xiong == 2
; 2基础 下垂 胸部 (2582)
drawindexed = 14412, 27093, 0
	endif
endif

; 过膝 上半身
	if $WaZi == 2
; 1过膝 上半身 (2408)
drawindexed = 12678, 41505, 0
endif

; 过膝 胸部
	if $WaZi == 2
		if $Xiong == 1
; 1过膝 胸部 (2582)
drawindexed = 14412, 54183, 0
			elif $Xiong == 2
; 2过膝 下垂 胸部 (2582)
drawindexed = 14412, 68595, 0
	endif
endif

; 连裤 上半身
	if $WaZi == 3
; 1连裤 上半身 (2408)
drawindexed = 12678, 83007, 0
endif

; 连裤 胸部
	if $WaZi == 3
		if $Xiong == 1
; 1连裤 胸部 (2582)
drawindexed = 14412, 95685, 0
			elif $Xiong == 2
; 2连裤 下垂 胸部 (2582)
drawindexed = 14412, 110097, 0
	endif
endif

; 连裤开裆 上半身
	if $WaZi == 4
; 1连裤开裆 上半身 (2408)
drawindexed = 12678, 124509, 0
endif

; 连裤开裆 胸部
	if $WaZi == 4
		if $Xiong == 1
; 1连裤开裆 胸部 (2582)
drawindexed = 14412, 137187, 0
			elif $Xiong == 2
; 2连裤开裆下垂 胸部 (2582)
drawindexed = 14412, 151599, 0
	endif
endif

; 连体 上半身
	if $WaZi == 5
; 1连体 上半身 (2408)
drawindexed = 12678, 166011, 0
endif

; 连体 胸部
	if $WaZi == 5
		if $Xiong == 1
; 1连体 胸部 (2582)
drawindexed = 14412, 178689, 0
			elif $Xiong == 2
; 2连体 下垂 胸部 (2582)
drawindexed = 14412, 193101, 0
	endif
endif

; 连体开裆 上半身
	if $WaZi == 6
; 1连体开裆 上半身 (2408)
drawindexed = 12678, 207513, 0
endif

; 连体开裆 胸部
	if $WaZi == 6
		if $Xiong == 1
; 1连体开裆 胸部 (2582)
drawindexed = 14412, 220191, 0
			elif $Xiong == 2
; 2连体开裆 下垂 胸部 (2582)
drawindexed = 14412, 234603, 0
	endif
endif

; 手
	if $ShouTao == 0 
; 1光手 (3540)
drawindexed = 18444, 249015, 0
endif

	if $WaZi == 1 || $WaZi == 2 || $WaZi == 3 || $WaZi == 4
		if $ShouTao == 1
; 2手套 (3540)
drawindexed = 18444, 267459, 0
	endif
endif

	if $WaZi == 5 || $WaZi == 6
		if $ShouTao == 1
; 3连体袜手套 (3540)
drawindexed = 18444, 285903, 0
	endif
endif

; 指甲 裸手
	if $ShouTao == 0
		if $ZhiJia == 1
; 1美甲 (320)
drawindexed = 1020, 304347, 0
			elif $ZhiJia == 2
; 2长美甲 (320)
drawindexed = 1020, 305367, 0
	endif
endif

; 指甲 手套
	if $ShouTao == 1
		if $ZhiJia == 1	
; 1美甲 手套 (320)
drawindexed = 1020, 306387, 0
			elif $ZhiJia == 2
; 2长美甲 手套 (320)
drawindexed = 1020, 307407, 0
	endif
endif

; 乳环 左 正常
	if $Xiong == 1
		if $RuHuanZuo == 1	
; 1圆球乳钉 左 (92)
drawindexed = 480, 308427, 0
			elif $RuHuanZuo == 2
; 2圆球乳环 左 (1138)
drawindexed = 6336, 308907, 0
			elif $RuHuanZuo == 3
; 3套套乳环 左 (974)
drawindexed = 5184, 315243, 0
; 3套套乳环 左 透明 (868)
        run = CustomShaderTransparency1
; drawindexed = 5184, 320427, 0
	endif
endif

; 乳环 左 下垂
	if $Xiong == 2
		if $RuHuanZuo == 1	
; 1圆球乳钉 左 下垂 (92)
drawindexed = 480, 325611, 0
			elif $RuHuanZuo == 2
; 2圆球乳环 左 下垂 (1138)
drawindexed = 6336, 326091, 0
			elif $RuHuanZuo == 3
; 3套套乳环 左 下垂 (974)
drawindexed = 5184, 332427, 0
; 3套套乳环 左 下垂 透明 (868)
        run = CustomShaderTransparency2
; drawindexed = 5184, 337611, 0
	endif
endif

; 乳环 右 正常
	if $Xiong == 1
		if $RuHuanYou == 1	
; 1圆球乳钉 右 (92)
drawindexed = 480, 342795, 0
			elif $RuHuanYou == 2
; 2圆球乳环 右 (1138)
drawindexed = 6336, 343275, 0
			elif $RuHuanYou == 3
; 3套套乳环 右 (974)
drawindexed = 5184, 349611, 0
; 3套套乳环 右 透明 (868)
        run = CustomShaderTransparency3
; drawindexed = 5184, 354795, 0
	endif
endif

; 乳环 右 下垂
	if $Xiong == 2
		if $RuHuanYou == 1	
; 1圆球乳钉 右 下垂 (92)
drawindexed = 480, 359979, 0
			elif $RuHuanYou == 2
; 2圆球乳环 右 下垂 (1138)
drawindexed = 6336, 360459, 0
			elif $RuHuanYou == 3
; 3套套乳环 右 下垂 (974)
drawindexed = 5184, 366795, 0
; 3套套乳环 右 下垂 透明 (868)
        run = CustomShaderTransparency4
; drawindexed = 5184, 371979, 0
	endif
endif

; 内衣 正常
	if $Xiong == 1
		if $NeiYi == 1
; 1爱心乳贴 (2402)
drawindexed = 13632, 377163, 0
	endif
endif

; 内衣 下垂
	if $Xiong == 2
		if $NeiYi == 1
; 2爱心乳贴 下垂 (1890)
drawindexed = 10560, 390795, 0
	endif
endif

; 衣 正常
	if $Xiong == 1
		if $ShangYi == 1
; 1奶盖 (1070)
drawindexed = 5772, 401355, 0
	endif
endif

; 衣 下垂
	if $Xiong == 2
		if $ShangYi == 1
; 1奶盖 下垂 (1070)
drawindexed = 5772, 407127, 0
	endif
endif

; 颈饰
	if $XiangQuan == 1
; 1蝴蝶结项圈 (5394)
drawindexed = 28248, 412899, 0
		elif $XiangQuan == 2
; 2皮带项圈 (2663)
drawindexed = 7500, 441147, 0
		elif $XiangQuan == 3
; 1蝴蝶结项圈 (5394)
drawindexed = 28248, 412899, 0
; 2皮带项圈 (2663)
drawindexed = 7500, 441147, 0
	endif
endif

; 手饰 左 1
	if $ShouShiAZuo == 1
; 1兔女郎手套 左 (2164)
drawindexed = 10566, 448647, 0
		elif $ShouShiAZuo == 2
; 2兔女郎手环 左 (1490)
drawindexed = 6936, 459213, 0
		elif $ShouShiAZuo == 3
; 3菱形手环 左 (280)
drawindexed = 960, 466149, 0
endif

; 手饰 右 1
	if $ShouShiAYou == 1
; 1兔女郎手套 右 (2164)
drawindexed = 10566, 467109, 0
		elif $ShouShiAYou == 2
; 2兔女郎手环 右 (1490)
drawindexed = 6936, 477675, 0
		elif $ShouShiAYou == 3
; 3菱形手环 右 (280)
drawindexed = 960, 484611, 0
endif

; 面具
	if $MianJu == 1
; 1口罩 全遮 (374)
drawindexed = 1074, 485571, 0
 		elif $MianJu == 2
; 2口罩 下拉 (374)
drawindexed = 1074, 486645, 0
endif

[TextureOverrideSigridBodyAB]
hash = 38daef11
match_first_index = 42963
match_index_count = 288
handling = skip
ib = ResourceSigridBodyABIB
if $FuSe == 0
	if $WaSe == 0
		Resource\ZZMI\Diffuse = ref ResourceAH
	elif $WaSe == 1
		Resource\ZZMI\Diffuse = ref ResourceAHW
	elif $WaSe == 2
		Resource\ZZMI\Diffuse = ref ResourceAB
	elif $WaSe == 3
		Resource\ZZMI\Diffuse = ref ResourceABW
	endif
elif $FuSe == 1
	if $WaSe == 0
		Resource\ZZMI\Diffuse = ref ResourceEH
	elif $WaSe == 1
		Resource\ZZMI\Diffuse = ref ResourceEHW
	elif $WaSe == 2
		Resource\ZZMI\Diffuse = ref ResourceEB
	elif $WaSe == 3
		Resource\ZZMI\Diffuse = ref ResourceEBW
	endif			
endif

if $WaSe == 0 || $WaSe == 2
	Resource\ZZMI\NormalMap = ref ResourceBodyAN
	Resource\ZZMI\LightMap = ref ResourceBodyAL
	Resource\ZZMI\MaterialMap = ref ResourceBodyAM
elif $WaSe == 1 || $WaSe == 3
	Resource\ZZMI\NormalMap = ref ResourceBodyBN
	Resource\ZZMI\LightMap = ref ResourceBodyBL
	Resource\ZZMI\MaterialMap = ref ResourceBodyBM
endif

Resource\ZZMI\GlowMap = ref ResourceBodyAGlowMap
run = CommandList\ZZMI\SetTextures
; SigridBodyAB-vb0=e2a28287.txt (3)
drawindexed = 3, 0, 0

; 衣服 透明
	if $Xiong == 1
		if $ShangYi == 2
; 1奶盖 透明 (1070)
drawindexed = 5772, 3, 0
	endif
endif

	if $Xiong == 2
		if $ShangYi == 2
; 2奶盖 下垂  透明 (1070)
drawindexed = 5772, 5775, 0
	endif
endif

[TextureOverrideSigridBodyBA]
hash = b20f90ea
match_first_index = 0
match_index_count = 19182
handling = skip
ib = ResourceSigridBodyBAIB
if $FuSe == 0
	if $WaSe == 0
		Resource\ZZMI\Diffuse = ref ResourceAH
	elif $WaSe == 1
		Resource\ZZMI\Diffuse = ref ResourceAHW
	elif $WaSe == 2
		Resource\ZZMI\Diffuse = ref ResourceAB
	elif $WaSe == 3
		Resource\ZZMI\Diffuse = ref ResourceABW
	endif
elif $FuSe == 1
	if $WaSe == 0
		Resource\ZZMI\Diffuse = ref ResourceEH
	elif $WaSe == 1
		Resource\ZZMI\Diffuse = ref ResourceEHW
	elif $WaSe == 2
		Resource\ZZMI\Diffuse = ref ResourceEB
	elif $WaSe == 3
		Resource\ZZMI\Diffuse = ref ResourceEBW
	endif			
endif

if $WaSe == 0 || $WaSe == 2
	Resource\ZZMI\NormalMap = ref ResourceBodyAN
	Resource\ZZMI\LightMap = ref ResourceBodyAL
	Resource\ZZMI\MaterialMap = ref ResourceBodyAM
elif $WaSe == 1 || $WaSe == 3
	Resource\ZZMI\NormalMap = ref ResourceBodyBN
	Resource\ZZMI\LightMap = ref ResourceBodyBL
	Resource\ZZMI\MaterialMap = ref ResourceBodyBM
endif

Resource\ZZMI\GlowMap = ref ResourceBodyAGlowMap
run = CommandList\ZZMI\SetTextures
; SigridBodyBA-vb0=122883aa.txt (3)
drawindexed = 3, 0, 0

; 基础 下半身 闭合
	if $WaZi == 1
		if $XiaBanShen == 1
; 1基础 下半身 (8859)
drawindexed = 47718, 3, 0
			elif $XiaBanShen == 2
; 2基础 勒肉 下半身 (8859)
drawindexed = 47718, 47721, 0
	endif
endif

; 过膝 下半身 闭合
	if $WaZi == 2
		if $XiaBanShen == 1
; 1过膝 下半身 (8859)
drawindexed = 47718, 95439, 0
			elif $XiaBanShen == 2
; 2过膝 勒肉 下半身 (8859)
drawindexed = 47718, 143157, 0
	endif
endif

; 连裤 下半身 闭合
	if $WaZi == 3
		if $XiaBanShen == 1
; 1连裤 下半身 (8859)
drawindexed = 47718, 190875, 0
			elif $XiaBanShen == 2
; 2连裤 勒肉 下半身 (8859)
drawindexed = 47718, 238593, 0
	endif
endif

; 连裤开裆 下半身 闭合
	if $WaZi == 4
		if $XiaBanShen == 1
; 1连裤开裆 下半身 (8859)
drawindexed = 47718, 286311, 0
			elif $XiaBanShen == 2
; 2连裤开裆 勒肉 下半身 (8859)
drawindexed = 47718, 334029, 0
	endif
endif

; 连体 下半身 闭合
	if $WaZi == 5
		if $XiaBanShen == 1
; 1连体 下半身 (8859)
drawindexed = 47718, 381747, 0
			elif $XiaBanShen == 2
; 2连体 勒肉 下半身 (8859)
drawindexed = 47718, 429465, 0
	endif
endif

; 连体开裆 下半身 闭合
	if $WaZi == 6
		if $XiaBanShen == 1
; 1连体开裆 下半身 (8859)
drawindexed = 47718, 477183, 0
			elif $XiaBanShen == 2
; 2连体开裆 勒肉 下半身 (8859)
drawindexed = 47718, 524901, 0
	endif
endif

; 扶她
	if $FuTa == 1
; 1马吊 (6599)
drawindexed = 37257, 572619, 0
endif

; 肚挤
	if $DuJiChuanKong == 1
; 1圆球肚挤穿孔 (196)
drawindexed = 912, 609876, 0
endif

; 内裤
	if $NeiKu == 1
; 1爱心阴贴 (2748)
drawindexed = 13080, 610788, 0
		elif $NeiKu == 2
; 2牙线内裤 (1309)
drawindexed = 6720, 623868, 0
endif

; 腿环 左 正常
	if $XiaBanShen == 1
		if $TuiShiZuo == 1
; 1跳蛋腿环 左 (1725)
drawindexed = 8796, 630588, 0
	endif
endif

; 腿环 左 勒肉
	if $XiaBanShen == 2
		if $TuiShiZuo == 1
; 2跳蛋腿环 勒肉 左 (1725)
drawindexed = 8796, 639384, 0
	endif
endif

; 腿环 右 正常
	if $XiaBanShen == 1
		if $TuiShiYou == 1
; 1蝴蝶结腿环 右 (954)
drawindexed = 4116, 648180, 0
	endif
endif

; 腿环 右 勒肉
	if $XiaBanShen == 2
		if $TuiShiYou == 1
; 1蝴蝶结腿环 右 勒肉 (954)
drawindexed = 4116, 652296, 0
	endif
endif

; 鞋 1
	if $XieZi == 1
; 1蝴蝶结细高跟 (10878)
drawindexed = 50556, 656412, 0
endif

	if $XiaBanShen == 1
		if $XieZi == 2
; 2黑色尖头长筒靴 (15614)
drawindexed = 81144, 706968, 0
	endif
endif

	if $XiaBanShen == 2
		if $XieZi == 2
; 3黑色尖头长筒靴 勒肉 (15614)
drawindexed = 81144, 788112, 0
	endif
endif


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

; --------------------------------------------------尾巴
[TextureOverride3IB]
hash = b30db54e
if $WeiBa == 0
handling = skip
endif

; --------------------------------------------------盾牌
[TextureOverride4IB]
hash = add6ff13
handling = skip
endif

[CommandListCreditInfo]
if $creditinfo == 0 && $active > 0
	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

; -------------------------------------------------; 3套套乳环 左 透明 (868)
[CustomShaderTransparency1]
blend = ADD BLEND_FACTOR INV_BLEND_FACTOR
blend_factor[0] = 0.75
blend_factor[1] = 0.75
blend_factor[2] = 0.75
blend_factor[3] = 1
handling = skip
drawindexed = 5184, 320427, 0
; -------------------------------------------------; 3套套乳环 左 下垂 透明 (868)
[CustomShaderTransparency2]
blend = ADD BLEND_FACTOR INV_BLEND_FACTOR
blend_factor[0] = 0.75
blend_factor[1] = 0.75
blend_factor[2] = 0.75
blend_factor[3] = 1
handling = skip
drawindexed = 5184, 337611, 0
; -------------------------------------------------; 3套套乳环 右 透明 (868)
[CustomShaderTransparency3]
blend = ADD BLEND_FACTOR INV_BLEND_FACTOR
blend_factor[0] = 0.75
blend_factor[1] = 0.75
blend_factor[2] = 0.75
blend_factor[3] = 1
handling = skip
drawindexed = 5184, 354795, 0
; -------------------------------------------------; 3套套乳环 右 下垂 透明 (868)
[CustomShaderTransparency4]
blend = ADD BLEND_FACTOR INV_BLEND_FACTOR
blend_factor[0] = 0.75
blend_factor[1] = 0.75
blend_factor[2] = 0.75
blend_factor[3] = 1
handling = skip
drawindexed = 5184, 371979, 0
; Resources -------------------------

[ResourceSigridBodyAPosition]
type = Buffer
stride = 40
filename = SigridBodyAPosition.buf

[ResourceSigridBodyABlend]
type = Buffer
stride = 32
filename = SigridBodyABlend.buf

[ResourceSigridBodyATexcoord]
type = Buffer
stride = 20
filename = SigridBodyATexcoord.buf

[ResourceSigridBodyAAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SigridBodyAA.ib

[ResourceSigridBodyABIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SigridBodyAB.ib

[ResourceSigridBodyBPosition]
type = Buffer
stride = 40
filename = SigridBodyBPosition.buf

[ResourceSigridBodyBBlend]
type = Buffer
stride = 32
filename = SigridBodyBBlend.buf

[ResourceSigridBodyBTexcoord]
type = Buffer
stride = 20
filename = SigridBodyBTexcoord.buf

[ResourceSigridBodyBAIB]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = SigridBodyBA.ib

[ResourceA]
filename = ..\Texture\Hair\1.dds

[ResourceB]
filename = ..\Texture\Hair\2.dds

[ResourceC]
filename = ..\Texture\Hair\3.dds

[ResourceD]
filename = ..\Texture\Hair\4.dds

[ResourceE]
filename = ..\Texture\Hair\5.dds

[ResourceF]
filename = ..\Texture\Hair\6.dds

[ResourceG]
filename = ..\Texture\Hair\7.dds

[ResourceH]
filename = ..\Texture\Hair\8.dds

[ResourceNormalMap]
filename = ..\Texture\Hair\N.dds

[ResourceLightMap]
filename = ..\Texture\Hair\L.dds

[ResourceMaterialMap]
filename = ..\Texture\Hair\M.dds

[ResourceGlowMap]
filename = ..\Texture\Hair\G.dds

[ResourceGlowMap2]
filename = ..\Texture\Hair\G2.dds


; --------------------------------------------------化妆 
[ResourceFaceA1]
filename = ..\Texture\Face\A\1.dds

[ResourceFaceA2]
filename = ..\Texture\Face\A\2.dds

[ResourceFaceA3]
filename = ..\Texture\Face\A\3.dds

[ResourceFaceA4]
filename = ..\Texture\Face\A\4.dds

[ResourceFaceA5]
filename = ..\Texture\Face\A\5.dds

[ResourceFaceA6]
filename = ..\Texture\Face\A\6.dds

[ResourceFaceA7]
filename = ..\Texture\Face\A\7.dds

[ResourceFaceA8]
filename = ..\Texture\Face\A\8.dds

[ResourceFaceA9]
filename = ..\Texture\Face\A\9.dds

[ResourceFaceA10]
filename = ..\Texture\Face\A\10.dds

[ResourceFaceA11]
filename = ..\Texture\Face\A\11.dds


[ResourceFaceB1]
filename = ..\Texture\Face\B\1.dds

[ResourceFaceB2]
filename = ..\Texture\Face\B\2.dds

[ResourceFaceB3]
filename = ..\Texture\Face\B\3.dds

[ResourceFaceB4]
filename = ..\Texture\Face\B\4.dds

[ResourceFaceB5]
filename = ..\Texture\Face\B\5.dds

[ResourceFaceB6]
filename = ..\Texture\Face\B\6.dds

[ResourceFaceB7]
filename = ..\Texture\Face\B\7.dds

[ResourceFaceB8]
filename = ..\Texture\Face\B\8.dds

[ResourceFaceB9]
filename = ..\Texture\Face\B\9.dds

[ResourceFaceB10]
filename = ..\Texture\Face\B\10.dds

[ResourceFaceB11]
filename = ..\Texture\Face\B\11.dds

; --------------------------------------------------肤色

[ResourceAH]
filename = ..\Texture\Body\A\H.dds

[ResourceAHW]
filename = ..\Texture\Body\A\HW.dds

[ResourceAB]
filename = ..\Texture\Body\A\B.dds 

[ResourceABW]
filename = ..\Texture\Body\A\BW.dds 

[ResourceAF]
filename = ..\Texture\Body\A\F.dds 

[ResourceAFT]
filename = ..\Texture\Body\A\FT.dds 



[ResourceBH]
filename = ..\Texture\Body\B\H.dds

[ResourceBHW]
filename = ..\Texture\Body\B\HW.dds

[ResourceBB]
filename = ..\Texture\Body\B\B.dds 

[ResourceBBW]
filename = ..\Texture\Body\B\BW.dds 

[ResourceBF]
filename = ..\Texture\Body\B\F.dds 

[ResourceBFT]
filename = ..\Texture\Body\B\FT.dds 




[ResourceCH]
filename = ..\Texture\Body\C\H.dds

[ResourceCHW]
filename = ..\Texture\Body\C\HW.dds

[ResourceCB]
filename = ..\Texture\Body\C\B.dds 

[ResourceCBW]
filename = ..\Texture\Body\C\BW.dds 

[ResourceCF]
filename = ..\Texture\Body\C\F.dds 

[ResourceCFT]
filename = ..\Texture\Body\C\FT.dds 



[ResourceDH]
filename = ..\Texture\Body\D\H.dds

[ResourceDHW]
filename = ..\Texture\Body\D\HW.dds

[ResourceDB]
filename = ..\Texture\Body\D\B.dds 

[ResourceDBW]
filename = ..\Texture\Body\D\BW.dds 

[ResourceDF]
filename = ..\Texture\Body\D\F.dds 

[ResourceDFT]
filename = ..\Texture\Body\D\FT.dds 



[ResourceEH]
filename = ..\Texture\Body\E\H.dds

[ResourceEHW]
filename = ..\Texture\Body\E\HW.dds

[ResourceEB]
filename = ..\Texture\Body\E\B.dds 

[ResourceEBW]
filename = ..\Texture\Body\E\BW.dds 

[ResourceEF]
filename = ..\Texture\Body\E\F.dds 

[ResourceEFT]
filename = ..\Texture\Body\E\FT.dds 




[ResourceFH]
filename = ..\Texture\Body\F\H.dds

[ResourceFHW]
filename = ..\Texture\Body\F\HW.dds

[ResourceFB]
filename = ..\Texture\Body\F\B.dds 

[ResourceFBW]
filename = ..\Texture\Body\F\BW.dds 

[ResourceFF]
filename = ..\Texture\Body\F\F.dds 

[ResourceFFT]
filename = ..\Texture\Body\F\FT.dds 




[ResourceGH]
filename = ..\Texture\Body\G\H.dds

[ResourceGHW]
filename = ..\Texture\Body\G\HW.dds

[ResourceGB]
filename = ..\Texture\Body\G\B.dds 

[ResourceGBW]
filename = ..\Texture\Body\G\BW.dds 

[ResourceGF]
filename = ..\Texture\Body\G\F.dds 

[ResourceGFT]
filename = ..\Texture\Body\G\FT.dds 



[ResourceHH]
filename = ..\Texture\Body\H\H.dds

[ResourceHHW]
filename = ..\Texture\Body\H\HW.dds

[ResourceHB]
filename = ..\Texture\Body\H\B.dds 

[ResourceHBW]
filename = ..\Texture\Body\H\BW.dds 

[ResourceHF]
filename = ..\Texture\Body\H\F.dds 

[ResourceHFT]
filename = ..\Texture\Body\H\FT.dds  

; --------------------------------------------------法线

[ResourceBodyAN]
filename = ..\Texture\Body\Other\AN.dds

[ResourceBodyBN]
filename = ..\Texture\Body\Other\BN.dds

; --------------------------------------------------光照

[ResourceBodyAL]
filename = ..\Texture\Body\Other\AL.dds

[ResourceBodyAM]
filename = ..\Texture\Body\Other\AM.dds

[ResourceBodyBL]
filename = ..\Texture\Body\Other\BL.dds

[ResourceBodyBM]
filename = ..\Texture\Body\Other\BM.dds

; --------------------------------------------------专武发光

[ResourceBodyAGlowMap]
filename = ..\Texture\Body\Other\AG.dds

[ResourceRemielleBodyABDiffuse]
filename = ..\Texture\Body\Other\RemielleBodyABDiffuse.dds

[ResourceRemielleBodyABNormalMap]
filename = ..\Texture\Body\Other\RemielleBodyABNormalMap.dds

[ResourceRemielleBodyABLightMap]
filename = ..\Texture\Body\Other\RemielleBodyABLightMap.dds

[ResourceRemielleBodyABMaterialMap]
filename = ..\Texture\Body\Other\RemielleBodyABMaterialMap.dds

[ResourceCreditInfo]
type = Buffer
data = "Created by XinNai"

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