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