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

View File

@@ -0,0 +1,41 @@
return{
das=16,
arr=6,
sddas=2,
sdarr=2,
irs=false,
ims=false,
drop=2,
lock=2,
wait=10,
fall=25,
fieldH=19,
nextCount=1,
holdCount=0,
RS='Classic',
sequence='rnd',
noTele=true,
keyCancel={5,6},
mesDisp=function(P)
setFont(75)
local r=P.modeData.target*.1
mStr(r<11 and 19 or r<22 and r+8 or("%02x"):format(r*10-220),63,210)
mText(drawableText.speedLV,63,290)
PLY.draw.drawProgress(P.stat.row,P.modeData.target)
end,
task=function(P)
P.modeData.target=10
end,
dropPiece=function(P)
local D=P.modeData
if P.stat.row>=D.target then
D.target=D.target+10
if D.target==200 then
P.gameEnv.drop,P.gameEnv.lock=1,1
SFX.play('blip_1')
else
SFX.play('reach')
end
end
end,
}

View File

@@ -0,0 +1,36 @@
return{
das=16,
arr=6,
sddas=2,
sdarr=2,
irs=false,
ims=false,
drop=1,
lock=1,
wait=10,
fall=25,
fieldH=19,
nextCount=1,
holdCount=0,
RS='Classic',
sequence='rnd',
noTele=true,
keyCancel={5,6},
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,
task=function(P)
P.modeData.target=10
end,
dropPiece=function(P)
local D=P.modeData
if P.stat.row>=D.target then
D.target=D.target+10
SFX.play('reach')
end
end,
}

View File

@@ -782,6 +782,9 @@ return{
['blind_u']= {"Blind", "?", "Are you ready?"},
['blind_wtf']= {"Blind", "WTF", "You're not ready."},
['classic_fast']= {"Classic", "CTWC", "High-speed classic mode."},
['classic_h']= {"Classic", "HARD", "A medium speed recreation from the 80s."},
['classic_l']= {"Classic", "LUNATIC", "A high-speed recreation from the 80s."},
['classic_u']= {"Classic", "ULTIMATE", "A very high-speed recreation from the 80s."},
['survivor_e']= {"Survivor", "EASY", "How long can you survive?"},
['survivor_n']= {"Survivor", "NORMAL", "How long can you survive?"},
['survivor_h']= {"Survivor", "HARD", "How long can you survive?"},

View File

@@ -686,6 +686,9 @@ return{
['blind_u']= {"A Ciegas", "?", "¿Estás preparado?"},
['blind_wtf']= {"A Ciegas", "ELFUF", "No, no lo estás."},
['classic_fast']= {"Clásico", "CTWC", "Modo clásico con alta velocidad."},
['classic_h']= {"Clásico", "Difícil", "Modo clásico con alta velocidad."},
['classic_l']= {"Clásico", "Lunático", "Modo clásico con alta velocidad."},
['classic_u']= {"Clásico", "Supremo", "Modo clásico con alta velocidad."},
['survivor_e']= {"Supervivencia", "Fácil", "¿Cuánto tiempo podrás sobrevivir?"},
['survivor_n']= {"Supervivencia", "Normal", "¿Cuánto tiempo podrás sobrevivir?"},
['survivor_h']= {"Supervivencia", "Difícil", "¿Cuánto tiempo podrás sobrevivir?"},

View File

@@ -689,6 +689,9 @@ return{
['blind_u']= {"Aveugle", "?", "Êtes-vous prêt ?"},
['blind_wtf']= {"Aveugle", "WTF", "Vous n'êtes pas prêt."},
['classic_fast']= {"Classic", "CTWC", "Un mode classique rapide."},
['classic_h']= {"Classic", "DIFFICILE", "Un mode classique rapide."},
['classic_l']= {"Classic", "LUNATIQUE", "Un mode classique rapide."},
['classic_u']= {"Classic", "ULTIME", "Un mode classique rapide."},
['survivor_e']= {"Survivor", "FACILE", "Pendant combien de temps survivrez-vous ?"},
['survivor_n']= {"Survivor", "NORMAL", "Pendant combien de temps survivrez-vous ?"},
['survivor_h']= {"Survivor", "DIFFICILE", "Pendant combien de temps survivrez-vous ?"},

View File

@@ -771,6 +771,9 @@ return{
['blind_u']= {"Cego", "?", "Are you ready?"},
['blind_wtf']= {"Cego", "WTF", "You're not ready."},
['classic_fast']= {"Clássico", "CTWC", "Modo clássico rápido. "},
['classic_h']= {"Classic", "DIFÍCIL", "Modo clássico rápido."},
['classic_l']= {"Classic", "LUNÁTICO", "Modo clássico rápido."},
['classic_u']= {"Classic", "ULTIMATE", "Modo clássico rápido."},
['survivor_e']= {"Sobrevivente", "FACIL", "Por quanto sobrevive?"},
['survivor_n']= {"Sobrevivente", "NORMAL", "Por quanto sobrevive?"},
['survivor_h']= {"Sobrevivente", "DIFÍCIL", "Por quanto sobrevive?"},

View File

@@ -260,6 +260,9 @@ return{
['blind_u']= {"隐形", "啊这", "你准备好了吗"},
['blind_wtf']= {"隐形", "不会吧", "还没准备好"},
['classic_fast']= {"高速经典", "CTWC", "就这?简单"},
['classic_h']= {"高速经典", "困难", "就这?简单"},
['classic_l']= {"高速经典", "疯狂", "就这?简单"},
['classic_u']= {"高速经典", "极限", "就这?简单"},
['survivor_e']= {"生存", "简单", "这都玩不下去?不会吧"},
['survivor_n']= {"生存", "普通", "呵,这都玩不过?"},
['survivor_h']= {"生存", "困难", "所以呢?"},

View File

@@ -783,6 +783,9 @@ return{
['blind_u']= {"隐形", "啊这", "你准备好了吗"},
['blind_wtf']= {"隐形", "不会吧", "还没准备好"},
['classic_fast']= {"高速经典", "CTWC", "高速经典"},
['classic_h']= {"高速经典", "困难", "高速经典"},
['classic_l']= {"高速经典", "疯狂", "高速经典"},
['classic_u']= {"高速经典", "极限", "高速经典"},
['survivor_e']= {"生存", "简单", "你能存活多久?"},
['survivor_n']= {"生存", "普通", "你能存活多久?"},
['survivor_h']= {"生存", "困难", "你能存活多久?"},

View File

@@ -176,7 +176,10 @@ return{
['blind_l']= {"隐形", "瞬隐+", "超强大脑"},
['blind_u']= {"隐形", "啊这", "你准备好了吗"},
['blind_wtf']= {"隐形", "不会吧", "还没准备好"},
['classic_fast']= {"高速经典", "CTWC", "高速经典"},
['classic_fast']= {"高速经典", "CTWC", "高速经典"},
['classic_h']= {"高速经典", "困难", "高速经典"},
['classic_l']= {"高速经典", "疯狂", "高速经典"},
['classic_u']= {"高速经典", "极限", "高速经典"},
['survivor_e']= {"生存", "简单", "你能存活多久?"},
['survivor_n']= {"生存", "普通", "你能存活多久?"},
['survivor_h']= {"生存", "困难", "你能存活多久?"},

View File

@@ -21,7 +21,7 @@ return{
{name='dig_100l', x=-600, y=-200, size=40,shape=1,icon="dig_sprint", unlock={'dig_400l'}},
{name='dig_400l', x=-800, y=-200, size=40,shape=1,icon="dig_sprint"},
{name='marathon_n', x=0, y=-600, size=60,shape=1,icon="marathon", unlock={'marathon_h','rhythm_e','solo_e','round_e','blind_e','classic_fast','survivor_e','bigbang','zen'}},
{name='marathon_n', x=0, y=-600, size=60,shape=1,icon="marathon", unlock={'marathon_h','rhythm_e','solo_e','round_e','blind_e','classic_h','survivor_e','bigbang','zen'}},
{name='marathon_h', x=0, y=-800, size=50,shape=1,icon="marathon", unlock={'master_n'}},
{name='solo_e', x=-600, y=-1000, size=40,shape=1,icon="solo", unlock={'solo_n'}},
@@ -45,7 +45,7 @@ return{
{name='master_n', x=0, y=-1000, size=40,shape=1,icon="master", unlock={'master_h'}},
{name='master_h', x=0, y=-1200, size=40,shape=3,icon="master", unlock={'master_final','master_ex','master_ph','master_m'}},
{name='master_m', x=-150, y=-1320, size=30,shape=3,icon="master"},
{name='master_m', x=150, y=-1320, size=30,shape=3,icon="master"},
{name='master_final', x=0, y=-1600, size=40,shape=2,icon="master"},
{name='master_ph', x=-150, y=-1500, size=40,shape=2,icon="master"},
{name='master_ex', x=150, y=-1500, size=40,shape=2,icon="master_ex"},
@@ -61,7 +61,9 @@ return{
{name='blind_u', x=150, y=-1100, size=30,shape=3,icon="hidden", unlock={'blind_wtf'}},
{name='blind_wtf', x=150, y=-1200, size=25,shape=2,icon="hidden"},
{name='classic_fast', x=-150, y=-950, size=40,shape=2,icon="classic"},
{name='classic_h', x=-150, y=-950, size=40,shape=2,icon="classic", unlock={'classic_l'}},
{name='classic_l', x=-150, y=-1100, size=40,shape=2,icon="classic", unlock={'classic_u'}},
{name='classic_u', x=-150, y=-1250, size=40,shape=2,icon="classic"},
{name='survivor_e', x=300, y=-600, size=40,shape=1,icon="survivor", unlock={'survivor_n'}},
{name='survivor_n', x=500, y=-600, size=40,shape=1,icon="survivor", unlock={'survivor_h','attacker_h','defender_n','dig_h'}},
@@ -125,6 +127,7 @@ return{
--Old
{name='master_l'},
{name='master_u'},
{name='classic_fast'},
--Special
{name='custom_puzzle'},

View File

@@ -5,7 +5,7 @@ return{
smooth=false,
freshLimit=0,
face={0,0,2,2,2,0,0},
eventSet='classic_fast',
eventSet='classic_h',
bg='rgb',bgm='magicblock',
},
slowMark=true,

32
parts/modes/classic_h.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_h',
bg='rgb',bgm='magicblock',
},
slowMark=true,
mesDisp=function(P)
setFont(75)
local r=P.modeData.target*.1
mStr(r<11 and 18 or r<22 and r+8 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,
}

32
parts/modes/classic_l.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_l',
bg='rgb',bgm='magicblock',
},
slowMark=true,
mesDisp=function(P)
setFont(75)
local r=P.modeData.target*.1
mStr(r<12 and 19 or r<22 and r+8 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,
}

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,
}