mdoc cleanup: Fix some column lists (add .It).
[dragonfly.git] / games / larn / larn.6
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.4 2008/05/02 02:05:03 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
51 is a fantasy games in which your child has contracted
52 a strange disease, and none of your home remedies
53 seem to have any effect.  You set out to find a remedy in a limited
54 amount of time, and to collect gold along the way of course!
55 .Pp
56 The options are:
57 .Bl -tag -width flag
58 .It Fl r
59 The
60 .Fl r
61 option restores a checkpointed game after it has died.
62 .It Fl H
63 The
64 .Fl H
65 option sets the hardness of the game.
66 .It Fl n
67 The
68 .Fl n
69 option suppresses the welcome message at start up, putting you directly
70 into the game.
71 .It Fl h
72 The
73 .Fl h
74 option prints the command line options.
75 .It Fl o
76 The
77 .Fl o
78 option specifies a different options file than
79 .Pa ~/.larnopts .
80 .El
81 .Sh COMMANDS
82 These are the movement commands:
83 .Bl -column "v print program version" "g give present pack weight"
84 .It h move to the left  H run left      . stay here
85 .It j move down J run down      Z teleport yourself
86 .It k move up   K run up        c cast a spell
87 .It l move to the right L run right     r read a scroll
88 .It y move northwest    Y run northwest q quaff a potion
89 .It u move northeast    U run northeast W wear armor
90 .It b move southwest    B run southwest T take off armor
91 .It n move southeast    N run southeast w wield a weapon
92 .It ^ identify a trap   g give present pack weight      P give tax status
93 .It d drop an item      i inventory your pockets        Q quit the game
94 .It v print program version     S save the game D list all items found
95 .It ? this help screen  A create diagnostic file        e eat something
96 .It     (wizards only)
97 .El
98 .Sh OPTIONS FILE
99 The file
100 .Pa ~/.larnopts
101 may be used to set a few options for
102 .Nm Larn .
103 A 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
110 Select bold display of objects.
111 .It inverse-objects
112 Select inverse video display of objects.
113 .It no-introduction
114 Do not display intro message.
115 .It enable-checkpointing
116 Turn on periodic checkpointing.
117 .It no-beep
118 Disable beeping of the terminal.
119 .It male
120 Choose your sex to be a man.
121 .It female
122 Choose your sex to be a woman.
123 .It name: \*qyour name\*q
124 Choose your playing name.
125 .It monster: \*qmonst name\*q
126 Choose a name for a monster.
127 .It savefile: \*qsave-file-name\*q
128 Define what the savegame filename will be.
129 .El
130 .Pp
131 Your name and monster names must be enclosed in double quotation marks and may
132 be up to 34 characters long.  Longer names are truncated.
133 Anything enclosed in quotation marks is considered one word, and must be
134 separated from other words by whitespace.
135 .Sh SPECIAL NOTES
136 When
137 .Sy dropping gold ,
138 if you type '*' as your amount, all your gold gets dropped.
139 In general, typing in '*' means all of what you are interested in.
140 This is true when visiting the bank, or when contributing at altars.
141 .Pp
142 You can get out of the store, trading post, school, or home by hitting
143 .Sy <esc> .
144 .Pp
145 When casting a spell, if you need a list of spells you can cast, type \fBD\fP
146 as the first letter of your spell.  The available list of spells will be shown,
147 after which you may enter the spell code.  This only works on the 1st letter
148 of the spell you are casting.
149 .Sh FILES
150 .Bl -tag -width "/var/games/larn/lscore12.0" -compact
151 .It Pa /var/games/larn/lscore12.0
152 Score file.
153 .It Pa /var/games/larn/llog12.0
154 Log file.
155 .It Pa ~/.larnopts
156 Options file.
157 .El
158 .Sh AUTHORS
159 .An Noah Morgan