模式和语言文件移入parts文件夹
This commit is contained in:
29
parts/modes/zen.lua
Normal file
29
parts/modes/zen.lua
Normal file
@@ -0,0 +1,29 @@
|
||||
return{
|
||||
color=COLOR.lGrey,
|
||||
env={
|
||||
drop=120,lock=120,
|
||||
oncehold=false,
|
||||
target=200,dropPiece=PLY.check_lineReach,
|
||||
bg="bg2",bgm="infinite",
|
||||
},
|
||||
load=function()
|
||||
PLY.newPlayer(1,340,15)
|
||||
end,
|
||||
mesDisp=function(P)
|
||||
setFont(70)
|
||||
local R=200-P.stat.row
|
||||
mStr(R>=0 and R or 0,69,335)
|
||||
end,
|
||||
score=function(P)return{P.stat.score}end,
|
||||
scoreDisp=function(D)return tostring(D[1])end,
|
||||
comp=function(a,b)return a[1]>b[1]end,
|
||||
getRank=function(P)
|
||||
local T=P.stat.score
|
||||
return
|
||||
T>=126000 and 5 or
|
||||
T>=100000 and 4 or
|
||||
T>=60000 and 3 or
|
||||
T>=30000 and 2 or
|
||||
T>=10000 and 1
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user