Function isWandererNow

  • Tells us whether we can expect a given wanderer now. Behaves differently for different types of wanderer.

    • For deterministic wanderers, return whether the player will encounter the queried wanderer on the next turn

    • For variable wanderers (window), return whether the player is within an encounter window for the queried wanderer

    • For variable wanderers (chance per turn), returns true unless the player has exhausted the number of wanderers possible

    Parameters

    Returns boolean

    Whether the wanderer is due