<tutorial template="ini/tutorial/units/template.xml" nexttutorial="lvl0_useairbomb">
  <children>
    <node path="body/name" text="#airbomb_name#"/>
    <node path="body/caption" text="#airbomb_caption#"/>
    <node path="body/description" text="#airbomb_desc#"/>

    <node name="body">
      <children>
        <node name="bgtype" image="images/tutorial/tut5_airstrike.png"/>
        <node name="icon" type="node" pos="-220x30">
          <children>
            <node name="cloud1" type="sprite" image="images/tutorial/cloud1.png" scale="0.4..0.5x0.4..0.5" opacity="0"/>
            <node name="cloud2" type="sprite" image="images/tutorial/cloud2.png" scale="0.4..0.5x0.4..0.5" opacity="0"/>
            <node name="cloud3" type="sprite" image="images/tutorial/cloud1.png" scale="0.4..0.5x0.4..0.5" opacity="0"/>
            <node name="cloud4" type="sprite" image="images/tutorial/cloud1.png" scale="0.4..0.5x0.4..0.5" opacity="0"/>
            <node name="cloud5" type="sprite" image="images/tutorial/cloud2.png" scale="0.4..0.5x0.4..0.5" opacity="0"/>
            <node name="cloud6" type="sprite" image="images/tutorial/cloud1.png" scale="0.4..0.5x0.4..0.5" opacity="0"/>
            <node name="bomb" type="sprite" animation="RepeatForever[Animate[0.3,[folder:bombice::,indexes:bomb_00.png,01:01]]]"/>
          </children>
        </node>
      </children>
    </node>

  </children>

  <actions>
    <action name="cloud1_move" value="RepeatForever[Sequence[DelayTime[0.0],MoveTo[0,0,-80],MoveTo[1,0,80],               DelayTime[0.5]]]"/>
    <action name="cloud1_fade" value="RepeatForever[Sequence[DelayTime[0.0],FadeTo[0.1,255],DelayTime[0.8],FadeTo[0.1,0], DelayTime[0.5]]]"/>
    <action name="cloud2_move" value="RepeatForever[Sequence[DelayTime[0.2],MoveTo[0,-50,-80],MoveTo[1,-50,80],           DelayTime[0.3]]]"/>
    <action name="cloud2_fade" value="RepeatForever[Sequence[DelayTime[0.2],FadeTo[0.1,255],DelayTime[0.8],FadeTo[0.1,0], DelayTime[0.3]]]"/>
    <action name="cloud3_move" value="RepeatForever[Sequence[DelayTime[0.5],MoveTo[0,50,-80],MoveTo[1,50,80],             DelayTime[0.0]]]"/>
    <action name="cloud3_fade" value="RepeatForever[Sequence[DelayTime[0.5],FadeTo[0.1,255],DelayTime[0.8],FadeTo[0.1,0], DelayTime[0.0]]]"/>
    <action name="cloud4_move" value="RepeatForever[Sequence[DelayTime[0.7],MoveTo[0,0,-80],MoveTo[1,0,80],               DelayTime[0.5]]]"/>
    <action name="cloud4_fade" value="RepeatForever[Sequence[DelayTime[0.7],FadeTo[0.1,255],DelayTime[0.8],FadeTo[0.1,0], DelayTime[0.5]]]"/>
    <action name="cloud5_move" value="RepeatForever[Sequence[DelayTime[0.6],MoveTo[0,-50,-80],MoveTo[1,-50,80],           DelayTime[0.3]]]"/>
    <action name="cloud5_fade" value="RepeatForever[Sequence[DelayTime[0.6],FadeTo[0.1,255],DelayTime[0.8],FadeTo[0.1,0], DelayTime[0.3]]]"/>
    <action name="cloud6_move" value="RepeatForever[Sequence[DelayTime[0.9],MoveTo[0,50,-80],MoveTo[1,50,80],             DelayTime[0.0]]]"/>
    <action name="cloud6_fade" value="RepeatForever[Sequence[DelayTime[0.9],FadeTo[0.1,255],DelayTime[0.8],FadeTo[0.1,0], DelayTime[0.0]]]"/>
  </actions>

  <events>
    <eventlist name="onenter">
      <runaction action="cloud1_move" target="body/icon/cloud1"/>
      <runaction action="cloud1_fade" target="body/icon/cloud1"/>
      <runaction action="cloud2_move" target="body/icon/cloud2"/>
      <runaction action="cloud2_fade" target="body/icon/cloud2"/>
      <runaction action="cloud3_move" target="body/icon/cloud3"/>
      <runaction action="cloud3_fade" target="body/icon/cloud3"/>
      <runaction action="cloud4_move" target="body/icon/cloud4"/>
      <runaction action="cloud4_fade" target="body/icon/cloud4"/>
      <runaction action="cloud5_move" target="body/icon/cloud5"/>
      <runaction action="cloud5_fade" target="body/icon/cloud5"/>
      <runaction action="cloud6_move" target="body/icon/cloud6"/>
      <runaction action="cloud6_fade" target="body/icon/cloud6"/>
    </eventlist>
    <eventlist name="onexit">
    </eventlist>
  </events>

</tutorial>
