diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-15 11:32:58 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-15 11:32:58 +0000 |
commit | e1930b24b4d48d92ee6491a7c72b4b8d65ce42c3 (patch) | |
tree | 505c14859be8150436c53e0f2ebca7c0d9399b89 /crawl-ref/source/shopping.cc | |
parent | 5cd3548ac850a231358ca7cfa92f712a4303c8cf (diff) | |
download | crawl-ref-e1930b24b4d48d92ee6491a7c72b4b8d65ce42c3.tar.gz crawl-ref-e1930b24b4d48d92ee6491a7c72b4b8d65ce42c3.zip |
Fix dangling inscription for coagulated blood.
Properly use settings to decide whether to pick up useless or inedible
stuff rather than forcing autopickup to be forbidden.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6554 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/shopping.cc')
-rw-r--r-- | crawl-ref/source/shopping.cc | 41 |
1 files changed, 18 insertions, 23 deletions
diff --git a/crawl-ref/source/shopping.cc b/crawl-ref/source/shopping.cc index 01044a58e0..2d8a89827d 100644 --- a/crawl-ref/source/shopping.cc +++ b/crawl-ref/source/shopping.cc @@ -206,29 +206,24 @@ static std::string _shop_print_stock( const std::vector<int>& stock, } -/* - Rather than prompting for each individual item, I think it should be -like multi-pickup, in that pressing a letter only "selects" an item -(changing the '-' next to its name to a '+'). - -New, suggested shopping keys: -* letter keys [a-t] (de)select item -* Enter buys (with prompt) -* ? toggles examination mode (where letter keys view items) -* \ shows discovered items -* * lists inventory -* x exits (also Esc) - -For the ? key, the text should read: -[?] switch to examination mode -[?] switch to selection mode - -Display selected items in yellow. -Use red/green letters to indicated availability as now. Update these as -items are (de)selected. -List funds: "You now have 119 gold pieces. After the purchase, you will -have 24 gold pieces." -*/ +// Rather than prompting for each individual item, shopping now works more +// like multi-pickup, in that pressing a letter only "selects" an item +// (changing the '-' next to its name to a '+'). Affordability is shown +// via colours that are updated every time the contents of your shopping +// cart change. +// +// New, suggested shopping keys: +// * letter keys [a-t] (de)select item, as now +// * Enter buys (with prompt), as now +// * \ shows discovered items, as now +// * x exits (also Esc), as now +// -------- +// * ? toggles examination mode (where letter keys view items) +// * * lists inventory (currently also ?) +// +// For the ? key, the text should read: +// [?] switch to examination mode +// [?] switch to selection mode static void _in_a_shop( int shopidx ) { const shop_struct& shop = env.shop[shopidx]; |