This alias takes a <=4 character string as an argument and prints all effects that start with that string.
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"));}
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.
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("=======");}}
============================================
============================================
examples:
> horpifilter ear
Earworm:
Earthen Fist:
Ear Winds: Cold Resistance: +2, Hot Resistance: +2, Sleaze Resistance: +2, Spooky Resistance: +2, Stench Resistance: +2
Returned: void
> horpisearch meat drop 150
Sinuses For Miles: Meat Drop: +200
Returned: void
=======
Braaains: Meat Drop: +50, Initiative: -50
Braaaaaains: Meat Drop: +200, Item Drop: -50
Braaaains Over Braaaawwn:
Returned: void
=======
Let's Go Shopping!: Mysticality Percent: -300, Item Drop: +75, Meat Drop: +150
Returned: void
=======
Buy! Sell! Buy! Sell!: Meat Drop: [max(0,202-2*T)]
Returned: void
=======
Covetous Robbery:
Covetin' Drunk: Meat Drop: +200
Returned: void
=======
Frosty the Hitman:
Frostbitten: Cold Damage: +10, Damage Reduction: -2
Frosty: Initiative: +100, Item Drop: +100, Meat Drop: +200, Monster Level: +25
Frost Tea: Hot Resistance: +3
Frostbeard: Cold Damage: +15
Returned: void
=======
Synthesized: Damage Reduction: 8, Weapon Damage: -8
Synthesis: Hot: Hot Resistance: +9
Synthesis: Cold: Cold Resistance: +9
Synthesis: Pungent: Stench Resistance: +9
Synthesis: Scary: Spooky Resistance: +9
Synthesis: Greasy: Sleaze Resistance: +9
Synthesis: Strong: Muscle Percent: +300
Synthesis: Smart: Mysticality Percent: +300
Synthesis: Cool: Moxie Percent: +300
Synthesis: Hardy: Maximum HP Percent: +300
Synthesis: Energy: Maximum MP Percent: +300
Synthesis: Greed: Meat Drop: +300
Synthesis: Collection: Item Drop: +150
Synthesis: Movement: Experience Percent (Muscle): +50
Synthesis: Learning: Experience Percent (Mysticality): +50
Synthesis: Style: Experience Percent (Moxie): +50
Returned: void
=======
Wolf's Bane:
Wolf Form: Muscle Percent: +150, Meat Drop: +150
Wolfish Form: Muscle Percent: +50, Meat Drop: +50
Returned: void
=======
Returned: void
> horpisearch hot resistance 5
Fireproof Lips: Hot Resistance: +9
Fire Down Below: Hot Damage: [min(100,T)]
Fire Inside: Hot Damage: +25
Returned: void
=======
Superhuman Sarcasm: Moxie Percent: +100
Super-Charged: Muscle Percent: +5, Mysticality Percent: +5, Moxie Percent: +5
Super-Mega-Charged: Muscle Percent: +10, Mysticality Percent: +10, Moxie Percent: +10
Super-Mega-Ultra-Charged: Muscle Percent: +15, Mysticality Percent: +15, Moxie Percent: +15
Super-Mega-Ultra-Hyper-Charged: Muscle Percent: +20, Mysticality Percent: +20, Moxie Percent: +20
Super Skill:
Super Structure: Damage Absorption: +500, Hot Resistance: +5, Cold Resistance: +5, Spooky Resistance: +5, Stench Resistance: +5, Sleaze Resistance: +5
Super Vision: Item Drop: +25
Super Speed: Moxie Percent: +100
Super Accuracy: Critical Hit Percent: +30
SuperStar:
Super Calloused Agile Mystic: Avatar: "ancient insane monk"
Superveiny 9000: Maximum HP: +300
Superheated Guts: Supercold Resistance: +3
Superheroic: Muscle: +10, Weapon Damage: +10, Critical Hit Percent: +10
Superdrifting: Experience Percent (Muscle): +20, Experience Percent (Mysticality): +20, Experience Percent (Moxie): +20
Super-Electrified: Maximum MP: +200, MP Regen Min: 30, MP Regen Max: 40
Superioreo: Experience: +5, Maximum HP Percent: +100
Returned: void
=======
Hotform: Hot Immunity, Sleaze Vulnerability, Stench Vulnerability
Hot Breath:
Hot Blooded: Muscle Percent: +30, Mysticality Percent: +10, Moxie Percent: +20, Hot Damage: +10, Hot Resistance: +2
Hotcaked: Hot Resistance: +3
Hot Sweat: Hot Resistance: +7
Hot Hands: Hot Damage: +10, Hot Spell Damage: +20, Cold Resistance: +2, Spooky Resistance: +2
Hot Jellied: Experience (Muscle): +3, Hot Damage: +5, Muscle Percent: +30
Hot Buttoned: Hot Damage: +10, Hot Spell Damage: +10
Hot-Headed: Hot Resistance: +3, Hot Damage: +15, Hot Spell Damage: +15
Returned: void
=======
Video Game Hot Dog: Item Drop: +25, Meat Drop: +25
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
Returned: void
=======
Dreams and Lights: Mysticality: +10, Mana Cost: -3
Dreadlocked: Mysticality Percent: +50, Moxie Percent: -50
Dreadful Heat: Cold Resistance: +5, Spooky Resistance: +5
Dreadful Chill: Stench Resistance: +5, Sleaze Resistance: +5
Dreadful Fear: Cold Resistance: +5, Sleaze Resistance: +5
Dreadful Smell: Hot Resistance: +5, Spooky Resistance: +5
Dreadful Sheen: Hot Resistance: +5, Stench Resistance: +5
Returned: void
=======
Dreams and Lights: Mysticality: +10, Mana Cost: -3
Dreadlocked: Mysticality Percent: +50, Moxie Percent: -50
Dreadful Heat: Cold Resistance: +5, Spooky Resistance: +5
Dreadful Chill: Stench Resistance: +5, Sleaze Resistance: +5
Dreadful Fear: Cold Resistance: +5, Sleaze Resistance: +5
Dreadful Smell: Hot Resistance: +5, Spooky Resistance: +5
Dreadful Sheen: Hot Resistance: +5, Stench Resistance: +5
Returned: void
=======
Avatar of the War Snapper:
Avatar of She-Who-Was: Hot Resistance: +5, Cold Resistance: +5, Spooky Resistance: +5, Stench Resistance: +5, Sleaze Resistance: +5, Spell Damage Percent: +100
Avatar of the Storm Tortoise: Initiative: +100, Maximum MP: +200, MP Regen Min: 30, MP Regen Max: 40
Returned: void
=======
Rolando's Rondo of Resisto: Hot Resistance: +5, Cold Resistance: +5, Stench Resistance: +5, Spooky Resistance: +5, Sleaze Resistance: +5, Supercold Resistance: +5
Returned: void
=======
Coldform: Cold Immunity, Hot Vulnerability, Spooky Vulnerability
Cold Breath:
Cold Blooded: Muscle Percent: +30, Mysticality Percent: +20, Moxie Percent: +10, Cold Damage: +10, Cold Resistance: +2
Cold Hearted: Familiar Weight: [ceil(min(T,20)/2)], Moxie: [min(T,20)]
Cold Hard Skin: Cold Damage: +25, Maximum HP: +200
Cold-Blooded Warm Fuzzies: Muscle Percent: +20, Mysticality Percent: +20, Moxie Percent: +20, MP Regen Min: 20, MP Regen Max: 30
Cold, Dead Hands: Cold Damage: +40, Spooky Damage: +40
Cold Sweat: Cold Resistance: +7
Cold Hands: Cold Damage: +10, Cold Spell Damage: +20, Stench Resistance: +2, Sleaze Resistance: +2
Cold Throat: Cold Spell Damage: +50, Spell Damage Percent: +100
Cold as Ice: Hot Resistance: +5, Cold Damage: +50, Cold Spell Damage: +50
Coldfinger: Cold Damage: +50, Cold Spell Damage: +50, Stench Resistance: +5, Sleaze Resistance: +5
Cold Jellied: Experience (Mysticality): +3, Cold Damage: +5, Mysticality Percent: +30
Cold as Nice: Cold Resistance: +3, Cold Damage: +15, Cold Spell Damage: +15
Returned: void
=======
Stogied: Stench Damage: +50, Stench Spell Damage: +50, Hot Resistance: +5, Spooky Resistance: +5
Returned: void
=======
Pained Smirk: Avatar: "Brick Mulligan, the Bartender"
Painted-On Bikini: Sleaze Damage: +50, Sleaze Spell Damage: +50, Hot Resistance: +5, Stench Resistance: +5
Returned: void
=======
Industrial Strength Starch: Muscle: +20, Mysticality: +20, Moxie: +20
Industrially Frosted: Damage Reduction: 50, Hot Resistance: +5, Cold Resistance: +5, Stench Resistance: +5, Spooky Resistance: +5, Sleaze Resistance: +5, Sprinkle Drop: +250
Returned: void
=======
Synthesized: Damage Reduction: 8, Weapon Damage: -8
Synthesis: Hot: Hot Resistance: +9
Synthesis: Cold: Cold Resistance: +9
Synthesis: Pungent: Stench Resistance: +9
Synthesis: Scary: Spooky Resistance: +9
Synthesis: Greasy: Sleaze Resistance: +9
Synthesis: Strong: Muscle Percent: +300
Synthesis: Smart: Mysticality Percent: +300
Synthesis: Cool: Moxie Percent: +300
Synthesis: Hardy: Maximum HP Percent: +300
Synthesis: Energy: Maximum MP Percent: +300
Synthesis: Greed: Meat Drop: +300
Synthesis: Collection: Item Drop: +150
Synthesis: Movement: Experience Percent (Muscle): +50
Synthesis: Learning: Experience Percent (Mysticality): +50
Synthesis: Style: Experience Percent (Moxie): +50
Returned: void
=======
Shield of the Pastalord:
Shielded Unit: Hot Resistance: +5, Cold Resistance: +5, Stench Resistance: +5, Spooky Resistance: +5, Sleaze Resistance: +5
Returned: void
=======
Returned: void
Comments