xref: /netbsd-src/games/larn/larn.6 (revision 5b84b3983f71fd20a534cfa5d1556623a8aaa717)
1.\"	$NetBSD: larn.6,v 1.11 2003/08/07 09:37:23 agc 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 December 30, 1993
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 r
41.Op Fl H Ar number
42.Op Fl n
43.Op Fl h
44.Op Fl o Ar optsfile
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 r
56The
57.Fl r
58option restores a checkpointed game after it has died.
59.It Fl H
60The
61.Fl H
62option sets the hardness of the game.
63.It Fl n
64The
65.Fl n
66option suppresses the welcome message at start up, putting you directly
67into the game.
68.It Fl h
69The
70.Fl h
71option prints the command line options.
72.It Fl o
73The
74.Fl o
75option specifies a different options file than
76.Pa ~/.larnopts .
77.El
78.Sh COMMANDS
79.Pp
80These are the movement commands:
81.Bl -column " print program version" " give present pack weight"
82h move to the left	H run left	. stay here
83j move down	J run down	Z teleport yourself
84k move up	K run up	c cast a spell
85l move to the right	L run right	r read a scroll
86y move northwest	Y run northwest	q quaff a potion
87u move northeast	U run northeast	W wear armor
88b move southwest	B run southwest	T take off armor
89n move southeast	N run southeast	w wield a weapon
90^ identify a trap	g give present pack weight	P give tax status
91d drop an item	i inventory your pockets	Q quit the game
92v print program version	S save the game	D list all items found
93? this help screen	A create diagnostic file	e eat something
94	(wizards only)
95.El
96.Sh OPTIONS FILE
97.Pp
98The file
99.Pa ~/.larnopts
100may be used to set a few options for
101.Nm .
102A sequence of words terminated by whitespace is used to specify options.
103.Pp
104.Bl -tag -width "savefile: xxsave-file-namexx" -compact
105.It Sy 	Word
106.Sy 	Meaning
107.Pp
108.It bold-objects
109Select bold display of objects.
110.It inverse-objects
111Select inverse video display of objects.
112.It no-introduction
113Do not display intro message.
114.It enable-checkpointing
115Turn on periodic checkpointing.
116.It no-beep
117Disable beeping of the terminal.
118.It male
119Choose your sex to be a man.
120.It female
121Choose your sex to be a woman.
122.It name: Dq your name
123Choose your playing name.
124.It monster: Dq monst name
125Choose a name for a monster.
126.It savefile: Dq save-file-name
127Define what the savegame filename will be.
128.El
129.Pp
130Your name and monster names must be enclosed in double quotation marks and may
131be up to 34 characters long.
132Longer 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
136.Pp
137When
138.Sy dropping gold ,
139if you type '*' as your amount, all your gold gets dropped.
140In general, typing in '*' means all of what you are interested in.
141This is true when visiting the bank, or when contributing at altars.
142.Pp
143You can get out of the store, trading post, school, or home by hitting
144.Aq Sy esc .
145.Pp
146When casting a spell, if you need a list of spells you can cast, type \fBD\fP
147as the first letter of your spell.
148The available list of spells will be shown,
149after which you may enter the spell code.
150This only works on the 1st letter of the spell you are casting.
151.Sh AUTHOR
152.An Noah Morgan
153.Sh FILES
154.Bl -tag -width "/var/games/larn.scores" -compact
155.It Pa /var/games/larn.scores
156Score file.
157.It Pa ~/.larnopts
158Options file.
159.El
160