CC不能和swap的暂存模式一起开

This commit is contained in:
MrZ626
2021-09-30 21:13:08 +08:00
parent 6f7ebb4cbf
commit a61e0086e0
9 changed files with 25 additions and 11 deletions

View File

@@ -56,7 +56,8 @@ return{
page="Page:",
ai_fixed="AI is incompatible with fixed sequences",
cc_fixed="CC is incompatible with fixed sequences",
cc_swap="CC is incompatible with swap holdmode",
ai_prebag="AI is incompatible with custom sequences which have non-tetromino",
ai_mission="AI is incompatible with custom missions",
switchSpawnSFX="Please turn on the block spawn SFX!",

View File

@@ -46,7 +46,8 @@ return{
page="Página:",
ai_fixed="La IA no es compatible con secuencias de piezas prefijadas.",
-- cc_fixed="CC is incompatible with fixed sequences",
-- cc_swap="CC is incompatible with swap holdmode",
ai_prebag="La IA no es compatible con piezas que no sean Tetrominos.",
ai_mission="La IA no es compatible con misiones personalizadas.",
switchSpawnSFX="Habilita los sonidos de aparición de las piezas ;)",

View File

@@ -47,7 +47,8 @@ return{
page="Page:",
ai_fixed="L'IA est incompatible avec les séquences fixes.",
-- cc_fixed="CC is incompatible with fixed sequences",
-- cc_swap="CC is incompatible with swap holdmode",
--ai_prebag="The AI is incompatible with custom sequences which have nontetromino.",'IA est incompatible avec les séquences personnalisées.",
ai_mission="L'IA est incompatible avec les missions personnalisées.",
switchSpawnSFX="Activez les effets sonores d'apparition des pièces pour jouer",

View File

@@ -47,7 +47,8 @@ return{
page="Página:",
ai_fixed="A inteligência é incompatível com sequências fixas.",
-- cc_fixed="CC is incompatible with fixed sequences",
-- cc_swap="CC is incompatible with swap holdmode",
--ai_prebag="The AI is incompatible with custom sequences which have nontetromino.", inteligência é incompatível com sequências fixas.",
ai_mission="A inteligência é incompatível com missões costumizadas.",
switchSpawnSFX="Switch on spawn SFX to play",

View File

@@ -34,7 +34,8 @@ return{
page=":",
ai_fixed="X!!!",
cc_fixed="CC X!!!",
cc_swap="CC X!!!",
ai_prebag="X!!!",
ai_mission="X!!!",
needRestart="!!*#R#*!!",

View File

@@ -56,7 +56,8 @@ return{
page="页面:",
ai_fixed="不能同时开启AI和固定序列",
cc_fixed="不能同时开启CC和固定序列",
cc_swap="不能同时开启CC和swap的暂存模式",
ai_prebag="不能同时开启AI和含有非四连块的自定义序列",
ai_mission="不能同时开启AI和自定义任务",
switchSpawnSFX="请开启方块出生音效",

View File

@@ -21,7 +21,8 @@ return{
finesse_ap="完美极简",
finesse_fc="全连击",
ai_fixed="不能同时开启电脑玩家和固定序列",
cc_fixed="不能同时开启CC和固定序列",
cc_swap="不能同时开启CC和swap的暂存模式",
ai_prebag="不能同时开启电脑玩家和含有非四连块的自定义序列",
ai_mission="不能同时开启电脑玩家和自定义任务",

View File

@@ -57,7 +57,8 @@ return{
page="第页:",
ai_fixed="AI与固定序列不兼容",
cc_fixed="CC与固定序列不兼容",
cc_swap="CC与交换保持模式不兼容",
ai_prebag="AI与具有非四格拼板的自定义序列不兼容",
ai_mission="AI与自定义任务不兼容",
switchSpawnSFX="请打开繁殖特技效果",

View File

@@ -55,9 +55,15 @@ function scene.keyDown(key,isRep)
if isRep then return end
if key=="return"or key=="return2"then
if CUSTOMENV.opponent~="X"then
if CUSTOMENV.opponent:sub(1,2)=='CC'and CUSTOMENV.sequence=="fixed"then
MES.new('error',text.ai_fixed)
return
if CUSTOMENV.opponent:sub(1,2)=='CC'then
if CUSTOMENV.sequence=='fixed'then
MES.new('error',text.cc_fixed)
return
end
if CUSTOMENV.holdMode=='swap'then
MES.new('error',text.cc_swap)
return
end
end
if #BAG>0 then
for _=1,#BAG do