xref: /dragonfly/games/larn/larn.6 (revision 6b5c5d0d)
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.\" $DragonFly: src/games/larn/larn.6,v 1.3 2006/02/17 19:33:31 swildner Exp $
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
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 Larn
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
83These are the movement commands:
84.Bl -column "v print program version" "g give present pack weight"
85h move to the left	H run left	. stay here
86j move down	J run down	Z teleport yourself
87k move up	K run up	c cast a spell
88l move to the right	L run right	r read a scroll
89y move northwest	Y run northwest	q quaff a potion
90u move northeast	U run northeast	W wear armor
91b move southwest	B run southwest	T take off armor
92n move southeast	N run southeast	w wield a weapon
93^ identify a trap	g give present pack weight	P give tax status
94d drop an item	i inventory your pockets	Q quit the game
95v print program version	S save the game	D list all items found
96? this help screen	A create diagnostic file	e eat something
97	(wizards only)
98.El
99.Sh OPTIONS FILE
100The file
101.Pa ~/.larnopts
102may be used to set a few options for
103.Nm Larn .
104A sequence of words terminated by whitespace is used to specify options.
105.Pp
106.Bl -tag -width "savefile: xsave-file-namex" -compact
107.It Sy "	Word
108.Sy "	Meaning
109.Pp
110.It bold-objects
111Select bold display of objects.
112.It inverse-objects
113Select inverse video display of objects.
114.It no-introduction
115Do not display intro message.
116.It enable-checkpointing
117Turn on periodic checkpointing.
118.It no-beep
119Disable beeping of the terminal.
120.It male
121Choose your sex to be a man.
122.It female
123Choose your sex to be a woman.
124.It name: \*qyour name\*q
125Choose your playing name.
126.It monster: \*qmonst name\*q
127Choose a name for a monster.
128.It savefile: \*qsave-file-name\*q
129Define what the savegame filename will be.
130.El
131.Pp
132Your name and monster names must be enclosed in double quotation marks and may
133be up to 34 characters long.  Longer names are truncated.
134Anything enclosed in quotation marks is considered one word, and must be
135separated from other words by whitespace.
136.Sh SPECIAL NOTES
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.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.  The available list of spells will be shown,
148after which you may enter the spell code.  This only works on the 1st letter
149of the spell you are casting.
150.Sh FILES
151.Bl -tag -width "/var/games/larn/lscore12.0" -compact
152.It Pa /var/games/larn/lscore12.0
153Score file.
154.It Pa /var/games/larn/llog12.0
155Log file.
156.It Pa ~/.larnopts
157Options file.
158.El
159.Sh AUTHORS
160.An Noah Morgan
161