<?xml version="1.0"?>

<PropertyList>

 <path>carbheat.ac</path>

<!--    <effect>
        <inherits-from>Aircraft/c152/Models/Effects/interior/c152-interior-compartment</inherits-from>
        <object-name>CarbHeat</object-name>
    </effect> -->
     
    <!-- Carb Heat -->

	<animation>
		<type>rotate</type>
		<object-name>Carb_heat1</object-name>
		<property>/sim/model/pa38/carb-heat-animation</property>
		<factor>90.0</factor>
		<axis>
			<x>0.0</x>
			<y>1.0</y>
			<z>0.0</z>
		</axis>
		<center>
			<x-m>0</x-m>
			<y-m>0</y-m>
			<z-m>0</z-m>
		</center>
	</animation> 

	<animation>
        <type>pick</type>
		<object-name>Carb_heat1</object-name>		
        <visible>true</visible>
        <action>
            <button>0</button>
            <repeatable>false</repeatable>
            <binding>
                <command>property-toggle</command>
                <property>/controls/anti-ice/engine/carb-heat</property>
            </binding>
        </action>
        <hovered>
            <binding>
                <command>set-tooltip</command>
                <tooltip-id>carburetor-heat</tooltip-id>
                <label>Carburetor: %s</label>
                <mapping>nasal</mapping>
                <property>/controls/anti-ice/engine/carb-heat</property>
                <script>
                    var modes = ['COLD', 'HEATED'];
                    return modes[arg[0]];
                </script>
            </binding>
        </hovered>
    </animation>

</PropertyList>
