cli_execute("conditions add outfit")

Rinn

Developer
I'm using similar code in a few places to adventure in a location for an outfit.
Code:
cli_execute("conditions clear");
cli_execute("conditions add outfit");
adventure(my_adventures(), $location[Itznotyerzitz Mine]);

However when I run this I get an error saying "No outfit corresponds to [last adventure location]." If I manually adventure in whatever location I'm trying to get an outfit in it'll work. Is there a better way to do this without having to manually add all parts of an item to the condition list?
 
Top