Sha256: d9c763bcd0354d2cf68ec6543c46c715ceee9bd621f76b2d43843a526900a4c9

Contents?: true

Size: 999 Bytes

Versions: 42

Compression:

Stored size: 999 Bytes

Contents

if (this.running)
  player:tell("[Train] Error: already a jump in progress");
  return;
endif
this.running = 1;
this.aborted = 0;
this:announce_all("[Train] departure in 20 seconds");
dest = this.targets[random(length(this.targets))];
this:announce_all("[Train] Next stop is '", dest:title(), "'");
this:announce_all("You hear the engines starting up");
this.location:announce("The MOOTrain starts up his engines");
suspend(20);
if (this.aborted)
  this.running = 0;
  this.aborted = 0;
  return;
endif
this:announce_all("[Train] Departure!");
this.location:announce_all("The MOOTrain leaves into the 42th dimension!");
this:announce_all("Outside you see the lights of the 42th dimension");
this:moveto(dest);
suspend(4);
this:announce_all("The glowing gets less, until you can see the clear shape of the room, the MOOTrain has landed in");
this.location:announce_all("The MOOTrain arrives out of the 42th dimension!");
this:announce_all("[Train] arrived in '", dest:title(), "'");
this.running = 0;

Version data entries

42 entries across 42 versions & 5 rubygems

Version Path
tdiary-4.2.1 vendor/bundle/ruby/2.2.0/gems/pygments.rb-0.6.3/vendor/pygments-main/tests/examplefiles/example.moo
pygments.rb-0.6.3 vendor/pygments-main/tests/examplefiles/example.moo
pygments.rb-0.6.2 vendor/pygments-main/tests/examplefiles/example.moo
pygments.rb-0.6.1 vendor/pygments-main/tests/examplefiles/example.moo
pygments.rb-0.6.0 vendor/pygments-main/tests/examplefiles/example.moo
mortar-pygments.rb-0.5.7 vendor/pygments-main/tests/examplefiles/example.moo
mortar-pygments.rb-0.5.6 vendor/pygments-main/tests/examplefiles/example.moo
mortar-pygments.rb-0.5.5 vendor/pygments-main/tests/examplefiles/example.moo
pygments.rb-jruby-0.5.4.2 vendor/pygments-main/tests/examplefiles/example.moo
pygments.rb-jruby-0.5.4.1 vendor/pygments-main/tests/examplefiles/example.moo
pygments.rb-jruby-0.5.4 vendor/pygments-main/tests/examplefiles/example.moo
gitlab-pygments.rb-0.5.4 vendor/pygments-main/tests/examplefiles/example.moo
pygments.rb-0.5.4 vendor/pygments-main/tests/examplefiles/example.moo
pygments.rb-0.5.2 vendor/pygments-main/tests/examplefiles/example.moo
pygments.rb-0.5.1 vendor/pygments-main/tests/examplefiles/example.moo
pygments.rb-0.5.0 vendor/pygments-main/tests/examplefiles/example.moo
gitlab-pygments.rb-0.3.2 vendor/pygments-main/tests/examplefiles/example.moo
pygments.rb-0.4.2 vendor/pygments-main/tests/examplefiles/example.moo
pygments.rb-0.4.1 vendor/pygments-main/tests/examplefiles/example.moo
pygments.rb-0.3.7 vendor/pygments-main/tests/examplefiles/example.moo