; EFMI ALPHA-5 INI

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

[KeySwapNails]
condition = $object_detected == 1
key = CTRL NUMPAD2
type = cycle
$swapvar_nails = -1, 0

[KeySwapHeadset]
condition = $object_detected == 1
key = CTRL NUMPAD3
type = cycle
$swapvar_headset = -1, 0

[KeySwapEar]
condition = $object_detected == 1
key = CTRL NUMPAD4
type = cycle
$swapvar_ear = -1, 0

[KeySwapNose]
condition = $object_detected == 1
key = CTRL NUMPAD5
type = cycle
$swapvar_nose = -1, 0

[KeySwapNipple]
condition = $object_detected == 1
key = CTRL NUMPAD6
type = cycle
$swapvar_nipple = -1, 0, 1, 2

[KeySwapNavel]
condition = $object_detected == 1
key = CTRL NUMPAD7
type = cycle
$swapvar_navel = -1, 0

[KeySwapClit]
condition = $object_detected == 1
key = CTRL NUMPAD8
type = cycle
$swapvar_clit = -1, 0, 1, 2

[KeySwapVag]
condition = $object_detected == 1
key = CTRL NUMPAD9
type = cycle
$swapvar_vag = -1, 0

[KeySwapPlug]
condition = $object_detected == 1
key = CTRL [
type = cycle
$swapvar_plug = -1, 0

[KeySwapHood]
condition = $object_detected == 1
key = CTRL NUMPAD1
type = cycle
$swapvar_hood = -1, 0

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

[KeySwapTail]
condition = $object_detected == 1
key = CTRL ;
type = cycle
$swapvar_tail = -1, 0

[KeySwapBody]
condition = $active == 1
key = CTRL .
type = cycle
$body = 0,1,2

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

[KeySwapTail1]
condition = $active == 1
key = CTRL /
type = cycle
$tail1 = 0,1,2

[KeySwapNils]
condition = $active == 1
key = CTRL '
type = cycle
$nails = 0,1,2

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

[ResourceModName]
type = Buffer
data = "Fluorita"

[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 = 194976
global $mesh_vertex_count = 26
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_nails = 0
global persist $swapvar_headset = 0
global persist $swapvar_ear = 0
global persist $swapvar_nose = 0
global persist $swapvar_nipple = 0
global persist $swapvar_navel = 0
global persist $swapvar_clit = 0
global persist $swapvar_vag = 0
global persist $swapvar_plug = 0
global persist $swapvar_hood = 0
global persist $swapvar_belts = 0
global persist $swapvar_tail = 0
global persist $body = 0
global persist $face = 0
global persist $tail1 = 0
global persist $nails = 0
; Per-object state vars (dynamically controlled by CommandListProcessToggles)
global $draw_belts_component_0_c21a6d0c_003 = 1
global $draw_body_component_0_c21a6d0c_002 = 1
global $draw_component_0_c21a6d0c_001 = 1
global $draw_component_0_c21a6d0c_004 = 1
global $draw_component_0_c21a6d0c_009 = 1
global $draw_plug_component_0_c21a6d0c_002 = 1
global $draw_ring_clit_2_component_0_c21a6d0c_002 = 1
global $draw_ring_clit_3_component_0_c21a6d0c_001 = 1
global $draw_ring_clit_component_0_c21a6d0c_001 = 1
global $draw_ring_navel_component_0_c21a6d0c_001 = 1
global $draw_ring_nipple_2_component_0_c21a6d0c_001 = 1
global $draw_ring_nipple_3_component_0_c21a6d0c_002 = 1
global $draw_ring_nipple_component_0_c21a6d0c_001 = 1
global $draw_ring_vag_component_0_c21a6d0c_002 = 1
global $draw_hood_component_0_c21a6d0c_022 = 1
global $draw_hair_component_1_a2da5c35_001 = 1
global $draw_hair_front2_component_1_a2da5c35_001 = 1
global $draw_hair3_component_1_3387235b_003 = 1
global $draw_hair4_component_1_3387235b_001 = 1
global $draw_ring_component_1_a2da5c35_002 = 1
global $draw_component_2_f49022e3_001 = 1
global $draw_component_2_f49022e3_002 = 1
global $draw_headset_component_2_f49022e3_003 = 1
global $draw_ring_ear_component_2_f49022e3_002 = 1
global $draw_ring_nose_component_2_f49022e3_001 = 1
global $draw_hair_front_component_3_6babe75c_001 = 1
global $draw_visor_component_4_6b0bea53_001 = 1
global $draw_component_5_fdcf7fa9_001 = 1
global $draw_component_6_2cea4051_001 = 1
global $draw_component_7_9bce8564_001 = 1
global $draw_component_8_15532afa_001 = 1
global $draw_nails_component_8_15532afa_001 = 1
global $draw_component_9_a750c69c_001 = 1
global $draw_component_10_903f6590_001 = 1
global $draw_tail_component_10_903f6590_002 = 1
global $draw_component_11_7278d2d2_001 = 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_nails_component_8_15532afa_001 = ($swapvar_nails == 0)
$draw_headset_component_2_f49022e3_003 = ($swapvar_headset == 0)
$draw_ring_ear_component_2_f49022e3_002 = ($swapvar_ear == 0)
$draw_ring_nose_component_2_f49022e3_001 = ($swapvar_nose == 0)
$draw_ring_nipple_component_0_c21a6d0c_001 = ($swapvar_nipple == 0)
$draw_ring_nipple_2_component_0_c21a6d0c_001 = ($swapvar_nipple == 1)
$draw_ring_nipple_3_component_0_c21a6d0c_002 = ($swapvar_nipple == 2)
$draw_ring_navel_component_0_c21a6d0c_001 = ($swapvar_navel == 0)
$draw_ring_clit_component_0_c21a6d0c_001 = ($swapvar_clit == 0)
$draw_ring_clit_2_component_0_c21a6d0c_002 = ($swapvar_clit == 1)
$draw_ring_clit_3_component_0_c21a6d0c_001 = ($swapvar_clit == 2)
$draw_ring_vag_component_0_c21a6d0c_002 = ($swapvar_vag == 0)
$draw_plug_component_0_c21a6d0c_002 = ($swapvar_plug == 0)
$draw_hood_component_0_c21a6d0c_022 = ($swapvar_hood == 0)
$draw_visor_component_4_6b0bea53_001 = ($swapvar_hood == 0)
$draw_belts_component_0_c21a6d0c_003 = ($swapvar_belts == 0)
$draw_tail_component_10_903f6590_002 = ($swapvar_tail == 0)
$draw_component_0_c21a6d0c_009 = ($swapvar_tail == 0)
$draw_component_0_c21a6d0c_004 = ($swapvar_tail == 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 $body == 0
		Resource\RabbitFX\Diffuse = ref Resource_Texture1
		elif $body == 1
		Resource\RabbitFX\Diffuse = ref Resource_Texture1_2
		elif $body == 2
		Resource\RabbitFX\Diffuse = ref Resource_Texture1_3
endif
    Resource\RabbitFX\Lightmap = ref Resource_Texture3
    Resource\RabbitFX\Normalmap = ref Resource_Texture2
    run = CommandList\RabbitFX\SetTextures

; Draw BELTS Component 0 c21a6d0c.003
if $draw_belts_component_0_c21a6d0c_003
    drawindexedinstanced = 24729, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif
; Draw BODY Component 0 c21a6d0c.002
if $draw_body_component_0_c21a6d0c_002
    drawindexedinstanced = 109212, INSTANCE_COUNT, 24729, 0, FIRST_INSTANCE
endif
; Draw Component 0 c21a6d0c.001
if $draw_component_0_c21a6d0c_001
    drawindexedinstanced = 58755, INSTANCE_COUNT, 133941, 0, FIRST_INSTANCE
endif
; Draw Component 0 c21a6d0c.004
if $draw_component_0_c21a6d0c_004
    drawindexedinstanced = 8853, INSTANCE_COUNT, 192696, 0, FIRST_INSTANCE
endif
; Draw Component 0 c21a6d0c.009
if $draw_component_0_c21a6d0c_009
    drawindexedinstanced = 381, INSTANCE_COUNT, 201549, 0, FIRST_INSTANCE
endif
; Draw PLUG Component 0 c21a6d0c.002
if $draw_plug_component_0_c21a6d0c_002
    drawindexedinstanced = 900, INSTANCE_COUNT, 201930, 0, FIRST_INSTANCE
endif
; Draw RING clit 2 Component 0 c21a6d0c.002
if $draw_ring_clit_2_component_0_c21a6d0c_002
    drawindexedinstanced = 2334, INSTANCE_COUNT, 202830, 0, FIRST_INSTANCE
endif
; Draw RING clit 3 Component 0 c21a6d0c.001
if $draw_ring_clit_3_component_0_c21a6d0c_001
    drawindexedinstanced = 2334, INSTANCE_COUNT, 205164, 0, FIRST_INSTANCE
endif
; Draw RING clit Component 0 c21a6d0c.001
if $draw_ring_clit_component_0_c21a6d0c_001
    drawindexedinstanced = 2073, INSTANCE_COUNT, 207498, 0, FIRST_INSTANCE
endif
; Draw RING navel Component 0 c21a6d0c.001
if $draw_ring_navel_component_0_c21a6d0c_001
    drawindexedinstanced = 7476, INSTANCE_COUNT, 209571, 0, FIRST_INSTANCE
endif
; Draw RING nipple 2 Component 0 c21a6d0c.001
if $draw_ring_nipple_2_component_0_c21a6d0c_001
    drawindexedinstanced = 4224, INSTANCE_COUNT, 217047, 0, FIRST_INSTANCE
endif
; Draw RING nipple 3 Component 0 c21a6d0c.002
if $draw_ring_nipple_3_component_0_c21a6d0c_002
    drawindexedinstanced = 4668, INSTANCE_COUNT, 221271, 0, FIRST_INSTANCE
endif
; Draw RING nipple Component 0 c21a6d0c.001
if $draw_ring_nipple_component_0_c21a6d0c_001
    drawindexedinstanced = 4143, INSTANCE_COUNT, 225939, 0, FIRST_INSTANCE
endif
; Draw RING vag Component 0 c21a6d0c.002
if $draw_ring_vag_component_0_c21a6d0c_002
    drawindexedinstanced = 8292, INSTANCE_COUNT, 230082, 0, FIRST_INSTANCE
endif
; Draw hood Component 0 c21a6d0c.022
if $draw_hood_component_0_c21a6d0c_022
    drawindexedinstanced = 9618, INSTANCE_COUNT, 238374, 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
; Draw HAIR Component 1 a2da5c35.001
if $draw_hair_component_1_a2da5c35_001
    drawindexedinstanced = 14013, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif
; Draw HAIR FRONT2 Component 1 a2da5c35.001
if $draw_hair_front2_component_1_a2da5c35_001
    drawindexedinstanced = 13611, INSTANCE_COUNT, 14013, 0, FIRST_INSTANCE
endif
; Draw HAIR3 Component 1 3387235b.003
if $draw_hair3_component_1_3387235b_003
    drawindexedinstanced = 198, INSTANCE_COUNT, 27624, 0, FIRST_INSTANCE
endif
; Draw HAIR4 Component 1 3387235b.001
if $draw_hair4_component_1_3387235b_001
    drawindexedinstanced = 9075, INSTANCE_COUNT, 27822, 0, FIRST_INSTANCE
endif
; Draw RING Component 1 a2da5c35.002
if $draw_ring_component_1_a2da5c35_002
    drawindexedinstanced = 864, INSTANCE_COUNT, 36897, 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_Texture14
		elif $face == 1
		Resource\RabbitFX\Diffuse = ref Resource_Texture14_2
		elif $face == 2
		Resource\RabbitFX\Diffuse = ref Resource_Texture14_3
endif		
        run = CommandList\RabbitFX\SetTextures
		
; Draw Component 2 f49022e3.001
if $draw_component_2_f49022e3_001
    drawindexedinstanced = 9300, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif
; Draw Component 2 f49022e3.002
if $draw_component_2_f49022e3_002
    drawindexedinstanced = 222, INSTANCE_COUNT, 9300, 0, FIRST_INSTANCE
endif
; Draw Headset Component 2 f49022e3.003
if $draw_headset_component_2_f49022e3_003
    drawindexedinstanced = 360, INSTANCE_COUNT, 9522, 0, FIRST_INSTANCE
endif
; Draw RING ear Component 2 f49022e3.002
if $draw_ring_ear_component_2_f49022e3_002
    drawindexedinstanced = 3456, INSTANCE_COUNT, 9882, 0, FIRST_INSTANCE
endif
; Draw RING nose Component 2 f49022e3.001
if $draw_ring_nose_component_2_f49022e3_001
    drawindexedinstanced = 432, INSTANCE_COUNT, 13338, 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
vb2 = ref Resource_Component3_VB2
; Draw HAIR FRONT Component 3 6babe75c.001
if $draw_hair_front_component_3_6babe75c_001
    drawindexedinstanced = 960, 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 Visor Component 4 6b0bea53.001
if $draw_visor_component_4_6b0bea53_001
    drawindexedinstanced = 1428, INSTANCE_COUNT, 0, 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 fdcf7fa9.001
if $draw_component_5_fdcf7fa9_001
    drawindexedinstanced = 1596, 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 2cea4051.001
if $draw_component_6_2cea4051_001
    drawindexedinstanced = 1098, 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
vb2 = ref Resource_Component7_VB2
; Draw Component 7 9bce8564.001
if $draw_component_7_9bce8564_001
    drawindexedinstanced = 96, 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

        if $nails == 0
		Resource\RabbitFX\Diffuse = ref Resource_Texture17
		elif $nails == 1
		Resource\RabbitFX\Diffuse = ref Resource_Texture17_2
		elif $nails == 2
		Resource\RabbitFX\Diffuse = ref Resource_Texture17_3
endif
    Resource\RabbitFX\Normalmap = ref Resource_Texture16
    run = CommandList\RabbitFX\SetTextures

; Draw Component 8 15532afa.001
if $draw_component_8_15532afa_001
    drawindexedinstanced = 12102, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif
; Draw nails Component 8 15532afa.001
if $draw_nails_component_8_15532afa_001
    drawindexedinstanced = 11094, INSTANCE_COUNT, 12102, 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
; Draw Component 9 a750c69c.001
if $draw_component_9_a750c69c_001
    drawindexedinstanced = 186, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif

[CommandList_Draw_Component10]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component10_IB
vb0 = ref Resource_Component10_VB0
vb1 = ref Resource_Component10_VB1
if $lod_detected == 0
    vb2 = ref Resource_Component10_VB2
else
    vb2 = ref Resource_Component10_VB2_LOD
endif
        if $tail1 == 0
		Resource\RabbitFX\Diffuse = ref Resource_Texture10
		elif $tail1 == 1
		Resource\RabbitFX\Diffuse = ref Resource_Texture10_2
		elif $tail1 == 2
		Resource\RabbitFX\Diffuse = ref Resource_Texture10_3
endif
    Resource\RabbitFX\Lightmap = ref Resource_Texture9
    Resource\RabbitFX\Normalmap = ref Resource_Texture11
    run = CommandList\RabbitFX\SetTextures

; Draw Component 10 903f6590.001
if $draw_component_10_903f6590_001
    drawindexedinstanced = 26946, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif
; Draw TAIL Component 10 903f6590.002
if $draw_tail_component_10_903f6590_002
    drawindexedinstanced = 4224, INSTANCE_COUNT, 26946, 0, FIRST_INSTANCE
endif

[CommandList_Draw_Component11]
run = CommandList\EFMIv1\OverrideTextures
ib = ref Resource_Component11_IB
vb0 = ref Resource_Component11_VB0
vb1 = ref Resource_Component11_VB1
if $lod_detected == 0
    vb2 = ref Resource_Component11_VB2
else
    vb2 = ref Resource_Component11_VB2_LOD
endif
; Draw Component 11 7278d2d2.001
if $draw_component_11_7278d2d2_001
    drawindexedinstanced = 78, INSTANCE_COUNT, 0, 0, FIRST_INSTANCE
endif

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

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

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

[TextureOverride_Component2]
hash = f49022e3
$object_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component2
endif

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

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

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

[TextureOverride_Component6]
hash = 2cea4051
$object_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component6
endif

[TextureOverride_Component7]
hash = 9bce8564
$object_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component7
endif

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

[TextureOverride_Component9]
hash = a750c69c
$object_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component9
endif

[TextureOverride_Component10]
hash = 903f6590
$object_detected = 1
$lod_detected = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component10
endif

[TextureOverride_Component11]
hash = 7278d2d2
$object_detected = 1
$lod_detected = 0
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component11
endif

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

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

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

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

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

[TextureOverride_Component5_LOD0]
hash = ca2b3e80
$object_detected = 1
$lod_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component5
endif

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

[TextureOverride_Component10_LOD0]
hash = 4814850a
$object_detected = 1
$lod_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component10
endif

[TextureOverride_Component11_LOD0]
hash = dd318f98
$object_detected = 1
$lod_detected = 1
if $mod_enabled && DRAW_TYPE == 4
    handling = skip
    run = CommandList_Draw_Component11
endif

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

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

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

[Resource_Texture1]
filename = Textures/Components-0-4-9 t=70af644f.dds

[Resource_Texture1_2]
filename = Textures/Components-0-4-9 t=70af644f 2.dds

[Resource_Texture1_3]
filename = Textures/Components-0-4-9 t=70af644f 3.dds

[TextureOverride_Texture1]
$active = 1
hash = 70af644f
if $body == 0
this = Resource_Texture1
elif $body == 1
this = Resource_Texture1_2
elif $body == 2
this = Resource_Texture1_3
endif

[Resource_Texture2]
filename = Textures/Components-0-4-9 t=722d6b20.dds

[TextureOverride_Texture2]
hash = 722d6b20
match_priority = 0
if $object_detected
    this = Resource_Texture2
endif

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

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

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

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

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

[TextureOverride_Texture5]
hash = 1f0575e1
match_priority = 0
if $object_detected
    this = Resource_Texture5
endif

[Resource_Texture6]
filename = Textures/Components-1 t=9c607f20.dds

[TextureOverride_Texture6]
hash = 9c607f20
match_priority = 0
if $object_detected
    this = Resource_Texture6
endif

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

[TextureOverride_Texture7]
hash = c3af7d33
match_priority = 0
if $object_detected
    this = Resource_Texture7
endif

[Resource_Texture8]
filename = Textures/Components-10 t=919b84c6.dds

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

[Resource_Texture9]
filename = Textures/Components-10-11 t=4b738bf9.dds

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

[Resource_Texture10]
filename = Textures/Components-10-11 t=6dfa4009.dds

[Resource_Texture10_2]
filename = Textures/Components-10-11 t=6dfa4009 2.dds

[Resource_Texture10_3]
filename = Textures/Components-10-11 t=6dfa4009 3.dds

[TextureOverride_Texture10]
$active = 1
hash = 6dfa4009
if $tail1 == 0
this = Resource_Texture10
elif $tail1 == 1
this = Resource_Texture10_2
elif $tail1 == 2
this = Resource_Texture10_3
endif

[Resource_Texture11]
filename = Textures/Components-10-11 t=c3309b09.dds

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

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

[TextureOverride_Texture12]
hash = 290f53c8
match_priority = 0
if $object_detected
    this = Resource_Texture12
endif

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

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

[Resource_Texture14]
filename = Textures/Components-2-5 t=20a1ba58.dds

[Resource_Texture14_2]
filename = Textures/Components-2-5 t=20a1ba58 2.dds

[Resource_Texture14_3]
filename = Textures/Components-2-5 t=20a1ba58 3.dds

[TextureOverride_Texture14]
$active = 1
hash = 20a1ba58
if $face == 0
this = Resource_Texture14
elif $face == 1
this = Resource_Texture14_2
elif $face == 2
this = Resource_Texture14_3
endif

[Resource_Texture15]
filename = Textures/Components-6 t=db2646f6.dds

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

[Resource_Texture16]
filename = Textures/Components-8 t=b0194be6.dds

[TextureOverride_Texture16]
hash = b0194be6
match_priority = 0
if $object_detected
    this = Resource_Texture16
endif

[Resource_Texture17]
filename = Textures/Components-8 t=d0425339.dds

[Resource_Texture17_2]
filename = Textures/Components-8 t=d0425339 2.dds

[Resource_Texture17_3]
filename = Textures/Components-8 t=d0425339 3.dds

[TextureOverride_Texture17]
$active = 1
hash = d0425339
if $nails == 0
this = Resource_Texture17
elif $nails == 1
this = Resource_Texture17_2
elif $nails == 2
this = Resource_Texture17_3
endif

[TextureOverride18]
hash = 7d330dbd
Resource\RabbitFX\GlowMap = ref ResourceGlowMap
$\RabbitFX\brightness = 100
run = CommandList\RabbitFX\run

[ResourceGlowMap]
filename = Textures/GlowMap.dds
endif

[TextureOverride19]
hash = 20a1ba58
Resource\RabbitFX\GlowMap = ref ResourceGlowMap2
$\RabbitFX\brightness = 100
run = CommandList\RabbitFX\run
endif

[ResourceGlowMap2]
filename = Textures/GlowMap2.dds
endif

[TextureOverride20]
hash = 6dfa4009
Resource\RabbitFX\GlowMap = ref ResourceGlowMap3
$\RabbitFX\brightness = 100
run = CommandList\RabbitFX\run
endif

[ResourceGlowMap3]
filename = Textures/GlowMap 3.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_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 = 12
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 = 12
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 = 8
filename = Meshes/Component7_VB1.buf

[Resource_Component7_VB2]
type = Buffer
stride = 12
filename = Meshes/Component7_VB2.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 = 12
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

[Resource_Component10_IB]
type = Buffer
format = DXGI_FORMAT_R16_UINT
stride = 6
filename = Meshes/Component10_IB.buf

[Resource_Component10_VB0]
type = Buffer
stride = 16
filename = Meshes/Component10_VB0.buf

[Resource_Component10_VB1]
type = Buffer
stride = 12
filename = Meshes/Component10_VB1.buf

[Resource_Component10_VB2]
type = Buffer
stride = 12
filename = Meshes/Component10_VB2.buf

[Resource_Component10_VB2_LOD]
type = Buffer
stride = 12
filename = Meshes/Component10_VB2_LOD.buf

[Resource_Component11_IB]
type = Buffer
format = DXGI_FORMAT_R16_UINT
stride = 6
filename = Meshes/Component11_IB.buf

[Resource_Component11_VB0]
type = Buffer
stride = 16
filename = Meshes/Component11_VB0.buf

[Resource_Component11_VB1]
type = Buffer
stride = 12
filename = Meshes/Component11_VB1.buf

[Resource_Component11_VB2]
type = Buffer
stride = 12
filename = Meshes/Component11_VB2.buf

[Resource_Component11_VB2_LOD]
type = Buffer
stride = 12
filename = Meshes/Component11_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: 7a4b7e467172def5395295d484cd7878de6c26beb6c2cd45cb1ce04be94719e5
