游戏开始时列出使用了的mod

This commit is contained in:
MrZ626
2020-11-23 01:37:52 +08:00
parent 3b717d4705
commit b33cf65593
2 changed files with 14 additions and 0 deletions

View File

@@ -492,6 +492,8 @@ function resetGameData(replaying)
end
STAT.game=STAT.game+1
FREEROW.reset(30*#PLAYERS)
TASK.removeTask_code(TICK.showMods)
TASK.new(TICK.showMods,{0})
SFX.play("ready")
collectgarbage()
end

View File

@@ -1,4 +1,16 @@
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)
P.endCounter=P.endCounter+1
if P.endCounter<40 then