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