Advertisement
yojimbos_law

impressively annoying script output

Jun 2nd, 2019
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.75 KB | None | 0 0
  1. > alias tcrspotions => ashq float max = -10000000;float[effect] list;foreach i in $items[]{if(i.string_modifier("effect").to_effect().numeric_modifier($string[%%]) != 0){list[i.string_modifier("effect").to_effect()] = i.string_modifier("effect").to_effect().numeric_modifier($string[%%]);if( i.string_modifier("effect").to_effect().numeric_modifier($string[%%]) > max){max = i.string_modifier("effect").to_effect().numeric_modifier($string[%%]);}}}int[float] ordered;ordered[max] = 0;int index = 0;boolean include = true;boolean leftovers = true;while(leftovers){max = -10000000;foreach i in list{include = true;foreach j in ordered{if(list[i] >= j){include = false;}}if(include && list[i] > max){max = list[i];}}index++;ordered[max] = index;leftovers = false;foreach i in list{include = false;foreach j in ordered{if(list[i] == j){include = true;}}if(!include){leftovers = true;}}}for i from index to 0 by -1{foreach j in ordered{if(ordered[j] == i){foreach k in $items[]{if(k.string_modifier("effect").to_effect().numeric_modifier($string[%%]) == j)print_html(k.string_modifier("effect").to_effect()+"( from "+k+") gives "+k.string_modifier("effect").to_effect().numeric_modifier($string[%%])+" "+$string[%%]);}}}}
  2.  
  3. String successfully aliased.
  4. tcrspotions => ashq float max = -10000000;float[effect] list;foreach i in $items[]{if(i.string_modifier("effect").to_effect().numeric_modifier($string[%%]) != 0){list[i.string_modifier("effect").to_effect()] = i.string_modifier("effect").to_effect().numeric_modifier($string[%%]);if( i.string_modifier("effect").to_effect().numeric_modifier($string[%%]) > max){max = i.string_modifier("effect").to_effect().numeric_modifier($string[%%]);}}}int[float] ordered;ordered[max] = 0;int index = 0;boolean include = true;boolean leftovers = true;while(leftovers){max = -10000000;foreach i in list{include = true;foreach j in ordered{if(list[i] >= j){include = false;}}if(include && list[i] > max){max = list[i];}}index++;ordered[max] = index;leftovers = false;foreach i in list{include = false;foreach j in ordered{if(list[i] == j){include = true;}}if(!include){leftovers = true;}}}for i from index to 0 by -1{foreach j in ordered{if(ordered[j] == i){foreach k in $items[]{if(k.string_modifier("effect").to_effect().numeric_modifier($string[%%]) == j)print_html(k.string_modifier("effect").to_effect()+"( from "+k+") gives "+k.string_modifier("effect").to_effect().numeric_modifier($string[%%])+" "+$string[%%]);}}}}
  5.  
  6. > tcrspotions cold damage
  7.  
  8. Multiple matches for "Slicked-Back Do"; using "[1553]Slicked-Back Do". () Clarify by using one of:
  9. "[1342]Slicked-Back Do"
  10. "[1553]Slicked-Back Do"
  11. Multiple matches for "A Little Bit Evil"; using "[602]A Little Bit Evil". () Clarify by using one of:
  12. "[597]A Little Bit Evil"
  13. "[598]A Little Bit Evil"
  14. "[599]A Little Bit Evil"
  15. "[600]A Little Bit Evil"
  16. "[601]A Little Bit Evil"
  17. "[602]A Little Bit Evil"
  18. Multiple matches for "Hip to the Jive"; using "[1872]Hip to the Jive". () Clarify by using one of:
  19. "[1701]Hip to the Jive"
  20. "[1872]Hip to the Jive"
  21. Multiple matches for "Slicked-Back Do"; using "[1553]Slicked-Back Do". () Clarify by using one of:
  22. "[1342]Slicked-Back Do"
  23. "[1553]Slicked-Back Do"
  24. All Glory To the Toad( from lesser grodulated violet) gives 2.0 cold damage
  25. Multiple matches for "Slicked-Back Do"; using "[1553]Slicked-Back Do". () Clarify by using one of:
  26. "[1342]Slicked-Back Do"
  27. "[1553]Slicked-Back Do"
  28. Tasting the Rainbow( from jug of baconstone juice) gives 2.0 cold damage
  29. All Glory To the Toad( from fruitfilm) gives 2.0 cold damage
  30. Multiple matches for "A Little Bit Evil"; using "[602]A Little Bit Evil". () Clarify by using one of:
  31. "[597]A Little Bit Evil"
  32. "[598]A Little Bit Evil"
  33. "[599]A Little Bit Evil"
  34. "[600]A Little Bit Evil"
  35. "[601]A Little Bit Evil"
  36. "[602]A Little Bit Evil"
  37. All Glory To the Toad( from CRIMBCO wine) gives 2.0 cold damage
  38. Multiple matches for "Hip to the Jive"; using "[1872]Hip to the Jive". () Clarify by using one of:
  39. "[1701]Hip to the Jive"
  40. "[1872]Hip to the Jive"
  41. Multiple matches for "Slicked-Back Do"; using "[1553]Slicked-Back Do". () Clarify by using one of:
  42. "[1342]Slicked-Back Do"
  43. "[1553]Slicked-Back Do"
  44. Elemental Flavor( from White Citadel burger) gives 5.0 cold damage
  45. Cold Jellied( from radio button candy) gives 5.0 cold damage
  46. damage.enh( from herbal stuffing) gives 5.0 cold damage
  47. Powder Power( from eyedrops of the ocelot) gives 5.0 cold damage
  48. Powder Power( from astral mushroom) gives 5.0 cold damage
  49. Altered Wavelengths( from orange-frosted astral cupcake) gives 5.0 cold damage
  50. Cold Jellied( from banana smoothie) gives 5.0 cold damage
  51. Multiple matches for "Slicked-Back Do"; using "[1553]Slicked-Back Do". () Clarify by using one of:
  52. "[1342]Slicked-Back Do"
  53. "[1553]Slicked-Back Do"
  54. Elemental Mastery( from fish-liver oil) gives 5.0 cold damage
  55. Multiple matches for "A Little Bit Evil"; using "[602]A Little Bit Evil". () Clarify by using one of:
  56. "[597]A Little Bit Evil"
  57. "[598]A Little Bit Evil"
  58. "[599]A Little Bit Evil"
  59. "[600]A Little Bit Evil"
  60. "[601]A Little Bit Evil"
  61. "[602]A Little Bit Evil"
  62. Corona de la Salsa( from Polka Pop) gives 5.0 cold damage
  63. damage.enh( from Flan in the Moon) gives 5.0 cold damage
  64. Colorful Gratitude( from BRICKO stud) gives 5.0 cold damage
  65. Elemental Mastery( from 37x37x37 puzzle cube) gives 5.0 cold damage
  66. Cold Jellied( from Nachojito) gives 5.0 cold damage
  67. Elemental Mastery( from pulled red taffy) gives 5.0 cold damage
  68. Elemental Mastery( from disco horoscope (Libra)) gives 5.0 cold damage
  69. Multiple matches for "Hip to the Jive"; using "[1872]Hip to the Jive". () Clarify by using one of:
  70. "[1701]Hip to the Jive"
  71. "[1872]Hip to the Jive"
  72. Ooh, Salty!( from iron torso box) gives 5.0 cold damage
  73. Ooh, Salty!( from sticky lava globs) gives 5.0 cold damage
  74. Elemental Mastery( from poker face paint) gives 5.0 cold damage
  75. Elemental Mastery( from runproof mascara) gives 5.0 cold damage
  76. Multiple matches for "Slicked-Back Do"; using "[1553]Slicked-Back Do". () Clarify by using one of:
  77. "[1342]Slicked-Back Do"
  78. "[1553]Slicked-Back Do"
  79. Wintry Breath( from jumping bean burrito) gives 10.0 cold damage
  80. Multiple matches for "Slicked-Back Do"; using "[1553]Slicked-Back Do". () Clarify by using one of:
  81. "[1342]Slicked-Back Do"
  82. "[1553]Slicked-Back Do"
  83. Multiple matches for "A Little Bit Evil"; using "[602]A Little Bit Evil". () Clarify by using one of:
  84. "[597]A Little Bit Evil"
  85. "[598]A Little Bit Evil"
  86. "[599]A Little Bit Evil"
  87. "[600]A Little Bit Evil"
  88. "[601]A Little Bit Evil"
  89. "[602]A Little Bit Evil"
  90. Penguinny Flavor( from sugar plum) gives 10.0 cold damage
  91. Penguinny Flavor( from vial of brown slime) gives 10.0 cold damage
  92. Cold Hands( from Atomic Pop) gives 10.0 cold damage
  93. Wintry Breath( from unholy water) gives 10.0 cold damage
  94. Berry Berry Cold( from disco horoscope (Pisces)) gives 10.0 cold damage
  95. Multiple matches for "Hip to the Jive"; using "[1872]Hip to the Jive". () Clarify by using one of:
  96. "[1701]Hip to the Jive"
  97. "[1872]Hip to the Jive"
  98. Wintry Breath( from Gene Tonic: Elf) gives 10.0 cold damage
  99. Penguinny Flavor( from baloney rotgut) gives 10.0 cold damage
  100. Cold Blooded( from cuppa Flexibili tea) gives 10.0 cold damage
  101. Berry Berry Cold( from ghost bit) gives 10.0 cold damage
  102. Berry Berry Cold( from tightly-wound spine) gives 10.0 cold damage
  103. Cold Hands( from Racisto Ruidoso) gives 10.0 cold damage
  104. Multiple matches for "Slicked-Back Do"; using "[1553]Slicked-Back Do". () Clarify by using one of:
  105. "[1342]Slicked-Back Do"
  106. "[1553]Slicked-Back Do"
  107. Multiple matches for "Slicked-Back Do"; using "[1553]Slicked-Back Do". () Clarify by using one of:
  108. "[1342]Slicked-Back Do"
  109. "[1553]Slicked-Back Do"
  110. Multiple matches for "A Little Bit Evil"; using "[602]A Little Bit Evil". () Clarify by using one of:
  111. "[597]A Little Bit Evil"
  112. "[598]A Little Bit Evil"
  113. "[599]A Little Bit Evil"
  114. "[600]A Little Bit Evil"
  115. "[601]A Little Bit Evil"
  116. "[602]A Little Bit Evil"
  117. Multiple matches for "Hip to the Jive"; using "[1872]Hip to the Jive". () Clarify by using one of:
  118. "[1701]Hip to the Jive"
  119. "[1872]Hip to the Jive"
  120. Belch the Rainbow™( from silver face paint) gives 11.0 cold damage
  121. Frozen Hands( from Sacramento wine) gives 11.0 cold damage
  122. Multiple matches for "Slicked-Back Do"; using "[1553]Slicked-Back Do". () Clarify by using one of:
  123. "[1342]Slicked-Back Do"
  124. "[1553]Slicked-Back Do"
  125. Rainbow Bright( from wintergreen-flavored potato chips) gives 15.0 cold damage
  126. Multiple matches for "Slicked-Back Do"; using "[1553]Slicked-Back Do". () Clarify by using one of:
  127. "[1342]Slicked-Back Do"
  128. "[1553]Slicked-Back Do"
  129. Multiple matches for "A Little Bit Evil"; using "[602]A Little Bit Evil". () Clarify by using one of:
  130. "[597]A Little Bit Evil"
  131. "[598]A Little Bit Evil"
  132. "[599]A Little Bit Evil"
  133. "[600]A Little Bit Evil"
  134. "[601]A Little Bit Evil"
  135. "[602]A Little Bit Evil"
  136. Frostbeard( from Ultrasoldier Serum) gives 15.0 cold damage
  137. Frostbeard( from Comet Drop) gives 15.0 cold damage
  138. Frostbeard( from Polysniff Perfume) gives 15.0 cold damage
  139. Multiple matches for "Hip to the Jive"; using "[1872]Hip to the Jive". () Clarify by using one of:
  140. "[1701]Hip to the Jive"
  141. "[1872]Hip to the Jive"
  142. Frostbeard( from eyebrow lifter) gives 15.0 cold damage
  143. Frostbeard( from demon makeup kit) gives 15.0 cold damage
  144. Benetton's Medley of Diversity( from corrupted marrow) gives 15.0 cold damage
  145. Multiple matches for "Slicked-Back Do"; using "[1553]Slicked-Back Do". () Clarify by using one of:
  146. "[1342]Slicked-Back Do"
  147. "[1553]Slicked-Back Do"
  148. Multiple matches for "Slicked-Back Do"; using "[1553]Slicked-Back Do". () Clarify by using one of:
  149. "[1342]Slicked-Back Do"
  150. "[1553]Slicked-Back Do"
  151. Multiple matches for "A Little Bit Evil"; using "[602]A Little Bit Evil". () Clarify by using one of:
  152. "[597]A Little Bit Evil"
  153. "[598]A Little Bit Evil"
  154. "[599]A Little Bit Evil"
  155. "[600]A Little Bit Evil"
  156. "[601]A Little Bit Evil"
  157. "[602]A Little Bit Evil"
  158. Cool Spirit( from Instant Karma) gives 20.0 cold damage
  159. You Drank Fish Wine( from honeypot) gives 20.0 cold damage
  160. Human-Plant Hybrid( from orcish rubber) gives 20.0 cold damage
  161. Multiple matches for "Hip to the Jive"; using "[1872]Hip to the Jive". () Clarify by using one of:
  162. "[1701]Hip to the Jive"
  163. "[1872]Hip to the Jive"
  164. Cool Spirit( from artisanal hand-squeezed wheatgrass juice) gives 20.0 cold damage
  165. Multiple matches for "Slicked-Back Do"; using "[1553]Slicked-Back Do". () Clarify by using one of:
  166. "[1342]Slicked-Back Do"
  167. "[1553]Slicked-Back Do"
  168. Multiple matches for "Slicked-Back Do"; using "[1553]Slicked-Back Do". () Clarify by using one of:
  169. "[1342]Slicked-Back Do"
  170. "[1553]Slicked-Back Do"
  171. Multiple matches for "A Little Bit Evil"; using "[602]A Little Bit Evil". () Clarify by using one of:
  172. "[597]A Little Bit Evil"
  173. "[598]A Little Bit Evil"
  174. "[599]A Little Bit Evil"
  175. "[600]A Little Bit Evil"
  176. "[601]A Little Bit Evil"
  177. "[602]A Little Bit Evil"
  178. Boschface( from Taco Dan's Taco Stand Chillacious Churro) gives 25.0 cold damage
  179. Multiple matches for "Hip to the Jive"; using "[1872]Hip to the Jive". () Clarify by using one of:
  180. "[1701]Hip to the Jive"
  181. "[1872]Hip to the Jive"
  182. Boschface( from communal gobstopper) gives 25.0 cold damage
  183. This Is Where You're a Viking( from Bettie page) gives 25.0 cold damage
  184. Multiple matches for "Slicked-Back Do"; using "[1553]Slicked-Back Do". () Clarify by using one of:
  185. "[1342]Slicked-Back Do"
  186. "[1553]Slicked-Back Do"
  187. Multiple matches for "Slicked-Back Do"; using "[1553]Slicked-Back Do". () Clarify by using one of:
  188. "[1342]Slicked-Back Do"
  189. "[1553]Slicked-Back Do"
  190. Multiple matches for "A Little Bit Evil"; using "[602]A Little Bit Evil". () Clarify by using one of:
  191. "[597]A Little Bit Evil"
  192. "[598]A Little Bit Evil"
  193. "[599]A Little Bit Evil"
  194. "[600]A Little Bit Evil"
  195. "[601]A Little Bit Evil"
  196. "[602]A Little Bit Evil"
  197. Cold, Dead Hands( from coffee pixie stick) gives 40.0 cold damage
  198. Multiple matches for "Hip to the Jive"; using "[1872]Hip to the Jive". () Clarify by using one of:
  199. "[1701]Hip to the Jive"
  200. "[1872]Hip to the Jive"
  201. Multiple matches for "Slicked-Back Do"; using "[1553]Slicked-Back Do". () Clarify by using one of:
  202. "[1342]Slicked-Back Do"
  203. "[1553]Slicked-Back Do"
  204. Void Between the Stars( from purple snowcone) gives 50.0 cold damage
  205. Multiple matches for "Slicked-Back Do"; using "[1553]Slicked-Back Do". () Clarify by using one of:
  206. "[1342]Slicked-Back Do"
  207. "[1553]Slicked-Back Do"
  208. Multiple matches for "A Little Bit Evil"; using "[602]A Little Bit Evil". () Clarify by using one of:
  209. "[597]A Little Bit Evil"
  210. "[598]A Little Bit Evil"
  211. "[599]A Little Bit Evil"
  212. "[600]A Little Bit Evil"
  213. "[601]A Little Bit Evil"
  214. "[602]A Little Bit Evil"
  215. Coldfinger( from Aura Libre) gives 50.0 cold damage
  216. Multiple matches for "Hip to the Jive"; using "[1872]Hip to the Jive". () Clarify by using one of:
  217. "[1701]Hip to the Jive"
  218. "[1872]Hip to the Jive"
  219. Multiple matches for "Slicked-Back Do"; using "[1553]Slicked-Back Do". () Clarify by using one of:
  220. "[1342]Slicked-Back Do"
  221. "[1553]Slicked-Back Do"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement