See wiki here.
"equip" is something I do with equipment and in the context of KoL I expected can_equip() to be true if a character could wear an item or include it in an outfit. It turns out that can_equip() returns true for food and drink as well. Some investigating suggests that can_equip is named what it is because of its correlation to KoLmafia internals where "equip" is more generally defined as "eat, wear, drink or use to obtain something that effects the character".
What I want is to iterate through a list of items and know which ones the character can wear. What test or tests will tell me that in a script?
(I stick all sorts of stuff in my Display Case and pull it when I am going to use it. This is a quirk of Nevercore and trying to have the most unique items in the DC, a number that used to be computed once every 24 hours. But sometimes new or changed items mean I should reassess my outfits and pulling items and running the mazimizer is much easier than reading the wiki).
Related, is there a way scriptable to identify an item that can be used one or more times a day but is not consumed by such use? Those are also candidates for a DC pull strategy.
Thanks.
"equip" is something I do with equipment and in the context of KoL I expected can_equip() to be true if a character could wear an item or include it in an outfit. It turns out that can_equip() returns true for food and drink as well. Some investigating suggests that can_equip is named what it is because of its correlation to KoLmafia internals where "equip" is more generally defined as "eat, wear, drink or use to obtain something that effects the character".
What I want is to iterate through a list of items and know which ones the character can wear. What test or tests will tell me that in a script?
(I stick all sorts of stuff in my Display Case and pull it when I am going to use it. This is a quirk of Nevercore and trying to have the most unique items in the DC, a number that used to be computed once every 24 hours. But sometimes new or changed items mean I should reassess my outfits and pulling items and running the mazimizer is much easier than reading the wiki).
Related, is there a way scriptable to identify an item that can be used one or more times a day but is not consumed by such use? Those are also candidates for a DC pull strategy.
Thanks.