@@ -259,7 +259,13 @@ async function onOnTASSimButton() {
letblobs=simulator.saveSystem(filename);
lettdpContents,tdsContents;
letn_tiles=simulator.tileset.tileTypes.length;
if(n_tiles>3000){
alert('The current system has '+n_tiles+' tile types.\nBecause of limitations of the web simulator, the OnTAS simulation can only be run on tileset with at most 3000 tile types, sorry.');
return;
}
if(blobs===null){
alert('No system to convert to the OnTAS. Please open a system before doing that');
return;
...
...
@@ -267,35 +273,35 @@ async function onOnTASSimButton() {
alert('The current assembly has '+current_assembly_size+' tiles.\nBecause of limitations of the web simulator, the OnTAS simulation can only be run on assemblies with at most 3000 tiles, sorry.')
alert('The current assembly does not contain a 2×2 square, so it cannot be used as the simulated seed in the simulation. Try stepping a few times until it does.\nOnly Theorem 8 (the 5×5 simulation) is implemented, sorry!');