powerups.xml 61 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032
  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. <!-- Powerups! -->
  29. <resources>
  30. <!-- Load all the tags -->
  31. <include resource="tags.xml" />
  32. <property key="powerup_label_yellow_start" value="255,255,255,0" />
  33. <property key="powerup_label_yellow_end" value="255,213,100" />
  34. <property key="powerup_label_red_start" value="255,200,50,0" />
  35. <property key="powerup_label_red_end" value="255,0,0" />
  36. <property key="powerup_label_green_start" value="255,255,255,0" />
  37. <property key="powerup_label_green_end" value="175,255,95" />
  38. <property key="powerup_label_blue_start" value="255,255,255,0" />
  39. <property key="powerup_label_blue_end" value="80,245,255" />
  40. <!-- Animations -->
  41. <!-- 57 frames -->
  42. <animation name="powerup.animation">
  43. <offset x="0" y="+-4" d="0" />
  44. <scale xscale="+-0.04" yscale="+0.04" d="0" />
  45. <label id="loop"/>
  46. <!-- falling - 8 -->
  47. <frame i="spriteimage.powerup.box.01" childYOffset="-10" d="1" />
  48. <offset x="0" y="+-1" d="2" />
  49. <frame i="spriteimage.powerup.box.01" childYOffset="-12" d="1" />
  50. <offset x="0" y="+-1" d="1" />
  51. <frame i="spriteimage.powerup.box.01" childYOffset="-14" d="1" />
  52. <offset x="0" y="+-1" d="0" />
  53. <frame i="spriteimage.powerup.box.01" childYOffset="-16" d="1" />
  54. <offset x="0" y="+-1" d="1" />
  55. <!-- squash y - 16 -->
  56. <scale xscale="+0.06" yscale="+-0.06" d="1" />
  57. <scale xscale="+0.02" yscale="+-0.02" d="2" />
  58. <scale xscale="+0.02" yscale="+-0.02" d="3" />
  59. <scale xscale="+0.02" yscale="+-0.02" d="10" />
  60. <!-- bounce and squash x - 9 -->
  61. <frame i="spriteimage.powerup.box.01" childYOffset="-12" d="1" />
  62. <offset x="0" y="+2" d="0" />
  63. <frame i="spriteimage.powerup.box.01" childYOffset="-10" d="1" />
  64. <scale xscale="+-0.02" yscale="+0.02" d="0" />
  65. <offset x="0" y="+1" d="0" />
  66. <frame i="spriteimage.powerup.box.01" childYOffset="-8" d="1" />
  67. <scale xscale="+-0.04" yscale="+0.04" d="0" />
  68. <offset x="0" y="+1" d="0" />
  69. <scale xscale="+-0.04" yscale="+0.04" d="1" />
  70. <frame i="spriteimage.powerup.box.01" childYOffset="-6" d="1" />
  71. <offset x="0" y="+1" d="1" />
  72. <scale xscale="+-0.02" yscale="+0.02" d="3" />
  73. <!-- pause - 15 -->
  74. <frame i="spriteimage.powerup.box.01" childYOffset="-4" d="1" />
  75. <offset x="0" y="+1" d="14" />
  76. <!-- fall - 9 -->
  77. <frame i="spriteimage.powerup.box.01" childYOffset="-6" d="1" />
  78. <offset x="0" y="+-1" d="4" />
  79. <frame i="spriteimage.powerup.box.01" childYOffset="-8" d="1" />
  80. <offset x="0" y="+-1" d="3" />
  81. <goto id="loop" />
  82. </animation>
  83. <animation name="powerup.icon.anim">
  84. <frame idx="3" d="0" />
  85. <scale xscale="+-0.04" yscale="+0.04" d="0" />
  86. <label id="loop"/>
  87. <frame idx="3" d="8" />
  88. <scale xscale="+0.06" yscale="+-0.06" d="1" />
  89. <scale xscale="+0.02" yscale="+-0.02" d="2" />
  90. <scale xscale="+0.02" yscale="+-0.02" d="3" />
  91. <scale xscale="+0.02" yscale="+-0.02" d="1" />
  92. <frame idx="2" d="4" />
  93. <frame idx="1" d="4" />
  94. <frame idx="0" d="2" />
  95. <scale xscale="+-0.02" yscale="+0.02" d="1" />
  96. <scale xscale="+-0.04" yscale="+0.04" d="1" />
  97. <scale xscale="+-0.04" yscale="+0.04" d="3" />
  98. <scale xscale="+-0.02" yscale="+0.02" d="3" />
  99. <frame idx="1" d="5" />
  100. <frame idx="2" d="7" />
  101. <frame idx="3" d="12" />
  102. <goto id="loop" />
  103. </animation>
  104. <animation name="powerup.ground.animation">
  105. <frame i="spriteimage.powerup.box.ground.01" d="0" />
  106. <label id="loop"/>
  107. <alpha alpha="120" d="8"/>
  108. <scale xscale="+0.02" yscale="+0.02" d="1" />
  109. <alpha alpha="140" d="0"/>
  110. <scale xscale="+0.02" yscale="+0.02" d="2" />
  111. <alpha alpha="160" d="0"/>
  112. <scale xscale="+0.02" yscale="+0.02" d="3" />
  113. <alpha alpha="180" d="0"/>
  114. <scale xscale="+0.02" yscale="+0.02" d="1" />
  115. <alpha alpha="200" d="8"/>
  116. <!-- bounce up -->
  117. <alpha alpha="200" d="2"/>
  118. <scale xscale="+-0.02" yscale="+-0.02" d="1" />
  119. <alpha alpha="180" d="0"/>
  120. <scale xscale="+-0.02" yscale="+-0.02" d="1" />
  121. <alpha alpha="160" d="0"/>
  122. <scale xscale="+-0.02" yscale="+-0.02" d="3" />
  123. <alpha alpha="140" d="0"/>
  124. <scale xscale="+-0.02" yscale="+-0.02" d="1" />
  125. <alpha alpha="120" d="2"/>
  126. <!-- fall down -->
  127. <alpha alpha="120" d="24"/>
  128. <goto id="loop" />
  129. </animation>
  130. <array name="money.powerup.array">
  131. <item>spriteimage.powerup.money.01</item>
  132. <item>spriteimage.powerup.money.02</item>
  133. <item>spriteimage.powerup.money.03</item>
  134. <item>spriteimage.powerup.money.04</item>
  135. </array>
  136. <animation name="money.powerup.animation">
  137. <frameset id="money.powerup.array" />
  138. <frame i="powerup.icon.anim" d="0" />
  139. </animation>
  140. <array name="bezerk.powerup.array">
  141. <item>spriteimage.powerup.bezerk.01</item>
  142. <item>spriteimage.powerup.bezerk.02</item>
  143. <item>spriteimage.powerup.bezerk.03</item>
  144. <item>spriteimage.powerup.bezerk.04</item>
  145. </array>
  146. <animation name="bezerk.powerup.animation">
  147. <frameset id="bezerk.powerup.array" />
  148. <frame i="powerup.icon.anim" d="0" />
  149. </animation>
  150. <array name="smartbomb.powerup.array">
  151. <item>spriteimage.powerup.smartbomb.01</item>
  152. <item>spriteimage.powerup.smartbomb.02</item>
  153. <item>spriteimage.powerup.smartbomb.03</item>
  154. <item>spriteimage.powerup.smartbomb.04</item>
  155. </array>
  156. <animation name="smartbomb.powerup.animation">
  157. <frameset id="smartbomb.powerup.array" />
  158. <frame i="powerup.icon.anim" d="0" />
  159. </animation>
  160. <array name="repair.powerup.array">
  161. <item>spriteimage.powerup.repair.01</item>
  162. <item>spriteimage.powerup.repair.02</item>
  163. <item>spriteimage.powerup.repair.03</item>
  164. <item>spriteimage.powerup.repair.04</item>
  165. </array>
  166. <animation name="repair.powerup.animation">
  167. <frameset id="repair.powerup.array" />
  168. <frame i="powerup.icon.anim" d="0" />
  169. </animation>
  170. <array name="shield.powerup.array">
  171. <item>spriteimage.powerup.shield.01</item>
  172. <item>spriteimage.powerup.shield.02</item>
  173. <item>spriteimage.powerup.shield.03</item>
  174. <item>spriteimage.powerup.shield.04</item>
  175. </array>
  176. <animation name="shield.powerup.animation">
  177. <frameset id="shield.powerup.array" />
  178. <frame i="powerup.icon.anim" d="0" />
  179. </animation>
  180. <array name="freeze.powerup.array">
  181. <item>spriteimage.powerup.freeze.01</item>
  182. <item>spriteimage.powerup.freeze.02</item>
  183. <item>spriteimage.powerup.freeze.03</item>
  184. <item>spriteimage.powerup.freeze.04</item>
  185. </array>
  186. <animation name="freeze.powerup.animation">
  187. <frameset id="freeze.powerup.array" />
  188. <frame i="powerup.icon.anim" d="0" />
  189. </animation>
  190. <array name="flux.powerup.array">
  191. <item>spriteimage.powerup.flux.01</item>
  192. <item>spriteimage.powerup.flux.02</item>
  193. <item>spriteimage.powerup.flux.03</item>
  194. <item>spriteimage.powerup.flux.04</item>
  195. </array>
  196. <animation name="flux.powerup.animation">
  197. <frameset id="flux.powerup.array" />
  198. <frame i="powerup.icon.anim" d="0" />
  199. </animation>
  200. <array name="plutonium.powerup.array">
  201. <item>spriteimage.powerup.plutonium.01</item>
  202. <item>spriteimage.powerup.plutonium.02</item>
  203. <item>spriteimage.powerup.plutonium.03</item>
  204. <item>spriteimage.powerup.plutonium.04</item>
  205. </array>
  206. <animation name="plutonium.powerup.animation">
  207. <frameset id="plutonium.powerup.array" />
  208. <frame i="powerup.icon.anim" d="0" />
  209. </animation>
  210. <array name="strengthen.powerup.array">
  211. <item>spriteimage.powerup.strengthen.01</item>
  212. <item>spriteimage.powerup.strengthen.02</item>
  213. <item>spriteimage.powerup.strengthen.03</item>
  214. <item>spriteimage.powerup.strengthen.04</item>
  215. </array>
  216. <animation name="strengthen.powerup.animation">
  217. <frameset id="strengthen.powerup.array" />
  218. <frame i="powerup.icon.anim" d="0" />
  219. </animation>
  220. <array name="radar.powerup.array">
  221. <item>spriteimage.powerup.radar.01</item>
  222. <item>spriteimage.powerup.radar.02</item>
  223. <item>spriteimage.powerup.radar.03</item>
  224. <item>spriteimage.powerup.radar.04</item>
  225. </array>
  226. <animation name="radar.powerup.animation">
  227. <frameset id="radar.powerup.array" />
  228. <frame i="powerup.icon.anim" d="0" />
  229. </animation>
  230. <array name="nitrogen.powerup.array">
  231. <item>spriteimage.powerup.nitrogen.01</item>
  232. <item>spriteimage.powerup.nitrogen.02</item>
  233. <item>spriteimage.powerup.nitrogen.03</item>
  234. <item>spriteimage.powerup.nitrogen.04</item>
  235. </array>
  236. <animation name="nitrogen.powerup.animation">
  237. <frameset id="nitrogen.powerup.array" />
  238. <frame i="powerup.icon.anim" d="0" />
  239. </animation>
  240. <array name="lithium.powerup.array">
  241. <item>spriteimage.powerup.lithium.01</item>
  242. <item>spriteimage.powerup.lithium.02</item>
  243. <item>spriteimage.powerup.lithium.03</item>
  244. <item>spriteimage.powerup.lithium.04</item>
  245. </array>
  246. <animation name="lithium.powerup.animation">
  247. <frameset id="lithium.powerup.array" />
  248. <frame i="powerup.icon.anim" d="0" />
  249. </animation>
  250. <!-- survival mode powerups -->
  251. <array name="concrete.powerup.array">
  252. <item>spriteimage.powerup.survival.concrete.01</item>
  253. <item>spriteimage.powerup.survival.concrete.02</item>
  254. <item>spriteimage.powerup.survival.concrete.03</item>
  255. <item>spriteimage.powerup.survival.concrete.04</item>
  256. </array>
  257. <animation name="concrete.powerup.animation">
  258. <frameset id="concrete.powerup.array" />
  259. <frame i="powerup.icon.anim" d="0" />
  260. </animation>
  261. <array name="steel.powerup.array">
  262. <item>spriteimage.powerup.survival.steel.01</item>
  263. <item>spriteimage.powerup.survival.steel.02</item>
  264. <item>spriteimage.powerup.survival.steel.03</item>
  265. <item>spriteimage.powerup.survival.steel.04</item>
  266. </array>
  267. <animation name="steel.powerup.animation">
  268. <frameset id="steel.powerup.array" />
  269. <frame i="powerup.icon.anim" d="0" />
  270. </animation>
  271. <array name="titanium.powerup.array">
  272. <item>spriteimage.powerup.survival.titanium.01</item>
  273. <item>spriteimage.powerup.survival.titanium.02</item>
  274. <item>spriteimage.powerup.survival.titanium.03</item>
  275. <item>spriteimage.powerup.survival.titanium.04</item>
  276. </array>
  277. <animation name="titanium.powerup.animation">
  278. <frameset id="titanium.powerup.array" />
  279. <frame i="powerup.icon.anim" d="0" />
  280. </animation>
  281. <array name="nanomesh.powerup.array">
  282. <item>spriteimage.powerup.survival.nanomesh.01</item>
  283. <item>spriteimage.powerup.survival.nanomesh.02</item>
  284. <item>spriteimage.powerup.survival.nanomesh.03</item>
  285. <item>spriteimage.powerup.survival.nanomesh.04</item>
  286. </array>
  287. <animation name="nanomesh.powerup.animation">
  288. <frameset id="nanomesh.powerup.array" />
  289. <frame i="powerup.icon.anim" d="0" />
  290. </animation>
  291. <array name="mines.powerup.array">
  292. <item>spriteimage.powerup.survival.mines.01</item>
  293. <item>spriteimage.powerup.survival.mines.02</item>
  294. <item>spriteimage.powerup.survival.mines.03</item>
  295. <item>spriteimage.powerup.survival.mines.04</item>
  296. </array>
  297. <animation name="mines.powerup.animation">
  298. <frameset id="mines.powerup.array" />
  299. <frame i="powerup.icon.anim" d="0" />
  300. </animation>
  301. <array name="clustermines.powerup.array">
  302. <item>spriteimage.powerup.survival.clustermines.01</item>
  303. <item>spriteimage.powerup.survival.clustermines.02</item>
  304. <item>spriteimage.powerup.survival.clustermines.03</item>
  305. <item>spriteimage.powerup.survival.clustermines.04</item>
  306. </array>
  307. <animation name="clustermines.powerup.animation">
  308. <frameset id="clustermines.powerup.array" />
  309. <frame i="powerup.icon.anim" d="0" />
  310. </animation>
  311. <array name="blastmines.powerup.array">
  312. <item>spriteimage.powerup.survival.blastmines.01</item>
  313. <item>spriteimage.powerup.survival.blastmines.02</item>
  314. <item>spriteimage.powerup.survival.blastmines.03</item>
  315. <item>spriteimage.powerup.survival.blastmines.04</item>
  316. </array>
  317. <animation name="blastmines.powerup.animation">
  318. <frameset id="blastmines.powerup.array" />
  319. <frame i="powerup.icon.anim" d="0" />
  320. </animation>
  321. <!-- Basic unit of difficulty for powerups -->
  322. <property key="powerup_difficulty" value="0.025"/>
  323. <instance
  324. name="50bucks.powerup"
  325. class="worm.powerups.MoneyPowerupFeature"
  326. hint="hint.powerup"
  327. title="$50"
  328. collect="collectMoney50.buffer"
  329. amount="50"
  330. labelColorStart="=$powerup_label_yellow_start"
  331. labelColorEnd="=$powerup_label_yellow_end"
  332. >
  333. <!-- Event 1 on first sprite makes saucer zappable -->
  334. <appearance>
  335. <layers scale="0.5">
  336. <sprite>
  337. <animation>
  338. <animation>
  339. <event id="1"/>
  340. </animation>
  341. </animation>
  342. </sprite>
  343. <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
  344. <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
  345. <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" attenuated="false" animation="money.powerup.animation" />
  346. </layers>
  347. </appearance>
  348. <!-- Event 2 on first sprite removes the saucer -->
  349. <collectAppearance>
  350. <layers>
  351. <sprite layer="0">
  352. <animation>
  353. <animation>
  354. <event id="2"/>
  355. </animation>
  356. </animation>
  357. </sprite>
  358. <emitter emitter="money.collect.emitter"/>
  359. </layers>
  360. </collectAppearance>
  361. <!-- Event 2 on first sprite removes the saucer -->
  362. <vanishAppearance>
  363. <layers>
  364. <sprite layer="0">
  365. <animation>
  366. <animation>
  367. <event id="2"/>
  368. </animation>
  369. </animation>
  370. </sprite>
  371. </layers>
  372. </vanishAppearance>
  373. </instance>
  374. <instance
  375. name="100bucks.powerup"
  376. hint="hint.powerup"
  377. class="worm.powerups.MoneyPowerupFeature"
  378. title="$100"
  379. collect="collectMoney100.buffer"
  380. amount="100"
  381. labelColorStart="=$powerup_label_yellow_start"
  382. labelColorEnd="=$powerup_label_yellow_end"
  383. >
  384. <!-- Event 1 on first sprite makes saucer zappable -->
  385. <appearance>
  386. <layers scale="0.5">
  387. <sprite>
  388. <animation>
  389. <animation>
  390. <event id="1"/>
  391. </animation>
  392. </animation>
  393. </sprite>
  394. <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
  395. <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
  396. <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" attenuated="false" animation="money.powerup.animation" />
  397. </layers>
  398. </appearance>
  399. <!-- Event 2 on first sprite removes the saucer -->
  400. <collectAppearance>
  401. <layers>
  402. <sprite layer="0">
  403. <animation>
  404. <animation>
  405. <event id="2"/>
  406. </animation>
  407. </animation>
  408. </sprite>
  409. <emitter emitter="money.collect.emitter"/>
  410. </layers>
  411. </collectAppearance>
  412. <!-- Event 2 on first sprite removes the saucer -->
  413. <vanishAppearance>
  414. <layers>
  415. <sprite layer="0">
  416. <animation>
  417. <animation>
  418. <event id="2"/>
  419. </animation>
  420. </animation>
  421. </sprite>
  422. </layers>
  423. </vanishAppearance>
  424. </instance>
  425. <instance
  426. name="250bucks.powerup"
  427. hint="hint.powerup"
  428. class="worm.powerups.MoneyPowerupFeature"
  429. title="$250"
  430. collect="collectMoney250.buffer"
  431. amount="250"
  432. labelColorStart="=$powerup_label_yellow_start"
  433. labelColorEnd="=$powerup_label_yellow_end"
  434. >
  435. <!-- Event 1 on first sprite makes saucer zappable -->
  436. <appearance>
  437. <layers scale="0.5">
  438. <sprite>
  439. <animation>
  440. <animation>
  441. <event id="1"/>
  442. </animation>
  443. </animation>
  444. </sprite>
  445. <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
  446. <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
  447. <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" attenuated="false" animation="money.powerup.animation" />
  448. </layers>
  449. </appearance>
  450. <!-- Event 2 on first sprite removes the saucer -->
  451. <collectAppearance>
  452. <layers>
  453. <sprite layer="0">
  454. <animation>
  455. <animation>
  456. <event id="2"/>
  457. </animation>
  458. </animation>
  459. </sprite>
  460. <emitter emitter="money.collect.emitter"/>
  461. </layers>
  462. </collectAppearance>
  463. <!-- Event 2 on first sprite removes the saucer -->
  464. <vanishAppearance>
  465. <layers>
  466. <sprite layer="0">
  467. <animation>
  468. <animation>
  469. <event id="2"/>
  470. </animation>
  471. </animation>
  472. </sprite>
  473. </layers>
  474. </vanishAppearance>
  475. </instance>
  476. <instance
  477. name="500bucks.powerup"
  478. hint="hint.powerup"
  479. class="worm.powerups.MoneyPowerupFeature"
  480. title="$500"
  481. collect="collectMoney500.buffer"
  482. amount="500"
  483. labelColorStart="=$powerup_label_yellow_start"
  484. labelColorEnd="=$powerup_label_yellow_end"
  485. >
  486. <!-- Event 1 on first sprite makes saucer zappable -->
  487. <appearance>
  488. <layers scale="0.5">
  489. <sprite>
  490. <animation>
  491. <animation>
  492. <event id="1"/>
  493. </animation>
  494. </animation>
  495. </sprite>
  496. <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
  497. <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
  498. <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" attenuated="false" animation="money.powerup.animation" />
  499. </layers>
  500. </appearance>
  501. <!-- Event 2 on first sprite removes the saucer -->
  502. <collectAppearance>
  503. <layers>
  504. <sprite layer="0">
  505. <animation>
  506. <animation>
  507. <event id="2"/>
  508. </animation>
  509. </animation>
  510. </sprite>
  511. <emitter emitter="money.collect.emitter"/>
  512. </layers>
  513. </collectAppearance>
  514. <!-- Event 2 on first sprite removes the saucer -->
  515. <vanishAppearance>
  516. <layers>
  517. <sprite layer="0">
  518. <animation>
  519. <animation>
  520. <event id="2"/>
  521. </animation>
  522. </animation>
  523. </sprite>
  524. </layers>
  525. </vanishAppearance>
  526. </instance>
  527. <instance
  528. name="smartbomb.powerup"
  529. hint="hint.cool_powerup"
  530. class="worm.powerups.SmartbombPowerupFeature"
  531. title="=$smartbomb.powerup.title"
  532. collect="collectSmartbomb.buffer"
  533. description="=$smartbomb.powerup.description"
  534. shopIndex="1"
  535. shopIcon="powerup.smartbomb"
  536. shortcut="true"
  537. labelColorStart="=$powerup_label_red_start"
  538. labelColorEnd="=$powerup_label_red_end"
  539. tooltipGraphic="=$key.game.smartbomb.powerup.icon"
  540. difficulty="=$powerup_difficulty*3"
  541. >
  542. <!-- Event 1 on first sprite makes saucer zappable -->
  543. <appearance>
  544. <layers scale="0.5">
  545. <sprite>
  546. <animation>
  547. <animation>
  548. <event id="1"/>
  549. </animation>
  550. </animation>
  551. </sprite>
  552. <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
  553. <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
  554. <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="smartbomb.powerup.animation" />
  555. </layers>
  556. </appearance>
  557. <shopAppearance>
  558. <layers>
  559. <sprite layer="10" image="spriteimage.powerup.large.smartbomb.01"/>
  560. </layers>
  561. </shopAppearance>
  562. <!-- Event 2 on first sprite removes the saucer -->
  563. <collectAppearance>
  564. <layers>
  565. <sprite layer="0">
  566. <animation>
  567. <animation>
  568. <event id="2"/>
  569. </animation>
  570. </animation>
  571. </sprite>
  572. <emitter emitter="smartbomb.collect.emitter"/>
  573. </layers>
  574. </collectAppearance>
  575. <!-- Event 2 on first sprite removes the saucer -->
  576. <vanishAppearance>
  577. <layers>
  578. <sprite layer="0">
  579. <animation>
  580. <animation>
  581. <event id="2"/>
  582. </animation>
  583. </animation>
  584. </sprite>
  585. </layers>
  586. </vanishAppearance>
  587. </instance>
  588. <instance
  589. name="bezerk.powerup"
  590. class="worm.powerups.BezerkPowerupFeature"
  591. hint="hint.cool_powerup"
  592. title="=$bezerk.powerup.title"
  593. collect="collectBezerk.buffer"
  594. duration="600"
  595. description="=$bezerk.powerup.description"
  596. shopIndex="0"
  597. shopIcon="powerup.bezerk"
  598. shortcut="true"
  599. labelColorStart="=$powerup_label_red_start"
  600. labelColorEnd="=$powerup_label_red_end"
  601. tooltipGraphic="=$key.game.bezerk.powerup.icon"
  602. difficulty="=$powerup_difficulty*5"
  603. >
  604. <shopAppearance>
  605. <layers>
  606. <sprite layer="10" image="spriteimage.powerup.large.bezerk.01"/>
  607. </layers>
  608. </shopAppearance>
  609. <!-- Event 1 on first sprite makes saucer zappable -->
  610. <appearance>
  611. <layers scale="0.5">
  612. <sprite>
  613. <animation>
  614. <animation>
  615. <event id="1"/>
  616. </animation>
  617. </animation>
  618. </sprite>
  619. <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
  620. <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
  621. <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="bezerk.powerup.animation" />
  622. </layers>
  623. </appearance>
  624. <!-- Event 2 on first sprite removes the saucer -->
  625. <collectAppearance>
  626. <layers>
  627. <sprite layer="0">
  628. <animation>
  629. <animation>
  630. <event id="2"/>
  631. </animation>
  632. </animation>
  633. </sprite>
  634. <emitter emitter="bezerk.collect.emitter"/>
  635. </layers>
  636. </collectAppearance>
  637. <!-- Event 2 on first sprite removes the saucer -->
  638. <vanishAppearance>
  639. <layers>
  640. <sprite layer="0">
  641. <animation>
  642. <animation>
  643. <event id="2"/>
  644. </animation>
  645. </animation>
  646. </sprite>
  647. </layers>
  648. </vanishAppearance>
  649. </instance>
  650. <instance
  651. name="freeze.powerup"
  652. hint="hint.cool_powerup"
  653. class="worm.powerups.FreezePowerupFeature"
  654. title="=$freeze.powerup.title"
  655. collect="collectFreeze.buffer"
  656. description="=$freeze.powerup.description"
  657. duration="600"
  658. shopIndex="4"
  659. shopIcon="powerup.freeze"
  660. shortcut="true"
  661. labelColorStart="=$powerup_label_green_start"
  662. labelColorEnd="=$powerup_label_green_end"
  663. tooltipGraphic="=$key.game.freeze.powerup.icon"
  664. difficulty="=$powerup_difficulty"
  665. >
  666. <!-- Event 1 on first sprite makes saucer zappable -->
  667. <appearance>
  668. <layers scale="0.5">
  669. <sprite>
  670. <animation>
  671. <animation>
  672. <event id="1"/>
  673. </animation>
  674. </animation>
  675. </sprite>
  676. <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
  677. <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
  678. <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="freeze.powerup.animation" />
  679. </layers>
  680. </appearance>
  681. <shopAppearance>
  682. <layers>
  683. <sprite layer="10" image="spriteimage.powerup.large.freeze.01"/>
  684. </layers>
  685. </shopAppearance>
  686. <!-- Event 2 on first sprite removes the saucer -->
  687. <collectAppearance>
  688. <layers>
  689. <sprite layer="0">
  690. <animation>
  691. <animation>
  692. <event id="2"/>
  693. </animation>
  694. </animation>
  695. </sprite>
  696. <emitter emitter="freeze.collect.emitter"/>
  697. </layers>
  698. </collectAppearance>
  699. <!-- Event 2 on first sprite removes the saucer -->
  700. <vanishAppearance>
  701. <layers>
  702. <sprite layer="0">
  703. <animation>
  704. <animation>
  705. <event id="2"/>
  706. </animation>
  707. </animation>
  708. </sprite>
  709. </layers>
  710. </vanishAppearance>
  711. </instance>
  712. <instance
  713. name="shield.powerup"
  714. hint="hint.cool_powerup"
  715. class="worm.powerups.ShieldPowerupFeature"
  716. title="=$shield.powerup.title"
  717. collect="collectShield.buffer"
  718. description="=$shield.powerup.description"
  719. duration="600"
  720. shopIndex="3"
  721. shopIcon="powerup.shield"
  722. shortcut="true"
  723. labelColorStart="=$powerup_label_green_start"
  724. labelColorEnd="=$powerup_label_green_end"
  725. tooltipGraphic="=$key.game.shield.powerup.icon"
  726. difficulty="=$powerup_difficulty"
  727. >
  728. <!-- Event 1 on first sprite makes saucer zappable -->
  729. <appearance>
  730. <layers scale="0.5">
  731. <sprite>
  732. <animation>
  733. <animation>
  734. <event id="1"/>
  735. </animation>
  736. </animation>
  737. </sprite>
  738. <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
  739. <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
  740. <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="shield.powerup.animation" />
  741. </layers>
  742. </appearance>
  743. <shopAppearance>
  744. <layers>
  745. <sprite layer="10" image="spriteimage.powerup.large.shield.01"/>
  746. </layers>
  747. </shopAppearance>
  748. <!-- Event 2 on first sprite removes the saucer -->
  749. <collectAppearance>
  750. <layers>
  751. <sprite layer="0">
  752. <animation>
  753. <animation>
  754. <event id="2"/>
  755. </animation>
  756. </animation>
  757. </sprite>
  758. <emitter emitter="shield.collect.emitter"/>
  759. </layers>
  760. </collectAppearance>
  761. <!-- Event 2 on first sprite removes the saucer -->
  762. <vanishAppearance>
  763. <layers>
  764. <sprite layer="0">
  765. <animation>
  766. <animation>
  767. <event id="2"/>
  768. </animation>
  769. </animation>
  770. </sprite>
  771. </layers>
  772. </vanishAppearance>
  773. </instance>
  774. <instance
  775. name="repair.powerup"
  776. hint="hint.cool_powerup"
  777. class="worm.powerups.RepairPowerupFeature"
  778. title="=$repair.powerup.title"
  779. collect="collectRepair.buffer"
  780. description="=$repair.powerup.description"
  781. shopIndex="2"
  782. shopIcon="powerup.repair"
  783. shortcut="true"
  784. labelColorStart="=$powerup_label_green_start"
  785. labelColorEnd="=$powerup_label_green_end"
  786. tooltipGraphic="=$key.game.repair.powerup.icon"
  787. difficulty="=$powerup_difficulty"
  788. >
  789. <!-- Event 1 on first sprite makes saucer zappable -->
  790. <appearance>
  791. <layers scale="0.5">
  792. <sprite>
  793. <animation>
  794. <animation>
  795. <event id="1"/>
  796. </animation>
  797. </animation>
  798. </sprite>
  799. <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
  800. <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
  801. <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="repair.powerup.animation" />
  802. </layers>
  803. </appearance>
  804. <shopAppearance>
  805. <layers>
  806. <sprite layer="10" image="spriteimage.powerup.large.repair.01"/>
  807. </layers>
  808. </shopAppearance>
  809. <!-- Event 2 on first sprite removes the saucer -->
  810. <collectAppearance>
  811. <layers>
  812. <sprite layer="0">
  813. <animation>
  814. <animation>
  815. <event id="2"/>
  816. </animation>
  817. </animation>
  818. </sprite>
  819. <emitter emitter="repair.collect.emitter"/>
  820. </layers>
  821. </collectAppearance>
  822. <!-- Event 2 on first sprite removes the saucer -->
  823. <vanishAppearance>
  824. <layers>
  825. <sprite layer="0">
  826. <animation>
  827. <animation>
  828. <event id="2"/>
  829. </animation>
  830. </animation>
  831. </sprite>
  832. </layers>
  833. </vanishAppearance>
  834. </instance>
  835. <!-- Exotic powerups -->
  836. <instance
  837. name="capacitor.powerup"
  838. hint="hint.exotic_powerup"
  839. class="worm.powerups.CapacitorPowerupFeature"
  840. title="=$flux.powerup.title"
  841. collect="collectCapacitor.buffer"
  842. description="=$flux.powerup.description"
  843. shopIndex="6"
  844. shopIcon="powerup.flux"
  845. labelColorStart="=$powerup_label_blue_start"
  846. labelColorEnd="=$powerup_label_blue_end"
  847. tooltipGraphic="=$key.game.capacitor.powerup.icon"
  848. difficulty="=$powerup_difficulty"
  849. >
  850. <!-- Event 1 on first sprite makes saucer zappable -->
  851. <appearance>
  852. <layers scale="0.5">
  853. <sprite>
  854. <animation>
  855. <animation>
  856. <event id="1"/>
  857. </animation>
  858. </animation>
  859. </sprite>
  860. <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
  861. <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
  862. <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="flux.powerup.animation" />
  863. </layers>
  864. </appearance>
  865. <shopAppearance>
  866. <layers>
  867. <sprite layer="10" image="spriteimage.powerup.large.flux.01"/>
  868. </layers>
  869. </shopAppearance>
  870. <!-- Event 2 on first sprite removes the saucer -->
  871. <collectAppearance>
  872. <layers scale="0.5">
  873. <sprite layer="0">
  874. <animation>
  875. <animation>
  876. <event id="2"/>
  877. </animation>
  878. </animation>
  879. </sprite>
  880. <emitter emitter="flux.collect.emitter"/>
  881. </layers>
  882. </collectAppearance>
  883. <!-- Event 2 on first sprite removes the saucer -->
  884. <vanishAppearance>
  885. <layers>
  886. <sprite layer="0">
  887. <animation>
  888. <animation>
  889. <event id="2"/>
  890. </animation>
  891. </animation>
  892. </sprite>
  893. </layers>
  894. </vanishAppearance>
  895. </instance>
  896. <instance
  897. name="reactor.powerup"
  898. hint="hint.exotic_powerup"
  899. class="worm.powerups.ReactorPowerupFeature"
  900. title="=$plutonium.powerup.title"
  901. collect="collectReactor.buffer"
  902. description="=$plutonium.powerup.description"
  903. shopIndex="8"
  904. shopIcon="powerup.plutonium"
  905. labelColorStart="=$powerup_label_blue_start"
  906. labelColorEnd="=$powerup_label_blue_end"
  907. tooltipGraphic="=$key.game.reactor.powerup.icon"
  908. difficulty="=$powerup_difficulty*3"
  909. >
  910. <!-- Event 1 on first sprite makes saucer zappable -->
  911. <appearance>
  912. <layers scale="0.5">
  913. <sprite>
  914. <animation>
  915. <animation>
  916. <event id="1"/>
  917. </animation>
  918. </animation>
  919. </sprite>
  920. <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
  921. <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
  922. <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="plutonium.powerup.animation" />
  923. </layers>
  924. </appearance>
  925. <shopAppearance>
  926. <layers>
  927. <sprite layer="10" image="spriteimage.powerup.large.plutonium.01"/>
  928. </layers>
  929. </shopAppearance>
  930. <!-- Event 2 on first sprite removes the saucer -->
  931. <collectAppearance>
  932. <layers>
  933. <sprite layer="0">
  934. <animation>
  935. <animation>
  936. <event id="2"/>
  937. </animation>
  938. </animation>
  939. </sprite>
  940. <emitter emitter="plutonium.collect.emitter"/>
  941. </layers>
  942. </collectAppearance>
  943. <!-- Event 2 on first sprite removes the saucer -->
  944. <vanishAppearance>
  945. <layers>
  946. <sprite layer="0">
  947. <animation>
  948. <animation>
  949. <event id="2"/>
  950. </animation>
  951. </animation>
  952. </sprite>
  953. </layers>
  954. </vanishAppearance>
  955. </instance>
  956. <instance
  957. name="shieldgenerator.powerup"
  958. hint="hint.exotic_powerup"
  959. class="worm.powerups.ShieldGeneratorPowerupFeature"
  960. title="=$strengthen.powerup.title"
  961. collect="collectShieldGenerator.buffer"
  962. description="=$strengthen.powerup.description"
  963. shopIndex="10"
  964. shopIcon="powerup.strengthen"
  965. labelColorStart="=$powerup_label_blue_start"
  966. labelColorEnd="=$powerup_label_blue_end"
  967. tooltipGraphic="=$key.game.shieldgenerator.powerup.icon"
  968. difficulty="=$powerup_difficulty*5"
  969. >
  970. <!-- Event 1 on first sprite makes saucer zappable -->
  971. <appearance>
  972. <layers scale="0.5">
  973. <sprite>
  974. <animation>
  975. <animation>
  976. <event id="1"/>
  977. </animation>
  978. </animation>
  979. </sprite>
  980. <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
  981. <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
  982. <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="strengthen.powerup.animation" />
  983. </layers>
  984. </appearance>
  985. <shopAppearance>
  986. <layers>
  987. <sprite layer="10" image="spriteimage.powerup.large.strengthen.01"/>
  988. </layers>
  989. </shopAppearance>
  990. <!-- Event 2 on first sprite removes the saucer -->
  991. <collectAppearance>
  992. <layers>
  993. <sprite layer="0">
  994. <animation>
  995. <animation>
  996. <event id="2"/>
  997. </animation>
  998. </animation>
  999. </sprite>
  1000. <emitter emitter="strengthen.collect.emitter"/>
  1001. </layers>
  1002. </collectAppearance>
  1003. <!-- Event 2 on first sprite removes the saucer -->
  1004. <vanishAppearance>
  1005. <layers>
  1006. <sprite layer="0">
  1007. <animation>
  1008. <animation>
  1009. <event id="2"/>
  1010. </animation>
  1011. </animation>
  1012. </sprite>
  1013. </layers>
  1014. </vanishAppearance>
  1015. </instance>
  1016. <instance
  1017. name="radar.powerup"
  1018. hint="hint.exotic_powerup"
  1019. class="worm.powerups.ScannerPowerupFeature"
  1020. title="=$radar.powerup.title"
  1021. collect="collectScanner.buffer"
  1022. description="=$radar.powerup.description"
  1023. shopIndex="9"
  1024. shopIcon="powerup.radar"
  1025. labelColorStart="=$powerup_label_blue_start"
  1026. labelColorEnd="=$powerup_label_blue_end"
  1027. tooltipGraphic="=$key.game.radar.powerup.icon"
  1028. difficulty="=$powerup_difficulty*5"
  1029. >
  1030. <!-- Event 1 on first sprite makes saucer zappable -->
  1031. <appearance>
  1032. <layers scale="0.5">
  1033. <sprite>
  1034. <animation>
  1035. <animation>
  1036. <event id="1"/>
  1037. </animation>
  1038. </animation>
  1039. </sprite>
  1040. <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
  1041. <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
  1042. <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="radar.powerup.animation" />
  1043. </layers>
  1044. </appearance>
  1045. <shopAppearance>
  1046. <layers>
  1047. <sprite layer="10" image="spriteimage.powerup.large.radar.01"/>
  1048. </layers>
  1049. </shopAppearance>
  1050. <!-- Event 2 on first sprite removes the saucer -->
  1051. <collectAppearance>
  1052. <layers>
  1053. <sprite layer="0">
  1054. <animation>
  1055. <animation>
  1056. <event id="2"/>
  1057. </animation>
  1058. </animation>
  1059. </sprite>
  1060. <emitter emitter="radar.collect.emitter"/>
  1061. </layers>
  1062. </collectAppearance>
  1063. <!-- Event 2 on first sprite removes the saucer -->
  1064. <vanishAppearance>
  1065. <layers>
  1066. <sprite layer="0">
  1067. <animation>
  1068. <animation>
  1069. <event id="2"/>
  1070. </animation>
  1071. </animation>
  1072. </sprite>
  1073. </layers>
  1074. </vanishAppearance>
  1075. </instance>
  1076. <instance
  1077. name="battery.powerup"
  1078. hint="hint.exotic_powerup"
  1079. class="worm.powerups.BatteryPowerupFeature"
  1080. title="=$battery.powerup.title"
  1081. collect="collectBattery.buffer"
  1082. description="=$battery.powerup.description"
  1083. shopIndex="5"
  1084. shopIcon="powerup.lithium"
  1085. labelColorStart="=$powerup_label_blue_start"
  1086. labelColorEnd="=$powerup_label_blue_end"
  1087. tooltipGraphic="=$key.game.battery.powerup.icon"
  1088. difficulty="=$powerup_difficulty*3"
  1089. >
  1090. <!-- Event 1 on first sprite makes saucer zappable -->
  1091. <appearance>
  1092. <layers scale="0.5">
  1093. <sprite>
  1094. <animation>
  1095. <animation>
  1096. <event id="1"/>
  1097. </animation>
  1098. </animation>
  1099. </sprite>
  1100. <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
  1101. <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
  1102. <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="lithium.powerup.animation" />
  1103. </layers>
  1104. </appearance>
  1105. <shopAppearance>
  1106. <layers>
  1107. <sprite layer="10" image="spriteimage.powerup.large.lithium.01"/>
  1108. </layers>
  1109. </shopAppearance>
  1110. <!-- Event 2 on first sprite removes the saucer -->
  1111. <collectAppearance>
  1112. <layers>
  1113. <sprite layer="0">
  1114. <animation>
  1115. <animation>
  1116. <event id="2"/>
  1117. </animation>
  1118. </animation>
  1119. </sprite>
  1120. <emitter emitter="lithium.collect.emitter"/>
  1121. </layers>
  1122. </collectAppearance>
  1123. <!-- Event 2 on first sprite removes the saucer -->
  1124. <vanishAppearance>
  1125. <layers>
  1126. <sprite layer="0">
  1127. <animation>
  1128. <animation>
  1129. <event id="2"/>
  1130. </animation>
  1131. </animation>
  1132. </sprite>
  1133. </layers>
  1134. </vanishAppearance>
  1135. </instance>
  1136. <instance
  1137. name="cooling.powerup"
  1138. hint="hint.exotic_powerup"
  1139. class="worm.powerups.CoolingTowerPowerupFeature"
  1140. title="=$cooling.powerup.title"
  1141. collect="collectCoolingTower.buffer"
  1142. description="=$cooling.powerup.description"
  1143. shopIndex="7"
  1144. shopIcon="powerup.nitrogen"
  1145. labelColorStart="=$powerup_label_blue_start"
  1146. labelColorEnd="=$powerup_label_blue_end"
  1147. tooltipGraphic="=$key.game.cooling.powerup.icon"
  1148. difficulty="=$powerup_difficulty*3"
  1149. >
  1150. <!-- Event 1 on first sprite makes saucer zappable -->
  1151. <appearance>
  1152. <layers scale="0.5">
  1153. <sprite>
  1154. <animation>
  1155. <animation>
  1156. <event id="1"/>
  1157. </animation>
  1158. </animation>
  1159. </sprite>
  1160. <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
  1161. <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
  1162. <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="nitrogen.powerup.animation" />
  1163. </layers>
  1164. </appearance>
  1165. <shopAppearance>
  1166. <layers>
  1167. <sprite layer="10" image="spriteimage.powerup.large.nitrogen.01"/>
  1168. </layers>
  1169. </shopAppearance>
  1170. <!-- Event 2 on first sprite removes the saucer -->
  1171. <collectAppearance>
  1172. <layers>
  1173. <sprite layer="0">
  1174. <animation>
  1175. <animation>
  1176. <event id="2"/>
  1177. </animation>
  1178. </animation>
  1179. </sprite>
  1180. <emitter emitter="nitrogen.collect.emitter"/>
  1181. </layers>
  1182. </collectAppearance>
  1183. <!-- Event 2 on first sprite removes the saucer -->
  1184. <vanishAppearance>
  1185. <layers>
  1186. <sprite layer="0">
  1187. <animation>
  1188. <animation>
  1189. <event id="2"/>
  1190. </animation>
  1191. </animation>
  1192. </sprite>
  1193. </layers>
  1194. </vanishAppearance>
  1195. </instance>
  1196. <!-- survival mode powerups -->
  1197. <instance
  1198. name="concrete.powerup"
  1199. hint="hint.barricade_powerup"
  1200. class="worm.powerups.ResourcePowerupFeature"
  1201. title="=$concrete.powerup.title"
  1202. collect="collectShieldGenerator.buffer"
  1203. labelColorStart="=$powerup_label_green_start"
  1204. labelColorEnd="=$powerup_label_green_end"
  1205. resource="building.generic.concrete"
  1206. amount="25"
  1207. >
  1208. <!-- Event 1 on first sprite makes saucer zappable -->
  1209. <appearance>
  1210. <layers scale="0.5">
  1211. <sprite>
  1212. <animation>
  1213. <animation>
  1214. <event id="1"/>
  1215. </animation>
  1216. </animation>
  1217. </sprite>
  1218. <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
  1219. <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
  1220. <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="concrete.powerup.animation" />
  1221. </layers>
  1222. </appearance>
  1223. <shopAppearance>
  1224. <layers>
  1225. <sprite layer="10" image="spriteimage.powerup.large.strengthen.01"/>
  1226. </layers>
  1227. </shopAppearance>
  1228. <!-- Event 2 on first sprite removes the saucer -->
  1229. <collectAppearance>
  1230. <layers>
  1231. <sprite layer="0">
  1232. <animation>
  1233. <animation>
  1234. <event id="2"/>
  1235. </animation>
  1236. </animation>
  1237. </sprite>
  1238. <emitter emitter="concrete.collect.emitter"/>
  1239. </layers>
  1240. </collectAppearance>
  1241. <!-- Event 2 on first sprite removes the saucer -->
  1242. <vanishAppearance>
  1243. <layers>
  1244. <sprite layer="0">
  1245. <animation>
  1246. <animation>
  1247. <event id="2"/>
  1248. </animation>
  1249. </animation>
  1250. </sprite>
  1251. </layers>
  1252. </vanishAppearance>
  1253. </instance>
  1254. <instance
  1255. name="steel.powerup"
  1256. hint="hint.barricade_powerup"
  1257. class="worm.powerups.ResourcePowerupFeature"
  1258. title="=$steel.powerup.title"
  1259. collect="collectShieldGenerator.buffer"
  1260. labelColorStart="=$powerup_label_green_start"
  1261. labelColorEnd="=$powerup_label_green_end"
  1262. resource="building.generic.steel"
  1263. amount="20"
  1264. >
  1265. <!-- Event 1 on first sprite makes saucer zappable -->
  1266. <appearance>
  1267. <layers scale="0.5">
  1268. <sprite>
  1269. <animation>
  1270. <animation>
  1271. <event id="1"/>
  1272. </animation>
  1273. </animation>
  1274. </sprite>
  1275. <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
  1276. <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
  1277. <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="steel.powerup.animation" />
  1278. </layers>
  1279. </appearance>
  1280. <shopAppearance>
  1281. <layers>
  1282. <sprite layer="10" image="spriteimage.powerup.large.strengthen.01"/>
  1283. </layers>
  1284. </shopAppearance>
  1285. <!-- Event 2 on first sprite removes the saucer -->
  1286. <collectAppearance>
  1287. <layers>
  1288. <sprite layer="0">
  1289. <animation>
  1290. <animation>
  1291. <event id="2"/>
  1292. </animation>
  1293. </animation>
  1294. </sprite>
  1295. <emitter emitter="steel.collect.emitter"/>
  1296. </layers>
  1297. </collectAppearance>
  1298. <!-- Event 2 on first sprite removes the saucer -->
  1299. <vanishAppearance>
  1300. <layers>
  1301. <sprite layer="0">
  1302. <animation>
  1303. <animation>
  1304. <event id="2"/>
  1305. </animation>
  1306. </animation>
  1307. </sprite>
  1308. </layers>
  1309. </vanishAppearance>
  1310. </instance>
  1311. <instance
  1312. name="titanium.powerup"
  1313. hint="hint.barricade_powerup"
  1314. class="worm.powerups.ResourcePowerupFeature"
  1315. title="=$titanium.powerup.title"
  1316. collect="collectShieldGenerator.buffer"
  1317. labelColorStart="=$powerup_label_green_start"
  1318. labelColorEnd="=$powerup_label_green_end"
  1319. resource="building.generic.titanium"
  1320. amount="15"
  1321. >
  1322. <!-- Event 1 on first sprite makes saucer zappable -->
  1323. <appearance>
  1324. <layers scale="0.5">
  1325. <sprite>
  1326. <animation>
  1327. <animation>
  1328. <event id="1"/>
  1329. </animation>
  1330. </animation>
  1331. </sprite>
  1332. <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
  1333. <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
  1334. <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="titanium.powerup.animation" />
  1335. </layers>
  1336. </appearance>
  1337. <shopAppearance>
  1338. <layers>
  1339. <sprite layer="10" image="spriteimage.powerup.large.strengthen.01"/>
  1340. </layers>
  1341. </shopAppearance>
  1342. <!-- Event 2 on first sprite removes the saucer -->
  1343. <collectAppearance>
  1344. <layers>
  1345. <sprite layer="0">
  1346. <animation>
  1347. <animation>
  1348. <event id="2"/>
  1349. </animation>
  1350. </animation>
  1351. </sprite>
  1352. <emitter emitter="titanium.collect.emitter"/>
  1353. </layers>
  1354. </collectAppearance>
  1355. <!-- Event 2 on first sprite removes the saucer -->
  1356. <vanishAppearance>
  1357. <layers>
  1358. <sprite layer="0">
  1359. <animation>
  1360. <animation>
  1361. <event id="2"/>
  1362. </animation>
  1363. </animation>
  1364. </sprite>
  1365. </layers>
  1366. </vanishAppearance>
  1367. </instance>
  1368. <instance
  1369. name="nanomesh.powerup"
  1370. hint="hint.barricade_powerup"
  1371. class="worm.powerups.ResourcePowerupFeature"
  1372. title="=$nanomesh.powerup.title"
  1373. collect="collectShieldGenerator.buffer"
  1374. labelColorStart="=$powerup_label_green_start"
  1375. labelColorEnd="=$powerup_label_green_end"
  1376. resource="building.generic.nanomesh"
  1377. amount="10"
  1378. >
  1379. <!-- Event 1 on first sprite makes saucer zappable -->
  1380. <appearance>
  1381. <layers scale="0.5">
  1382. <sprite>
  1383. <animation>
  1384. <animation>
  1385. <event id="1"/>
  1386. </animation>
  1387. </animation>
  1388. </sprite>
  1389. <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
  1390. <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
  1391. <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="nanomesh.powerup.animation" />
  1392. </layers>
  1393. </appearance>
  1394. <shopAppearance>
  1395. <layers>
  1396. <sprite layer="10" image="spriteimage.powerup.large.strengthen.01"/>
  1397. </layers>
  1398. </shopAppearance>
  1399. <!-- Event 2 on first sprite removes the saucer -->
  1400. <collectAppearance>
  1401. <layers>
  1402. <sprite layer="0">
  1403. <animation>
  1404. <animation>
  1405. <event id="2"/>
  1406. </animation>
  1407. </animation>
  1408. </sprite>
  1409. <emitter emitter="nanomesh.collect.emitter"/>
  1410. </layers>
  1411. </collectAppearance>
  1412. <!-- Event 2 on first sprite removes the saucer -->
  1413. <vanishAppearance>
  1414. <layers>
  1415. <sprite layer="0">
  1416. <animation>
  1417. <animation>
  1418. <event id="2"/>
  1419. </animation>
  1420. </animation>
  1421. </sprite>
  1422. </layers>
  1423. </vanishAppearance>
  1424. </instance>
  1425. <instance
  1426. name="mines.powerup"
  1427. hint="hint.mines_powerup"
  1428. class="worm.powerups.ResourcePowerupFeature"
  1429. title="=$mines.powerup.title"
  1430. collect="collectShieldGenerator.buffer"
  1431. labelColorStart="=$powerup_label_red_start"
  1432. labelColorEnd="=$powerup_label_red_end"
  1433. resource="building.generic.mine"
  1434. amount="25"
  1435. >
  1436. <!-- Event 1 on first sprite makes saucer zappable -->
  1437. <appearance>
  1438. <layers scale="0.5">
  1439. <sprite>
  1440. <animation>
  1441. <animation>
  1442. <event id="1"/>
  1443. </animation>
  1444. </animation>
  1445. </sprite>
  1446. <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
  1447. <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
  1448. <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="mines.powerup.animation" />
  1449. </layers>
  1450. </appearance>
  1451. <shopAppearance>
  1452. <layers>
  1453. <sprite layer="10" image="spriteimage.powerup.large.strengthen.01"/>
  1454. </layers>
  1455. </shopAppearance>
  1456. <!-- Event 2 on first sprite removes the saucer -->
  1457. <collectAppearance>
  1458. <layers>
  1459. <sprite layer="0">
  1460. <animation>
  1461. <animation>
  1462. <event id="2"/>
  1463. </animation>
  1464. </animation>
  1465. </sprite>
  1466. <emitter emitter="mines.collect.emitter"/>
  1467. </layers>
  1468. </collectAppearance>
  1469. <!-- Event 2 on first sprite removes the saucer -->
  1470. <vanishAppearance>
  1471. <layers>
  1472. <sprite layer="0">
  1473. <animation>
  1474. <animation>
  1475. <event id="2"/>
  1476. </animation>
  1477. </animation>
  1478. </sprite>
  1479. </layers>
  1480. </vanishAppearance>
  1481. </instance>
  1482. <instance
  1483. name="clustermines.powerup"
  1484. hint="hint.mines_powerup"
  1485. class="worm.powerups.ResourcePowerupFeature"
  1486. title="=$clustermines.powerup.title"
  1487. collect="collectShieldGenerator.buffer"
  1488. labelColorStart="=$powerup_label_red_start"
  1489. labelColorEnd="=$powerup_label_red_end"
  1490. resource="building.generic.clustermine"
  1491. amount="15"
  1492. >
  1493. <!-- Event 1 on first sprite makes saucer zappable -->
  1494. <appearance>
  1495. <layers scale="0.5">
  1496. <sprite>
  1497. <animation>
  1498. <animation>
  1499. <event id="1"/>
  1500. </animation>
  1501. </animation>
  1502. </sprite>
  1503. <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
  1504. <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
  1505. <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="clustermines.powerup.animation" />
  1506. </layers>
  1507. </appearance>
  1508. <shopAppearance>
  1509. <layers>
  1510. <sprite layer="10" image="spriteimage.powerup.large.strengthen.01"/>
  1511. </layers>
  1512. </shopAppearance>
  1513. <!-- Event 2 on first sprite removes the saucer -->
  1514. <collectAppearance>
  1515. <layers>
  1516. <sprite layer="0">
  1517. <animation>
  1518. <animation>
  1519. <event id="2"/>
  1520. </animation>
  1521. </animation>
  1522. </sprite>
  1523. <emitter emitter="clustermines.collect.emitter"/>
  1524. </layers>
  1525. </collectAppearance>
  1526. <!-- Event 2 on first sprite removes the saucer -->
  1527. <vanishAppearance>
  1528. <layers>
  1529. <sprite layer="0">
  1530. <animation>
  1531. <animation>
  1532. <event id="2"/>
  1533. </animation>
  1534. </animation>
  1535. </sprite>
  1536. </layers>
  1537. </vanishAppearance>
  1538. </instance>
  1539. <instance
  1540. name="blastmines.powerup"
  1541. hint="hint.mines_powerup"
  1542. class="worm.powerups.ResourcePowerupFeature"
  1543. title="=$blastmines.powerup.title"
  1544. collect="collectShieldGenerator.buffer"
  1545. labelColorStart="=$powerup_label_red_start"
  1546. labelColorEnd="=$powerup_label_red_end"
  1547. resource="building.generic.blastmine"
  1548. amount="5"
  1549. >
  1550. <!-- Event 1 on first sprite makes saucer zappable -->
  1551. <appearance>
  1552. <layers scale="0.5">
  1553. <sprite>
  1554. <animation>
  1555. <animation>
  1556. <event id="1"/>
  1557. </animation>
  1558. </animation>
  1559. </sprite>
  1560. <sprite layer="5" offset="0,16" sublayer="3" bottomColored="floor-fog" topColored="buildings" attenuated="true" animation="powerup.animation" />
  1561. <sprite layer="4" colored="shadow" attenuated="true" animation="powerup.ground.animation" />
  1562. <sprite layer="5" offset="0,16" sublayer="4" doChildOffset="true" animation="blastmines.powerup.animation" />
  1563. </layers>
  1564. </appearance>
  1565. <shopAppearance>
  1566. <layers>
  1567. <sprite layer="10" image="spriteimage.powerup.large.strengthen.01"/>
  1568. </layers>
  1569. </shopAppearance>
  1570. <!-- Event 2 on first sprite removes the saucer -->
  1571. <collectAppearance>
  1572. <layers>
  1573. <sprite layer="0">
  1574. <animation>
  1575. <animation>
  1576. <event id="2"/>
  1577. </animation>
  1578. </animation>
  1579. </sprite>
  1580. <emitter emitter="blastmines.collect.emitter"/>
  1581. </layers>
  1582. </collectAppearance>
  1583. <!-- Event 2 on first sprite removes the saucer -->
  1584. <vanishAppearance>
  1585. <layers>
  1586. <sprite layer="0">
  1587. <animation>
  1588. <animation>
  1589. <event id="2"/>
  1590. </animation>
  1591. </animation>
  1592. </sprite>
  1593. </layers>
  1594. </vanishAppearance>
  1595. </instance>
  1596. <!-- Powerup collection -->
  1597. <animation name="collect.light.animation">
  1598. <frame i="spriteimage.particle.light.64px.01" d="1"/>
  1599. <alpha alpha="0" d="2"/>
  1600. <alpha alpha="255" d="2"/>
  1601. <goto seq="1"/>
  1602. </animation>
  1603. <emitter
  1604. name="collect.emitter"
  1605. appearance="glitter.animation"
  1606. inherit="ping.emitter"
  1607. velocity="7.0"
  1608. acceleration="-0.7"
  1609. />
  1610. <emitter
  1611. name="collect.red.emitter"
  1612. inherit="collect.emitter"
  1613. startHue="0.01"
  1614. endBrightness="0.5"
  1615. />
  1616. <emitter
  1617. name="collect.green.emitter"
  1618. inherit="collect.emitter"
  1619. startHue="0.27"
  1620. endBrightness="0.25"
  1621. />
  1622. <emitter
  1623. name="collect.cyan.emitter"
  1624. inherit="collect.emitter"
  1625. startHue="0.5"
  1626. endBrightness="0.3"
  1627. />
  1628. <emitter
  1629. name="collect.yellow.emitter"
  1630. inherit="collect.emitter"
  1631. startHue="0.17"
  1632. endBrightness="0.3"
  1633. />
  1634. <emitter
  1635. name="collect.purple.emitter"
  1636. inherit="collect.emitter"
  1637. startHue="0.77"
  1638. endBrightness="0.6"
  1639. />
  1640. <emitter
  1641. name="collect.light.emitter"
  1642. duration="1.0"
  1643. particlesPerTick="1.0"
  1644. appearance="spriteimage.particle.light.64px.02"
  1645. layer="6"
  1646. startScale="0.5"
  1647. scale="2.0"
  1648. endScale="0.8"
  1649. particleDuration="8.0"
  1650. fadeDuration="64.0"
  1651. startHue="0.27"
  1652. startSaturation="1.0"
  1653. startBrightness="1.0"
  1654. endHue="0.35"
  1655. endSaturation="1.0"
  1656. endBrightness="0.3"
  1657. />
  1658. <emitter
  1659. name="collect.light.flash.emitter"
  1660. duration="1.0"
  1661. particlesPerTick="1.0"
  1662. appearance="collect.light.animation"
  1663. layer="6"
  1664. startScale="0.25"
  1665. scale="0.75"
  1666. endScale="0.5"
  1667. particleDuration="4.0"
  1668. fadeDuration="16.0"
  1669. startHue="0.0010"
  1670. startSaturation="0.0"
  1671. startBrightness="0.5"
  1672. endHue="0.0010"
  1673. endSaturation="0.0"
  1674. endBrightness="0.25"
  1675. />
  1676. <emitter
  1677. name="collect.light.red.emitter"
  1678. inherit="collect.light.emitter"
  1679. startHue="0.01"
  1680. endHue="0.0010"
  1681. endBrightness="0.8"
  1682. />
  1683. <emitter
  1684. name="collect.light.green.emitter"
  1685. inherit="collect.light.emitter"
  1686. startHue="0.27"
  1687. endHue="0.35"
  1688. endBrightness="0.4"
  1689. />
  1690. <emitter
  1691. name="collect.light.cyan.emitter"
  1692. inherit="collect.light.emitter"
  1693. startHue="0.5"
  1694. endHue="0.52"
  1695. endBrightness="0.5"
  1696. />
  1697. <emitter
  1698. name="collect.light.yellow.emitter"
  1699. inherit="collect.light.emitter"
  1700. startHue="0.17"
  1701. endHue="0.11"
  1702. endBrightness="0.5"
  1703. />
  1704. <emitter
  1705. name="collect.light.purple.emitter"
  1706. inherit="collect.light.emitter"
  1707. startHue="0.77"
  1708. endHue="0.68"
  1709. endBrightness="0.9"
  1710. />
  1711. <emitter
  1712. name="collect.icon.emitter"
  1713. duration="2.0"
  1714. particlesPerTick="1.0"
  1715. appearance="spriteimage.particle.powerup.money.01"
  1716. layer="6"
  1717. startScale="0.3"
  1718. scale="0.6"
  1719. endScale="2.0"
  1720. gravityY="0.015"
  1721. particleDuration="20.0"
  1722. fadeDuration="45.0"
  1723. angle="90.0"
  1724. rotate="false"
  1725. velocity="1"
  1726. acceleration="-0.5"
  1727. />
  1728. <!-- rotate="true" -->
  1729. <emitter name="money.collect.emitter" inherit="collect.yellow.emitter">
  1730. <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.money.01">
  1731. <chain><emitter inherit="collect.light.yellow.emitter">
  1732. <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
  1733. <emitter name="bezerk.collect.emitter" inherit="collect.red.emitter">
  1734. <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.bezerk.01">
  1735. <chain><emitter inherit="collect.light.red.emitter">
  1736. <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
  1737. <emitter name="repair.collect.emitter" inherit="collect.green.emitter">
  1738. <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.repair.01">
  1739. <chain><emitter inherit="collect.light.green.emitter">
  1740. <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
  1741. <emitter name="shield.collect.emitter" inherit="collect.green.emitter">
  1742. <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.shield.01">
  1743. <chain><emitter inherit="collect.light.green.emitter">
  1744. <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
  1745. <emitter name="freeze.collect.emitter" inherit="collect.green.emitter">
  1746. <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.freeze.01">
  1747. <chain><emitter inherit="collect.light.green.emitter">
  1748. <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
  1749. <emitter name="smartbomb.collect.emitter" inherit="collect.red.emitter">
  1750. <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.smartbomb.01">
  1751. <chain><emitter inherit="collect.light.red.emitter">
  1752. <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
  1753. <emitter name="lithium.collect.emitter" inherit="collect.cyan.emitter">
  1754. <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.lithium.01">
  1755. <chain><emitter inherit="collect.light.cyan.emitter">
  1756. <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
  1757. <emitter name="flux.collect.emitter" inherit="collect.cyan.emitter">
  1758. <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.flux.01">
  1759. <chain><emitter inherit="collect.light.cyan.emitter">
  1760. <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
  1761. <emitter name="nitrogen.collect.emitter" inherit="collect.cyan.emitter">
  1762. <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.nitrogen.01">
  1763. <chain><emitter inherit="collect.light.cyan.emitter">
  1764. <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
  1765. <emitter name="plutonium.collect.emitter" inherit="collect.cyan.emitter">
  1766. <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.plutonium.01">
  1767. <chain><emitter inherit="collect.light.cyan.emitter">
  1768. <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
  1769. <emitter name="radar.collect.emitter" inherit="collect.cyan.emitter">
  1770. <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.radar.01">
  1771. <chain><emitter inherit="collect.light.cyan.emitter">
  1772. <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
  1773. <emitter name="strengthen.collect.emitter" inherit="collect.cyan.emitter">
  1774. <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.strengthen.01">
  1775. <chain><emitter inherit="collect.light.cyan.emitter">
  1776. <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
  1777. <emitter name="concrete.collect.emitter" inherit="collect.green.emitter">
  1778. <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.survival.concrete.01">
  1779. <chain><emitter inherit="collect.light.green.emitter">
  1780. <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
  1781. <emitter name="steel.collect.emitter" inherit="collect.green.emitter">
  1782. <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.survival.steel.01">
  1783. <chain><emitter inherit="collect.light.green.emitter">
  1784. <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
  1785. <emitter name="titanium.collect.emitter" inherit="collect.green.emitter">
  1786. <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.survival.titanium.01">
  1787. <chain><emitter inherit="collect.light.green.emitter">
  1788. <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
  1789. <emitter name="nanomesh.collect.emitter" inherit="collect.green.emitter">
  1790. <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.survival.nanomesh.01">
  1791. <chain><emitter inherit="collect.light.green.emitter">
  1792. <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
  1793. <emitter name="mines.collect.emitter" inherit="collect.red.emitter">
  1794. <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.survival.mines.01">
  1795. <chain><emitter inherit="collect.light.red.emitter">
  1796. <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
  1797. <emitter name="clustermines.collect.emitter" inherit="collect.red.emitter">
  1798. <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.survival.clustermines.01">
  1799. <chain><emitter inherit="collect.light.red.emitter">
  1800. <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
  1801. <emitter name="blastmines.collect.emitter" inherit="collect.red.emitter">
  1802. <chain><emitter inherit="collect.icon.emitter" appearance="spriteimage.particle.powerup.survival.blastmines.01">
  1803. <chain><emitter inherit="collect.light.red.emitter">
  1804. <slave><emitter inherit="collect.light.flash.emitter"/></slave></emitter></chain></emitter></chain></emitter>
  1805. </resources>