无尽挖掘连挖提示语

This commit is contained in:
MrZ_26
2020-08-15 19:46:24 +08:00
parent e8902d578a
commit 720e7c6c06
2 changed files with 20 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ local langList={
stage=function(n)return"关卡 "..n end,
great="Great!",
awesome="Awesome.",
almost="Almost!",
continue="Continue.",
maxspeed="最高速度",
speedup="速度加快",
@@ -488,6 +489,7 @@ local langList={
stage=function(n)return"关卡 "..n end,
great="不错!",
awesome="精彩。",
almost="差一点!",
continue="继续。",
maxspeed="最高速度",
speedup="速度加快",
@@ -955,6 +957,7 @@ local langList={
stage=function(n)return"Stage "..n end,
great="Great!",
awesome="Awesome!",
almost="Almost!",
continue="Keep going!",
maxspeed="Max speed!",
speedup="Speed up!",
@@ -1411,6 +1414,7 @@ local langList={
stage=function(n)return"::"..n.."::"end,
great="!~",
awesome="!!~",
almost="...!",
continue="~~",
maxspeed="!!!",
speedup="~!~",
@@ -1865,6 +1869,7 @@ local langList={
stage=function(n)return"关卡 "..n end,
great="不错的",
awesome="您很强",
almost="太舒服了",
continue="您继续",
maxspeed="速度封顶",
speedup="速度加快",

View File

@@ -1,9 +1,22 @@
local format=string.format
local function check_rise(P)
if #P.clearedRow==0 then
local L=P.garbageBeneath
if L>0 then
if L<3 then
P:showTextF(text.almost,0,-120,80,"beat",.8)
elseif L<5 then
P:showTextF(text.great,0,-120,80,"fly",.8)
end
end
for i=1,8-P.garbageBeneath do
P:garbageRise(13,1,P:RND(10))
end
else
if P.garbageBeneath==0 then
P:showTextF(text.awesome,0,-120,80,"beat",.6)
SFX.play("clear")
end
end
end
@@ -13,8 +26,8 @@ return{
drop=1e99,lock=1e99,
oncehold=false,
dropPiece=check_rise,
pushSpeed=1,
bg="glow",bgm="infinite",
pushSpeed=1.2,
bg="wing",bgm="infinite",
},
load=function()
PLY.newPlayer(1,340,15)