diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-17 20:08:50 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-17 20:08:50 +0000 |
commit | 2d63ab533a35163bf93d03f5db33b5ed8ec5a2ea (patch) | |
tree | a5d448530d6dafa60940d23765e54aa6e2f09908 /crawl-ref/source/dat/descript/items.txt | |
parent | c79074eb5aec50fd5b854f10d4377b4e988a696f (diff) | |
download | crawl-ref-2d63ab533a35163bf93d03f5db33b5ed8ec5a2ea.tar.gz crawl-ref-2d63ab533a35163bf93d03f5db33b5ed8ec5a2ea.zip |
Display a proper message in the description of large rocks for those
races that can't throw them, as we do for javelins and throwing nets.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7466 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dat/descript/items.txt')
-rw-r--r-- | crawl-ref/source/dat/descript/items.txt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/crawl-ref/source/dat/descript/items.txt b/crawl-ref/source/dat/descript/items.txt index 7fc17149ab..22570b2772 100644 --- a/crawl-ref/source/dat/descript/items.txt +++ b/crawl-ref/source/dat/descript/items.txt @@ -700,7 +700,15 @@ user, with a small cost attached. %%%% large rock -A rock, used by giants as a missile. +A rock, used by giants as a missile. {{ +if string.find(you.race(), "Ogre") + or you.race() == "Troll" +then + return "" +else + return "Unfortunately, it is too heavy and awkward for you to use." +end +}} %%%% large shield |