Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 6 0.28 KB | None | 0 0
  1. %destinations = (
  2.     1 => [x, y, z],
  3.     2 => [x, y, z],
  4.     3 => [x, y, z]
  5. );
  6.  
  7.  
  8. sub <whatever> {
  9.     quest::shout("I'm fucken superman!");
  10.     my $rand_dest = quest::ChooseRandom(1..3);
  11.     quest::gmmove($destinations{$rand_dest}[0], $destinations{$rand_dest}[1], $destinations{$rand_dest}[2]);
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement