check_yaml_max_dice_roll

Summary

check_yaml_max_dice_roll(descriptor: MapDescriptor) str

Checks to ensure that the board’s Max Dice Roll is set to 9 or lower.

Parameters:

descriptor (MapDescriptor) – A MapDescriptor object representing a .yaml file.

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_yaml_max_dice_roll