fix more your corpse cases

- new cxname() to simplify doing the right thing in increasingly common cases
- use for bullwhip snagging
- in shopkeeper offer code
- in a couple other existing places rather than duplicating CORPSE checks
- use singular(...) in "swings" cases, since only one can hit.  Singular uses
  corpse_xname automatically when appropriate
This commit is contained in:
cohrs
2002-02-27 05:15:48 +00:00
parent c9f7360301
commit 8fb7664869
7 changed files with 17 additions and 10 deletions
+1 -1
View File
@@ -2685,7 +2685,7 @@ move_on:
offer, plur(offer),
(!ltmp && cltmp && only_partially_your_contents) ?
" your items in" : (!ltmp && cltmp) ? " the contents of" : "",
obj->unpaid ? "the" : "your", xname(obj),
obj->unpaid ? "the" : "your", cxname(obj),
(obj->quan == 1L &&
!(!ltmp && cltmp && only_partially_your_contents)) ?
"it" : "them");