Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[bin/crypt] add reveal message

  • Loading branch information...
commit afd7967d5792f7fae0e3705594bf4198e98ea525 1 parent 37e0d35
Carl Mäsak authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 bin/crypt
4 bin/crypt
View
@@ -962,6 +962,10 @@ multi MAIN() {
}
}
when Adventure::PlayerExamined { say %descriptions{.thing} }
+ when Adventure::ContentsRevealed {
+ my $contents = join " and ", map { "a $_" }, .contents;
+ say "Opening the {.container} reveals $contents.";
+ }
}
CATCH {
when X::Adventure { say .message, '.' }
Please sign in to comment.
Something went wrong with that request. Please try again.