Add checks and error messages for some invalid custom mode data (#1049)

This commit is contained in:
User670
2023-11-17 14:06:30 +08:00
committed by GitHub
parent 529b8d453d
commit 1cd62bb163
5 changed files with 47 additions and 4 deletions

View File

@@ -95,6 +95,13 @@ return {
dataCorrupted="Data corrupted",
pasteWrongPlace="Did you paste in the wrong place?",
noFile="File missing",
-- data validation for custom game data import
customDataInvalidHold1="Invalid Hold queue length in custom mode data. Resetting to 6.",
customDataInvalidHold2="Invalid Hold queue length in custom mode data. Resetting to 1.",
customDataInvalidSequence="Invalid sequence mode in custom mode data. Resetting to bag.",
customDataBoardLineLimit="One or more fields in the data exceeded height limit (126 lines).\nParts exceeding the limit have been removed.",
customDataSingleBoardLineLimit="Field data exceeded height limit (126 lines).\nParts exceeding the limit have been removed.",
nowPlaying="Now playing:",