check_venture_cards

Summary

check_venture_cards(bundle: Bundle, skip: bool = False, skip_warnings: bool = False)

Checks to ensure that if certain Venture Cards are enabled, that their accompanying Square types are present on the board.

After all, being warped to an Arcade Square requires there to _be_ an Arcade Square.

Parameters:
  • bundle (Bundle) – A Bundle object representing a board.

  • skip (bool) – If set to True, the check will be skipped, but a valid resultobject with no messages and SKIPPED as its status will still be returned.

  • skip_warnings – If set to True, the checks that return Warnings will be skipped, but a valid resultobject with no messages and SKIPPED as its status will still be returned.

Returns:

A CheckResult object containing the check status as well as any messages and additional data.

Return type:

CheckResult

Importing

from cs_board_tools.validation.venture import check_venture_cards