无尽挖掘连挖提示语

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

View File

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