Add Construct modes
This commit is contained in:
22
parts/modes/construct_checker.lua
Normal file
22
parts/modes/construct_checker.lua
Normal 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,
|
||||
}
|
||||
Reference in New Issue
Block a user