游戏开始时列出使用了的mod
This commit is contained in:
@@ -492,6 +492,8 @@ function resetGameData(replaying)
|
|||||||
end
|
end
|
||||||
STAT.game=STAT.game+1
|
STAT.game=STAT.game+1
|
||||||
FREEROW.reset(30*#PLAYERS)
|
FREEROW.reset(30*#PLAYERS)
|
||||||
|
TASK.removeTask_code(TICK.showMods)
|
||||||
|
TASK.new(TICK.showMods,{0})
|
||||||
SFX.play("ready")
|
SFX.play("ready")
|
||||||
collectgarbage()
|
collectgarbage()
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,4 +1,16 @@
|
|||||||
local Tick={}
|
local Tick={}
|
||||||
|
function Tick.showMods(data)
|
||||||
|
local d=data[1]+1
|
||||||
|
if d%20==0 then
|
||||||
|
local M=GAME.mod[d/20]
|
||||||
|
if M then
|
||||||
|
TEXT.show(M.id,700+(d-20)%120*4,36,45,"spin",.5)
|
||||||
|
else
|
||||||
|
return true
|
||||||
|
end
|
||||||
|
end
|
||||||
|
data[1]=d
|
||||||
|
end
|
||||||
function Tick.finish(P)
|
function Tick.finish(P)
|
||||||
P.endCounter=P.endCounter+1
|
P.endCounter=P.endCounter+1
|
||||||
if P.endCounter<40 then
|
if P.endCounter<40 then
|
||||||
|
|||||||
Reference in New Issue
Block a user