From 5f29c987f2f34ae89d27d0e2b269e7276822cb83 Mon Sep 17 00:00:00 2001 From: Oshisaure Date: Mon, 19 Oct 2020 16:50:49 +0100 Subject: [PATCH] Tweaked Cambridge RS to fix how S and Z show in the next queue --- tetris/rulesets/cambridge.lua | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tetris/rulesets/cambridge.lua b/tetris/rulesets/cambridge.lua index 423aa7b..2b0d963 100644 --- a/tetris/rulesets/cambridge.lua +++ b/tetris/rulesets/cambridge.lua @@ -12,9 +12,9 @@ CRS.spawn_positions = { J = { x=4, y=5 }, L = { x=4, y=5 }, O = { x=5, y=5 }, - S = { x=4, y=4 }, + S = { x=4, y=5 }, T = { x=4, y=5 }, - Z = { x=4, y=4 }, + Z = { x=4, y=5 }, } CRS.big_spawn_positions = { @@ -22,9 +22,9 @@ CRS.big_spawn_positions = { J = { x=2, y=3 }, L = { x=2, y=3 }, O = { x=3, y=3 }, - S = { x=2, y=2 }, + S = { x=2, y=3 }, T = { x=2, y=3 }, - Z = { x=2, y=2 }, + Z = { x=2, y=3 }, } CRS.block_offsets = { @@ -53,10 +53,10 @@ CRS.block_offsets = { { {x=0, y=0}, {x=-1, y=0}, {x=-1, y=-1}, {x=0, y=-1} }, }, S={ - { {x=-1, y=1}, {x=0, y=1}, {x=0, y=0}, {x=1, y=0} }, - { {x=0, y=1}, {x=0, y=0}, {x=-1, y=0}, {x=-1, y=-1} }, - { {x=-1, y=1}, {x=0, y=1}, {x=0, y=0}, {x=1, y=0} }, - { {x=0, y=1}, {x=0, y=0}, {x=-1, y=0}, {x=-1, y=-1} }, + { {x=-1, y=0}, {x=0, y=0}, {x=0, y=-1}, {x=1, y=-1} }, + { {x=0, y=0}, {x=0, y=-1}, {x=-1, y=-1}, {x=-1, y=-2} }, + { {x=-1, y=0}, {x=0, y=0}, {x=0, y=-1}, {x=1, y=-1} }, + { {x=0, y=0}, {x=0, y=-1}, {x=-1, y=-1}, {x=-1, y=-2} }, }, T={ { {x=0, y=0}, {x=-1, y=0}, {x=1, y=0}, {x=0, y=-1} }, @@ -65,10 +65,10 @@ CRS.block_offsets = { { {x=0, y=0}, {x=0, y=1}, {x=0, y=-1}, {x=-1, y=0} }, }, Z={ - { {x=1, y=1}, {x=0, y=1}, {x=0, y=0}, {x=-1, y=0} }, - { {x=1, y=-1}, {x=1, y=0}, {x=0, y=0}, {x=0, y=1} }, - { {x=1, y=1}, {x=0, y=1}, {x=0, y=0}, {x=-1, y=0} }, - { {x=1, y=-1}, {x=1, y=0}, {x=0, y=0}, {x=0, y=1} }, + { {x=1, y=0}, {x=0, y=0}, {x=0, y=-1}, {x=-1, y=-1} }, + { {x=1, y=-2}, {x=1, y=-1}, {x=0, y=-1}, {x=0, y=0} }, + { {x=1, y=0}, {x=0, y=0}, {x=0, y=-1}, {x=-1, y=-1} }, + { {x=1, y=-2}, {x=1, y=-1}, {x=0, y=-1}, {x=0, y=0} }, } }