diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-02-10 13:32:04 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-02-10 13:32:04 +0000 |
commit | a028038652c432ed0ee67ca632edea8deb410ef0 (patch) | |
tree | f53d054bb9f1510aab468008626b94aa596ca77b /crawl-ref/source/makeitem.cc | |
parent | 269aa80ee67b5a50709de6d678892b63a7fbe75b (diff) | |
download | crawl-ref-a028038652c432ed0ee67ca632edea8deb410ef0.tar.gz crawl-ref-a028038652c432ed0ee67ca632edea8deb410ef0.zip |
Rework staves/rods to match the ID behaviour of wands etc., i.e.
they get randomised but fixed descriptions at the beginning of the
game, and once you know one type you'll be able to recognize
another staff/rod of the same type.
In the case of rods you'll still have to evoke it to find out the
number of charges.
I've tried to put the secondary descriptions into an order that
will roughly match the ten current staff tiles.
This solves part of FR 1837348, and is likely to cause havoc to
saved games, at least concerning staves.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3424 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r-- | crawl-ref/source/makeitem.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc index f36735c5ba..eeecee763e 100644 --- a/crawl-ref/source/makeitem.cc +++ b/crawl-ref/source/makeitem.cc @@ -703,6 +703,7 @@ void item_colour( item_def &item ) case OBJ_STAVES: item.colour = BROWN; + item.special = you.item_description[IDESC_STAVES][item.sub_type]; break; case OBJ_ORBS: @@ -2479,7 +2480,7 @@ static void generate_staff_item(item_def& item, int force_type) init_rod_mp( item ); // add different looks - item.special = random2(10); +// item.special = you.item_description[IDESC_STAVES][item.sub_type]; } static bool try_make_jewellery_unrandart(item_def& item, int force_type, |