Add lvl19 and lvl29 starts for Classic mode, rename from classic_fast to classic_hard (#285)

* Add more Lvl19 Classic start

* Add lvl29 Classic start

* Rename classic_fast.lua to classic_hard.lua

* Update and rename classic_fast.lua to classic_hard.lua

* Add Classic Lunatic mode (lvl19 start)

* Rename classic_hard.lua to classic_h.lua

* Rename classic_lunatic.lua to classic_l.lua

* Rename classic_ultimate.lua to classic_u.lua

* Rename classic_hard.lua to classic_h.lua

* Add lvl19 and lvl29 start

* Update modes.lua

* Update classic_h.lua

* Create classic_u.lua

* Update classic_u.lua

* Update english language to add Classic text

* Added more space between Classic modes

* Add compatibility for old replays

* Update lang_en.lua

* deleted classic ultimate and master m21 overlap

* Added Classic modes into spanish

I do not speak spanish, I just copied from the other entries, hopefully it's right....

* Update lang_fr.lua

* Update lang_pt.lua

* Update lang_yygq.lua

sorry if wrong, i don't really know much chinese

* Update lang_zh.lua

* Update lang_zh2.lua

* added a single = sign

i forgot to add this, whoops!

* added a single comma

yes, i'm that dumb.
This commit is contained in:
Not-A-Normal-Robot
2021-09-09 14:04:28 +07:00
committed by GitHub
parent 5c5ec3e16c
commit ee139d5ff0
15 changed files with 202 additions and 5 deletions

32
parts/modes/classic_u.lua Normal file
View File

@@ -0,0 +1,32 @@
return{
color=COLOR.lBlue,
env={
center=0,ghost=0,
smooth=false,
freshLimit=0,
face={0,0,2,2,2,0,0},
eventSet='classic_u',
bg='rgb',bgm='magicblock',
},
slowMark=true,
mesDisp=function(P)
setFont(75)
local r=P.modeData.target*.1
mStr(r<22 and 29 or("%02x"):format(r*10-220),63,210)
mText(drawableText.speedLV,63,290)
PLY.draw.drawProgress(P.stat.row,P.modeData.target)
end,
score=function(P)return{P.stat.score,P.stat.row}end,
scoreDisp=function(D)return D[1].." "..D[2].." Lines"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 L=P.stat.row
return
L>=200 and 5 or
L>=191 and 4 or
L>=110 and 3 or
L>=50 and 2 or
L>=5 and 1 or
L>=1 and 0
end,
}