check_two_way_doors

Summary

check_two_way_doors(frbs: list[BoardFile]) str

Checks that there are no Two-Way Doors if Max Dice Roll is set to 8 or 9. (A Two-Way door is a One-Way Door whose Destination ID is set to the ID of another door.)

Parameters:

frbs (list[BoardFile]) – A list of BoardFile objects representing one or more .frb files.

Returns:

A string containing the error message if the check fails, or an empty string if it passes.

Return type:

str

Importing

from cs_board_tools.validation.board import check_two_way_doors