;https://www.patreon.com/AzNxde

[Constants]
global $active0
global persist $swapkey0 = 0
global $active1
global persist $swapkey1 = 0
global $active3
global persist $swapkey2 = 0
global $active4
global persist $swapkey3 = 0
global $active5
global persist $swapkey4 = 0
global persist $swapkey5 = 0
global persist $swapkey6 = 0
global persist $swapkey7 = 0
global persist $swapkey13 = 0
global persist $swapkey14 = 0
global persist $swapkey15 = 0
global persist $swapkey18 = 0
global persist $swapkey19 = 0
global persist $swapkey20 = 0
global persist $swapkey21 = 0
global persist $swapkey22 = 0
global persist $swapkey23 = 0
global $swapkey20_lock = 0
global $swapkey20_restore = 0
global $hair_exclude_seen = 0
global $hair_exclude_active = 0
global persist $menu = 0
global $menu_page = 0
global $menu_anim = 0
global $menu_anim_from = 0
global $menu_anim_to = 0
global $menu_anim_t = 0
global $menu_slide = 0
global $menu_draw_page = 0
global $menu_draw_offset = 0
global $menu_base_x = 0
global $menu_base_y = 0
global $menu_draw = 0
global $menu_open_t = 0
global $menu_open_scale = 0
global $menu_open_ease = 0
global $ui_scale = 1
global $ui_px = 1
global $menu_move = 1
global $menu_d = 0
global $mms = 0
global $drag = 0
global $hold = 0
global $hovering = 0
global $slot = 0
global $hoveredSlot = 0
global $clickedSlot = 0
global $selectedSlot = 0
global $targetSelectedSlot = 0
global $navigating = 0
global $navSpeed = 0
global $navDirection = 0
global $window_width = 1920
global $window_height = 1080
global persist $mx = 0.5
global persist $my = 0.1
global $ww = 0
global $wh = 0
global $cpx = 0
global $cpy = 0
global $dt = 0
global $ts = 0
global $holdShape = 0
global $slot_click_anim = 0
global $slot_click_page = 0
global $slot_click_slot = 0
global $slot_click_t = 0
global $slot_click_scale = 1
global $slot_click_phase = 0
global $slot_click_ease = 0
global $slot_draw_scale = 1
global $slot_hover_slot = 0
global $slot_hover_page = 0
global $slot_hover_scale = 1
global $slot_hover_t = 0
global $slot_hover_active = 0
global $slot_hover_ease = 0
global $slot_hover_lock = 0
global $slot_hover_lock_slot = 0
global $slot_hover_lock_page = 0

[Present]
if $menu == 0 && $menu_draw == 0
    $menu_anim = 0
    $menu_anim_from = 0
    $menu_anim_to = 0
    $menu_anim_t = 0
    $menu_slide = 0
    $menu_draw_page = 0
    $menu_draw_offset = 0
    $menu_base_x = 0
    $menu_base_y = 0
    $menu_draw = 0
    $menu_open_t = 0
    $menu_open_scale = 0
    $menu_open_ease = 0
    $ui_scale = 1
    $ui_px = 1
    $slot_click_anim = 0
    $slot_click_page = 0
    $slot_click_slot = 0
    $slot_click_t = 0
    $slot_click_scale = 1
    $slot_click_phase = 0
    $slot_click_ease = 0
    $slot_draw_scale = 1
    $slot_hover_slot = 0
    $slot_hover_page = 0
    $slot_hover_scale = 1
    $slot_hover_t = 0
    $slot_hover_active = 0
    $slot_hover_ease = 0
    $slot_hover_lock = 0
    $slot_hover_lock_slot = 0
    $slot_hover_lock_page = 0
endif
if $active0 == 1 || $active1 == 1 || $active3 == 1 || $active4 == 1 || $active5 == 1
    $dt = time - $ts
    $ts = time
    if $menu == 1 && $menu_draw == 0
        $menu_draw = 1
        $menu_anim = 0
        $menu_anim_from = 0
        $menu_anim_to = 0
        $menu_anim_t = 0
        $menu_slide = 0
        $menu_draw_page = 0
        $menu_draw_offset = 0
        $menu_open_t = 0
        $menu_open_scale = 0
        $menu_open_ease = 0
        $ui_scale = 1
        $ui_px = 1
    endif
    if $menu_draw == 1
        run = CommandListOutfitMenu
    endif
endif
post $active0 = 0
post $active1 = 0
post $active3 = 0
post $active4 = 0
post $active5 = 0
post $hair_exclude_active = $hair_exclude_seen
post $hair_exclude_seen = 0
if $swapkey6 == 2
  if $swapkey20_lock == 0
    $swapkey20_restore = $swapkey20
    $swapkey20_lock = 1
  endif
  $swapkey20 = 1
elif $swapkey20_lock == 1
  $swapkey20 = $swapkey20_restore
  $swapkey20_lock = 0
endif

[KeyMenu]
condition = $active0 == 1 || $active1 == 1 || $active3 == 1 || $active4 == 1 || $active5 == 1
key = no_modifiers /
type = cycle
$menu = 0,1

[KeyMenu.ResetPosition]
condition = $menu == 1
key = no_modifiers .
run = CommandListResetMenuPos

[KeyHold]
condition = $menu == 1 && $hovering == 0
key = no_ctrl no_shift VK_LBUTTON
type = hold
$hold = 1

[KeyHoldShape]
condition = $menu == 1 && $hovering > 1
key = no_ctrl no_shift VK_LBUTTON
type = hold
run = CommandListHoldShape

[KeyClickedSlot]
condition = $hovering == 1 && $menu == 1
key = no_ctrl no_shift VK_LBUTTON
run = CommandListClickedSlot

[KeyMenu.Navigate.FORWARD]
condition = $menu == 1 && !$navigating
key = no_ctrl no_shift no_alt VK_DOWN
type = hold
run = CommandListNavigateMenu.FORWARD

[KeyMenu.Navigate.BACKWARDS]
condition = $menu == 1 && !$navigating
key = no_ctrl no_shift no_alt VK_UP
type = hold
run = CommandListNavigateMenu.BACKWARDS

[KeyMenu.Navigate.PRESS.LEFT]
condition = $menu == 1
key = no_ctrl no_shift no_alt VK_LEFT
type = hold
run = CommandListNavigateMenu.Press.LEFT

[KeyMenu.Navigate.PRESS.RIGHT]
condition = $menu == 1
key = no_ctrl no_shift no_alt VK_RIGHT
type = hold
run = CommandListNavigateMenu.Press.RIGHT

[CommandListHoldShape]
$holdShape = $hovering
post $holdShape = 0

[CommandListDimensions]
if window_width != 0 && window_height != 0
    $ww = window_width
    $wh = window_height
elif rt_width != 0 && rt_height != 0
    $ww = rt_width
    $wh = rt_height
elif res_width != 0 && res_height != 0
    $ww = res_width
    $wh = res_height
else
    $ww = $window_width
    $wh = $window_height
endif
$ui_scale = $wh / 1440
if $ui_scale > 1
    $ui_scale = 1
endif
if $ui_scale < 0.72
    $ui_scale = 0.72
endif
$ui_px = $menu_open_scale * $ui_scale
if cursor_x > 0 && cursor_y > 0 && cursor_x < 1 && cursor_y < 1
    $cpx = cursor_x
    $cpy = cursor_y
elif cursor_window_x > 0 && cursor_window_y > 0 && cursor_window_x < 1 && cursor_window_y < 1
    $cpx = cursor_window_x / $ww
    $cpy = cursor_window_y / $wh
else
    $cpx = cursor_screen_x / $ww
    $cpy = cursor_screen_y / $wh
endif

[CommandListResetMenuPos]
$mx = 50 / $ww
$my = 0.5 - 360 / $wh

[CommandListMoveMenu]
$mms = $mms + (0.00025 * ($mms < 0.01))
if $menu_d == 1
    $my = $my - $mms
elif $menu_d == 2
    $my = $my + $mms
elif $menu_d == 3
    $mx = $mx - $mms
elif $menu_d == 4
    $mx = $mx + $mms
endif
if $mx < 0
    $mx = 0
elif $mx + 500 / $ww > 1
    $mx = 1 - 500 / $ww
endif
if $my < 0
    $my = 0
elif $my + 500 / $wh > 1
    $my = 1 - 500 / $wh
endif

[CommandListMoveMenu.UP]
$menu_d = 1
post $menu_d = 0
post $mms = 0

[CommandListMoveMenu.DOWN]
$menu_d = 2
post $menu_d = 0
post $mms = 0

[CommandListMoveMenu.LEFT]
$menu_d = 3
post $menu_d = 0
post $mms = 0

[CommandListMoveMenu.RIGHT]
$menu_d = 4
post $menu_d = 0
post $mms = 0

[CommandListOutfitMenu]
local $bak_x87 = x87
local $bak_y87 = y87
local $bak_z87 = z87
local $bak_w87 = w87
local $bak_y88 = y88
run = CommandListDimensions
if $menu == 1
    if $menu_open_t < 0.3
        $menu_open_t = $menu_open_t + $dt
        if $menu_open_t > 0.3
            $menu_open_t = 0.3
        endif
    endif
else
    if $menu_open_t > 0
        $menu_open_t = $menu_open_t - $dt
        if $menu_open_t < 0
            $menu_open_t = 0
        endif
    endif
endif
$menu_open_ease = $menu_open_t / 0.3
if $menu == 1
    if $menu_open_t < 0.22
        $menu_open_ease = $menu_open_t / 0.22
        $menu_open_ease = 1 - (1 - $menu_open_ease) * (1 - $menu_open_ease) * (1 - $menu_open_ease) * (1 - $menu_open_ease)
        $menu_open_scale = 1.05 * $menu_open_ease
    else
        $menu_open_ease = ($menu_open_t - 0.22) / 0.08
        $menu_open_ease = 1 - (1 - $menu_open_ease) * (1 - $menu_open_ease) * (1 - $menu_open_ease)
        $menu_open_scale = 1.05 - 0.05 * $menu_open_ease
    endif
else
    $menu_open_ease = 1 - (1 - $menu_open_ease) * (1 - $menu_open_ease) * (1 - $menu_open_ease)
    $menu_open_scale = $menu_open_ease
endif
$ui_px = $menu_open_scale * $ui_scale
if $menu == 0 && $menu_open_t == 0
    $menu_draw = 0
    $menu_page = 0
    $menu_anim = 0
    $menu_anim_from = 0
    $menu_anim_to = 0
    $menu_anim_t = 0
    $menu_slide = 0
    $menu_draw_page = 0
    $menu_draw_offset = 0
    $hovering = 0
    $drag = 0
    $hold = 0
endif
run = CommandListBackground
post x87 = $bak_x87
post y87 = $bak_y87
post z87 = $bak_z87
post w87 = $bak_w87
post y88 = $bak_y88
if $navigating == 1
    run = CommandListNavigateMenu
elif $navigating == 2
    run = CommandListNavigateMenu.MoveSliderCursor
endif
if $menu_d > 0
    run = CommandListMoveMenu
endif

[CommandListBackground]
local $cox
local $coy
local $menu_anchor_x = $mx + 434.3072 * $ui_scale / $ww
local $menu_anchor_y = $my + 550 * $ui_scale / $wh
ps-t100 = ResourceMenuBG
x87 = 868.6144 / $ww * $ui_px
y87 = 1100 / $wh * $ui_px
if $menu == 1 && $hovering == 0
    if $drag == 0
        if $cpx > $mx && $cpx < ($mx + x87*0.3) && $cpy > $my && $cpy < ($my + y87)
            if $hold
                $cox = $cpx - $mx
                $coy = $cpy - $my
                $drag = 1
            endif
        endif
    else
        if $hold
            $mx = $cpx - $cox
            $my = $cpy - $coy
        else
            $drag = 0
        endif
    endif
endif
z87 = $menu_anchor_x - 434.3072 / $ww * $ui_px
w87 = $menu_anchor_y - 550 / $wh * $ui_px
run = CustomShaderElement
run = CommandListDrawToggles

[CommandListDrawToggles]
$hovering = 0
$slot = 0
$menu_base_x = z87
$menu_base_y = w87
if $slot_hover_active == 1
    $slot_hover_t = $slot_hover_t + $dt
    if $slot_hover_t > 0.75
        $slot_hover_t = 0.75
    endif
    $slot_hover_ease = $slot_hover_t / 0.75
    $slot_hover_ease = 1 - (1 - $slot_hover_ease) * (1 - $slot_hover_ease) * (1 - $slot_hover_ease) * (1 - $slot_hover_ease) * (1 - $slot_hover_ease) * (1 - $slot_hover_ease) * (1 - $slot_hover_ease) * (1 - $slot_hover_ease)
    $slot_hover_scale = 1 + 0.12 * $slot_hover_ease
else
    $slot_hover_t = 0
    if $slot_hover_scale > 1
        $slot_hover_ease = $slot_hover_scale - 1
        $slot_hover_scale = $slot_hover_scale - $dt * (0.12 + $slot_hover_ease * 5)
        if $slot_hover_scale < 1
            $slot_hover_scale = 1
        endif
    else
        $slot_hover_slot = 0
        $slot_hover_page = 0
    endif
endif
$slot_hover_active = 0
if $slot_click_anim == 1
    $slot_click_t = $slot_click_t + $dt
    if $slot_click_t < 0.12
        $slot_click_phase = $slot_click_t / 0.12
        $slot_click_scale = 1 - 0.12 * $slot_click_phase
    elif $slot_click_t < 0.24
        $slot_click_phase = ($slot_click_t - 0.12) / 0.12
        $slot_click_scale = 0.88 + 0.20 * $slot_click_phase
    elif $slot_click_t < 0.42
        $slot_click_phase = ($slot_click_t - 0.24) / 0.18
        $slot_click_ease = 1 - (1 - $slot_click_phase) * (1 - $slot_click_phase) * (1 - $slot_click_phase)
        $slot_click_scale = 1.08 - 0.08 * $slot_click_ease
    else
        $slot_click_anim = 0
        $slot_click_t = 0
        $slot_click_scale = 1
        $slot_hover_lock = 1
        $slot_hover_lock_slot = $slot_click_slot
        $slot_hover_lock_page = $slot_click_page
        $slot_hover_slot = 0
        $slot_hover_page = 0
        $slot_hover_t = 0
        $slot_hover_scale = 1
        $slot_hover_active = 0
    endif
endif
if $menu_anim == 1
    $menu_anim_t = $menu_anim_t + $dt / 0.34
    if $menu_anim_t > 1
        $menu_anim_t = 1
    endif
    $menu_slide = 1 - (1 - $menu_anim_t) * (1 - $menu_anim_t) * (1 - $menu_anim_t)
    if $menu_anim_to > $menu_anim_from
        $menu_draw_page = $menu_anim_from
        $menu_draw_offset = 0 - 520 * $menu_slide
        z87 = $menu_base_x
        w87 = $menu_base_y
        run = CommandListDrawSlots
        $menu_draw_page = $menu_anim_to
        $menu_draw_offset = 520 * (1 - $menu_slide)
        z87 = $menu_base_x
        w87 = $menu_base_y
        run = CommandListDrawSlots
    else
        $menu_draw_page = $menu_anim_from
        $menu_draw_offset = 520 * $menu_slide
        z87 = $menu_base_x
        w87 = $menu_base_y
        run = CommandListDrawSlots
        $menu_draw_page = $menu_anim_to
        $menu_draw_offset = 0 - 520 * (1 - $menu_slide)
        z87 = $menu_base_x
        w87 = $menu_base_y
        run = CommandListDrawSlots
    endif
    if $menu_anim_t >= 1
        $menu_page = $menu_anim_to
        $menu_anim = 0
        $menu_draw_page = $menu_page
        $menu_draw_offset = 0
    endif
else
    $menu_draw_page = $menu_page
    $menu_draw_offset = 0
    z87 = $menu_base_x
    w87 = $menu_base_y
    run = CommandListDrawSlots
endif
run = CommandListDrawPageButtons

[CommandListDrawSlots]
local $base_x = z87
local $base_y = w87
local $col_spacing = 140
local $row_spacing = 140
local $start_x = 325
local $start_y = 320
local $page_slots = 8
if $menu_draw_page == 0
    $page_slots = 9
endif
if $page_slots >= 1
    $slot = 1
    z87 = $base_x + ($start_x + $menu_draw_offset) * $ui_px / $ww
    w87 = $base_y + $start_y * $ui_px / $wh
    run = CommandListSlot
endif
if $page_slots >= 2
    $slot = 2
    z87 = $base_x + ($start_x + $col_spacing * 1 + $menu_draw_offset) * $ui_px / $ww
    w87 = $base_y + $start_y * $ui_px / $wh
    run = CommandListSlot
endif
if $page_slots >= 3
    $slot = 3
    z87 = $base_x + ($start_x + $col_spacing * 2 + $menu_draw_offset) * $ui_px / $ww
    w87 = $base_y + $start_y * $ui_px / $wh
    run = CommandListSlot
endif
if $page_slots >= 4
    $slot = 4
    z87 = $base_x + ($start_x + $menu_draw_offset) * $ui_px / $ww
    w87 = $base_y + ($start_y + $row_spacing * 1) * $ui_px / $wh
    run = CommandListSlot
endif
if $page_slots >= 5
    $slot = 5
    z87 = $base_x + ($start_x + $col_spacing * 1 + $menu_draw_offset) * $ui_px / $ww
    w87 = $base_y + ($start_y + $row_spacing * 1) * $ui_px / $wh
    run = CommandListSlot
endif
if $page_slots >= 6
    $slot = 6
    z87 = $base_x + ($start_x + $col_spacing * 2 + $menu_draw_offset) * $ui_px / $ww
    w87 = $base_y + ($start_y + $row_spacing * 1) * $ui_px / $wh
    run = CommandListSlot
endif
if $page_slots >= 7
    $slot = 7
    z87 = $base_x + ($start_x + $menu_draw_offset) * $ui_px / $ww
    w87 = $base_y + ($start_y + $row_spacing * 2) * $ui_px / $wh
    run = CommandListSlot
endif
if $page_slots >= 8
    $slot = 8
    z87 = $base_x + ($start_x + $col_spacing * 1 + $menu_draw_offset) * $ui_px / $ww
    w87 = $base_y + ($start_y + $row_spacing * 2) * $ui_px / $wh
    run = CommandListSlot
endif
if $page_slots >= 9
    $slot = 9
    z87 = $base_x + ($start_x + $col_spacing * 2 + $menu_draw_offset) * $ui_px / $ww
    w87 = $base_y + ($start_y + $row_spacing * 2) * $ui_px / $wh
    run = CommandListSlot
endif

[CommandListDrawPageButtons]
local $button_y = $menu_base_y + 740 * $ui_px / $wh
$slot = 10
z87 = $menu_base_x + 430 * $ui_px / $ww
w87 = $button_y
run = CommandListPageButton
$slot = 11
z87 = $menu_base_x + 540 * $ui_px / $ww
w87 = $button_y
run = CommandListPageButton

[CommandListSlot]
if z87 > ($menu_base_x + 268.6144 * $ui_px / $ww) && z87 < ($menu_base_x + 668.6144 * $ui_px / $ww)
    x87 = 110 / $ww * $ui_px
    y87 = 110 / $wh * $ui_px
    $slot_draw_scale = 1
    if $menu == 1 && $cpx > z87 && $cpx < (z87+x87-0.0035) && $cpy > w87 && $cpy < (w87+y87-0.0035)
        ps-t100 = ResourceItemSlotHover.1
        run = CustomShaderElement
        $hovering = 1
        $hoveredSlot = $slot
        $selectedSlot = 0
        if $slot_hover_lock == 1 && $slot_hover_lock_slot == $slot && $slot_hover_lock_page == $menu_draw_page
            $slot_draw_scale = 1
        else
            if $slot_hover_lock == 1
                $slot_hover_lock = 0
            endif
            if $slot_hover_slot != $slot || $slot_hover_page != $menu_draw_page
                $slot_hover_t = 0
                $slot_hover_scale = 1
            endif
            $slot_hover_slot = $slot
            $slot_hover_page = $menu_draw_page
            $slot_hover_active = 1
            $slot_draw_scale = $slot_hover_scale
        endif
    else
        if $slot == $selectedSlot
            $hoveredSlot = $slot
            ps-t100 = ResourceItemSlotHover.1
            run = CustomShaderElement
            if $slot_hover_lock == 1 && $slot_hover_lock_slot == $slot && $slot_hover_lock_page == $menu_draw_page
                $slot_draw_scale = 1
            else
                if $slot_hover_lock == 1
                    $slot_hover_lock = 0
                endif
                if $slot_hover_slot != $slot || $slot_hover_page != $menu_draw_page
                    $slot_hover_t = 0
                    $slot_hover_scale = 1
                endif
                $slot_hover_slot = $slot
                $slot_hover_page = $menu_draw_page
                $slot_hover_active = 1
                $slot_draw_scale = $slot_hover_scale
            endif
        else
            ps-t100 = ResourceItemSlot
            run = CustomShaderElement
            if $slot_hover_lock == 1 && $slot_hover_lock_slot == $slot && $slot_hover_lock_page == $menu_draw_page
                $slot_hover_lock = 0
            endif
            if $slot_hover_slot == $slot && $slot_hover_page == $menu_draw_page
                $slot_draw_scale = $slot_hover_scale
            endif
        endif
    endif
    run = CommandListSlotItemImage
endif

[CommandListPageButton]
x87 = 70 / $ww * $ui_px
y87 = 70 / $wh * $ui_px
$slot_draw_scale = 1
if $menu == 1 && $cpx > z87 && $cpx < (z87+x87-0.0035) && $cpy > w87 && $cpy < (w87+y87-0.0035)
    $hovering = 1
    $hoveredSlot = $slot
    ps-t100 = ResourceItemSlotHover.1
    run = CustomShaderElement
    if $slot_hover_lock == 1 && $slot_hover_lock_slot == $slot
        $slot_draw_scale = 1
    else
        if $slot_hover_lock == 1
            $slot_hover_lock = 0
        endif
        if $slot_hover_slot != $slot
            $slot_hover_t = 0
            $slot_hover_scale = 1
        endif
        $slot_hover_slot = $slot
        $slot_hover_page = $menu_page
        $slot_hover_active = 1
        $slot_draw_scale = $slot_hover_scale
    endif
else
    ps-t100 = ResourceItemSlot
    run = CustomShaderElement
    if $slot_hover_lock == 1 && $slot_hover_lock_slot == $slot
        $slot_hover_lock = 0
    endif
    if $slot_hover_slot == $slot
        $slot_draw_scale = $slot_hover_scale
    endif
endif
if $slot == 10
    if $menu_anim == 0 && $menu_page == 0
        ps-t100 = ResourcePageSlotHover
        run = CustomShaderElement
    elif $menu_anim == 1 && $menu_anim_to == 0
        ps-t100 = ResourcePageSlotHover
        run = CustomShaderElement
    endif
elif $slot == 11
    if $menu_anim == 0 && $menu_page == 1
        ps-t100 = ResourcePageSlotHover
        run = CustomShaderElement
    elif $menu_anim == 1 && $menu_anim_to == 1
        ps-t100 = ResourcePageSlotHover
        run = CustomShaderElement
    endif
endif
if $clickedSlot == $slot
    ps-t100 = ResourcePageSlotHover
    run = CustomShaderElement
    $clickedSlot = 0
endif
run = CommandListPageButtonImage

[CommandListSlotItemImage]
x87 = 120 / $ww * $ui_px
y87 = 120 / $wh * $ui_px
local $icon_locked = y88
local $icon_x = z87
local $icon_y = w87
local $icon_w = x87
local $icon_h = y87
if $slot_click_anim == 1 && $slot_click_page == $menu_draw_page && $slot_click_slot == $slot
    x87 = $icon_w * $slot_click_scale
    y87 = $icon_h * $slot_click_scale
    z87 = $icon_x + ($icon_w - x87) / 2
    w87 = $icon_y + ($icon_h - y87) / 2
elif $slot_draw_scale != 1
    x87 = $icon_w * $slot_draw_scale
    y87 = $icon_h * $slot_draw_scale
    z87 = $icon_x + ($icon_w - x87) / 2
    w87 = $icon_y + ($icon_h - y87) / 2
endif
if $menu_draw_page == 0
    if $slot == 1
        ps-t100 = ResourceMenuItem.1
    elif $slot == 2
        ps-t100 = ResourceMenuItem.11
    elif $slot == 3
        ps-t100 = ResourceMenuItem.3
    elif $slot == 4
        ps-t100 = ResourceMenuItem.4
    elif $slot == 5
        ps-t100 = ResourceMenuItem.5
    elif $slot == 6
        ps-t100 = ResourceMenuItem.17
        if $swapkey13 != 2 || $swapkey18 != 1
            y88 = 1
        endif
    elif $slot == 7
        ps-t100 = ResourceMenuItem.7
    elif $slot == 8
        ps-t100 = ResourceMenuItem.8
    elif $slot == 9
        ps-t100 = ResourceMenuItem.9
    endif
else
    if $slot == 1
        ps-t100 = ResourceMenuItem.10
    elif $slot == 2
        ps-t100 = ResourceMenuItem.2
    elif $slot == 3
        ps-t100 = ResourceMenuItem.12
    elif $slot == 4
        ps-t100 = ResourceMenuItem.13
    elif $slot == 5
        ps-t100 = ResourceMenuItem.14
    elif $slot == 6
        ps-t100 = ResourceMenuItem.15
    elif $slot == 7
        ps-t100 = ResourceMenuItem.6
    elif $slot == 8
        ps-t100 = ResourceMenuItem.16
    endif
endif
run = CustomShaderElement
y88 = $icon_locked
z87 = $icon_x
w87 = $icon_y
x87 = $icon_w
y87 = $icon_h

[CommandListPageButtonImage]
x87 = 70 / $ww * $ui_px
y87 = 70 / $wh * $ui_px
local $page_icon_x = z87
local $page_icon_y = w87
local $page_icon_w = x87
local $page_icon_h = y87
if $slot_click_anim == 1 && $slot_click_slot == $slot
    x87 = $page_icon_w * $slot_click_scale
    y87 = $page_icon_h * $slot_click_scale
    z87 = $page_icon_x + ($page_icon_w - x87) / 2
    w87 = $page_icon_y + ($page_icon_h - y87) / 2
elif $slot_draw_scale != 1
    x87 = $page_icon_w * $slot_draw_scale
    y87 = $page_icon_h * $slot_draw_scale
    z87 = $page_icon_x + ($page_icon_w - x87) / 2
    w87 = $page_icon_y + ($page_icon_h - y87) / 2
endif
if $slot == 10
    ps-t100 = ResourceMenuPage1
elif $slot == 11
    ps-t100 = ResourceMenuPage2
endif
run = CustomShaderElement
z87 = $page_icon_x
w87 = $page_icon_y
x87 = $page_icon_w
y87 = $page_icon_h

[CustomShaderElement]
vs = .\res/draw_2d.hlsl
ps = .\res/draw_2d.hlsl
run = BuiltInCommandListUnbindAllRenderTargets
blend = ADD SRC_ALPHA INV_SRC_ALPHA
cull = none
topology = triangle_strip
o0 = set_viewport bb
Draw = 4,0

[CommandListClickedSlot]
$clickedSlot = $hoveredSlot
if $menu_anim == 0
    if $clickedSlot >= 1 && $clickedSlot <= 11
        $slot_click_anim = 1
        $slot_click_page = $menu_page
        $slot_click_slot = $clickedSlot
        $slot_click_t = 0
        $slot_click_scale = 1
        $slot_hover_lock = 1
        $slot_hover_lock_slot = $clickedSlot
        $slot_hover_lock_page = $menu_page
        $slot_hover_slot = 0
        $slot_hover_page = 0
        $slot_hover_t = 0
        $slot_hover_scale = 1
        $slot_hover_active = 0
    endif
    if $menu_page == 0
        if $clickedSlot == 1
            $swapkey0 = $swapkey0 + 1
            if $swapkey0 > 2
                $swapkey0 = 0
            endif
        elif $clickedSlot == 2
            $swapkey15 = $swapkey15 + 1
            if $swapkey15 > 3
                $swapkey15 = 0
            endif
        elif $clickedSlot == 3
            $swapkey2 = $swapkey2 + 1
            if $swapkey2 > 1
                $swapkey2 = 0
            endif
        elif $clickedSlot == 4
            $swapkey3 = $swapkey3 + 1
            if $swapkey3 > 2
                $swapkey3 = 0
            endif
        elif $clickedSlot == 5
            $swapkey4 = $swapkey4 + 1
            if $swapkey4 > 1
                $swapkey4 = 0
            endif
        elif $clickedSlot == 6
            if $swapkey13 == 2 && $swapkey18 == 1
                $swapkey22 = $swapkey22 + 1
                if $swapkey22 > 1
                    $swapkey22 = 0
                endif
            endif
        elif $clickedSlot == 7
            $swapkey6 = $swapkey6 + 1
            if $swapkey6 > 2
                $swapkey6 = 0
            endif
        elif $clickedSlot == 8
            $swapkey7 = $swapkey7 + 1
            if $swapkey7 > 1
                $swapkey7 = 0
            endif
        elif $clickedSlot == 9
            $swapkey13 = $swapkey13 + 1
            if $swapkey13 > 2
                $swapkey13 = 0
            endif
        endif
    else
        if $clickedSlot == 1
            $swapkey14 = $swapkey14 + 1
            if $swapkey14 > 1
                $swapkey14 = 0
            endif
        elif $clickedSlot == 2
            $swapkey1 = $swapkey1 + 1
            if $swapkey1 > 1
                $swapkey1 = 0
            endif
        elif $clickedSlot == 3
            $swapkey18 = $swapkey18 + 1
            if $swapkey18 > 1
                $swapkey18 = 0
            endif
        elif $clickedSlot == 4
            $swapkey19 = $swapkey19 + 1
            if $swapkey19 > 1
                $swapkey19 = 0
            endif
        elif $clickedSlot == 5
            $swapkey20 = $swapkey20 + 1
            if $swapkey20 > 1
                $swapkey20 = 0
            endif
        elif $clickedSlot == 6
            $swapkey21 = $swapkey21 + 1
            if $swapkey21 > 1
                $swapkey21 = 0
            endif
        elif $clickedSlot == 7
            $swapkey5 = $swapkey5 + 1
            if $swapkey5 > 1
                $swapkey5 = 0
            endif
        elif $clickedSlot == 8
            $swapkey23 = $swapkey23 + 1
            if $swapkey23 > 1
                $swapkey23 = 0
            endif
        endif
    endif
    if $clickedSlot == 10
        if $menu_page != 0
            $menu_anim = 1
            $menu_anim_from = $menu_page
            $menu_anim_to = 0
            $menu_anim_t = 0
        endif
        $selectedSlot = 0
        $targetSelectedSlot = 0
    elif $clickedSlot == 11
        if $menu_page != 1
            $menu_anim = 1
            $menu_anim_from = $menu_page
            $menu_anim_to = 1
            $menu_anim_t = 0
        endif
        $selectedSlot = 0
        $targetSelectedSlot = 0
    endif
endif

[CommandListNavigateMenu]
if $selectedSlot < 1
    $selectedSlot = 11
    $targetSelectedSlot = 11
elif $selectedSlot > 11
    $selectedSlot = 1
    $targetSelectedSlot = 1
endif
$hoveredSlot = $selectedSlot

[CommandListNavigateMenu.MoveSliderCursor]
$navSpeed = $navSpeed + (0.02 * $dt * ($navSpeed < 0.02))

[CommandListNavigateMenu.FORWARD]
$navDirection = 1
$navigating = 1
$selectedSlot = $selectedSlot + 1
run = CommandListNavigateMenu
post $navDirection = 0
post $navigating = 0
post $navSpeed = 0
post $selectedSlot = $selectedSlot // 1
post $targetSelectedSlot = $selectedSlot

[CommandListNavigateMenu.BACKWARDS]
$navDirection = -1
$navigating = 1
$selectedSlot = $selectedSlot - 1
run = CommandListNavigateMenu
post $navDirection = 0
post $navigating = 0
post $navSpeed = 0
post $selectedSlot = $selectedSlot // 1
post $targetSelectedSlot = $selectedSlot

[CommandListNavigateMenu.Press.LEFT]
run = CommandListClickedSlot

[CommandListNavigateMenu.Press.RIGHT]
run = CommandListClickedSlot

[ResourceMenuBG]
filename = .\res\Menu.png

[ResourceItemSlot]
filename = .\res\Slot.png

[ResourceItemSlotHover.1]
filename = .\res\SlotHover.dds

[ResourcePageSlotHover]
filename = .\res\SlotHover.png

[ResourceMenuItem.1]
filename = .\res\1.dds

[ResourceMenuItem.2]
filename = .\res\2.dds

[ResourceMenuItem.3]
filename = .\res\3.dds

[ResourceMenuItem.4]
filename = .\res\4.dds

[ResourceMenuItem.5]
filename = .\res\5.dds

[ResourceMenuItem.6]
filename = .\res\6.dds

[ResourceMenuItem.7]
filename = .\res\7.dds

[ResourceMenuItem.8]
filename = .\res\8.dds

[ResourceMenuItem.9]
filename = .\res\9.dds

[ResourceMenuItem.10]
filename = .\res\10.dds

[ResourceMenuItem.11]
filename = .\res\11.dds

[ResourceMenuItem.12]
filename = .\res\12.dds

[ResourceMenuItem.13]
filename = .\res\13.dds

[ResourceMenuItem.14]
filename = .\res\14.dds

[ResourceMenuItem.15]
filename = .\res\15.dds

[ResourceMenuItem.16]
filename = .\res\16.dds

[ResourceMenuItem.17]
filename = .\res\17.dds

[ResourceMenuPage1]
filename = .\res\Page1.dds

[ResourceMenuPage2]
filename = .\res\Page2.dds

[ResourceMenuReserved]
filename = .\res\Slot.png

[TextureOverride_HairExclude_c2b4ce3a]
hash = c2b4ce3a
$hair_exclude_seen = 1

[TextureOverride_HairExclude_d509bdd4]
hash = d509bdd4
$hair_exclude_seen = 1

[TextureOverride_HairExclude_69148073]
hash = 69148073
$hair_exclude_seen = 1

[TextureOverride_0a843a8f_YYO0bgFKNf_VertexLimitRaise]
hash = 0a877d89
override_byte_stride = 40
override_vertex_count = 3739

[TextureOverride_a318b3c6_DfwyoQ_znE_VertexLimitRaise]
hash = f6ed0e7b
override_byte_stride = 40
override_vertex_count = 2043

[TextureOverride_a6431856_oHhHyZlJVr_VertexLimitRaise]
hash = 0e72bdb7
override_byte_stride = 40
override_vertex_count = 1635

[TextureOverride_aa9ffb85_jHyDDIGr_5_VertexLimitRaise]
hash = 992d149f
override_byte_stride = 40
override_vertex_count = 14930

[TextureOverride_b946c37f_yPetULBdai_VertexLimitRaise]
hash = c0ee97be
override_byte_stride = 40
override_vertex_count = 4821

[TextureOverride_feb1c4cd_nR7B77yS__VertexLimitRaise]
hash = 76ceb325
override_byte_stride = 40
override_vertex_count = 357016

[TextureOverride_VB_0a843a8f_YYO0bgFKNf_Position]
hash = 74d2da11
vb0 = Resource0a843a8fPosition
vb2 = Resource0a843a8fBlend
handling = skip
draw = 3739, 0
$active0 = 1

[TextureOverride_VB_0a843a8f_YYO0bgFKNf_Texcoord]
hash = 801cd45d
vb1 = Resource0a843a8fTexcoord

[TextureOverride_VB_0a843a8f_YYO0bgFKNf_Blend]
hash = d5070379

[TextureOverride_VB_a318b3c6_DfwyoQ_znE_Position]
hash = d9087948
vb0 = Resourcea318b3c6Position
vb2 = Resourcea318b3c6Blend
handling = skip
draw = 2043, 0
$active1 = 1

[TextureOverride_VB_a318b3c6_DfwyoQ_znE_Blend]
hash = 82c81803

[TextureOverride_VB_a318b3c6_DfwyoQ_znE_Texcoord]
hash = 1cfe1205
vb1 = Resourcea318b3c6Texcoord

[TextureOverride_VB_a6431856_oHhHyZlJVr_Position]
hash = d5c6a50f
vb0 = Resourcea6431856Position
vb2 = Resourcea6431856Blend
handling = skip
draw = 1635, 0

[TextureOverride_VB_a6431856_oHhHyZlJVr_Blend]
hash = 57192494

[TextureOverride_VB_a6431856_oHhHyZlJVr_Texcoord]
hash = 07a15f8e
vb1 = Resourcea6431856Texcoord

[TextureOverride_VB_aa9ffb85_jHyDDIGr_5_Position]
hash = dbd537bb
if $hair_exclude_active == 0
vb0 = Resourceaa9ffb85Position
vb2 = Resourceaa9ffb85Blend
handling = skip
draw = 14930, 0
$active3 = 1
endif

[TextureOverride_VB_aa9ffb85_jHyDDIGr_5_Texcoord]
hash = 0f1d7b96
if $hair_exclude_active == 0
vb1 = Resourceaa9ffb85Texcoord
endif

[TextureOverride_VB_aa9ffb85_jHyDDIGr_5_Blend]
hash = 2cf18f34

[TextureOverride_VB_b946c37f_yPetULBdai_Position]
hash = 6aa2848f
vb0 = Resourceb946c37fPosition
vb2 = Resourceb946c37fBlend
handling = skip
draw = 4821, 0
$active4 = 1

[TextureOverride_VB_b946c37f_yPetULBdai_Texcoord]
hash = 88e81d00
vb1 = Resourceb946c37fTexcoord

[TextureOverride_VB_b946c37f_yPetULBdai_Blend]
hash = f83e837a

[TextureOverride_VB_feb1c4cd_nR7B77yS__Position]
hash = df17d505
vb0 = Resourcefeb1c4cdPosition
vb2 = Resourcefeb1c4cdBlend
handling = skip
draw = 357016, 0
$active5 = 1

[TextureOverride_VB_feb1c4cd_nR7B77yS__Texcoord]
hash = 3e19f179
vb1 = Resourcefeb1c4cdTexcoord

[TextureOverride_VB_feb1c4cd_nR7B77yS__Blend]
hash = 987395ef

[TextureOverride_IB_9a9780a7_Face]
hash = 9a9780a7
run = CommandListSkinTexture

[TextureOverride_IB_0a843a8f_YYO0bgFKNf_Component1]
hash = 0a843a8f
match_first_index = 0
handling = skip
run = CommandListSkinTexture
ib = Resource_0a843a8f_Component1

if $swapkey0 == 1
  drawindexed = 2370,14112,0
endif
Resource\ZZMI\Diffuse = ref  Resource_Body_Diffuse
Resource\ZZMI\NormalMap = ref  Resource_Body_Normal
Resource\ZZMI\LightMap = ref  Resource_Body_Light
Resource\ZZMI\MaterialMap = ref  Resource_Body_Specular
Resource\RabbitFX\FXMap = ref ResourceTransparencyMask
run = CommandList\RabbitFX\Run
run = CommandList\ZZMI\SetTextures

if $swapkey0 == 0
  drawindexed = 14112,0,0
endif

[TextureOverride_IB_a318b3c6_DfwyoQ_znE_Component1]
hash = a318b3c6
match_first_index = 0
handling = skip
run = CommandListSkinTexture
ib = Resource_a318b3c6_Component1

if $swapkey1 == 1
  drawindexed = 3594,4434,0
endif
Resource\ZZMI\Diffuse = ref  Resource_Body_Diffuse
Resource\ZZMI\NormalMap = ref  Resource_Body_Normal
Resource\ZZMI\LightMap = ref  Resource_Body_Light
Resource\ZZMI\MaterialMap = ref  Resource_Body_Specular
Resource\RabbitFX\FXMap = ref ResourceTransparencyMask
run = CommandList\RabbitFX\Run
run = CommandList\ZZMI\SetTextures

if $swapkey1 == 0
  drawindexed = 4434,0,0
endif

[TextureOverride_IB_a6431856_oHhHyZlJVr_Component1]
hash = a6431856
match_first_index = 0
handling = skip
run = CommandListSkinTexture
ib = Resource_a6431856_Component1
drawindexed = 1020,0,0
Resource\ZZMI\Diffuse = ref  Resource_Body_Diffuse
Resource\ZZMI\NormalMap = ref  Resource_Body_Normal
Resource\ZZMI\LightMap = ref  Resource_Body_Light
Resource\ZZMI\MaterialMap = ref  Resource_Body_Specular
Resource\RabbitFX\FXMap = ref ResourceTransparencyMask
run = CommandList\RabbitFX\Run
run = CommandList\ZZMI\SetTextures
drawindexed = 7350,1020,0

[TextureOverride_IB_aa9ffb85_jHyDDIGr_5_Component1]
hash = aa9ffb85
match_first_index = 0
if $hair_exclude_active == 0
handling = skip
run = CommandListSkinTexture
ib = Resource_aa9ffb85_Component1

if $swapkey2 == 1
  drawindexed = 13377,42372,0
endif
Resource\ZZMI\Diffuse = ref  Resource_Body_Diffuse
Resource\ZZMI\NormalMap = ref  Resource_Body_Normal
Resource\ZZMI\LightMap = ref  Resource_Body_Light
Resource\ZZMI\MaterialMap = ref  Resource_Body_Specular
Resource\RabbitFX\FXMap = ref ResourceTransparencyMask
run = CommandList\RabbitFX\Run
run = CommandList\ZZMI\SetTextures

if $swapkey2 == 0
  drawindexed = 13146,0,0
  drawindexed = 29226,13146,0
endif
endif

[TextureOverride_IB_403eace9_OriginalHairShadow]
hash = 403eace9
if $hair_exclude_active == 0 && $swapkey2 != 1
  handling = skip
endif

[TextureOverride_IB_b946c37f_yPetULBdai_Component1]
hash = b946c37f
match_first_index = 0
handling = skip
run = CommandListSkinTexture
ib = Resource_b946c37f_Component1

if $swapkey3 == 1
  drawindexed = 1458,22104,0
endif
Resource\ZZMI\Diffuse = ref  Resource_Body_Diffuse
Resource\ZZMI\NormalMap = ref  Resource_Body_Normal
Resource\ZZMI\LightMap = ref  Resource_Body_Light
Resource\ZZMI\MaterialMap = ref  Resource_Body_Specular
Resource\RabbitFX\FXMap = ref ResourceTransparencyMask
run = CommandList\RabbitFX\Run
run = CommandList\ZZMI\SetTextures

if $swapkey3 == 0
  drawindexed = 22104,0,0
endif

[TextureOverride_IB_feb1c4cd_nR7B77yS__Component1]
hash = feb1c4cd
match_first_index = 0
handling = skip
run = CommandListSkinTexture
ib = Resource_feb1c4cd_Component1
Resource\ZZMI\Diffuse = ref  Resource_Body_Diffuse
Resource\ZZMI\NormalMap = ref  Resource_Body_Normal
Resource\ZZMI\LightMap = ref  Resource_Body_Light
Resource\ZZMI\MaterialMap = ref  Resource_Body_Specular
Resource\RabbitFX\FXMap = ref ResourceTransparencyMask
run = CommandList\RabbitFX\Run
run = CommandList\ZZMI\SetTextures

if $swapkey4 == 0 && $swapkey5 == 0
  drawindexed = 1200,0,0
endif

if $swapkey4 == 0 && $swapkey6 == 0
  drawindexed = 254688,1200,0
  drawindexed = 62040,255888,0
endif

if $swapkey4 == 0 && $swapkey6 == 1 && $swapkey7 == 0
  drawindexed = 172536,317928,0
  drawindexed = 20988,490464,0
endif

if $swapkey4 == 0 && $swapkey6 == 1 && $swapkey7 == 1
  drawindexed = 165186,511452,0
endif

if $swapkey4 == 0 && $swapkey6 == 1
  drawindexed = 62040,678894,0
endif

if $swapkey4 == 0 && $swapkey6 == 2 && $swapkey7 == 0
  drawindexed = 172536,317928,0
  drawindexed = 20988,490464,0
endif

if $swapkey4 == 0 && $swapkey6 == 2 && $swapkey7 == 1
  drawindexed = 165186,511452,0
endif

if $swapkey4 == 1 && $swapkey5 == 0
  drawindexed = 1200,740934,0
endif

if $swapkey4 == 1 && $swapkey6 == 0
  drawindexed = 254688,742134,0
  drawindexed = 62040,996822,0
endif

if $swapkey4 == 1 && $swapkey6 == 1 && $swapkey7 == 0
  drawindexed = 172536,1058862,0
  drawindexed = 20988,1231398,0
endif

if $swapkey4 == 1 && $swapkey6 == 1 && $swapkey7 == 1
  drawindexed = 172536,1252386,0
endif

if $swapkey4 == 1 && $swapkey6 == 1
  drawindexed = 62040,1424922,0
endif

if $swapkey4 == 1 && $swapkey6 == 2 && $swapkey7 == 0
  drawindexed = 172536,1058862,0
  drawindexed = 20988,1231398,0
endif

if $swapkey4 == 1 && $swapkey6 == 2 && $swapkey7 == 1
  drawindexed = 172536,1252386,0
endif

if $swapkey13 == 0
  drawindexed = 36636,1486962,0
  drawindexed = 37908,1523598,0
  drawindexed = 35220,1561506,0
endif

if $swapkey13 == 1
  drawindexed = 36636,1596726,0
  drawindexed = 36636,1486962,0
endif

if $swapkey13 == 2
  drawindexed = 143820,1633362,0
endif

if $swapkey21 == 0
drawindexed = 10560,1777182,0
endif

if $swapkey13 == 2 && $swapkey18 == 1 && $swapkey22 == 0
  drawindexed = 37140,1932240,0
endif

if $swapkey14 == 0
  drawindexed = 56016,1787742,0
endif

if $swapkey15 == 0 && $swapkey4 == 0
  drawindexed = 11808,1843758,0
endif

if $swapkey15 == 0 && $swapkey4 == 1
  drawindexed = 11808,1855566,0
endif

if $swapkey15 == 0
  drawindexed = 1584,1867374,0
endif

if $swapkey15 == 1
  drawindexed = 1584,1867374,0
endif

if $swapkey15 == 2 && $swapkey4 == 0
  drawindexed = 11808,1843758,0
endif

if $swapkey15 == 2 && $swapkey4 == 1
  drawindexed = 11808,1855566,0
endif

if $swapkey18 == 0
  drawindexed = 12084,1868958,0
  drawindexed = 10176,1881042,0
endif

if $swapkey18 == 1
  drawindexed = 40302,1891218,0
  drawindexed = 336,1931520,0
endif

if $swapkey19 == 0
  drawindexed = 384,1931856,0
endif

if $swapkey20 == 0
  drawindexed = 2256,676638,0
endif

if $swapkey20 == 1
  drawindexed = 336,1931520,0
endif

[Resource_Body_Diffuse]
filename = dds\base.dds

[Resource_Body_Normal]
filename = dds\N.dds

[Resource_Body_Light]
filename = dds\L.dds

[Resource_Body_Specular]
filename = dds\H.dds

[ResourceTransparencyMask]
filename = dds\tf.dds

[Resource0a843a8fPosition]
type = Buffer
stride = 40
filename = Buffer/0a843a8f-Position.buf

[Resource0a843a8fTexcoord]
type = Buffer
stride = 20
filename = Buffer/0a843a8f-Texcoord.buf

[Resource0a843a8fBlend]
type = Buffer
stride = 16
filename = Buffer/0a843a8f-Blend.buf

[Resource_0a843a8f_Component1]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = Buffer/0a843a8f-Component1.buf

[Resourcea318b3c6Position]
type = Buffer
stride = 40
filename = Buffer/a318b3c6-Position.buf

[Resourcea318b3c6Blend]
type = Buffer
stride = 16
filename = Buffer/a318b3c6-Blend.buf

[Resourcea318b3c6Texcoord]
type = Buffer
stride = 24
filename = Buffer/a318b3c6-Texcoord.buf

[Resource_a318b3c6_Component1]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = Buffer/a318b3c6-Component1.buf

[Resourcea6431856Position]
type = Buffer
stride = 40
filename = Buffer/a6431856-Position.buf

[Resourcea6431856Blend]
type = Buffer
stride = 32
filename = Buffer/a6431856-Blend.buf

[Resourcea6431856Texcoord]
type = Buffer
stride = 52
filename = Buffer/a6431856-Texcoord.buf

[Resource_a6431856_Component1]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = Buffer/a6431856-Component1.buf

[Resourceaa9ffb85Position]
type = Buffer
stride = 40
filename = Buffer/aa9ffb85-Position.buf

[Resourceaa9ffb85Texcoord]
type = Buffer
stride = 20
filename = Buffer/aa9ffb85-Texcoord.buf

[Resourceaa9ffb85Blend]
type = Buffer
stride = 32
filename = Buffer/aa9ffb85-Blend.buf

[Resource_aa9ffb85_Component1]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = Buffer/aa9ffb85-Component1.buf

[Resourceb946c37fPosition]
type = Buffer
stride = 40
filename = Buffer/b946c37f-Position.buf

[Resourceb946c37fTexcoord]
type = Buffer
stride = 20
filename = Buffer/b946c37f-Texcoord.buf

[Resourceb946c37fBlend]
type = Buffer
stride = 32
filename = Buffer/b946c37f-Blend.buf

[Resource_b946c37f_Component1]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = Buffer/b946c37f-Component1.buf

[Resourcefeb1c4cdPosition]
type = Buffer
stride = 40
filename = Buffer/feb1c4cd-Position.buf

[Resourcefeb1c4cdTexcoord]
type = Buffer
stride = 32
filename = Buffer/feb1c4cd-Texcoord.buf

[Resourcefeb1c4cdBlend]
type = Buffer
stride = 32
filename = Buffer/feb1c4cd-Blend.buf

[Resource_feb1c4cd_Component1]
type = Buffer
format = DXGI_FORMAT_R32_UINT
filename = Buffer/feb1c4cd-Component1.buf

[TextureOverride_56176059_Replace]
hash = 56176059
this = Resource_56176059_Replace

[Resource_56176059_Replace]
filename = dds\56176059-BC7_UNORM_SRGB.dds



[TextureOverride_75ec3614_Face]
hash = 75ec3614
if $hair_exclude_active == 0 && $swapkey23 == 0
  this = Resource_75ec3614_Face
endif

[TextureOverride_77eef7e8_Face]
hash = 77eef7e8
if $hair_exclude_active == 0 && $swapkey23 == 0
  this = Resource_75ec3614_Face
endif

[Resource_75ec3614_Face]
filename = dds\face.dds
