Files
Techmino/parts/eventsets/dig_400l.lua

21 lines
465 B
Lua

return{
mesDisp=function(P)
setFont(55)
mStr(400-P.stat.dig,63,265)
end,
dropPiece=function(P)
for _=1,math.min(10,400-P.stat.dig)-P.garbageBeneath do
P:garbageRise(21,1,P:getHolePos())
end
if P.stat.dig==400 then
P:win('finish')
end
end,
task=function(P)
for _=1,10 do
P:garbageRise(21,1,P:getHolePos())
end
P.fieldBeneath=0
end,
}