Merge remote-tracking branch 'tech/cc-field-height'
This commit is contained in:
@@ -73,6 +73,9 @@ return {
|
|||||||
cc_fixed="CC is incompatible with fixed sequences.",
|
cc_fixed="CC is incompatible with fixed sequences.",
|
||||||
cc_swap="CC is incompatible when the hold mode is set to Swap.",
|
cc_swap="CC is incompatible when the hold mode is set to Swap.",
|
||||||
cc_solid="CC is incompatible with filled line in the field.",
|
cc_solid="CC is incompatible with filled line in the field.",
|
||||||
|
cc_field_too_high="CC is incompatible with fields higher than 40.",
|
||||||
|
ai_prebag="AI is incompatible with custom sequences that contain non-tetrominoes.",
|
||||||
|
ai_mission="AI is incompatible with custom missions.",
|
||||||
switchSpawnSFX="Please turn on the block spawn SFX!",
|
switchSpawnSFX="Please turn on the block spawn SFX!",
|
||||||
needRestart="Restart to apply all changes.",
|
needRestart="Restart to apply all changes.",
|
||||||
|
|
||||||
|
|||||||
@@ -72,6 +72,7 @@ return {
|
|||||||
cc_fixed="CC no es compatible con piezas prefijadas",
|
cc_fixed="CC no es compatible con piezas prefijadas",
|
||||||
cc_swap="CC no es compatible con Swap Hold",
|
cc_swap="CC no es compatible con Swap Hold",
|
||||||
-- cc_solid="CC is incompatible with filled line in the field.",
|
-- cc_solid="CC is incompatible with filled line in the field.",
|
||||||
|
-- cc_field_too_high="CC is incompatible with fields higher than 40.",
|
||||||
switchSpawnSFX="Habilita los sonidos de aparición de las piezas ;)",
|
switchSpawnSFX="Habilita los sonidos de aparición de las piezas ;)",
|
||||||
needRestart="Reinicia para aplicar los cambios.",
|
needRestart="Reinicia para aplicar los cambios.",
|
||||||
|
|
||||||
|
|||||||
@@ -73,6 +73,7 @@ return {
|
|||||||
cc_fixed="CC est incompatible avec les séquences fixes",
|
cc_fixed="CC est incompatible avec les séquences fixes",
|
||||||
cc_swap="CC est incompatible avec le mode de maintien du swap",
|
cc_swap="CC est incompatible avec le mode de maintien du swap",
|
||||||
-- cc_solid="CC is incompatible with filled line in the field.",
|
-- cc_solid="CC is incompatible with filled line in the field.",
|
||||||
|
-- cc_field_too_high="CC is incompatible with fields higher than 40.",
|
||||||
switchSpawnSFX="Activez les effets sonores d'apparition des pièces pour jouer.",
|
switchSpawnSFX="Activez les effets sonores d'apparition des pièces pour jouer.",
|
||||||
needRestart="Redémarrez pour appliquer toutes les modifications.",
|
needRestart="Redémarrez pour appliquer toutes les modifications.",
|
||||||
|
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ return {
|
|||||||
cc_fixed="CC tidak cocok dengan urutan tetap.",
|
cc_fixed="CC tidak cocok dengan urutan tetap.",
|
||||||
cc_swap="CC tidak cocok dengan mode simpan tukar.",
|
cc_swap="CC tidak cocok dengan mode simpan tukar.",
|
||||||
-- cc_solid="CC is incompatible with filled line in the field.",
|
-- cc_solid="CC is incompatible with filled line in the field.",
|
||||||
|
-- cc_field_too_high="CC is incompatible with fields higher than 40.",
|
||||||
switchSpawnSFX="Nyalakan efek suara munculan blok!",
|
switchSpawnSFX="Nyalakan efek suara munculan blok!",
|
||||||
needRestart="Ulangi untuk menerapkan perubahan.",
|
needRestart="Ulangi untuk menerapkan perubahan.",
|
||||||
|
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ return {
|
|||||||
cc_fixed="CCはミノ順の指定に非対応です!",
|
cc_fixed="CCはミノ順の指定に非対応です!",
|
||||||
cc_swap="CCはホールドモード、Swapに非対応です!",
|
cc_swap="CCはホールドモード、Swapに非対応です!",
|
||||||
-- cc_solid="CC is incompatible with filled line in the field.",
|
-- cc_solid="CC is incompatible with filled line in the field.",
|
||||||
|
-- cc_field_too_high="CC is incompatible with fields higher than 40.",
|
||||||
switchSpawnSFX="ブロック出現時の効果音をONにしてください!",
|
switchSpawnSFX="ブロック出現時の効果音をONにしてください!",
|
||||||
needRestart="すべての変更を適用する為にリスタートしてください!",
|
needRestart="すべての変更を適用する為にリスタートしてください!",
|
||||||
|
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ return {
|
|||||||
-- cc_fixed="CC is incompatible with fixed sequences",
|
-- cc_fixed="CC is incompatible with fixed sequences",
|
||||||
-- cc_swap="CC is incompatible with swap holdmode",
|
-- cc_swap="CC is incompatible with swap holdmode",
|
||||||
-- cc_solid="CC is incompatible with filled line in the field.",
|
-- cc_solid="CC is incompatible with filled line in the field.",
|
||||||
|
-- cc_field_too_high="CC is incompatible with fields higher than 40.",
|
||||||
switchSpawnSFX="Switch on spawn SFX to play",
|
switchSpawnSFX="Switch on spawn SFX to play",
|
||||||
needRestart="Funciona após reiniciar",
|
needRestart="Funciona após reiniciar",
|
||||||
|
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ return {
|
|||||||
cc_fixed="CC X!!!",
|
cc_fixed="CC X!!!",
|
||||||
cc_swap="CC X!!!",
|
cc_swap="CC X!!!",
|
||||||
cc_solid="CC X!!!",
|
cc_solid="CC X!!!",
|
||||||
|
cc_field_too_high="CC X!!!",
|
||||||
needRestart="!!*#R#*!!",
|
needRestart="!!*#R#*!!",
|
||||||
|
|
||||||
loadError_errorMode="'$1' ↑x!: no load mode '$2'",
|
loadError_errorMode="'$1' ↑x!: no load mode '$2'",
|
||||||
|
|||||||
@@ -78,6 +78,8 @@ return {
|
|||||||
cc_fixed="CC không tương thích với trình xáo gạch cố định",
|
cc_fixed="CC không tương thích với trình xáo gạch cố định",
|
||||||
cc_swap="CC không tương thích với chế độ Hold là Chuyển",
|
cc_swap="CC không tương thích với chế độ Hold là Chuyển",
|
||||||
cc_solid="CC không tương thích với bảng có hàng đã lấp đầy.",
|
cc_solid="CC không tương thích với bảng có hàng đã lấp đầy.",
|
||||||
|
-- cc_solid="CC is incompatible with filled line in the field.",
|
||||||
|
-- cc_field_too_high="CC is incompatible with fields higher than 40.",
|
||||||
switchSpawnSFX="Vui lòng bật Spawn SFX để chơi!",
|
switchSpawnSFX="Vui lòng bật Spawn SFX để chơi!",
|
||||||
needRestart="Khởi động lại để áp dụng mọi thay đổi.",
|
needRestart="Khởi động lại để áp dụng mọi thay đổi.",
|
||||||
|
|
||||||
|
|||||||
@@ -73,6 +73,7 @@ return {
|
|||||||
cc_fixed="不能同时开启CC和固定序列",
|
cc_fixed="不能同时开启CC和固定序列",
|
||||||
cc_swap="不能同时开启CC和swap的暂存模式",
|
cc_swap="不能同时开启CC和swap的暂存模式",
|
||||||
cc_solid="开启CC时不能存在预先填满的行",
|
cc_solid="开启CC时不能存在预先填满的行",
|
||||||
|
cc_field_too_high="开启CC时最高出块高度不能超过40",
|
||||||
switchSpawnSFX="请开启方块生成音效",
|
switchSpawnSFX="请开启方块生成音效",
|
||||||
needRestart="重新开始以生效",
|
needRestart="重新开始以生效",
|
||||||
|
|
||||||
|
|||||||
@@ -72,6 +72,7 @@ return {
|
|||||||
cc_fixed="assert(AI==CC and Sequence==Fixed)",
|
cc_fixed="assert(AI==CC and Sequence==Fixed)",
|
||||||
cc_swap="assert(AI==CC and Hold.Mode==Swap)",
|
cc_swap="assert(AI==CC and Hold.Mode==Swap)",
|
||||||
cc_solid="assert(AI==CC and filledLine in Field)",
|
cc_solid="assert(AI==CC and filledLine in Field)",
|
||||||
|
cc_field_too_high="assert(AI==CC and Field.Height>=40)",
|
||||||
switchSpawnSFX="SpawnSFX=false",
|
switchSpawnSFX="SpawnSFX=false",
|
||||||
needRestart="NeedRestart=true",
|
needRestart="NeedRestart=true",
|
||||||
|
|
||||||
|
|||||||
@@ -73,6 +73,7 @@ return {
|
|||||||
cc_fixed="不能同時開啟CC和固定序列",
|
cc_fixed="不能同時開啟CC和固定序列",
|
||||||
cc_swap="不能同時開啟CC和swap的暫存模式",
|
cc_swap="不能同時開啟CC和swap的暫存模式",
|
||||||
cc_solid="開啟CC時不能存在預先填滿的行",
|
cc_solid="開啟CC時不能存在預先填滿的行",
|
||||||
|
cc_field_too_high="開啓CC時最高出塊高度不能超過40",
|
||||||
switchSpawnSFX="請開啟方塊生成音效",
|
switchSpawnSFX="請開啟方塊生成音效",
|
||||||
needRestart="重新啟動以應用所有更改",
|
needRestart="重新啟動以應用所有更改",
|
||||||
|
|
||||||
|
|||||||
@@ -118,6 +118,13 @@ local function _play(mode)
|
|||||||
MES.new('error',text.cc_swap)
|
MES.new('error',text.cc_swap)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
if CUSTOMGAME_LOCAL.customenv.fieldH>=35 then
|
||||||
|
-- the error message says 40, but we detect 35
|
||||||
|
-- because with a few garbage lines, the field height can be pushed to 40
|
||||||
|
MES.new('warn',text.cc_field_too_high)
|
||||||
|
-- warning instead of error because we think it's not a big deal
|
||||||
|
-- the bot just dies very quickly
|
||||||
|
end
|
||||||
for _,F in next,CUSTOMGAME_LOCAL.field do
|
for _,F in next,CUSTOMGAME_LOCAL.field do
|
||||||
for y=1,#F do
|
for y=1,#F do
|
||||||
if not TABLE.find(F[y],0) then
|
if not TABLE.find(F[y],0) then
|
||||||
|
|||||||
Reference in New Issue
Block a user