; EFMI ALPHA-5 INI

; Key Bindings -------------------------

[KeySwapNymph]
condition = $object_detected == 1
key = NUMPAD1
type = cycle
$swapvar_nymph = -1, 0

[KeySwapSkirtL]
condition = $object_detected == 1
key = NUMPAD2
type = cycle
$swapvar_skirt_l = -1, 0

[KeySwapSkirtR]
condition = $object_detected == 1
key = NUMPAD3
type = cycle
$swapvar_skirt_r = -1, 0

[KeySwapBelts]
condition = $object_detected == 1
key = NUMPAD4
type = cycle
$swapvar_belts = -1, 0

[KeySwapSomething]
condition = $object_detected == 1
key = NUMPAD5
type = cycle
$swapvar_something = -1, 0

[KeySwapNipplePirc1]
condition = $object_detected == 1
key = NUMPAD6
type = cycle
$swapvar_nipple_pirc_1 = -1, 0

[KeySwapNipplePirc2]
condition = $object_detected == 1
key = NUMPAD7
type = cycle
$swapvar_nipple_pirc_2 = -1, 0, 1

[KeySwapNipplePirc3]
condition = $object_detected == 1
key = NUMPAD8
type = cycle
$swapvar_nipple_pirc_3 = -1, 0

[KeySwapClitPirc]
condition = $object_detected == 1
key = NUMPAD9
type = cycle
$swapvar_clit_pirc = -1, 0

[KeySwapAcs]
condition = $object_detected == 1
key = ]
type = cycle
$swapvar_acs = -1, 0, 1

[KeySwapPax]
condition = $object_detected == 1
key = [
type = cycle
$swapvar_pax = -1, 0

[KeySwapAcs2]
condition = $object_detected == 1
key = '
type = cycle
$swapvar_acs_2 = -1, 0

[KeySwapHair]
condition = $active == 1
key = .
type = cycle
$hair = 0,1,2,3,4

[KeySwapBody3]
condition = $active == 1
key = ,
type = cycle
$body3 = 0,1,2,3,4

[KeySwapFace]
condition = $active == 1
key = /
type = cycle
$face = 0,1,2

[KeySwapAcc]
condition = $active == 1
key = ;
type = cycle
$acc = 0,1,2,3

; Mod Info -------------------------

[ResourceModName]
type = Buffer
data = "EMBER"

[ResourceModAuthor]
type = Buffer
data = "Baird"

[ResourceModDesc]
; type = Buffer
; data = "Empty Mod Description"

[ResourceModLink]
; type = Buffer
; data = "Empty Mod Link"

[ResourceModLogo]
; filename = Textures/Logo.dds

; Mod State -------------------------

[Constants]
global $required_efmi_version = 1.10
global $object_guid = 204102
global $mesh_vertex_count = 0
global $mod_id = -1000
global $mod_enabled = 0
global $object_detected = 0
global $lod_detected = 0
; Swap vars aka state values for toggles (marked as `persist` to keep state saved in `d3dx_user.ini`)
global persist $swapvar_nymph = 0
global persist $swapvar_skirt_l = 0
global persist $swapvar_skirt_r = 0
global persist $swapvar_belts = 0
global persist $swapvar_something = 0
global persist $swapvar_nipple_pirc_1 = 0
global persist $swapvar_nipple_pirc_2 = 0
global persist $swapvar_nipple_pirc_3 = 0
global persist $swapvar_clit_pirc = 0
global persist $swapvar_acs = 0
global persist $swapvar_pax = 0
global persist $swapvar_acs_2 = 0
global persist $hair = 0
global persist $body3 = 0
global persist $face = 0
global persist $acc = 0
; Per-object state vars (dynamically controlled by CommandListProcessToggles)
global $draw_belts_component_0_529ab1c9_002 = 1
global $draw_nipple_pirc_1_component_0_529ab1c9_008 = 1
global $draw_nymph_component_0_529ab1c9_001 = 1
global $draw_pax_component_0_529ab1c9_001 = 1
global $draw_skirt_l_component_0_529ab1c9_001 = 1
global $draw_skirt_r_component_0_529ab1c9_001 = 1
global $draw_something_component_0_529ab1c9_005 = 1
global $draw_acs_1_component_0_529ab1c9_001 = 1
global $draw_acs_2_component_0_529ab1c9_006 = 1
global $draw_acs_component_0_529ab1c9 = 1
global $draw_acs_component_0_529ab1c9_003 = 1
global $draw_acs_component_0_529ab1c9_008 = 1
global $draw_component_1_2a3d50c3 = 1
global $draw_component_2_9c2d3f9b = 1
global $draw_component_3_a883cfd7 = 1
global $draw_component_4_017770a8 = 1
global $draw_skirt_l2_component_4_017770a8_001 = 1
global $draw_skirt_r2_component_4_017770a8_002 = 1
global $draw_component_5_c7cc6650 = 1
global $draw_component_6_f415f0a3 = 1
global $draw_component_7_382b8324_001 = 1
global $draw_component_8_1e3266c6 = 1
global $draw_clit_pirc_component_9_7a3bb986_003 = 1
global $draw_component_9_7a3bb986 = 1
global $draw_component_9_7a3bb986_003 = 1
global $draw_nipple_pirc_1component_9_7a3bb986_005 = 1
global $draw_nipple_pirc_2_component_9_7a3bb986_001 = 1
global $draw_nipple_pirc_2_component_9_7a3bb986_002 = 1
global $draw_nipple_pirc_2_component_9_7a3bb986_003 = 1
global $draw_nipple_pirc_3_component_9_7a3bb986_001 = 1
global $draw_acs_1_component_9_7a3bb986_002 = 1
global $draw_body_component_9_7a3bb986_002 = 1

[Present]
if $object_detected
    if $mod_enabled
        post $object_detected = 0
        run = CommandListProcessToggles
    else
        if $mod_id == -1000
            run = CommandListRegisterMod
        endif
    endif
endif

[CommandListRegisterMod]
$\EFMIv1\required_version = $required_efmi_version
$\EFMIv1\object_guid = $object_guid
Resource\EFMIv1\ModName = ref ResourceModName
Resource\EFMIv1\ModAuthor = ref ResourceModAuthor
Resource\EFMIv1\ModDesc = ref ResourceModDesc
Resource\EFMIv1\ModLink = ref ResourceModLink
Resource\EFMIv1\ModLogo = ref ResourceModLogo
run = CommandList\EFMIv1\RegisterMod
$mod_id = $\EFMIv1\mod_id
if $mod_id >= 0
    $mod_enabled = 1
endif

[CommandListProcessToggles]
; Set display of each object according to toggles logic
$draw_nymph_component_0_529ab1c9_001 = ($swapvar_nymph == 0)
$draw_skirt_l_component_0_529ab1c9_001 = ($swapvar_skirt_l == 0)
$draw_skirt_l2_component_4_017770a8_001 = ($swapvar_skirt_l == 0)
$draw_skirt_r_component_0_529ab1c9_001 = ($swapvar_skirt_r == 0)
$draw_skirt_r2_component_4_017770a8_002 = ($swapvar_skirt_r == 0)
$draw_belts_component_0_529ab1c9_002 = ($swapvar_belts == 0)
$draw_something_component_0_529ab1c9_005 = ($swapvar_something == 0)
$draw_nipple_pirc_1_component_0_529ab1c9_008 = ($swapvar_nipple_pirc_1 == 0)
$draw_nipple_pirc_1component_9_7a3bb986_005 = ($swapvar_nipple_pirc_1 == 0)
$draw_nipple_pirc_2_component_9_7a3bb986_003 = ($swapvar_nipple_pirc_2 == 0)
$draw_nipple_pirc_3_component_9_7a3bb986_001 = ($swapvar_nipple_pirc_2 == 1)
$draw_nipple_pirc_2_component_9_7a3bb986_002 = ($swapvar_nipple_pirc_3 == 0)
$draw_nipple_pirc_2_component_9_7a3bb986_001 = ($swapvar_nipple_pirc_3 == 0)
$draw_clit_pirc_component_9_7a3bb986_003 = ($swapvar_clit_pirc == 0)
$draw_acs_1_component_0_529ab1c9_001 = ($swapvar_acs == 0)
$draw_acs_1_component_9_7a3bb986_002 = ($swapvar_acs == 1)
$draw_pax_component_0_529ab1c9_001 = ($swapvar_pax == 0)
$draw_acs_2_component_0_529ab1c9_006 = ($swapvar_acs_2 == 0)

; Shading: Custom Mesh Draw CommandLists -------------------------

[CommandList_Draw_Component0]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component0_IB
vb0 = ref Resource_Component0_VB0
vb1 = ref Resource_Component0_VB1
if $lod_detected == 0
    vb2 = ref Resource_Component0_VB2
else
    vb2 = ref Resource_Component0_VB2_LOD
endif
        if $$acc == 0
		Resource\RabbitFX\Diffuse = ref Resource_Texture2
		elif $acc == 1
		Resource\RabbitFX\Diffuse = ref Resource_Texture2_2
		elif $acc == 2
		Resource\RabbitFX\Diffuse = ref Resource_Texture2_3
		elif $acc == 3
		Resource\RabbitFX\Diffuse = ref Resource_Texture2_4
		elif $acc == 4
		Resource\RabbitFX\Diffuse = ref Resource_Texture2_5	
endif
    Resource\RabbitFX\Lightmap = ref Resource_Texture4
    Resource\RabbitFX\Normalmap = ref Resource_Texture3
    run = CommandList\RabbitFX\SetTextures

; Draw Belts Component 0 529ab1c9.002
if $draw_belts_component_0_529ab1c9_002
    drawindexedinstanced = 4500, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif
; Draw Nipple pirc 1 Component 0 529ab1c9.008
if $draw_nipple_pirc_1_component_0_529ab1c9_008
    drawindexedinstanced = 720, INSTANCE_COUNT, 4500, 0, FIRST_INSTANCE
endif
; Draw Nymph Component 0 529ab1c9.001
if $draw_nymph_component_0_529ab1c9_001
    drawindexedinstanced = 2160, INSTANCE_COUNT, 5220, 0, FIRST_INSTANCE
endif
; Draw Pax Component 0 529ab1c9.001
if $draw_pax_component_0_529ab1c9_001
    drawindexedinstanced = 276, INSTANCE_COUNT, 7380, 0, FIRST_INSTANCE
endif
; Draw Skirt L Component 0 529ab1c9.001
if $draw_skirt_l_component_0_529ab1c9_001
    drawindexedinstanced = 15648, INSTANCE_COUNT, 7656, 0, FIRST_INSTANCE
endif
; Draw Skirt R Component 0 529ab1c9.001
if $draw_skirt_r_component_0_529ab1c9_001
    drawindexedinstanced = 15648, INSTANCE_COUNT, 23304, 0, FIRST_INSTANCE
endif
; Draw Something Component 0 529ab1c9.005
if $draw_something_component_0_529ab1c9_005
    drawindexedinstanced = 1674, INSTANCE_COUNT, 38952, 0, FIRST_INSTANCE
endif
; Draw acs 1 Component 0 529ab1c9.001
if $draw_acs_1_component_0_529ab1c9_001
    drawindexedinstanced = 558, INSTANCE_COUNT, 40626, 0, FIRST_INSTANCE
endif
; Draw acs 2 Component 0 529ab1c9.006
if $draw_acs_2_component_0_529ab1c9_006
    drawindexedinstanced = 6048, INSTANCE_COUNT, 41184, 0, FIRST_INSTANCE
endif
; Draw acs Component 0 529ab1c9
if $draw_acs_component_0_529ab1c9
    drawindexedinstanced = 38070, INSTANCE_COUNT, 47232, 0, FIRST_INSTANCE
endif
; Draw acs Component 0 529ab1c9.003
if $draw_acs_component_0_529ab1c9_003
    drawindexedinstanced = 12138, INSTANCE_COUNT, 85302, 0, FIRST_INSTANCE
endif
; Draw acs Component 0 529ab1c9.008
if $draw_acs_component_0_529ab1c9_008
    drawindexedinstanced = 1224, INSTANCE_COUNT, 97440, 0, FIRST_INSTANCE
endif

[CommandList_Draw_Component1]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component1_IB
vb0 = ref Resource_Component1_VB0
vb1 = ref Resource_Component1_VB1
if $lod_detected == 0
    vb2 = ref Resource_Component1_VB2
else
    vb2 = ref Resource_Component1_VB2_LOD
endif
        if $hair == 0
		Resource\RabbitFX\Diffuse = ref Resource_Texture7
		elif $hair == 1
		Resource\RabbitFX\Diffuse = ref Resource_Texture7_2
		elif $hair == 2
		Resource\RabbitFX\Diffuse = ref Resource_Texture7_3
		elif $hair == 3
		Resource\RabbitFX\Diffuse = ref Resource_Texture7_4
		elif $hair == 4
		Resource\RabbitFX\Diffuse = ref Resource_Texture7_5	
endif
    Resource\RabbitFX\Lightmap = ref Resource_Texture8
    Resource\RabbitFX\Normalmap = ref Resource_Texture9
    run = CommandList\RabbitFX\SetTextures

; Draw Component 1 2a3d50c3
if $draw_component_1_2a3d50c3
    drawindexedinstanced = 43362, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif

[CommandList_Draw_Component2]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component2_IB
vb0 = ref Resource_Component2_VB0
vb1 = ref Resource_Component2_VB1
vb2 = ref Resource_Component2_VB2
        if $face == 0
		Resource\RabbitFX\Diffuse = ref Resource_Texture16
		elif $face == 1
		Resource\RabbitFX\Diffuse = ref Resource_Texture16_2
		elif $face == 2
		Resource\RabbitFX\Diffuse = ref Resource_Texture16_3
endif
    Resource\RabbitFX\Normalmap = ref Resource_Texture13
    run = CommandList\RabbitFX\SetTextures

; Draw Component 2 9c2d3f9b
if $draw_component_2_9c2d3f9b
    drawindexedinstanced = 8502, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif

[CommandList_Draw_Component3]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component3_IB
vb0 = ref Resource_Component3_VB0
vb1 = ref Resource_Component3_VB1
if $lod_detected == 0
    vb2 = ref Resource_Component3_VB2
else
    vb2 = ref Resource_Component3_VB2_LOD
endif
; Draw Component 3 a883cfd7
if $draw_component_3_a883cfd7
    drawindexedinstanced = 366, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif

[CommandList_Draw_Component4]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component4_IB
vb0 = ref Resource_Component4_VB0
vb1 = ref Resource_Component4_VB1
vb2 = ref Resource_Component4_VB2
; Draw Component 4 017770a8
if $draw_component_4_017770a8
    drawindexedinstanced = 1182, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif
; Draw Skirt L2 Component 4 017770a8.001
if $draw_skirt_l2_component_4_017770a8_001
    drawindexedinstanced = 300, INSTANCE_COUNT, 1182, 0, FIRST_INSTANCE
endif
; Draw Skirt R2 Component 4 017770a8.002
if $draw_skirt_r2_component_4_017770a8_002
    drawindexedinstanced = 300, INSTANCE_COUNT, 1482, 0, FIRST_INSTANCE
endif

[CommandList_Draw_Component5]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component5_IB
vb0 = ref Resource_Component5_VB0
vb1 = ref Resource_Component5_VB1
vb2 = ref Resource_Component5_VB2
; Draw Component 5 c7cc6650
if $draw_component_5_c7cc6650
    drawindexedinstanced = 1434, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif

[CommandList_Draw_Component6]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component6_IB
vb0 = ref Resource_Component6_VB0
vb1 = ref Resource_Component6_VB1
vb2 = ref Resource_Component6_VB2
; Draw Component 6 f415f0a3
if $draw_component_6_f415f0a3
    drawindexedinstanced = 948, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif

[CommandList_Draw_Component7]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component7_IB
vb0 = ref Resource_Component7_VB0
vb1 = ref Resource_Component7_VB1
if $lod_detected == 0
    vb2 = ref Resource_Component7_VB2
else
    vb2 = ref Resource_Component7_VB2_LOD
endif
; Draw Component 7 382b8324.001
if $draw_component_7_382b8324_001
    drawindexedinstanced = 828, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif

[CommandList_Draw_Component8]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component8_IB
vb0 = ref Resource_Component8_VB0
vb1 = ref Resource_Component8_VB1
vb2 = ref Resource_Component8_VB2
; Draw Component 8 1e3266c6
if $draw_component_8_1e3266c6
    drawindexedinstanced = 96, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif

[CommandList_Draw_Component9]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component9_IB
vb0 = ref Resource_Component9_VB0
vb1 = ref Resource_Component9_VB1
if $lod_detected == 0
    vb2 = ref Resource_Component9_VB2
else
    vb2 = ref Resource_Component9_VB2_LOD
endif
        if $body3 == 0
		Resource\RabbitFX\Diffuse = ref Resource_Texture10
		elif $body3 == 1
		Resource\RabbitFX\Diffuse = ref Resource_Texture10_2
		elif $body3 == 2
		Resource\RabbitFX\Diffuse = ref Resource_Texture10_3
		elif $body3 == 3
		Resource\RabbitFX\Diffuse = ref Resource_Texture10_4
		elif $body3 == 4
		Resource\RabbitFX\Diffuse = ref Resource_Texture10_5	
endif
    Resource\RabbitFX\Lightmap = ref Resource_Texture12
    Resource\RabbitFX\Normalmap = ref Resource_Texture11
    run = CommandList\RabbitFX\SetTextures

; Draw Clit pirc Component 9 7a3bb986.003
if $draw_clit_pirc_component_9_7a3bb986_003
    drawindexedinstanced = 2364, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif
; Draw Component 9 7a3bb986
if $draw_component_9_7a3bb986
    drawindexedinstanced = 29856, INSTANCE_COUNT, 2364, 0, FIRST_INSTANCE
endif
; Draw Component 9 7a3bb986.003
if $draw_component_9_7a3bb986_003
    drawindexedinstanced = 210, INSTANCE_COUNT, 32220, 0, FIRST_INSTANCE
endif
; Draw Nipple pirc 1Component 9 7a3bb986.005
if $draw_nipple_pirc_1component_9_7a3bb986_005
    drawindexedinstanced = 744, INSTANCE_COUNT, 32430, 0, FIRST_INSTANCE
endif
; Draw Nipple pirc 2 Component 9 7a3bb986.001
if $draw_nipple_pirc_2_component_9_7a3bb986_001
    drawindexedinstanced = 720, INSTANCE_COUNT, 33174, 0, FIRST_INSTANCE
endif
; Draw Nipple pirc 2 Component 9 7a3bb986.002
if $draw_nipple_pirc_2_component_9_7a3bb986_002
    drawindexedinstanced = 2220, INSTANCE_COUNT, 33894, 0, FIRST_INSTANCE
endif
; Draw Nipple pirc 2 Component 9 7a3bb986.003
if $draw_nipple_pirc_2_component_9_7a3bb986_003
    drawindexedinstanced = 744, INSTANCE_COUNT, 36114, 0, FIRST_INSTANCE
endif
; Draw Nipple pirc 3 Component 9 7a3bb986.001
if $draw_nipple_pirc_3_component_9_7a3bb986_001
    drawindexedinstanced = 5280, INSTANCE_COUNT, 36858, 0, FIRST_INSTANCE
endif
; Draw acs 1 Component 9 7a3bb986.002
if $draw_acs_1_component_9_7a3bb986_002
    drawindexedinstanced = 294, INSTANCE_COUNT, 42138, 0, FIRST_INSTANCE
endif
; Draw body Component 9 7a3bb986.002
if $draw_body_component_9_7a3bb986_002
    drawindexedinstanced = 125340, INSTANCE_COUNT, 42432, 0, FIRST_INSTANCE
endif

; Shading: Full Models Draw Call Stacks Processing -------------------------

[TextureOverride_Component0]
hash = 529ab1c9
$object_detected = 1
$lod_detected = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component0
endif

[TextureOverride_Component1]
hash = 2a3d50c3
$object_detected = 1
$lod_detected = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component1
endif

[TextureOverride_Component2]
hash = 9c2d3f9b
$object_detected = 1
$lod_detected = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component2
endif

[TextureOverride_Component3]
hash = a883cfd7
$object_detected = 1
$lod_detected = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component3
endif

[TextureOverride_Component4]
hash = 017770a8
$object_detected = 1
$lod_detected = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component4
endif

[TextureOverride_Component5]
hash = c7cc6650
$object_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component5
endif

[TextureOverride_Component6]
hash = f415f0a3
$object_detected = 1
$lod_detected = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component6
endif

[TextureOverride_Component7]
hash = 382b8324
$object_detected = 1
$lod_detected = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component7
endif

[TextureOverride_Component8]
hash = 1e3266c6
$object_detected = 1
$lod_detected = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component8
endif

[TextureOverride_Component9]
hash = 7a3bb986
$object_detected = 1
$lod_detected = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component9
endif

[TextureOverride_Component10]
hash = 3a339bf2
$object_detected = 1
$lod_detected = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    ; Draw skipped: No matching custom components found
    ; run = CommandList_Draw_Component10
endif

; Shading: LoD Models Draw Call Stacks Processing -------------------------

[TextureOverride_Component0_LOD0]
hash = b8c35aa2
$object_detected = 1
$lod_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component0
endif

[TextureOverride_Component1_LOD0]
hash = e7a48931
$object_detected = 1
$lod_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component1
endif

[TextureOverride_Component2_LOD0]
hash = a992c6af
$object_detected = 1
$lod_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component2
endif

[TextureOverride_Component3_LOD0]
hash = bdb8b9b3
$object_detected = 1
$lod_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component3
endif

[TextureOverride_Component4_LOD0]
hash = b0d7b4a0
$object_detected = 1
$lod_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component4
endif

[TextureOverride_Component6_LOD0]
hash = a821a80e
$object_detected = 1
$lod_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component6
endif

[TextureOverride_Component7_LOD0]
hash = 10caf75f
$object_detected = 1
$lod_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component7
endif

[TextureOverride_Component8_LOD0]
hash = 60bf957f
$object_detected = 1
$lod_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component8
endif

[TextureOverride_Component9_LOD0]
hash = b75ffc38
$object_detected = 1
$lod_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component9
endif

[TextureOverride_Component10_LOD0]
hash = 7cc5a3f9
$object_detected = 1
$lod_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    ; Draw skipped: No matching custom components found
    ; run = CommandList_Draw_Component10
endif

; Shading: Textures -------------------------

[Resource_Texture0]
filename = Textures/Components-0 t=af560a30.dds

[TextureOverride_Texture0]
hash = af560a30
match_priority = 0
if $object_detected
    this = Resource_Texture0
endif

[Resource_Texture1]
filename = Textures/Components-0-10-4-9 t=7d330dbd.dds

[TextureOverride_Texture1]
hash = 7d330dbd
match_priority = 0
if $object_detected
    this = Resource_Texture1
endif

[Resource_Texture2]
filename = Textures/Components-0-4 t=7b37ece8.dds

[Resource_Texture2_2]
filename = Textures/Components-0-4 t=7b37ece8 2.dds

[Resource_Texture2_3]
filename = Textures/Components-0-4 t=7b37ece8 3.dds

[Resource_Texture2_4]
filename = Textures/Components-0-4 t=7b37ece8 4.dds

[TextureOverride_Texture2]
$active = 1
hash = 7b37ece8
if $acc == 0
this = Resource_Texture2
elif $acc == 1
this = Resource_Texture2_2
elif $acc == 2
this = Resource_Texture2_3
elif $acc == 3
this = Resource_Texture2_4
endif

[Resource_Texture3]
filename = Textures/Components-0-4 t=b7bdc812.dds

[TextureOverride_Texture3]
hash = b7bdc812
match_priority = 0
if $object_detected
    this = Resource_Texture3
endif

[Resource_Texture4]
filename = Textures/Components-0-4 t=bf2b23e8.dds

[TextureOverride_Texture4]
hash = bf2b23e8
match_priority = 0
if $object_detected
    this = Resource_Texture4
endif

[Resource_Texture5]
filename = Textures/Components-1 t=151c9982.dds

[TextureOverride_Texture5]
hash = 151c9982
match_priority = 0
if $object_detected
    this = Resource_Texture5
endif

[Resource_Texture6]
filename = Textures/Components-1 t=5647130a.dds

[TextureOverride_Texture6]
hash = 5647130a
match_priority = 0
if $object_detected
    this = Resource_Texture6
endif

[Resource_Texture7]
filename = Textures/Components-1 t=9abe7504.dds

[Resource_Texture7_2]
filename = Textures/Components-1 t=9abe7504 2.dds

[Resource_Texture7_3]
filename = Textures/Components-1 t=9abe7504 3.dds

[Resource_Texture7_4]
filename = Textures/Components-1 t=9abe7504 4.dds

[Resource_Texture7_5]
filename = Textures/Components-1 t=9abe7504 5.dds

[TextureOverride_Texture7]
$active = 1
hash = 9abe7504
if $hair == 0
this = Resource_Texture7
elif $hair == 1
this = Resource_Texture7_2
elif $hair == 2
this = Resource_Texture7_3
elif $hair == 3
this = Resource_Texture7_4
elif $hair == 4
this = Resource_Texture7_5
endif

[Resource_Texture8]
filename = Textures/Components-1 t=cbcdc81e.dds

[TextureOverride_Texture8]
hash = cbcdc81e
match_priority = 0
if $object_detected
    this = Resource_Texture8
endif

[Resource_Texture9]
filename = Textures/Components-1 t=d8b80a78.dds

[TextureOverride_Texture9]
hash = d8b80a78
match_priority = 0
if $object_detected
    this = Resource_Texture9
endif

[Resource_Texture10]
filename = Textures/Components-10-9 t=0226cc12.dds

[Resource_Texture10_2]
filename = Textures/Components-10-9 t=0226cc12 2.dds

[Resource_Texture10_3]
filename = Textures/Components-10-9 t=0226cc12 3.dds

[Resource_Texture10_4]
filename = Textures/Components-10-9 t=0226cc12 4.dds

[Resource_Texture10_5]
filename = Textures/Components-10-9 t=0226cc12 5.dds

[TextureOverride_Texture10]
$active = 1
hash = 0226cc12
if $body3 == 0
this = Resource_Texture10
elif $body3 == 1
this = Resource_Texture10_2
elif $body3 == 2
this = Resource_Texture10_3
elif $body3 == 3
this = Resource_Texture10_4
elif $body3 == 4
this = Resource_Texture10_5
endif

[Resource_Texture11]
filename = Textures/Components-10-9 t=17c16879.dds

[TextureOverride_Texture11]
hash = 17c16879
match_priority = 0
if $object_detected
    this = Resource_Texture11
endif

[Resource_Texture12]
filename = Textures/Components-10-9 t=9acc04c1.dds

[TextureOverride_Texture12]
hash = 9acc04c1
match_priority = 0
if $object_detected
    this = Resource_Texture12
endif

[Resource_Texture13]
filename = Textures/Components-2 t=0a7b28f6.dds

[TextureOverride_Texture13]
hash = 0a7b28f6
match_priority = 0
if $object_detected
    this = Resource_Texture13
endif

[Resource_Texture14]
filename = Textures/Components-2 t=290f53c8.dds

[TextureOverride_Texture14]
hash = 290f53c8
match_priority = 0
if $object_detected
    this = Resource_Texture14
endif

[Resource_Texture15]
filename = Textures/Components-2 t=9750205d.dds

[TextureOverride_Texture15]
hash = 9750205d
match_priority = 0
if $object_detected
    this = Resource_Texture15
endif

[Resource_Texture16]
filename = Textures/Components-2-5 t=32ae09bf.dds

[Resource_Texture16_2]
filename = Textures/Components-2-5 t=32ae09bf 2.dds

[Resource_Texture16_3]
filename = Textures/Components-2-5 t=32ae09bf 3.dds

[TextureOverride_Texture16]
$active = 1
hash = 32ae09bf
if $face == 0
this = Resource_Texture16
elif $face == 1
this = Resource_Texture16_2
elif $face == 2
this = Resource_Texture16_3
endif

[Resource_Texture17]
filename = Textures/Components-6 t=6d21c1f8.dds

[TextureOverride_Texture17]
hash = 6d21c1f8
match_priority = 0
if $object_detected
    this = Resource_Texture17
endif

[Resource_Texture18]
filename = Textures/Components-7 t=3d22f6dc.dds

[TextureOverride_Texture18]
hash = 3d22f6dc
match_priority = 0
if $object_detected
    this = Resource_Texture18
endif

[Resource_Texture19]
filename = Textures/Components-7 t=c9ea91fd.dds

[TextureOverride_Texture19]
hash = c9ea91fd
match_priority = 0
if $object_detected
    this = Resource_Texture19
endif

[TextureOverride20]
hash = 0226cc12
Resource\RabbitFX\GlowMap = ref ResourceGlowMap
$\RabbitFX\brightness = 100
run = CommandList\RabbitFX\run

[ResourceGlowMap]
filename = Textures/GlowMap.dds
endif

[TextureOverride21]
hash = 7b37ece8
Resource\RabbitFX\GlowMap= ref ResourceGlowMap2
$\RabbitFX\brightness = 100
run = CommandList\RabbitFX\run

[ResourceGlowMap2]
filename = Textures/GlowMap2.dds
endif

; Resources: Buffers -------------------------

[Resource_Component0_IB]
type = Buffer
format = DXGI_FORMAT_R16_UINT
stride = 6
filename = Meshes/Component0_IB.buf

[Resource_Component0_VB0]
type = Buffer
stride = 16
filename = Meshes/Component0_VB0.buf

[Resource_Component0_VB1]
type = Buffer
stride = 12
filename = Meshes/Component0_VB1.buf

[Resource_Component0_VB2]
type = Buffer
stride = 12
filename = Meshes/Component0_VB2.buf

[Resource_Component0_VB2_LOD]
type = Buffer
stride = 12
filename = Meshes/Component0_VB2_LOD.buf

[Resource_Component1_IB]
type = Buffer
format = DXGI_FORMAT_R16_UINT
stride = 6
filename = Meshes/Component1_IB.buf

[Resource_Component1_VB0]
type = Buffer
stride = 16
filename = Meshes/Component1_VB0.buf

[Resource_Component1_VB1]
type = Buffer
stride = 12
filename = Meshes/Component1_VB1.buf

[Resource_Component1_VB2]
type = Buffer
stride = 12
filename = Meshes/Component1_VB2.buf

[Resource_Component1_VB2_LOD]
type = Buffer
stride = 12
filename = Meshes/Component1_VB2_LOD.buf

[Resource_Component2_IB]
type = Buffer
format = DXGI_FORMAT_R16_UINT
stride = 6
filename = Meshes/Component2_IB.buf

[Resource_Component2_VB0]
type = Buffer
stride = 16
filename = Meshes/Component2_VB0.buf

[Resource_Component2_VB1]
type = Buffer
stride = 12
filename = Meshes/Component2_VB1.buf

[Resource_Component2_VB2]
type = Buffer
stride = 12
filename = Meshes/Component2_VB2.buf

[Resource_Component3_IB]
type = Buffer
format = DXGI_FORMAT_R16_UINT
stride = 6
filename = Meshes/Component3_IB.buf

[Resource_Component3_VB0]
type = Buffer
stride = 16
filename = Meshes/Component3_VB0.buf

[Resource_Component3_VB1]
type = Buffer
stride = 8
filename = Meshes/Component3_VB1.buf

[Resource_Component3_VB2]
type = Buffer
stride = 12
filename = Meshes/Component3_VB2.buf

[Resource_Component3_VB2_LOD]
type = Buffer
stride = 12
filename = Meshes/Component3_VB2_LOD.buf

[Resource_Component4_IB]
type = Buffer
format = DXGI_FORMAT_R16_UINT
stride = 6
filename = Meshes/Component4_IB.buf

[Resource_Component4_VB0]
type = Buffer
stride = 16
filename = Meshes/Component4_VB0.buf

[Resource_Component4_VB1]
type = Buffer
stride = 12
filename = Meshes/Component4_VB1.buf

[Resource_Component4_VB2]
type = Buffer
stride = 4
filename = Meshes/Component4_VB2.buf

[Resource_Component5_IB]
type = Buffer
format = DXGI_FORMAT_R16_UINT
stride = 6
filename = Meshes/Component5_IB.buf

[Resource_Component5_VB0]
type = Buffer
stride = 16
filename = Meshes/Component5_VB0.buf

[Resource_Component5_VB1]
type = Buffer
stride = 8
filename = Meshes/Component5_VB1.buf

[Resource_Component5_VB2]
type = Buffer
stride = 12
filename = Meshes/Component5_VB2.buf

[Resource_Component6_IB]
type = Buffer
format = DXGI_FORMAT_R16_UINT
stride = 6
filename = Meshes/Component6_IB.buf

[Resource_Component6_VB0]
type = Buffer
stride = 16
filename = Meshes/Component6_VB0.buf

[Resource_Component6_VB1]
type = Buffer
stride = 8
filename = Meshes/Component6_VB1.buf

[Resource_Component6_VB2]
type = Buffer
stride = 4
filename = Meshes/Component6_VB2.buf

[Resource_Component7_IB]
type = Buffer
format = DXGI_FORMAT_R16_UINT
stride = 6
filename = Meshes/Component7_IB.buf

[Resource_Component7_VB0]
type = Buffer
stride = 16
filename = Meshes/Component7_VB0.buf

[Resource_Component7_VB1]
type = Buffer
stride = 12
filename = Meshes/Component7_VB1.buf

[Resource_Component7_VB2]
type = Buffer
stride = 12
filename = Meshes/Component7_VB2.buf

[Resource_Component7_VB2_LOD]
type = Buffer
stride = 12
filename = Meshes/Component7_VB2_LOD.buf

[Resource_Component8_IB]
type = Buffer
format = DXGI_FORMAT_R16_UINT
stride = 6
filename = Meshes/Component8_IB.buf

[Resource_Component8_VB0]
type = Buffer
stride = 16
filename = Meshes/Component8_VB0.buf

[Resource_Component8_VB1]
type = Buffer
stride = 8
filename = Meshes/Component8_VB1.buf

[Resource_Component8_VB2]
type = Buffer
stride = 12
filename = Meshes/Component8_VB2.buf

[Resource_Component9_IB]
type = Buffer
format = DXGI_FORMAT_R16_UINT
stride = 6
filename = Meshes/Component9_IB.buf

[Resource_Component9_VB0]
type = Buffer
stride = 16
filename = Meshes/Component9_VB0.buf

[Resource_Component9_VB1]
type = Buffer
stride = 12
filename = Meshes/Component9_VB1.buf

[Resource_Component9_VB2]
type = Buffer
stride = 12
filename = Meshes/Component9_VB2.buf

[Resource_Component9_VB2_LOD]
type = Buffer
stride = 12
filename = Meshes/Component9_VB2_LOD.buf

; Autogenerated -------------------------

; This mod.ini was automatically generated by EFMI Tools Blender addon v0.3.3 and requires EFMI v1.1.0+ to function

; EFMI Tools GitHub: https://github.com/SpectrumQT/EFMI-Tools
; EFMI Package GitHub: https://github.com/SpectrumQT/EFMI-Package
; XXMI Launcher GitHub: https://github.com/SpectrumQT/XXMI-Launcher
; EFMI Mods Website: https://gamebanana.com/games/21842
; EFMI GameBanana: https://gamebanana.com/tools/21846
; EFMI Tools GameBanana: https://gamebanana.com/tools/21847
; AGMF Modding Community Discord: https://discord.com/invite/agmf
; SHA256 CHECKSUM: eefef6fc877c85434bbf1121c69a59a59ec409f745ba143094614f86367a53e9
