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

@@ -0,0 +1,22 @@
return {
env={
drop=180,lock=600,
hang=40,
infHold=true,
eventSet='construct_checker',
bg='bg2',bgm='race',
},
score=function(P) return {P.modeData.maxRankPts,P.stat.piece} end,
scoreDisp=function(D) return getConstructGradeText(D[1]).." "..D[2].." Pieces" end,
comp=function(a,b) return a[1]>b[1] or a[1]==b[1] and a[2]<b[2] end,
getRank=function(P)
local G=P.modeData.maxRankPts
return
G>=18 and 5 or
G>=15 and 4 or
G>=12 and 3 or
G>=8 and 2 or
G>=4 and 1 or
G>=2 and 0
end,
}