diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-26 19:14:07 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-26 19:14:07 +0000 |
commit | 97fe1affe7f3a999b29a7ca932b99b4349b0ea46 (patch) | |
tree | f82e6bb0d854d901784b3fb6980d492e35bf24a9 /crawl-ref/source/describe.cc | |
parent | c96c36a0477909874c98bdbda3d13333ddb453e2 (diff) | |
download | crawl-ref-97fe1affe7f3a999b29a7ca932b99b4349b0ea46.tar.gz crawl-ref-97fe1affe7f3a999b29a7ca932b99b4349b0ea46.zip |
* Properly deactivate shields during transformations.
* Fix a few transformation edge cases: make sure inappropriate
equipment is removed when untransforming e.g. if the player was
mutated during transformation or wielded a two-handed weapon.
* Mention mulching in ammo descriptions.
* Fix 2178374: Spell descriptions for items.
* FR 2183104: Get rid of training toggle for skills at 27.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7301 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r-- | crawl-ref/source/describe.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index 3c04ab10d9..70d0f3a711 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -1215,6 +1215,8 @@ static std::string _describe_ammo( const item_def &item ) } } + append_missile_info(description); + return (description); } @@ -1228,6 +1230,12 @@ void append_armour_stats(std::string &description, const item_def &item) _append_value(description, property( item, PARM_EVASION ), true); } +void append_missile_info(std::string &description) +{ + description += "$All pieces of ammunition may get destroyed upon impact. " + "Enchantment reduces the chances of such loss."; +} + //--------------------------------------------------------------- // // describe_armour |