Add Construct modes

This commit is contained in:
NOT_A_ROBOT
2023-09-18 12:49:17 +07:00
parent 7141f46948
commit a475232432
21 changed files with 557 additions and 195 deletions

View File

@@ -198,7 +198,7 @@ local function getSmallNum(num)
end
do -- Secret Grade
local r={"GM","GM+","TM","TM+"}
function getSecretGrade(index)
function getConstructGrade(index)
if index<11 then -- rank 10 - 1
return tostring(11-index)
elseif index<20 then -- S1 - S9 ranks
@@ -210,11 +210,11 @@ do -- Secret Grade
end
end
end
function getSecretGradeText(index)
function getConstructGradeText(index)
if index<11 then
return "Grade "..tostring(11-index)
else
return getSecretGrade(index)
return getConstructGrade(index)
end
end