diff options
author | Shayne Halvorson <N78291@gmail.com> | 2014-05-10 12:07:58 -0500 |
---|---|---|
committer | reaverb <reaverb.Crawl@gmail.com> | 2014-05-28 01:14:20 -0400 |
commit | 9820907aeb13857cb306fb2f51f64999a78ccbb1 (patch) | |
tree | 190042a696175491da1ff3ce1b45cf71ee67011c /crawl-ref/source/describe.cc | |
parent | 8f604238169594948847a0f312de6f98fb107124 (diff) | |
download | crawl-ref-9820907aeb13857cb306fb2f51f64999a78ccbb1.tar.gz crawl-ref-9820907aeb13857cb306fb2f51f64999a78ccbb1.zip |
Change peek at two.
Peek at two now reveals the top two cards (no shuffling of the deck);
however, decks that have been peeked cannot be used with Nemelex
abilities. Hopefully this should make it something that isn't used
on every deck, while still being useful early on when you don't have
other abilities.
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r-- | crawl-ref/source/describe.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index 04be6966f4..bb558bed36 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -1559,6 +1559,12 @@ static string _describe_deck(const item_def &item) description += "\n"; } + if (item.props.exists("peeked") && item.props["peeked"].get_bool()) + { + description += "This deck has been peeked at and cannot be used " + "with Nemelex Xobeh's abilities.\n"; + } + return description; } |