新增无尽pc挑战模式,微调其他pc模式的数据展示
This commit is contained in:
@@ -750,6 +750,7 @@ return{
|
|||||||
['pc_n']= {"PC Challenge", "NORMAL", "Get PCs within 100 lines!"},
|
['pc_n']= {"PC Challenge", "NORMAL", "Get PCs within 100 lines!"},
|
||||||
['pc_h']= {"PC Challenge", "HARD", "Get PCs within 100 lines!"},
|
['pc_h']= {"PC Challenge", "HARD", "Get PCs within 100 lines!"},
|
||||||
['pc_l']= {"PC Challenge", "LUNATIC", "Get PCs within 100 lines!"},
|
['pc_l']= {"PC Challenge", "LUNATIC", "Get PCs within 100 lines!"},
|
||||||
|
['pc_inf']= {"Infinite PC Challenge","", "Get PCs as much as you can"},
|
||||||
['tech_n']= {"Tech", "NORMAL", "Try to keep the\nBack-to-Back chain!"},
|
['tech_n']= {"Tech", "NORMAL", "Try to keep the\nBack-to-Back chain!"},
|
||||||
['tech_n_plus']= {"Tech", "NORMAL+", "Spins & PCs only."},
|
['tech_n_plus']= {"Tech", "NORMAL+", "Spins & PCs only."},
|
||||||
['tech_h']= {"Tech", "HARD", "Try to keep the\nBack-to-Back chain!"},
|
['tech_h']= {"Tech", "HARD", "Try to keep the\nBack-to-Back chain!"},
|
||||||
|
|||||||
@@ -661,6 +661,7 @@ return{
|
|||||||
['pc_n']= {"PC Challenge", "NORMAL", "Obtenez un PC dans les prochaines 100 lignes !"},
|
['pc_n']= {"PC Challenge", "NORMAL", "Obtenez un PC dans les prochaines 100 lignes !"},
|
||||||
['pc_h']= {"PC Challenge", "DIFFICILE", "Obtenez un PC dans les prochaines 100 lignes !"},
|
['pc_h']= {"PC Challenge", "DIFFICILE", "Obtenez un PC dans les prochaines 100 lignes !"},
|
||||||
['pc_l']= {"PC Challenge", "LUNATIQUE", "Obtenez un PC dans les prochaines 100 lignes !"},
|
['pc_l']= {"PC Challenge", "LUNATIQUE", "Obtenez un PC dans les prochaines 100 lignes !"},
|
||||||
|
['pc_inf']= {"Infinite PC Challenge","", "Get PCs as much as you can"},--TODO
|
||||||
['tech_n']= {"Tech", "NORMAL", "Gardez le B2B !"},
|
['tech_n']= {"Tech", "NORMAL", "Gardez le B2B !"},
|
||||||
['tech_n_plus']= {"Tech", "NORMAL+", "Spin & PC uniquement"},
|
['tech_n_plus']= {"Tech", "NORMAL+", "Spin & PC uniquement"},
|
||||||
['tech_h']= {"Tech", "DIFFICILE", "Gardez le B2B !"},
|
['tech_h']= {"Tech", "DIFFICILE", "Gardez le B2B !"},
|
||||||
|
|||||||
@@ -746,6 +746,7 @@ return{
|
|||||||
['pc_n']= {"Desafio PC", "NORMAL", "Obtenha PCs em 100 linhas!"},
|
['pc_n']= {"Desafio PC", "NORMAL", "Obtenha PCs em 100 linhas!"},
|
||||||
['pc_h']= {"Desafio PC", "DIFÍCIL", "Obtenha PCs em 100 linhas!"},
|
['pc_h']= {"Desafio PC", "DIFÍCIL", "Obtenha PCs em 100 linhas!"},
|
||||||
['pc_l']= {"Desafio PC", "LUNÁTICO", "Obteha PCs em 100 linhas!"},
|
['pc_l']= {"Desafio PC", "LUNÁTICO", "Obteha PCs em 100 linhas!"},
|
||||||
|
['pc_inf']= {"Infinite PC Challenge","", "Get PCs as much as you can"},--TODO
|
||||||
['tech_n']= {"Tech", "NORMAL", "Não quebre o B2B!"},
|
['tech_n']= {"Tech", "NORMAL", "Não quebre o B2B!"},
|
||||||
['tech_n_plus']= {"Tech", "NORMAL+", "Apenas spins e PC"},
|
['tech_n_plus']= {"Tech", "NORMAL+", "Apenas spins e PC"},
|
||||||
['tech_h']= {"Tech", "HARD", "Keep the B2B chain!"},
|
['tech_h']= {"Tech", "HARD", "Keep the B2B chain!"},
|
||||||
|
|||||||
@@ -658,6 +658,7 @@ return{
|
|||||||
['pc_n']= {"Desafío de PCs", "Normal", "¡Consigue los PCs que puedas en 100 líneas!"},
|
['pc_n']= {"Desafío de PCs", "Normal", "¡Consigue los PCs que puedas en 100 líneas!"},
|
||||||
['pc_h']= {"Desafío de PCs", "Difícil", "¡Consigue los PCs que puedas en 100 líneas!"},
|
['pc_h']= {"Desafío de PCs", "Difícil", "¡Consigue los PCs que puedas en 100 líneas!"},
|
||||||
['pc_l']= {"Desafío de PCs", "Lunático", "¡Consigue los PCs que puedas en 100 líneas!"},
|
['pc_l']= {"Desafío de PCs", "Lunático", "¡Consigue los PCs que puedas en 100 líneas!"},
|
||||||
|
['pc_inf']= {"Infinite PC Challenge","", "Get PCs as much as you can"},--TODO
|
||||||
['tech_n']= {"Tech", "Normal", "¡Mantén el B2B!"},
|
['tech_n']= {"Tech", "Normal", "¡Mantén el B2B!"},
|
||||||
['tech_n_plus']= {"Tech", "Normal+", "¡Sólo se permiten Spins y PCs!"},
|
['tech_n_plus']= {"Tech", "Normal+", "¡Sólo se permiten Spins y PCs!"},
|
||||||
['tech_h']= {"Tech", "Difícil", "¡Mantén el B2B!"},
|
['tech_h']= {"Tech", "Difícil", "¡Mantén el B2B!"},
|
||||||
|
|||||||
@@ -257,6 +257,7 @@ return{
|
|||||||
['pc_n']= {"全清挑战", "普通", "100行内刷PC"},
|
['pc_n']= {"全清挑战", "普通", "100行内刷PC"},
|
||||||
['pc_h']= {"全清挑战", "困难", "100行内刷PC"},
|
['pc_h']= {"全清挑战", "困难", "100行内刷PC"},
|
||||||
['pc_l']= {"全清挑战", "疯狂", "100行内刷PC"},
|
['pc_l']= {"全清挑战", "疯狂", "100行内刷PC"},
|
||||||
|
['pc_inf']= {"无尽全清挑战", "", "你这水平还是先别玩了"},
|
||||||
['tech_n']= {"科研", "普通", "禁止断B2B"},
|
['tech_n']= {"科研", "普通", "禁止断B2B"},
|
||||||
['tech_n_plus']= {"科研", "普通+", "仅允许spin与PC"},
|
['tech_n_plus']= {"科研", "普通+", "仅允许spin与PC"},
|
||||||
['tech_h']= {"科研", "困难", "禁止断B2B"},
|
['tech_h']= {"科研", "困难", "禁止断B2B"},
|
||||||
@@ -275,7 +276,7 @@ return{
|
|||||||
['zen']= {"禅", "200", "不限时200行"},
|
['zen']= {"禅", "200", "不限时200行"},
|
||||||
['ultra']= {"限时打分", "挑战", "2分钟刷分"},
|
['ultra']= {"限时打分", "挑战", "2分钟刷分"},
|
||||||
['infinite']= {"无尽", "", "真的有人会玩这个?"},
|
['infinite']= {"无尽", "", "真的有人会玩这个?"},
|
||||||
['infinite_dig']= {"无尽:挖掘", "", "闲得慌的话来挖"},
|
['infinite_dig']= {"无尽:挖掘", "", "闲得慌就来挖"},
|
||||||
['sprintFix']= {"竞速", "无移动"},
|
['sprintFix']= {"竞速", "无移动"},
|
||||||
['sprintLock']= {"竞速", "无旋转"},
|
['sprintLock']= {"竞速", "无旋转"},
|
||||||
['marathon_bfmax']= {"马拉松", "极限"},
|
['marathon_bfmax']= {"马拉松", "极限"},
|
||||||
|
|||||||
@@ -751,6 +751,7 @@ return{
|
|||||||
['pc_n']= {"全清挑战", "普通", "100行内刷PC"},
|
['pc_n']= {"全清挑战", "普通", "100行内刷PC"},
|
||||||
['pc_h']= {"全清挑战", "困难", "100行内刷PC"},
|
['pc_h']= {"全清挑战", "困难", "100行内刷PC"},
|
||||||
['pc_l']= {"全清挑战", "疯狂", "100行内刷PC"},
|
['pc_l']= {"全清挑战", "疯狂", "100行内刷PC"},
|
||||||
|
['pc_inf']= {"无尽全清挑战", "", "你能连续做多少PC?"},
|
||||||
['tech_n']= {"科研", "普通", "禁止断B2B"},
|
['tech_n']= {"科研", "普通", "禁止断B2B"},
|
||||||
['tech_n_plus']= {"科研", "普通+", "仅允许spin与PC"},
|
['tech_n_plus']= {"科研", "普通+", "仅允许spin与PC"},
|
||||||
['tech_h']= {"科研", "困难", "禁止断B2B"},
|
['tech_h']= {"科研", "困难", "禁止断B2B"},
|
||||||
|
|||||||
@@ -206,6 +206,7 @@ return{
|
|||||||
['pc_n']= {"全清挑战", "普通", "100行内刷全清"},
|
['pc_n']= {"全清挑战", "普通", "100行内刷全清"},
|
||||||
['pc_h']= {"全清挑战", "困难", "100行内刷全清"},
|
['pc_h']= {"全清挑战", "困难", "100行内刷全清"},
|
||||||
['pc_l']= {"全清挑战", "疯狂", "100行内刷全清"},
|
['pc_l']= {"全清挑战", "疯狂", "100行内刷全清"},
|
||||||
|
['pc_inf']= {"无尽全清挑战", "", "你能连续做多少PC?"},
|
||||||
['tech_n']= {"科研", "普通", "禁止断B2B"},
|
['tech_n']= {"科研", "普通", "禁止断B2B"},
|
||||||
['tech_n_plus']= {"科研", "普通+", "仅允许回旋与全清"},
|
['tech_n_plus']= {"科研", "普通+", "仅允许回旋与全清"},
|
||||||
['tech_h']= {"科研", "困难", "禁止断B2B"},
|
['tech_h']= {"科研", "困难", "禁止断B2B"},
|
||||||
|
|||||||
@@ -77,12 +77,13 @@ return{
|
|||||||
{name='c4wtrain_n', x=700, y=-400, size=40,shape=1,icon="pc",unlock={'c4wtrain_l'}},
|
{name='c4wtrain_n', x=700, y=-400, size=40,shape=1,icon="pc",unlock={'c4wtrain_l'}},
|
||||||
{name='c4wtrain_l', x=900, y=-400, size=40,shape=1,icon="pc"},
|
{name='c4wtrain_l', x=900, y=-400, size=40,shape=1,icon="pc"},
|
||||||
|
|
||||||
{name='pctrain_n', x=700, y=-220, size=40,shape=1,icon="pc", unlock={'pctrain_l','pc_n'}},
|
{name='pctrain_n', x=700, y=-250, size=40,shape=1,icon="pc", unlock={'pctrain_l','pc_n'}},
|
||||||
{name='pctrain_l', x=900, y=-220, size=40,shape=1,icon="pc"},
|
{name='pctrain_l', x=900, y=-250, size=40,shape=1,icon="pc"},
|
||||||
|
|
||||||
{name='pc_n', x=800, y=-100, size=40,shape=1,icon="pc", unlock={'pc_h'}},
|
{name='pc_n', x=800, y=-110, size=40,shape=1,icon="pc", unlock={'pc_h'}},
|
||||||
{name='pc_h', x=1000, y=-100, size=40,shape=3,icon="pc", unlock={'pc_l'}},
|
{name='pc_h', x=950, y=-110, size=40,shape=3,icon="pc", unlock={'pc_l','pc_inf'}},
|
||||||
{name='pc_l', x=1200, y=-100, size=40,shape=2,icon="pc"},
|
{name='pc_l', x=1100, y=-110, size=40,shape=3,icon="pc"},
|
||||||
|
{name='pc_inf', x=1100, y=-250, size=40,shape=2,icon="pc"},
|
||||||
|
|
||||||
{name='tech_n', x=400, y=-150, size=40,shape=1,icon="tech", unlock={'tech_n_plus','tech_h','tech_finesse'}},
|
{name='tech_n', x=400, y=-150, size=40,shape=1,icon="tech", unlock={'tech_n_plus','tech_h','tech_finesse'}},
|
||||||
{name='tech_n_plus', x=600, y=160, size=40,shape=3,icon="tech", unlock={'tsd_e','backfire_n'}},
|
{name='tech_n_plus', x=600, y=160, size=40,shape=3,icon="tech", unlock={'tsd_e','backfire_n'}},
|
||||||
|
|||||||
@@ -15,11 +15,11 @@ return{
|
|||||||
mesDisp=function(P)
|
mesDisp=function(P)
|
||||||
setFont(45)
|
setFont(45)
|
||||||
local R=100-P.stat.row
|
local R=100-P.stat.row
|
||||||
mStr(R>=0 and R or 0,69,250)
|
mStr(R>=0 and R or 0,69,220)
|
||||||
|
|
||||||
setFont(75)
|
setFont(70)
|
||||||
mStr(P.stat.pc,69,350)
|
mStr(P.stat.pc,69,300)
|
||||||
mText(drawableText.pc,69,432)
|
mText(drawableText.pc,69,380)
|
||||||
end,
|
end,
|
||||||
score=function(P)return{P.stat.pc,P.stat.time}end,
|
score=function(P)return{P.stat.pc,P.stat.time}end,
|
||||||
scoreDisp=function(D)return D[1].." PCs "..STRING.time(D[2])end,
|
scoreDisp=function(D)return D[1].." PCs "..STRING.time(D[2])end,
|
||||||
|
|||||||
46
parts/modes/pc_inf.lua
Normal file
46
parts/modes/pc_inf.lua
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
return{
|
||||||
|
color=COLOR.red,
|
||||||
|
env={
|
||||||
|
drop=20,lock=60,
|
||||||
|
fall=10,
|
||||||
|
dropPiece=function(P)
|
||||||
|
if P.lastPiece.pc then
|
||||||
|
P.gameEnv.heightLimit=4
|
||||||
|
if P.stat.pc%10==0 then
|
||||||
|
P.gameEnv.drop=math.max(P.gameEnv.drop-1,1)
|
||||||
|
end
|
||||||
|
else
|
||||||
|
P.gameEnv.heightLimit=P.gameEnv.heightLimit-P.lastPiece.row
|
||||||
|
end
|
||||||
|
if #P.field>P.gameEnv.heightLimit then
|
||||||
|
P:lose()
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
freshLimit=8,
|
||||||
|
heightLimit=4,
|
||||||
|
ospin=false,
|
||||||
|
bg='rgb',bgm='truth',
|
||||||
|
},
|
||||||
|
pauseLimit=true,
|
||||||
|
load=function()
|
||||||
|
PLY.newPlayer(1)
|
||||||
|
end,
|
||||||
|
mesDisp=function(P)
|
||||||
|
setFont(70)
|
||||||
|
mStr(P.stat.pc,69,300)
|
||||||
|
mText(drawableText.pc,69,380)
|
||||||
|
end,
|
||||||
|
score=function(P)return{P.stat.pc,P.stat.time}end,
|
||||||
|
scoreDisp=function(D)return D[1].." PCs "..STRING.time(D[2])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.pc
|
||||||
|
return
|
||||||
|
L>=100 and 5 or
|
||||||
|
L>=70 and 4 or
|
||||||
|
L>=40 and 3 or
|
||||||
|
L>=20 and 2 or
|
||||||
|
L>=10 and 1 or
|
||||||
|
L>=5 and 0
|
||||||
|
end,
|
||||||
|
}
|
||||||
@@ -15,11 +15,11 @@ return{
|
|||||||
mesDisp=function(P)
|
mesDisp=function(P)
|
||||||
setFont(45)
|
setFont(45)
|
||||||
local R=100-P.stat.row
|
local R=100-P.stat.row
|
||||||
mStr(R>=0 and R or 0,69,250)
|
mStr(R>=0 and R or 0,69,220)
|
||||||
|
|
||||||
setFont(75)
|
setFont(70)
|
||||||
mStr(P.stat.pc,69,350)
|
mStr(P.stat.pc,69,300)
|
||||||
mText(drawableText.pc,69,432)
|
mText(drawableText.pc,69,380)
|
||||||
end,
|
end,
|
||||||
score=function(P)return{P.stat.pc,P.stat.time}end,
|
score=function(P)return{P.stat.pc,P.stat.time}end,
|
||||||
scoreDisp=function(D)return D[1].." PCs "..STRING.time(D[2])end,
|
scoreDisp=function(D)return D[1].." PCs "..STRING.time(D[2])end,
|
||||||
|
|||||||
@@ -13,11 +13,11 @@ return{
|
|||||||
mesDisp=function(P)
|
mesDisp=function(P)
|
||||||
setFont(45)
|
setFont(45)
|
||||||
local R=100-P.stat.row
|
local R=100-P.stat.row
|
||||||
mStr(R>=0 and R or 0,69,250)
|
mStr(R>=0 and R or 0,69,220)
|
||||||
|
|
||||||
setFont(75)
|
setFont(70)
|
||||||
mStr(P.stat.pc,69,350)
|
mStr(P.stat.pc,69,300)
|
||||||
mText(drawableText.pc,69,432)
|
mText(drawableText.pc,69,380)
|
||||||
end,
|
end,
|
||||||
score=function(P)return{P.stat.pc,P.stat.time}end,
|
score=function(P)return{P.stat.pc,P.stat.time}end,
|
||||||
scoreDisp=function(D)return D[1].." PCs "..STRING.time(D[2])end,
|
scoreDisp=function(D)return D[1].." PCs "..STRING.time(D[2])end,
|
||||||
|
|||||||
@@ -63,9 +63,9 @@ return{
|
|||||||
check(PLAYERS[1])
|
check(PLAYERS[1])
|
||||||
end,
|
end,
|
||||||
mesDisp=function(P)
|
mesDisp=function(P)
|
||||||
setFont(75)
|
setFont(70)
|
||||||
mStr(P.stat.pc,69,330)
|
mStr(P.stat.pc,69,300)
|
||||||
mText(drawableText.pc,69,412)
|
mText(drawableText.pc,69,380)
|
||||||
end,
|
end,
|
||||||
score=function(P)return{P.stat.pc,P.stat.time}end,
|
score=function(P)return{P.stat.pc,P.stat.time}end,
|
||||||
scoreDisp=function(D)return D[1].." PCs "..STRING.time(D[2])end,
|
scoreDisp=function(D)return D[1].." PCs "..STRING.time(D[2])end,
|
||||||
|
|||||||
@@ -54,9 +54,9 @@ return{
|
|||||||
check(PLAYERS[1])
|
check(PLAYERS[1])
|
||||||
end,
|
end,
|
||||||
mesDisp=function(P)
|
mesDisp=function(P)
|
||||||
setFont(75)
|
setFont(70)
|
||||||
mStr(P.stat.pc,69,330)
|
mStr(P.stat.pc,69,300)
|
||||||
mText(drawableText.pc,69,412)
|
mText(drawableText.pc,69,380)
|
||||||
end,
|
end,
|
||||||
score=function(P)return{P.stat.pc,P.stat.time}end,
|
score=function(P)return{P.stat.pc,P.stat.time}end,
|
||||||
scoreDisp=function(D)return D[1].." PCs "..STRING.time(D[2])end,
|
scoreDisp=function(D)return D[1].." PCs "..STRING.time(D[2])end,
|
||||||
|
|||||||
Reference in New Issue
Block a user