BUGGY AT THE MOMENT: Due to using zot_soon(), the supply-gathering only triggers when in Depths and aborts whenever interrupted during outwards travel. Most likely there's no good way of avoiding a state-tracking variable (whether to go fetch those supplies).
To track shops that we might want to revisit before entering Zot.
The idea is roughly as follows:
When qw wants to buy an item but cannot afford it, add to shoplist
Before entering Zot, check if shoplist has an item we can buy
If so, travel to that shop (with $ in-game) and go through the
"regular" buying routine again
Repeat this until there's no longer an affordable shopping-list item
Remove everything that's left on the shopping list
(Pressing B while in a shop will add the item [b] to your shopping list.)
BUGGY AT THE MOMENT: Due to using
zot_soon()
, the supply-gathering only triggers when in Depths and aborts whenever interrupted during outwards travel. Most likely there's no good way of avoiding a state-tracking variable (whether to go fetch those supplies).To track shops that we might want to revisit before entering Zot.
The idea is roughly as follows:
$
in-game) and go through the "regular" buying routine again(Pressing B while in a shop will add the item [b] to your shopping list.)