Yeah, I was excited to see that!
These bug reports are all related to the tile exhaustion issue:
8790
8727
8830
8805
8998
What happens now:
- If a player takes a Scout action and the tile bag is empty, their scouting worker is used and the player does not get a tile. This disadvantages the player.
- If a player abandons N tiles and the tile bag has more than 0 and less than N+1 tiles, the scouting worker is used and the player is dealt all of the remaining tiles. This disadvantages the player.
- If a player abandons tiles and the tile bag is empty, the scouting worker is used and the player gets no tiles.
- - If the player is then out of explore workers, their explore phase ends. This disadvantages the player.
- - If the player has explore workers left, they are given the usual choice to Scout, Stock, or Abandon Tiles. If the player attempts to Stock, they are forbidden - the game gives them the "you abandoned tiles, so you have to scout" error message. Then the player scouts, and still gets no tiles. Finally, after the last die is used scouting (and not getting tiles in return), the game still expects the player to Scout their abandoned tiles. This breaks the game completely. The player is unable to proceed, and the game has to be abandoned.
What should happen:
- If the game wants to deal a tile and the deck is empty, shuffle the discard pile into the deck and keep dealing.
- If, after shuffling the discard pile and dealing those tiles to the player, the deck is still empty:
- - Deal all available tiles to the scouting player. The player places those tiles into their construction area, as usual.
- - Remember how many tiles are still owed.
- - Then every player with more than three tiles in their construction area (including the scouting player) must take a special action to surrender 1 tile.
- - Finally, without using any workers, deal the remaining tiles owed to the scouting player and let the player place the tiles.