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