summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/shopping.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-20 21:17:47 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-20 21:17:47 +0000
commit55ac5bbc1fc165f7bd82ac9136283a416027119a (patch)
tree655527c92c0e3fc7e5e258a2f01c2d47d16a0167 /crawl-ref/source/shopping.cc
parent54d8ea2eb8b8836a6ec8e8a7eb29549c9df80fb9 (diff)
downloadcrawl-ref-55ac5bbc1fc165f7bd82ac9136283a416027119a.tar.gz
crawl-ref-55ac5bbc1fc165f7bd82ac9136283a416027119a.zip
Another one of those mixed commits.
* Fix 1915277: Blade Hands time-out removing bardings. * Ely's Lesser Healing costs range(0,1) piety (avg. 0.5) * Allow synonym for "yes" in yesnoquit(), and use it for eating (e=y). Also, in preparation for 0.4 (yes, I can't wait) finally disallow random generation of weapons of orc slaying. Demon lords use a check of their own and as a randart property it's also allowed, which I think is fine. Allow random generation of nets and increase shop prices for nets and javelins. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3766 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/shopping.cc')
-rw-r--r--crawl-ref/source/shopping.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/crawl-ref/source/shopping.cc b/crawl-ref/source/shopping.cc
index f12c308f98..1fab34bb59 100644
--- a/crawl-ref/source/shopping.cc
+++ b/crawl-ref/source/shopping.cc
@@ -802,10 +802,15 @@ unsigned int item_value( item_def item, bool ident )
case MI_NEEDLE:
valued += 2;
break;
+ case MI_JAVELIN:
+ valued += 8;
+ break;
+ case MI_THROWING_NET:
+ valued += 30;
+ break;
default:
- // was: cases 6 through 16 with empty strcat()'s 15jan2000 {dlb}
valued += 5;
- break; //strcat(glog , ""); break;
+ break;
}
break;