4.4BSD snapshot (revision 8.1); add 1993 to copyright
[unix-history] / usr / src / games / larn / larn.6
CommitLineData
a8d99e0d
KB
1.\" Copyright (c) 1990 The Regents of the University of California.
2.\" All rights reserved.
3.\"
955af63e 4.\" %sccs.include.redist.roff%
a8d99e0d 5.\"
955af63e 6.\" @(#)larn.6 5.4 (Berkeley) %G%
a8d99e0d 7.\"
56a016ba
SS
8.Dd
9.Dt LARN 6
955af63e 10.Os
56a016ba
SS
11.Sh NAME
12.Nm larn
13.Nd exploring the caverns of Larn
14.Sh SYNOPSIS
955af63e 15.Nm larn
56a016ba
SS
16.Op Fl r
17.Op Fl H Ar number
18.Op Fl n
19.Op Fl h
20.Op Fl o Ar optsfile
21.Sh DESCRIPTION
22.Nm Larn
23is a fantasy games in which your child has contracted
24a strange disease, and none of your home remedies
25seem to have any effect. You set out to find a remedy in a limited
26amount of time, and to collect gold along the way of course!
27.Pp
28The options are:
29.Pp
955af63e
CL
30.Bl -tag -width flag
31.It Fl r
56a016ba
SS
32The
33.Fl r
34option restores a checkpointed game after it has died.
955af63e 35.It Fl H
56a016ba
SS
36The
37.Fl H
38option sets the hardness of the game.
955af63e 39.It Fl n
56a016ba
SS
40The
41.Fl n
42option suppresses the welcome message at start up, putting you directly
43into the game.
955af63e 44.It Fl h
56a016ba
SS
45The
46.Fl h
47option prints the command line options.
955af63e 48.It Fl o
56a016ba
SS
49The
50.Fl o
955af63e
CL
51option specifies a different options file than
52.Pa ~/.larnopts .
56a016ba 53.Sh COMMANDS
56a016ba
SS
54.Pp
55These are the movement commands:
955af63e
CL
56.Bl -column " print program version" " give present pack weight"
57h move to the left H run left . stay here
58j move down J run down Z teleport yourself
59k move up K run up c cast a spell
60l move to the right L run right r read a scroll
61y move northwest Y run northwest q quaff a potion
62u move northeast U run northeast W wear armor
63b move southwest B run southwest T take off armor
64n move southeast N run southeast w wield a weapon
65^ identify a trap g give present pack weight P give tax status
66d drop an item i inventory your pockets Q quit the game
67v print program version S save the game D list all items found
68? this help screen A create diagnostic file e eat something
69 (wizards only)
70.El
56a016ba
SS
71.Sh OPTIONS FILE
72.Pp
955af63e
CL
73The file
74.Pa ~/.larnopts
75may be used to set a few options for
56a016ba
SS
76.Nm Larn.
77A sequence of words terminated by whitespace is used to specify options.
955af63e
CL
78.Pp
79.Bl -tag -width "savefile: xsave-file-namex" -compact
80.It Sy Word
81.Sy Meaning
82.Pp
83.It bold-objects
84Select bold display of objects.
85.It inverse-objects
86Select inverse video display of objects.
87.It no-introduction
88Do not display intro message.
89.It enable-checkpointing
90Turn on periodic checkpointing.
91.It no-beep
92Disable beeping of the terminal.
93.It male
94Choose your sex to be a man.
95.It female
96Choose your sex to be a woman.
97.It name: \*qyour name\*q
98Choose your playing name.
99.It monster: \*qmonst name\*q
100Choose a name for a monster.
101.It savefile: \*qsave-file-name\*q
102Define what the savegame filename will be.
103.El
56a016ba
SS
104.Pp
105Your name and monster names must be enclosed in double quotation marks and may
106be up to 34 characters long. Longer names are truncated.
107Anything enclosed in quotation marks is considered one word, and must be
108separated from other words by whitespace.
109.Sh SPECIAL NOTES
110.Pp
955af63e
CL
111When
112.Sy dropping gold ,
56a016ba
SS
113if you type '*' as your amount, all your gold gets dropped.
114In general, typing in '*' means all of what your interested in. This is true
115when visiting the bank, or when contributing at altars.
116.Pp
117You can get out of the store, trading post, school, or home by hitting
955af63e 118.Sy <esc> .
56a016ba
SS
119.Pp
120When casting a spell, if you need a list of spells you can cast, type \fBD\fP
121as the first letter of your spell. The available list of spells will be shown,
122after which you may enter the spell code. This only works on the 1st letter
123of the spell you are casting.
124.Sh AUTHOR
125Noah Morgan
126.Sh FILES
955af63e
CL
127.Bl -tag -width "/var/games/larn.scores" -compact
128.It Pa /var/games/larn.scores
129Score file.
130.It Pa ~/.larnopts
131Options file.
132.El