worshiprick
New member
Perhaps this is a problem with the wiki, but adventure() is documented to return true if the specified number of adventures were used, false if not.
Observation says it returns false if there are any goals at all (even the adventure during which the goals were satisfied!). If there are no goals it returns true of the adventures were used, false if not.
The documented behavior would be much more useful IMO. As it stands, my scripts have to use manual goal-tracking because of this problem.
Here's a screenshot from the gCLI showing that adventure() returned false despite the adventure clearly being consumed:

Observation says it returns false if there are any goals at all (even the adventure during which the goals were satisfied!). If there are no goals it returns true of the adventures were used, false if not.
The documented behavior would be much more useful IMO. As it stands, my scripts have to use manual goal-tracking because of this problem.
Here's a screenshot from the gCLI showing that adventure() returned false despite the adventure clearly being consumed:
