<tutorial parent="/" z="999" template="ini/tutorial/survival/template.xml" nexttutorial="survival_2">
  <children>
    <node path="text/value" text="#tutorial_survival_1#"/>
    <node path="menu/close" enabled="yes"/>
    <node path="hand" visible="no" />
  </children>

  <actions>
    <action name="hand" value="RepeatForever[Sequence[
            DelayTime[0.5],Show[],
            EaseInOut[ScaleTo[0.3,0.75,0.75],2],
            EaseInOut[ScaleTo[0.3,1,1],2]]]"/>
    <action name="destroy" value="RemoveSelf[]"/>
  </actions>

  <events>
    <eventlist name="onenter">
      <setproperty target="/maplayer/map/locations" property="visible" value="yes"/>
      <setproperty target="/maplayer/map" property="x" value="-500"/>

      <createnode target="/maplayer/map/locations/survival0" posinfo_method="nothing">
        <node name="hand" type="node" cascadeopacity="yes" pos="38x30" z="999">
          <children>
            <node name="hand" type="sprite" image="other::tutorial/hand.png" center="0.5x0.9" pos="15x-5"/>
          </children>
        </node>
      </createnode>
      <runaction target="/maplayer/map/locations/survival0/hand" action="hand"/>
      <setproperty target="/maplayer/map/locations/survival0/hand" property="z" value="9999"/>
    </eventlist>
    <eventlist name="onexit">
      <runaction target="/maplayer/map/locations/survival0/hand" action="destroy"/>
    </eventlist>
  </events>

</tutorial>
