xmas.xml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. <?xml version='1.0' encoding='utf-8'?>
  2. <!--
  3. Copyright (c) 2003-onwards Shaven Puppy Ltd
  4. All rights reserved.
  5. Redistribution and use in source and binary forms, with or without
  6. modification, are permitted provided that the following conditions are
  7. met:
  8. * Redistributions of source code must retain the above copyright
  9. notice, this list of conditions and the following disclaimer.
  10. * Redistributions in binary form must reproduce the above copyright
  11. notice, this list of conditions and the following disclaimer in the
  12. documentation and/or other materials provided with the distribution.
  13. * Neither the name of 'Shaven Puppy' nor the names of its contributors
  14. may be used to endorse or promote products derived from this software
  15. without specific prior written permission.
  16. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  17. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
  18. TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  19. PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  20. CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  21. EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  22. PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  23. PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  24. LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  25. NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  26. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  27. -->
  28. <!-- Xmas mode -->
  29. <resources>
  30. <include resource="tags.xml"/>
  31. <include resource="characters-xmas.xml"/>
  32. <include resource="world-hoff.xml"/>
  33. <include resource="tiles-hoff.xml"/>
  34. <include resource="gidrahs-hoff.xml" />
  35. <include resource="victory-xmas.xml" />
  36. <!-- Gidrahs -->
  37. <array
  38. name="xmas.gidrahs.array"
  39. >
  40. <item>gidrah.hoff.01</item>
  41. <item>gidrah.hoff.01</item>
  42. <item>gidrah.hoff.01</item>
  43. <item>gidrah.hoff.01</item>
  44. <item>gidrah.hoff.02</item>
  45. <item>gidrah.hoff.02</item>
  46. <item>gidrah.hoff.02</item>
  47. <item>gidrah.hoff.03</item>
  48. <item>gidrah.hoff.03</item>
  49. <item>gidrah.hoff.04</item>
  50. </array>
  51. <!-- Angry gidrahs -->
  52. <array
  53. name="xmas.angrygidrahs.array"
  54. >
  55. <item>angrygidrah.hoff.01</item>
  56. <item>angrygidrah.hoff.01</item>
  57. <item>angrygidrah.hoff.01</item>
  58. <item>angrygidrah.hoff.01</item>
  59. <item>angrygidrah.hoff.02</item>
  60. <item>angrygidrah.hoff.02</item>
  61. <item>angrygidrah.hoff.02</item>
  62. <item>angrygidrah.hoff.03</item>
  63. <item>angrygidrah.hoff.03</item>
  64. <item>angrygidrah.hoff.04</item>
  65. </array>
  66. <!-- Bosses -->
  67. <array name="xmas.bosses.array">
  68. <item>gidrah.hoff.boss.1</item>
  69. <item>gidrah.hoff.boss.2</item>
  70. <item>gidrah.hoff.boss.3</item>
  71. <item>gidrah.hoff.boss.4</item>
  72. <item>gidrah.hoff.boss.5</item>
  73. </array>
  74. <setting name="xmas.setting"
  75. position="0,0"
  76. size="320,320"
  77. bgLayer="-100"
  78. >
  79. <background>
  80. <layers scale="0.625">
  81. <sprite layer="12" offset="118,410" animation="story.alert.anim"/>
  82. <sprite layer="-2"><animation><animation>
  83. <offset x="+160" y="+140"/>
  84. <scale xscale="1.1" yscale="0.625" d="0"/>
  85. <frame i="spriteimage.story.background.mars.01" d="0"/>
  86. <frame i="alert.setting.animation" d="1"/>
  87. </animation></animation></sprite>
  88. </layers>
  89. </background>
  90. <actor character="xmas.statbot.char" position="140,60" bounds="40,158,250,20" expand="up" mirrored="false" />
  91. </setting>
  92. <weather
  93. name="snow.weather"
  94. layer="5"
  95. subLayer="10"
  96. angle="0.0, 360.0"
  97. height="64.0"
  98. gravity="0.5, 1.75"
  99. minGravity="0.1"
  100. acceleration="-0.005,-0.001"
  101. startHue="0.5,0.52"
  102. startSaturation="0.0, 0.5"
  103. startBrightness="1.0"
  104. endHue="0.5"
  105. endSaturation="0.5, 1.0"
  106. endBrightness="0.5,1.0"
  107. startScale="0.15, 0.3"
  108. endScale="0.1, 0.15"
  109. xmod="-8.0, 8.0"
  110. wind="0.0, 0.25"
  111. density="0.00125"
  112. border="32"
  113. modRate="4.0"
  114. >
  115. <animation>
  116. <animation name="snow.weather.anim">
  117. <alpha alpha="0" d="0"/>
  118. <frame i="spriteimage.snow.01" d="0"/>
  119. <loop count="64"/>
  120. <label id="loop"/>
  121. <angle angle="+256" d="0"/>
  122. <alpha alpha="+4" d="1"/>
  123. <repeat id="loop"/>
  124. <label id="forever"/>
  125. <angle angle="+256" d="1"/>
  126. <goto id="forever"/>
  127. </animation>
  128. </animation>
  129. <groundAnimation>
  130. <animation name="snow-finish.weather.anim">
  131. <loop count="32"/>
  132. <label id="loop"/>
  133. <alpha alpha="+-8" d="1"/>
  134. <repeat id="loop"/>
  135. <event id="1"/>
  136. </animation>
  137. </groundAnimation>
  138. </weather>
  139. <level name="xmas.level" title="HOFF" colors="hoff.01.colors" world="hoff.world" scenery="hoff.scenery" xmas="true" weather="snow.weather">
  140. <story name="xmas.intro" setting="xmas.setting">
  141. <char id="xmas.statbot.char">[stats]</char>
  142. </story>
  143. <!-- Various amusing Titan Christmas Greetings go here: -->
  144. <event name="hint.xmas_1" seconds="30" icon="hint.info.layers">
  145. <hints><array><item><text>{color:gui-bright}HOLIDAY GREETINGS FROM TITAN!{color:gui-mid} PLEASE ARRANGE YOURSELVES IN CONVENIENT PACKAGING FOR RETURN TO TITAN AS SNACKS.</text></item></array></hints>
  146. </event>
  147. <event name="hint.xmas_2" seconds="60" icon="hint.info.layers">
  148. <hints><array><item><text>AT THIS TIME OF YEAR THE FEAST OF {color:gui-bright}ROASTED HUMANS WITH STUFFING{color:gui-mid} AND {color:gui-bright}MARTIAN SPROUTS{color:gui-mid} IS TRADITIONALLY SERVED.</text></item></array></hints>
  149. </event>
  150. <event name="hint.xmas_3" seconds="120" icon="hint.info.layers">
  151. <hints><array><item><text>HUMANS ARE {color:gui-bright}SLOWLY ROASTED{color:gui-mid} - ALIVE - OVER THE FIRES OF VENUSIAN VOLCANOS FOR APPROXIMATELY THREE DAYS.</text></item></array></hints>
  152. </event>
  153. <event name="hint.xmas_4" seconds="240" icon="hint.info.layers">
  154. <hints><array><item><text>AFTER THE FEAST, {color:gui-bright}WE THROW YOUR BONES{color:gui-mid} TO THE SPAWNLINGS UNDER THE TABLE TO FIGHT OVER.</text></item></array></hints>
  155. </event>
  156. <event name="hint.xmas_5" seconds="480" icon="hint.info.layers">
  157. <hints><array><item><text>HOLIDAY ENTERTAINMENTS ON TITAN CONSIST OF THE {color:gui-bright}TRADITIONAL BOARDGAMES{color:gui-mid} OF GALACTIC CONQUEST AND MONOPOLY.</text></item></array></hints>
  158. </event>
  159. <event name="hint.xmas_6" seconds="1000" icon="hint.info.layers">
  160. <hints><array><item><text>ANOTHER HOLIDAY TRADITION ON TITAN IS THAT THE LOSER OF A GAME OF MONOPOLY IS {color:gui-bright}EATEN FOR DESSERT{color:gui-mid}.</text></item></array></hints>
  161. </event>
  162. <event name="hint.xmas_7" seconds="2000" icon="hint.info.layers">
  163. <hints><array><item><text>AFTER HOLIDAY GIFTS HAVE BEEN EXCHANGED, WE HAVE {color:gui-bright}A CAREFULLY CHOREOGRAPHED SEQUENCE OF RITUAL INSULTS{color:gui-mid}.</text></item></array></hints>
  164. </event>
  165. <event name="hint.xmas_8" seconds="3500" icon="hint.info.layers">
  166. <hints><array><item><text>THE POST-HOLIDAY PERIOD IS MARKED USUALLY WITH {color:gui-bright}AN INVASION OF A NEARBY PLANET{color:gui-mid}...</text></item></array></hints>
  167. </event>
  168. <event name="hint.xmas_8" seconds="3510" icon="hint.info.layers">
  169. <hints><array><item><text>...SUCH AS YOUR FEEBLE EXCUSE FOR A WORLD. {color:gui-bright}PREPARE TO BE EATEN!{color:gui-mid}</text></item></array></hints>
  170. </event>
  171. </level>
  172. </resources>