summaryrefslogtreecommitdiffstats
path: root/battlestar/com4.c
Commit message (Collapse)AuthorAgeFilesLines
* In cypher(), don't attempt to make sense of words other than VERBs orjsm2000-09-251-2/+3
| | | | | | | | KNIFE when a verb is required. Add AUXVERB for "make", "move", "climb" (as in "make love", "climb up") and ignore AUXVERB as a verb, going on to the next word, instead of treating these words as adjectives. When creating new verbs from "put on", "put down", "take off", mark them as type VERB. Mostly from Paul Janzen <pjanzen@foatdi.harvard.edu>.
* Add OBJ_AN flag to objflags so as to use "a" or "an" appropriately injsm2000-09-251-12/+10
| | | | messages; avoids "a amulet", "a Elf". Define and use macros to use "a", "an", "the", "is", "are" appropriately. Partly based on OpenBSD.
* Correct spelling "dont" to "don't". From OpenBSD.jsm2000-09-241-3/+3
|
* Give a better message for trying to eat things it doesn't make sensejsm2000-09-241-7/+11
| | | | | | to eat. For something eatable, check first whether you're holding it, then whether you have a knife, then whether you're stuffed (gives better message for "eat coconuts" when you don't have any). From OpenBSD.
* Attempt to disambiguate BODY for kicking. Avoid crashing or nonsensejsm2000-09-241-30/+55
| | | messages on "kick door" and "kick man". From OpenBSD.
* Use a lookup table to identify whether objects are plural or singular,jsm2000-09-231-12/+14
| | | | instead of testing the final character against 's' in each place. Avoids oddities about "pot of jewels" and "compass".
* Don't say "Kicked." of an object not present; give sensible messages.jsm2000-09-221-3/+7
| | | From OpenBSD.
* Check for an object being taken not being there before checking forjsm2000-09-221-5/+5
| | | | whether it is too heavy or too bulky; gives a better message for "take viper" with the viper not present.
* Remove all adjectives in parse(), since they are nowhere used. Fixesjsm2000-09-221-7/+6
| | | | crash on "carry old all" shown up by fuzz testing. Patch from Paul Janzen <pjanzen@foatdi.harvard.edu>.
* Clean up formatting; partly from OpenBSD.jsm2000-09-171-42/+35
|
* Wording, punctuation and line length improvements. Also adjust testjsm2000-09-101-6/+6
| | | | for killing nonsensical things to fix crash with "kill door". From OpenBSD.
* Fix -Wsign-compare warnings.jsm1999-09-181-3/+3
|
* Const poisoning, per PR 6660 by Joseph Myers <jsm28@cam.ac.uk>hubertf1999-02-101-4/+4
|
* KNFify (with indent)lukem1997-10-111-233/+234
|
* WARNSifylukem1997-10-101-12/+21
|
* Sync to 4.4BSD-Lite2tls1997-01-071-4/+4
|
* clean up importcgd1995-03-211-4/+9
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+379