diff --git a/parts/eventsets/techrash_n.lua b/parts/eventsets/techrash_n.lua new file mode 100644 index 00000000..140a73e1 --- /dev/null +++ b/parts/eventsets/techrash_n.lua @@ -0,0 +1,12 @@ +return{ + mesDisp=function(P) + setFont(60) + mStr(P.stat.clear[7][4],63,250) + mText(drawableText.techrash,63,315) + end, + dropPiece=function(P) + if P.lastPiece.row>0 and P.lastPiece.row<4 then + P:lose() + end + end, +} diff --git a/parts/modes/techrash_n.lua b/parts/modes/techrash_n.lua new file mode 100644 index 00000000..10d165e9 --- /dev/null +++ b/parts/modes/techrash_n.lua @@ -0,0 +1,20 @@ +return{ + color=COLOR.lYellow, + env={ + drop=60,lock=60, + freshLimit=15, + ospin=false, + eventSet='techrash_n', + bg='matrix',bgm='vapor', + }, + getRank=function(P) + local T=P.stat.clear[7][4] + return + T>=100 and 5 or + T>=75 and 4 or + T>=50 and 3 or + T==30 and 2 or + T>=15 and 1 or + T>=5 and 0 + end, +}