<node opacity="0" cascadeopacity="yes" scale="1.3x1.3" pos="frame:0.5x0.5">
  <paramcollection>
    <pathto_buy>menu/buy</pathto_buy>
    <disposable>yes</disposable>
    <consumable>yes</consumable>
  </paramcollection>
  <children>
    <node name="bg" type="sprite" image="images/window1.png" scale="2.9x0.9"/>
    <node name="bg1" type="sprite" image="images/promo1.png" pos="0x-90" scale="0.9x0.9"/>
    <node name="caption" type="text" font="fonts/mdefensefont2.fnt" text="#promo_caption#" pos="-40x290" scale="0.5x0.5" center="0.5x0.5" strech="750x70:min" color="FFC00E"/>
    <node name="desc1" type="text" font="fonts/mdefensefont2.fnt" text="@##GEM##" pos="150x180" scale="1x1" center="0.5x0.5" color="FFFFFF" visible="##GEM_visible##"/>
    <node name="desc2" type="text" font="fonts/mdefensefont2.fnt" text="\##GOLD##" pos="-230x180" scale="1x1" center="0.5x0.5" color="FFFFFF" visible="##GOLD_visible##"/>
    <node name="desc3" type="text" font="fonts/mdefensefont2.fnt" text="#discount#: -50%!" pos="-300x-170" scale="0.6x0.6" center="0.5x0.5" color="FFFFFF"/>

    <node name="menu" type="menu" pos="0x0">
      <children>
        <node name="close" type="menuitem" imageN ="images::button_close.png" pos="400x285" sound="##sound_button##" callback="close"/>
        <node name="buy" type="menuitem" imageN="images::button_wide_red.png" imageD="images::button_wide_red_disabled.png" pos="-300x-240"  scale="1.5x1.5"
              sound="##sound_button##" callback="buy" font="fonts/mdefensefont2.fnt" text="Connection..." enabled="no">
          <children>
            <node path="normal/text" strech="130x50:min"/>
          </children>
        </node>
      </children> 
    </node>
  </children>

  <actions>
    <action name="appearance" value="Spawn[BackOut[ScaleTo[0.4,1,1]],FadeIn[0.3]]"/>
    <action name="disappearance" value="Spawn[Sequence[ScaleTo[0.2,1.3,1.3],RemoveSelf[]],FadeOut[0.2]]"/>
  </actions>
  <events>
    <eventlist name="appearance">
      <runaction action="appearance"/>
    </eventlist>
    <eventlist name="disappearance">
      <runaction action="disappearance"/>
    </eventlist>
  </events>
  <awards>
    <award type="award" gold="##GOLD##"/>
    <award type="award" crystal="##GEM##"/>
  </awards>
</node>