<!-- RUBY-BACKUP · part 284 -->
usGeometry(2, 0.3, 8, 32),
              new THREE.MeshBasicMaterial({color: 0xffffff, transparent: true, opacity: 0.9}));
            ring.position.copy(mePos);
            ring.rotation.x = Math.PI/2;
            scene.add(ring);
            var _r = 2, _o = 0.9;
            var _ex = function(){
              _r += 1.5; _o -= 0.05;
              ring.scale.set(_r/2, _r/2, 1);
              ring.material.opacity = _o;
              if(_o > 0) requestAnimationFrame(_ex);
              else scene.remove(ring);
            };
            _ex();
          }catch(e){}
        }, delay);
      };
      _sb(1000); _sb(2000);
      if(typeof codeStatus==='function') codeStatus('sonic boom x2');
    }catch(e){}
    return;
  }
  if(tl==='mirror'){ if(!WALK) setWalk(true); MIRROR = !MIRROR;
    codeStatus(MIRROR ? 'mirror — look at yourself' : 'mirror away'); return; }
  if(tl==='crown'){ if(!WALK) setWalk(true); CROWN = !CROWN; glide = null;
    codeStatus(CROWN ? 'crown cam — through your own eyes' : 'back over the shoulder'); return; }
  if(tl.indexOf('body ')===0){
    var bd0 = tl.split(/\s+/)[1]||'';
    if(bd0==='king' || bd0==='circle'){
      AVATAR = bd0;
      if(myAvatar){ scene.remove(myAvatar); myAvatar = null; }
      if(myWearGrp){ scene.remove(myWearGrp); myWearGrp = null; }
      if(WALK){ myAvatar = AVATAR==='provolta' ? buildProvoltaAvatar() : (AVATAR==='king' ? buildKingAvatar() : buildCircleAvatar(0xffd700)); scene.add(myAvatar); }
      codeStatus('body · '+bd0);
    } else codeStatus('body king · body circle');
    return; }
  if(tl==='wear'){ setWear(null); return; }
  if(tl.indexOf('wear ')===0){
    var wn0 = tl.split(/\s+/)[1]||'';
    if(/^[a-z][a-z0-9]*$/.test(wn0)) setWear(wn0); else codeStatus('wear <name>');
    return; }
  if(tl==='portals'){ codeStatus(portals.length ? portals.length+' portal'+(portals.length>1?'s':'')+' open' : 'no portals'); return; }
  if(tl==='unportal'){
    if(!portals.length){ codeStatus('no portals'); return; }
    awaitingUnportal=true; codeStatus('tap a portal to close it'); return;
  }
  if(tl==='portal' || tl.indexOf('portal ')===0){
    var pw=(tl.split(/\s+/)[1]||'').trim();
    if(!/^[a-z0-9-]{1,32}$/.test(pw)){ codeStatus('portal <id> — tap a block, it becomes the door'); return; }
    awaitingPortal=pw; awaitingUnportal=false; codeStatus('tap the portal stone'); return;
  }
  pendingDid = line.trim();
  if(tl==='oops'){ doOops(); return; }
  if(tl==='oops-my-bad'){ awaitingAnchor=true; clearSelection(); codeStatus('tap the anchor stone'); return; }
  if(tl==='cut'){ cutSelection(); return; }
  if(tl==='keep'){ clearSelection(); codeStatus('kept'); return; }
  if(tl==='saves'){ listSaves(); return; }
  if(tl==='b1'){
    /* B1 — moving home: to the ruby at the center of the world */
    if(!WALK) setWalk(true);
    var hsp = freeSpawn(0, 0);
    mePos.set(hsp.x, groundY(hsp.x, hsp.z), hsp.z); meVel.set(0,0,0);
    codeStatus('B1 — home, at the ruby');
    return; }
  if(tl==='edge'){
    /* to the bottom of the map — the far south edge */
    if(!WALK) setWalk(true);
    var esp = freeSpawn(0, 44);
    mePos.set(esp.x, groundY(esp.x, esp.z), esp.z); meVel.set(0,0,0);
    codeStatus('edge — the bottom of the map');
    return; }
  if(tl==='brane'){
    /* the brane view — low on the membrane, gazing up at what stands on it */
    if(!WALK) setWalk(true);
    camPitch = 0.12; camDist = 1.7;
    codeStatus('brane — the world as a membrane');
    return; }
  if(tl==='brain'){ showBrain(); return; }
  if(tl==='land'){
    /* Find the solid surface below — land on it, whatever it is */
    try{
      if(typeof rayc !== 'undefined' && typeof THREE !== 'undefined' && typeof mePos !== 'undefined'){
        rayc.set(new THREE.Vector3(mePos.x, mePos.y + 2, mePos.z), new THREE.Vector3(0, -1, 0));
        rayc.far = 50;
        var _lh = [];
        try{
          var _lt2 = [];
          scene.traverse(function(o){ if(o.isMesh && !o.isSprite) _lt2.push(o); });
          _lh = rayc.intersectObjects(_lt2, false);
        }catch(e){ _lh = []; }
        if(_lh.length > 0){
          var _ly = _lh[0].point.y;
          mePos.y = _ly + 0.1;
          meVel.set(0, 0, 0);
          onGround = true;
          if(typeof codeStatus === 'function') codeStatus('landed solid');
        }
      }
    }catch(e){}
    layLand();
    /* If Lay is active, land in lay position — teach them to wake up */
    if(window._laying){
      window._layStart = Date.now();
      try{
        if(typeof myAvatar !== 'undefined' && myAvatar){
          myAvatar.rotation.x = -Math.PI/2;
        }
        if(typeof codeStatus === 'function') codeStatus('landed on belly — stand up!');
      }catch(e){}
    }else{
      /* Standing up from lay */
      try{
        if(typeof myAvatar !== 'undefined' && myAvatar){
          myAvatar.rotation.x = 0;
        }
        window._laying = false;
      }catch(e){}
    }
    return;
  }
  /* Stand — get up from crouch or 