<tutorial z="999" template="ini/tutorial/deckselector/template.xml"
          nexttutorial="deckselector_present4">
  <children>
    <node path="text/value" text="#tutorial_deckselector_3#"/>
    <node path="menu/close" enabled="yes"/>
    <node path="hand" pos="frame:0.5x0.5,add:-350x100" visible="yes"/>
  </children>

  <actions>
    <action name="hand" value="RepeatForever[Sequence[
            EaseInOut[ScaleTo[0.3,1,1],2],
            EaseInOut[MoveBy[2,15,-300],2],
            EaseInOut[ScaleTo[0.3,1,1],2],
            EaseInOut[ScaleTo[0.3,1.5,1.5],2],
            DelayTime[0.5],
            Hide[],
            MoveBy[2,-15,300],
            Show[]
            ]]"/>
    <action name="show_card" value="RepeatForever[Sequence[EaseInOut[ScaleTo[0.5,1.1,1.1],2],EaseInOut[ScaleTo[0.5,1,1],2],DelayTime[1]]]"/>
  </actions>

  <events>
    <eventlist name="onenter">
      <runaction target="hand" action="hand"/>
      <setproperty target="/deck_selector/deckcontroller/hero_ironhand" property="enabled" value="yes"/>
      <setproperty target="/deck_selector/deckcontroller/hero_ironhand" property="opacity" value="255"/>
      <runaction target="/deck_selector/deckcontroller/hero_ironhand" action="show_card"/>
    </eventlist>
    <eventlist name="onexit">
      <setproperty target="/deck_selector/deckcontroller/hero_ironhand" property="enabled" value="no"/>
    </eventlist>
  </events>

</tutorial>