Initial import from FreeBSD RELENG_4:
[dragonfly.git] / games / larn / larn.6
CommitLineData
984263bc
MD
1.\" Copyright (c) 1990 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\" notice, this list of conditions and the following disclaimer in the
11.\" documentation and/or other materials provided with the distribution.
12.\" 3. All advertising materials mentioning features or use of this software
13.\" must display the following acknowledgement:
14.\" This product includes software developed by the University of
15.\" California, Berkeley and its contributors.
16.\" 4. Neither the name of the University nor the names of its contributors
17.\" may be used to endorse or promote products derived from this software
18.\" without specific prior written permission.
19.\"
20.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)larn.6 5.5 (Berkeley) 12/30/93
33.\" $FreeBSD: src/games/larn/larn.6,v 1.6.2.3 2001/07/22 11:01:22 dd Exp $
34.\"
35.Dd December 30, 1993
36.Dt LARN 6
37.Os
38.Sh NAME
39.Nm larn
40.Nd exploring the caverns of Larn
41.Sh SYNOPSIS
42.Nm
43.Op Fl r
44.Op Fl H Ar number
45.Op Fl n
46.Op Fl h
47.Op Fl o Ar optsfile
48.Sh DESCRIPTION
49.Nm Larn
50is a fantasy games in which your child has contracted
51a strange disease, and none of your home remedies
52seem to have any effect. You set out to find a remedy in a limited
53amount of time, and to collect gold along the way of course!
54.Pp
55The options are:
56.Pp
57.Bl -tag -width flag
58.It Fl r
59The
60.Fl r
61option restores a checkpointed game after it has died.
62.It Fl H
63The
64.Fl H
65option sets the hardness of the game.
66.It Fl n
67The
68.Fl n
69option suppresses the welcome message at start up, putting you directly
70into the game.
71.It Fl h
72The
73.Fl h
74option prints the command line options.
75.It Fl o
76The
77.Fl o
78option specifies a different options file than
79.Pa ~/.larnopts .
80.El
81.Sh COMMANDS
82These are the movement commands:
83.Bl -column "v print program version" "g give present pack weight"
84h move to the left H run left . stay here
85j move down J run down Z teleport yourself
86k move up K run up c cast a spell
87l move to the right L run right r read a scroll
88y move northwest Y run northwest q quaff a potion
89u move northeast U run northeast W wear armor
90b move southwest B run southwest T take off armor
91n move southeast N run southeast w wield a weapon
92^ identify a trap g give present pack weight P give tax status
93d drop an item i inventory your pockets Q quit the game
94v print program version S save the game D list all items found
95? this help screen A create diagnostic file e eat something
96 (wizards only)
97.El
98.Sh OPTIONS FILE
99The file
100.Pa ~/.larnopts
101may be used to set a few options for
102.Nm Larn .
103A sequence of words terminated by whitespace is used to specify options.
104.Pp
105.Bl -tag -width "savefile: xsave-file-namex" -compact
106.It Sy " Word
107.Sy " Meaning
108.Pp
109.It bold-objects
110Select bold display of objects.
111.It inverse-objects
112Select inverse video display of objects.
113.It no-introduction
114Do not display intro message.
115.It enable-checkpointing
116Turn on periodic checkpointing.
117.It no-beep
118Disable beeping of the terminal.
119.It male
120Choose your sex to be a man.
121.It female
122Choose your sex to be a woman.
123.It name: \*qyour name\*q
124Choose your playing name.
125.It monster: \*qmonst name\*q
126Choose a name for a monster.
127.It savefile: \*qsave-file-name\*q
128Define what the savegame filename will be.
129.El
130.Pp
131Your name and monster names must be enclosed in double quotation marks and may
132be up to 34 characters long. Longer names are truncated.
133Anything enclosed in quotation marks is considered one word, and must be
134separated from other words by whitespace.
135.Sh SPECIAL NOTES
136When
137.Sy dropping gold ,
138if you type '*' as your amount, all your gold gets dropped.
139In general, typing in '*' means all of what you are interested in.
140This is true when visiting the bank, or when contributing at altars.
141.Pp
142You can get out of the store, trading post, school, or home by hitting
143.Sy <esc> .
144.Pp
145When casting a spell, if you need a list of spells you can cast, type \fBD\fP
146as the first letter of your spell. The available list of spells will be shown,
147after which you may enter the spell code. This only works on the 1st letter
148of the spell you are casting.
149.Sh AUTHORS
150.An Noah Morgan
151.Sh FILES
152.Bl -tag -width "/var/games/larn/lscore12.0" -compact
153.It Pa /var/games/larn/lscore12.0
154Score file.
155.It Pa /var/games/larn/llog12.0
156Log file.
157.It Pa ~/.larnopts
158Options file.
159.El