nextAdventure/my_location() aren't being set to $location[none] in a betweenBattleScript when using an item that leads to combat (i.e. putty, photocopy, etc.)
According to the thread at http://kolmafia.us/showthread.php?14115-Proposal-maintain-lastAdventure-and-nextAdventure it's a feature that was implemented around last November.
It worked with version 16.2, but is broken in version 16.3 (and current builds).
Creating a betweenBattleScript with the following code and using a combat item will reproduce the problem.
It's not really a critical bug or anything, but it would be nice to be able to detect when an item is being used in a betwenBattleScript.
According to the thread at http://kolmafia.us/showthread.php?14115-Proposal-maintain-lastAdventure-and-nextAdventure it's a feature that was implemented around last November.
It worked with version 16.2, but is broken in version 16.3 (and current builds).
Creating a betweenBattleScript with the following code and using a combat item will reproduce the problem.
Code:
print("nextAdventure: " + get_property("nextAdventure"));
It's not really a critical bug or anything, but it would be nice to be able to detect when an item is being used in a betwenBattleScript.