Long-time lurker, first-time poster.
Anyway, I've taken up a bit of ASH scripting, and I was wondering if there was a more robust way of handling effect => item than gemelli's approach from several years back (http://kolmafia.us/showpost.php?p=3458&postcount=7).
A bit more of searching netted me with this post (http://kolmafia.us/showpost.php?p=15442&postcount=5), but that does the opposite of what I want.
I guess a huge map with all in-game effects would work, but that just doesn't fit with my style of coding -- it'd be too inefficient most of the time and just slow down the script.
Any suggestions?
Anyway, I've taken up a bit of ASH scripting, and I was wondering if there was a more robust way of handling effect => item than gemelli's approach from several years back (http://kolmafia.us/showpost.php?p=3458&postcount=7).
A bit more of searching netted me with this post (http://kolmafia.us/showpost.php?p=15442&postcount=5), but that does the opposite of what I want.
I guess a huge map with all in-game effects would work, but that just doesn't fit with my style of coding -- it'd be too inefficient most of the time and just slow down the script.
Any suggestions?