I have a script that tries to acquire a burnt stick for decorating the Getaway Campsite tent. It is designed to fail if
returns false (among other unrelated conditions).
When I run it early in an ascension, KoLmafia tries to acquire a burnt stick by spending a stick of firewood. To get a stick of firewood, it tries to use a bundle of firewood. To get a bundle of firewood, it tries to spend ten sticks of firewood. To get ten sticks of firewood, it tries to use a bundle of firewood. This loop continues forever, rather than giving up and returning false as expected.
Code:
$item[burnt stick].retrieve_item()
When I run it early in an ascension, KoLmafia tries to acquire a burnt stick by spending a stick of firewood. To get a stick of firewood, it tries to use a bundle of firewood. To get a bundle of firewood, it tries to spend ten sticks of firewood. To get ten sticks of firewood, it tries to use a bundle of firewood. This loop continues forever, rather than giving up and returning false as expected.
Last edited: