语言文件内不再包含函数
This commit is contained in:
@@ -8,7 +8,7 @@ local langList={
|
|||||||
holdR="长按以重新开始",
|
holdR="长按以重新开始",
|
||||||
|
|
||||||
atkModeName={"随机","徽章","击杀","反击"},
|
atkModeName={"随机","徽章","击杀","反击"},
|
||||||
royale_remain=function(n)return"剩余 "..n.." 名玩家"end,
|
royale_remain="剩余 $1 名玩家",
|
||||||
cmb={nil,"1 Combo","2 Combo","3 Combo","4 Combo","5 Combo","6 Combo","7 Combo","8 Combo","9 Combo","10 Combo!","11 Combo!","12 Combo!","13 Combo!","14 Combo!","15 Combo!","16 Combo!","17 Combo!","18 Combo!","19 Combo!","MEGACMB"},
|
cmb={nil,"1 Combo","2 Combo","3 Combo","4 Combo","5 Combo","6 Combo","7 Combo","8 Combo","9 Combo","10 Combo!","11 Combo!","12 Combo!","13 Combo!","14 Combo!","15 Combo!","16 Combo!","17 Combo!","18 Combo!","19 Combo!","MEGACMB"},
|
||||||
block=nil,spin="-spin ",
|
block=nil,spin="-spin ",
|
||||||
clear={"single","double","triple","Techrash","Techrach+"},
|
clear={"single","double","triple","Techrash","Techrach+"},
|
||||||
@@ -17,7 +17,7 @@ local langList={
|
|||||||
hold="暂存",next="下一个",
|
hold="暂存",next="下一个",
|
||||||
replaying="[回放]",
|
replaying="[回放]",
|
||||||
|
|
||||||
stage=function(n)return"关卡 "..n end,
|
stage="关卡 $1",
|
||||||
great="Great!",
|
great="Great!",
|
||||||
awesome="Awesome.",
|
awesome="Awesome.",
|
||||||
almost="Almost!",
|
almost="Almost!",
|
||||||
@@ -568,7 +568,7 @@ local langList={
|
|||||||
holdR="长按以重新开始",
|
holdR="长按以重新开始",
|
||||||
|
|
||||||
atkModeName={"随机","徽章","击杀","反击"},
|
atkModeName={"随机","徽章","击杀","反击"},
|
||||||
royale_remain=function(n)return"剩余 "..n.." 名玩家"end,
|
royale_remain="剩余 $1 名玩家",
|
||||||
cmb={nil,"1连击","2连击","3连击","4连击","5连击","6连击","7连击","8连击","9连击","10连击!","11连击!","12连击!","13连击!","14连击!","15连击!","16连击!","17连击!","18连击!","19连击!","巨型连击"},
|
cmb={nil,"1连击","2连击","3连击","4连击","5连击","6连击","7连击","8连击","9连击","10连击!","11连击!","12连击!","13连击!","14连击!","15连击!","16连击!","17连击!","18连击!","19连击!","巨型连击"},
|
||||||
block=nil,spin="型回旋",
|
block=nil,spin="型回旋",
|
||||||
clear={"单清","双清","三清","四清","五清"},
|
clear={"单清","双清","三清","四清","五清"},
|
||||||
@@ -577,7 +577,7 @@ local langList={
|
|||||||
hold="暂存",next="下一个",
|
hold="暂存",next="下一个",
|
||||||
replaying="[回放]",
|
replaying="[回放]",
|
||||||
|
|
||||||
stage=function(n)return"关卡 "..n end,
|
stage="关卡 $1",
|
||||||
great="不错!",
|
great="不错!",
|
||||||
awesome="精彩。",
|
awesome="精彩。",
|
||||||
almost="差一点!",
|
almost="差一点!",
|
||||||
@@ -1131,7 +1131,7 @@ local langList={
|
|||||||
holdR="Keep holding to retry",
|
holdR="Keep holding to retry",
|
||||||
|
|
||||||
atkModeName={"Random","Badges","K.O.s","Attackers"},
|
atkModeName={"Random","Badges","K.O.s","Attackers"},
|
||||||
royale_remain=function(n)return n.." Players Remaining"end,
|
royale_remain="$1 Players Remaining",
|
||||||
cmb={nil,"1 Combo","2 Combo","3 Combo","4 Combo","5 Combo","6 Combo","7 Combo","8 Combo","9 Combo","10 Combo!","11 Combo!","12 Combo!","13 Combo!","14 Combo!!","15 Combo!!","16 Combo!!","17 Combo!!!","18 Combo!!!","19 Combo!!!","MEGACMB"},
|
cmb={nil,"1 Combo","2 Combo","3 Combo","4 Combo","5 Combo","6 Combo","7 Combo","8 Combo","9 Combo","10 Combo!","11 Combo!","12 Combo!","13 Combo!","14 Combo!!","15 Combo!!","16 Combo!!","17 Combo!!!","18 Combo!!!","19 Combo!!!","MEGACMB"},
|
||||||
block=nil,spin="-Spin ",
|
block=nil,spin="-Spin ",
|
||||||
clear={"Single","Double","Triple","Techrash","Techrash+"},
|
clear={"Single","Double","Triple","Techrash","Techrash+"},
|
||||||
@@ -1140,7 +1140,7 @@ local langList={
|
|||||||
hold="HOLD",next="NEXT",
|
hold="HOLD",next="NEXT",
|
||||||
replaying="[Replay]",
|
replaying="[Replay]",
|
||||||
|
|
||||||
stage=function(n)return"Stage "..n end,
|
stage="Stage $1",
|
||||||
great="Great!",
|
great="Great!",
|
||||||
awesome="Awesome!",
|
awesome="Awesome!",
|
||||||
almost="Almost!",
|
almost="Almost!",
|
||||||
@@ -1691,7 +1691,7 @@ local langList={
|
|||||||
holdR="→→→→R",
|
holdR="→→→→R",
|
||||||
|
|
||||||
atkModeName={"?","( )","!","←→"},
|
atkModeName={"?","( )","!","←→"},
|
||||||
royale_remain=function(n)return n.."~"end,
|
royale_remain="$1 ~",
|
||||||
cmb={nil,"!","!!","!!!","!!!!","!!!!!","!!!!!!","!!!!!!!","!!!!!!!!","!!!!!!!!!","!!!!!!!!!!","!!!!!!!!!!!","!!!!!!!!!!!!","!!!!!!!!!!!!!","!!!!!!!!!!!!!!","!!!!!!!!!!!!!!!","!!!!!!!!!!!!!!!!","!!!!!!!!!!!!!!!!!","!!!!!!!!!!!!!!!!!!","!!!!!!!!!!!!!!!!!!!","!!!!!!!!!!!!!!!!!!!!",},
|
cmb={nil,"!","!!","!!!","!!!!","!!!!!","!!!!!!","!!!!!!!","!!!!!!!!","!!!!!!!!!","!!!!!!!!!!","!!!!!!!!!!!","!!!!!!!!!!!!","!!!!!!!!!!!!!","!!!!!!!!!!!!!!","!!!!!!!!!!!!!!!","!!!!!!!!!!!!!!!!","!!!!!!!!!!!!!!!!!","!!!!!!!!!!!!!!!!!!","!!!!!!!!!!!!!!!!!!!","!!!!!!!!!!!!!!!!!!!!",},
|
||||||
block=nil,spin=" ~",
|
block=nil,spin=" ~",
|
||||||
clear={"1","2","3","4","5"},
|
clear={"1","2","3","4","5"},
|
||||||
@@ -1700,7 +1700,7 @@ local langList={
|
|||||||
hold="[ ]",next="→",
|
hold="[ ]",next="→",
|
||||||
replaying="[Replaying]",
|
replaying="[Replaying]",
|
||||||
|
|
||||||
stage=function(n)return"::"..n.."::"end,
|
stage="::$1::",
|
||||||
great="!~",
|
great="!~",
|
||||||
awesome="!!~",
|
awesome="!!~",
|
||||||
almost="...!",
|
almost="...!",
|
||||||
@@ -2248,7 +2248,7 @@ local langList={
|
|||||||
holdR="长按重开",
|
holdR="长按重开",
|
||||||
|
|
||||||
atkModeName={"随机","徽章","击杀","反击"},
|
atkModeName={"随机","徽章","击杀","反击"},
|
||||||
royale_remain=function(n)return"剩 "..n.." 人"end,
|
royale_remain="剩 $1 人",
|
||||||
cmb={nil,"1连","2连","3连","4连","5连","6连","7连","8连","9连","10连!","11连!","12连!","13连!","14连!","15连!","16连!","17连!","18连!","19连!","MEGACMB"},
|
cmb={nil,"1连","2连","3连","4连","5连","6连","7连","8连","9连","10连!","11连!","12连!","13连!","14连!","15连!","16连!","17连!","18连!","19连!","MEGACMB"},
|
||||||
block=nil,spin="旋",
|
block=nil,spin="旋",
|
||||||
clear={"消一","消二","消三","消四","卧槽"},
|
clear={"消一","消二","消三","消四","卧槽"},
|
||||||
@@ -2257,7 +2257,7 @@ local langList={
|
|||||||
hold="暂存",next="下一个",
|
hold="暂存",next="下一个",
|
||||||
replaying="[回放]",
|
replaying="[回放]",
|
||||||
|
|
||||||
stage=function(n)return"关卡 "..n end,
|
stage="关卡 $1",
|
||||||
great="不错的",
|
great="不错的",
|
||||||
awesome="您很强",
|
awesome="您很强",
|
||||||
almost="太舒服了",
|
almost="太舒服了",
|
||||||
|
|||||||
@@ -126,7 +126,6 @@ function button:draw()
|
|||||||
end
|
end
|
||||||
local t=self.text
|
local t=self.text
|
||||||
if t then
|
if t then
|
||||||
if type(t)=="function"then t=t()end
|
|
||||||
setFont(self.font)
|
setFont(self.font)
|
||||||
local y0=y+h*.5-self.font*.7-ATV*.5
|
local y0=y+h*.5-self.font*.7-ATV*.5
|
||||||
gc.setColor(1,1,1,.2+ATV*.05)
|
gc.setColor(1,1,1,.2+ATV*.05)
|
||||||
@@ -208,7 +207,6 @@ function key:draw()
|
|||||||
|
|
||||||
local t=self.text
|
local t=self.text
|
||||||
if t then
|
if t then
|
||||||
if type(t)=="function"then t=t()end
|
|
||||||
setFont(self.font)
|
setFont(self.font)
|
||||||
gc.setColor(r,g,b,1.2)
|
gc.setColor(r,g,b,1.2)
|
||||||
gc.printf(t,x,y+h*.5-self.font*.7,w,"center")
|
gc.printf(t,x,y+h*.5-self.font*.7,w,"center")
|
||||||
@@ -546,7 +544,6 @@ function selector:draw()
|
|||||||
setFont(28)
|
setFont(28)
|
||||||
t=self.text
|
t=self.text
|
||||||
if t then
|
if t then
|
||||||
if type(t)=="function"then t=t()end
|
|
||||||
gc.setColor(r,g,b)
|
gc.setColor(r,g,b)
|
||||||
mStr(self.text,x+w*.5,y+17-21)
|
mStr(self.text,x+w*.5,y+17-21)
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ local function score(P)
|
|||||||
MD.point,MD.event=500,4
|
MD.point,MD.event=500,4
|
||||||
P:win("finish")
|
P:win("finish")
|
||||||
else
|
else
|
||||||
P:showTextF(text.stage(s),0,-120,80,"fly")
|
P:showTextF(text.stage:gsub("$1",s),0,-120,80,"fly")
|
||||||
end
|
end
|
||||||
SFX.play("reach")
|
SFX.play("reach")
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ local function score(P)
|
|||||||
MD.point,MD.event=500,4
|
MD.point,MD.event=500,4
|
||||||
P:win("finish")
|
P:win("finish")
|
||||||
else
|
else
|
||||||
P:showTextF(text.stage(s),0,-120,80,"fly")
|
P:showTextF(text.stage:gsub("$1",s),0,-120,80,"fly")
|
||||||
end
|
end
|
||||||
SFX.play("reach")
|
SFX.play("reach")
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -17,13 +17,13 @@ local function score(P)
|
|||||||
local s=MD.event+1;MD.event=s
|
local s=MD.event+1;MD.event=s
|
||||||
local E=P.gameEnv
|
local E=P.gameEnv
|
||||||
if s<4 then
|
if s<4 then
|
||||||
P:showTextF(text.stage(s),0,-120,80,"fly")
|
P:showTextF(text.stage:gsub("$1",s),0,-120,80,"fly")
|
||||||
--First 300
|
--First 300
|
||||||
if s~=1 then E.lock=E.lock-1 end
|
if s~=1 then E.lock=E.lock-1 end
|
||||||
if s~=2 then E.wait=E.wait-1 end
|
if s~=2 then E.wait=E.wait-1 end
|
||||||
if s~=3 then E.fall=E.fall-1 end
|
if s~=3 then E.fall=E.fall-1 end
|
||||||
elseif s<10 then
|
elseif s<10 then
|
||||||
P:showTextF(text.stage(s),0,-120,60,"fly",1.26)
|
P:showTextF(text.stage:gsub("$1",s),0,-120,60,"fly",1.26)
|
||||||
if s==4 or s==7 then E.das=E.das-1 end
|
if s==4 or s==7 then E.das=E.das-1 end
|
||||||
s=s%3
|
s=s%3
|
||||||
if s==0 then E.lock=E.lock-1
|
if s==0 then E.lock=E.lock-1
|
||||||
|
|||||||
@@ -353,7 +353,7 @@ end
|
|||||||
function royaleLevelup()
|
function royaleLevelup()
|
||||||
GAME.stage=GAME.stage+1
|
GAME.stage=GAME.stage+1
|
||||||
local spd
|
local spd
|
||||||
TEXT.show(text.royale_remain(#PLAYERS.alive),640,200,40,"beat",.3)
|
TEXT.show(text.royale_remain:gsub("$1",#PLAYERS.alive),640,200,40,"beat",.3)
|
||||||
if GAME.stage==2 then
|
if GAME.stage==2 then
|
||||||
spd=30
|
spd=30
|
||||||
elseif GAME.stage==3 then
|
elseif GAME.stage==3 then
|
||||||
|
|||||||
Reference in New Issue
Block a user