修改几个旋转系统的名字,更新时自动重置旋转系统设置
This commit is contained in:
6
main.lua
6
main.lua
@@ -300,7 +300,11 @@ do
|
|||||||
SETTING.dataSaving=nil
|
SETTING.dataSaving=nil
|
||||||
if not SETTING.VKSkin then SETTING.VKSkin=1 end
|
if not SETTING.VKSkin then SETTING.VKSkin=1 end
|
||||||
for _,v in next,SETTING.skin do if v<1 or v>17 then v=17 end end
|
for _,v in next,SETTING.skin do if v<1 or v>17 then v=17 end end
|
||||||
if SETTING.RS=='ZRS'or SETTING.RS=='BRS'then SETTING.RS='BiRS'end
|
if
|
||||||
|
SETTING.RS=='ZRS'or SETTING.RS=='BRS'or
|
||||||
|
SETTING.RS=='ASCplus'or SETTING.RS=='C2sym'or
|
||||||
|
SETTING.RS=='Classic'
|
||||||
|
then SETTING.RS='TRS'end
|
||||||
if SETTING.ghostType=='greyCell'then SETTING.ghostType='grayCell'end
|
if SETTING.ghostType=='greyCell'then SETTING.ghostType='grayCell'end
|
||||||
if type(SETTING.skinSet)=='number'then SETTING.skinSet='crystal_scf'end
|
if type(SETTING.skinSet)=='number'then SETTING.skinSet='crystal_scf'end
|
||||||
if not TABLE.find({8,10,13,17,22,29,37,47,62,80,100},SETTING.frameMul)then SETTING.frameMul=100 end
|
if not TABLE.find({8,10,13,17,22,29,37,47,62,80,100},SETTING.frameMul)then SETTING.frameMul=100 end
|
||||||
|
|||||||
@@ -579,20 +579,20 @@ do
|
|||||||
for i=2,29 do ASC[i]=ASC[1]end
|
for i=2,29 do ASC[i]=ASC[1]end
|
||||||
end
|
end
|
||||||
|
|
||||||
local ASCplus
|
local ASC_plus
|
||||||
do
|
do
|
||||||
local L={"+0+0","+1+0","+0-1","+1-1","+0-2","+1-2","+2+0","+2-1","+2-2","-1+0","-1-1","+0+1","+1+1","+2+1","-1-2","-2+0","+0+2","+1+2","+2+2","-2-1","-2-2"}
|
local L={"+0+0","+1+0","+0-1","+1-1","+0-2","+1-2","+2+0","+2-1","+2-2","-1+0","-1-1","+0+1","+1+1","+2+1","-1-2","-2+0","+0+2","+1+2","+2+2","-2-1","-2-2"}
|
||||||
local R=flipList(L)
|
local R=flipList(L)
|
||||||
local F={"+0+0","-1+0","+1+0","+0-1","-1-1","+1-1","+0-2","-1-2","+1-2","-2+0","+2+0","-2-1","+2-1","-2+1","+2+1","+0+2","-1+2","+1+2"}
|
local F={"+0+0","-1+0","+1+0","+0-1","-1-1","+1-1","+0-2","-1-2","+1-2","-2+0","+2+0","-2-1","+2-1","-2+1","+2+1","+0+2","-1+2","+1+2"}
|
||||||
vecStrConv(L)vecStrConv(R)vecStrConv(F)
|
vecStrConv(L)vecStrConv(R)vecStrConv(F)
|
||||||
ASCplus={
|
ASC_plus={
|
||||||
{
|
{
|
||||||
[01]=R,[12]=R,[23]=R,[30]=R,
|
[01]=R,[12]=R,[23]=R,[30]=R,
|
||||||
[10]=L,[21]=L,[32]=L,[03]=L,
|
[10]=L,[21]=L,[32]=L,[03]=L,
|
||||||
[02]=F,[20]=F,[13]=F,[31]=F,
|
[02]=F,[20]=F,[13]=F,[31]=F,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for i=2,29 do ASCplus[i]=ASCplus[1]end
|
for i=2,29 do ASC_plus[i]=ASC_plus[1]end
|
||||||
end
|
end
|
||||||
|
|
||||||
local C2
|
local C2
|
||||||
@@ -608,7 +608,7 @@ do
|
|||||||
for i=2,29 do C2[i]=C2[1]end
|
for i=2,29 do C2[i]=C2[1]end
|
||||||
end
|
end
|
||||||
|
|
||||||
local C2sym
|
local C2_sym
|
||||||
do
|
do
|
||||||
local L={'+0+0','-1+0','+1+0','+0-1','-1-1','+1-1','-2+0','+2+0'}
|
local L={'+0+0','-1+0','+1+0','+0-1','-1-1','+1-1','-2+0','+2+0'}
|
||||||
local R={'+0+0','+1+0','-1+0','+0-1','+1-1','-1-1','+2+0','-2+0'}
|
local R={'+0+0','+1+0','-1+0','+0-1','+1-1','-1-1','+2+0','-2+0'}
|
||||||
@@ -622,7 +622,7 @@ do
|
|||||||
collectSet(Z)
|
collectSet(Z)
|
||||||
collectSet(S)
|
collectSet(S)
|
||||||
|
|
||||||
C2sym={
|
C2_sym={
|
||||||
Z,S,--Z,S
|
Z,S,--Z,S
|
||||||
Z,S,--J,L
|
Z,S,--J,L
|
||||||
Z,--T
|
Z,--T
|
||||||
@@ -644,22 +644,22 @@ do
|
|||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
local Classic={}
|
|
||||||
for i=1,29 do Classic[i]=noKickSet end
|
|
||||||
|
|
||||||
local None={}
|
local None={}
|
||||||
for i=1,29 do None[i]=noKickSet_180 end
|
for i=1,29 do None[i]=noKickSet_180 end
|
||||||
|
|
||||||
|
local None_plus={}
|
||||||
|
for i=1,29 do None_plus[i]=noKickSet end
|
||||||
|
|
||||||
local RS={
|
local RS={
|
||||||
TRS=TRS,
|
TRS=TRS,
|
||||||
SRS=SRS,
|
SRS=SRS,
|
||||||
BiRS=BiRS,
|
BiRS=BiRS,
|
||||||
ASC=ASC,
|
ASC=ASC,
|
||||||
ASCplus=ASCplus,
|
ASC_plus=ASC_plus,
|
||||||
C2=C2,
|
C2=C2,
|
||||||
C2sym=C2sym,
|
C2_sym=C2_sym,
|
||||||
Classic=Classic,
|
|
||||||
None=None,
|
None=None,
|
||||||
|
None_plus=None_plus,
|
||||||
}
|
}
|
||||||
|
|
||||||
for _,v in next,RS do
|
for _,v in next,RS do
|
||||||
|
|||||||
Reference in New Issue
Block a user