Files
Techmino/parts/eventsets/tsd_e.lua
2021-11-12 23:20:29 +08:00

21 lines
450 B
Lua

return{
mesDisp=function(P)
setFont(60)
mStr(P.modeData.tsd,63,250)
mText(TEXTOBJ.tsd,63,315)
end,
hook_drop=function(P)
local C=P.lastPiece
if C.row>0 then
if C.id==5 and C.row==2 and C.spin then
P.modeData.tsd=P.modeData.tsd+1
else
P:lose()
end
end
end,
task=function(P)
P.modeData.history={}
end,
}