item_type() for spleen items?

szepherd

New member
Hi all!

So, I can call item_type() for a food item and it returns "food", likewise it returns "booze" for any drinks. Is there a reason it returns nothing for spleen items? Is there a way to test whether an arbitrary item is a spleen item?

I'm doing some work on a basement -diving script and being able to tell whether a particular item-based buff causes a spleen hit is important to some cost estimations. The only way I can do it right now is to load the internal "spleenhit.txt" data file and check if the item exists there.
 
It seems that "spleen" does not currently exist as a type. Not sure of another way to determine if something is spleen other than what you're already doing.

-Spiny
 
Back
Top