yojimbos_law

a couple aliases for finding dece pizza effects

Nov 9th, 2019
481
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.88 KB | None | 0 0
  1. This alias takes a <=4 character string as an argument and prints all effects that start with that string.
  2.  
  3. alias horpifilter => ash foreach i in $effects[]{if(i.to_lower_case().substring(0,min(i.length(),$string[%%].length())) == $string[%%].to_lower_case()) print(i+": "+i.string_modifier("modifiers"));}
  4.  
  5. This alias wants you to input a modifier name and an integer and requires having the above alias. It then looks for all effects that contain provide at least [number] of [modifier] and prints all effects that do that alongside every effect with names that start with the same 4 letters.
  6.  
  7. alias horpisearch => ash string mod = $string[%%].group_string("^(.*)\\s(\\d+)$")[0][1]; int lim = $string[%%].group_string("^(.*)\\s(\\d+)$")[0][2].to_int(); foreach i in $effects[]{if(i.numeric_modifier(mod) >= lim ){cli_execute("horpifilter "+i.substring(0,min(i.length(),4))); print("=======");}}
  8.  
  9.  
  10. ============================================
  11. ============================================
  12. examples:
  13.  
  14.  
  15.  
  16. > horpifilter ear
  17.  
  18. Earworm:
  19. Earthen Fist:
  20. Ear Winds: Cold Resistance: +2, Hot Resistance: +2, Sleaze Resistance: +2, Spooky Resistance: +2, Stench Resistance: +2
  21. Returned: void
  22.  
  23.  
  24.  
  25.  
  26. > horpisearch meat drop 150
  27.  
  28. Sinuses For Miles: Meat Drop: +200
  29. Returned: void
  30. =======
  31. Braaains: Meat Drop: +50, Initiative: -50
  32. Braaaaaains: Meat Drop: +200, Item Drop: -50
  33. Braaaains Over Braaaawwn:
  34. Returned: void
  35. =======
  36. Let's Go Shopping!: Mysticality Percent: -300, Item Drop: +75, Meat Drop: +150
  37. Returned: void
  38. =======
  39. Buy! Sell! Buy! Sell!: Meat Drop: [max(0,202-2*T)]
  40. Returned: void
  41. =======
  42. Covetous Robbery:
  43. Covetin' Drunk: Meat Drop: +200
  44. Returned: void
  45. =======
  46. Frosty the Hitman:
  47. Frostbitten: Cold Damage: +10, Damage Reduction: -2
  48. Frosty: Initiative: +100, Item Drop: +100, Meat Drop: +200, Monster Level: +25
  49. Frost Tea: Hot Resistance: +3
  50. Frostbeard: Cold Damage: +15
  51. Returned: void
  52. =======
  53. Synthesized: Damage Reduction: 8, Weapon Damage: -8
  54. Synthesis: Hot: Hot Resistance: +9
  55. Synthesis: Cold: Cold Resistance: +9
  56. Synthesis: Pungent: Stench Resistance: +9
  57. Synthesis: Scary: Spooky Resistance: +9
  58. Synthesis: Greasy: Sleaze Resistance: +9
  59. Synthesis: Strong: Muscle Percent: +300
  60. Synthesis: Smart: Mysticality Percent: +300
  61. Synthesis: Cool: Moxie Percent: +300
  62. Synthesis: Hardy: Maximum HP Percent: +300
  63. Synthesis: Energy: Maximum MP Percent: +300
  64. Synthesis: Greed: Meat Drop: +300
  65. Synthesis: Collection: Item Drop: +150
  66. Synthesis: Movement: Experience Percent (Muscle): +50
  67. Synthesis: Learning: Experience Percent (Mysticality): +50
  68. Synthesis: Style: Experience Percent (Moxie): +50
  69. Returned: void
  70. =======
  71. Wolf's Bane:
  72. Wolf Form: Muscle Percent: +150, Meat Drop: +150
  73. Wolfish Form: Muscle Percent: +50, Meat Drop: +50
  74. Returned: void
  75. =======
  76. Returned: void
  77.  
  78.  
  79.  
  80.  
  81.  
  82. > horpisearch hot resistance 5
  83.  
  84. Fireproof Lips: Hot Resistance: +9
  85. Fire Down Below: Hot Damage: [min(100,T)]
  86. Fire Inside: Hot Damage: +25
  87. Returned: void
  88. =======
  89. Superhuman Sarcasm: Moxie Percent: +100
  90. Super-Charged: Muscle Percent: +5, Mysticality Percent: +5, Moxie Percent: +5
  91. Super-Mega-Charged: Muscle Percent: +10, Mysticality Percent: +10, Moxie Percent: +10
  92. Super-Mega-Ultra-Charged: Muscle Percent: +15, Mysticality Percent: +15, Moxie Percent: +15
  93. Super-Mega-Ultra-Hyper-Charged: Muscle Percent: +20, Mysticality Percent: +20, Moxie Percent: +20
  94. Super Skill:
  95. Super Structure: Damage Absorption: +500, Hot Resistance: +5, Cold Resistance: +5, Spooky Resistance: +5, Stench Resistance: +5, Sleaze Resistance: +5
  96. Super Vision: Item Drop: +25
  97. Super Speed: Moxie Percent: +100
  98. Super Accuracy: Critical Hit Percent: +30
  99. SuperStar:
  100. Super Calloused Agile Mystic: Avatar: "ancient insane monk"
  101. Superveiny 9000: Maximum HP: +300
  102. Superheated Guts: Supercold Resistance: +3
  103. Superheroic: Muscle: +10, Weapon Damage: +10, Critical Hit Percent: +10
  104. Superdrifting: Experience Percent (Muscle): +20, Experience Percent (Mysticality): +20, Experience Percent (Moxie): +20
  105. Super-Electrified: Maximum MP: +200, MP Regen Min: 30, MP Regen Max: 40
  106. Superioreo: Experience: +5, Maximum HP Percent: +100
  107. Returned: void
  108. =======
  109. Hotform: Hot Immunity, Sleaze Vulnerability, Stench Vulnerability
  110. Hot Breath:
  111. Hot Blooded: Muscle Percent: +30, Mysticality Percent: +10, Moxie Percent: +20, Hot Damage: +10, Hot Resistance: +2
  112. Hotcaked: Hot Resistance: +3
  113. Hot Sweat: Hot Resistance: +7
  114. Hot Hands: Hot Damage: +10, Hot Spell Damage: +20, Cold Resistance: +2, Spooky Resistance: +2
  115. Hot Jellied: Experience (Muscle): +3, Hot Damage: +5, Muscle Percent: +30
  116. Hot Buttoned: Hot Damage: +10, Hot Spell Damage: +10
  117. Hot-Headed: Hot Resistance: +3, Hot Damage: +15, Hot Spell Damage: +15
  118. Returned: void
  119. =======
  120. Video Game Hot Dog: Item Drop: +25, Meat Drop: +25
  121. Video... Games?: Muscle: +5, Mysticality: +5, Moxie: +5, Muscle Percent: +5, Mysticality Percent: +5, Moxie Percent: +5, Maximum HP: +5, Maximum MP: +5, Maximum HP Percent: +5, Maximum MP Percent: +5, Damage Absorption: +5, Damage Reduction: 5, Hot Resistance: +5, Cold Resistance: +5, Stench Resistance: +5, Spooky Resistance: +5, Sleaze Resistance: +5, Hot Damage: +5, Cold Damage: +5, Stench Damage: +5, Spooky Damage: +5, Sleaze Damage: +5, Hot Spell Damage: +5, Cold Spell Damage: +5, Stench Spell Damage: +5, Spooky Spell Damage: +5, Sleaze Spell Damage: +5, Weapon Damage: +5, Spell Damage: +5, Ranged Damage: +5, Weapon Damage Percent: +5, Spell Damage Percent: +5, Ranged Damage Percent: +5, Critical Hit Percent: +5, Spell Critical Percent: +5, Initiative: +5, Experience: +5, Experience (Muscle): +5, Experience (Mysticality): +5, Experience (Moxie): +5, Experience Percent (Muscle): +5, Experience Percent (Mysticality): +5, Experience Percent (Moxie): +5, Meat Drop: +5, Item Drop: +5, Gear Drop: +5, Food Drop: +5, Booze Drop: +5, Candy Drop: +5, Pickpocket Chance: +5, Familiar Weight: +5, Familiar Damage: +5, Experience (familiar): +5, Monster Level: +5, Pool Skill: +5, Hobo Power: +5, Smithsness: +5, Fishing Skill: +5, Accessory Drop: +5, Hat Drop: +5, Offhand Drop: +5, Pants Drop: +5, Shirt Drop: +5, Weapon Drop: +5
  122. Returned: void
  123. =======
  124. Dreams and Lights: Mysticality: +10, Mana Cost: -3
  125. Dreadlocked: Mysticality Percent: +50, Moxie Percent: -50
  126. Dreadful Heat: Cold Resistance: +5, Spooky Resistance: +5
  127. Dreadful Chill: Stench Resistance: +5, Sleaze Resistance: +5
  128. Dreadful Fear: Cold Resistance: +5, Sleaze Resistance: +5
  129. Dreadful Smell: Hot Resistance: +5, Spooky Resistance: +5
  130. Dreadful Sheen: Hot Resistance: +5, Stench Resistance: +5
  131. Returned: void
  132. =======
  133. Dreams and Lights: Mysticality: +10, Mana Cost: -3
  134. Dreadlocked: Mysticality Percent: +50, Moxie Percent: -50
  135. Dreadful Heat: Cold Resistance: +5, Spooky Resistance: +5
  136. Dreadful Chill: Stench Resistance: +5, Sleaze Resistance: +5
  137. Dreadful Fear: Cold Resistance: +5, Sleaze Resistance: +5
  138. Dreadful Smell: Hot Resistance: +5, Spooky Resistance: +5
  139. Dreadful Sheen: Hot Resistance: +5, Stench Resistance: +5
  140. Returned: void
  141. =======
  142. Avatar of the War Snapper:
  143. Avatar of She-Who-Was: Hot Resistance: +5, Cold Resistance: +5, Spooky Resistance: +5, Stench Resistance: +5, Sleaze Resistance: +5, Spell Damage Percent: +100
  144. Avatar of the Storm Tortoise: Initiative: +100, Maximum MP: +200, MP Regen Min: 30, MP Regen Max: 40
  145. Returned: void
  146. =======
  147. Rolando's Rondo of Resisto: Hot Resistance: +5, Cold Resistance: +5, Stench Resistance: +5, Spooky Resistance: +5, Sleaze Resistance: +5, Supercold Resistance: +5
  148. Returned: void
  149. =======
  150. Coldform: Cold Immunity, Hot Vulnerability, Spooky Vulnerability
  151. Cold Breath:
  152. Cold Blooded: Muscle Percent: +30, Mysticality Percent: +20, Moxie Percent: +10, Cold Damage: +10, Cold Resistance: +2
  153. Cold Hearted: Familiar Weight: [ceil(min(T,20)/2)], Moxie: [min(T,20)]
  154. Cold Hard Skin: Cold Damage: +25, Maximum HP: +200
  155. Cold-Blooded Warm Fuzzies: Muscle Percent: +20, Mysticality Percent: +20, Moxie Percent: +20, MP Regen Min: 20, MP Regen Max: 30
  156. Cold, Dead Hands: Cold Damage: +40, Spooky Damage: +40
  157. Cold Sweat: Cold Resistance: +7
  158. Cold Hands: Cold Damage: +10, Cold Spell Damage: +20, Stench Resistance: +2, Sleaze Resistance: +2
  159. Cold Throat: Cold Spell Damage: +50, Spell Damage Percent: +100
  160. Cold as Ice: Hot Resistance: +5, Cold Damage: +50, Cold Spell Damage: +50
  161. Coldfinger: Cold Damage: +50, Cold Spell Damage: +50, Stench Resistance: +5, Sleaze Resistance: +5
  162. Cold Jellied: Experience (Mysticality): +3, Cold Damage: +5, Mysticality Percent: +30
  163. Cold as Nice: Cold Resistance: +3, Cold Damage: +15, Cold Spell Damage: +15
  164. Returned: void
  165. =======
  166. Stogied: Stench Damage: +50, Stench Spell Damage: +50, Hot Resistance: +5, Spooky Resistance: +5
  167. Returned: void
  168. =======
  169. Pained Smirk: Avatar: "Brick Mulligan, the Bartender"
  170. Painted-On Bikini: Sleaze Damage: +50, Sleaze Spell Damage: +50, Hot Resistance: +5, Stench Resistance: +5
  171. Returned: void
  172. =======
  173. Industrial Strength Starch: Muscle: +20, Mysticality: +20, Moxie: +20
  174. Industrially Frosted: Damage Reduction: 50, Hot Resistance: +5, Cold Resistance: +5, Stench Resistance: +5, Spooky Resistance: +5, Sleaze Resistance: +5, Sprinkle Drop: +250
  175. Returned: void
  176. =======
  177. Synthesized: Damage Reduction: 8, Weapon Damage: -8
  178. Synthesis: Hot: Hot Resistance: +9
  179. Synthesis: Cold: Cold Resistance: +9
  180. Synthesis: Pungent: Stench Resistance: +9
  181. Synthesis: Scary: Spooky Resistance: +9
  182. Synthesis: Greasy: Sleaze Resistance: +9
  183. Synthesis: Strong: Muscle Percent: +300
  184. Synthesis: Smart: Mysticality Percent: +300
  185. Synthesis: Cool: Moxie Percent: +300
  186. Synthesis: Hardy: Maximum HP Percent: +300
  187. Synthesis: Energy: Maximum MP Percent: +300
  188. Synthesis: Greed: Meat Drop: +300
  189. Synthesis: Collection: Item Drop: +150
  190. Synthesis: Movement: Experience Percent (Muscle): +50
  191. Synthesis: Learning: Experience Percent (Mysticality): +50
  192. Synthesis: Style: Experience Percent (Moxie): +50
  193. Returned: void
  194. =======
  195. Shield of the Pastalord:
  196. Shielded Unit: Hot Resistance: +5, Cold Resistance: +5, Stench Resistance: +5, Spooky Resistance: +5, Sleaze Resistance: +5
  197. Returned: void
  198. =======
  199. Returned: void
Advertisement
Add Comment
Please, Sign In to add comment