]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - larn/larn.6
Include <sys/endian.h>.
[bsdgames-darwin.git] / larn / larn.6
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
47 is a fantasy games in which your child has contracted
48 a strange disease, and none of your home remedies seem to have any effect.
49 You set out to find a remedy in a limited
50 amount of time, and to collect gold along the way of course!
51 .Pp
52 The options are:
53 .Pp
54 .Bl -tag -width flag
55 .It Fl r
56 The
57 .Fl r
58 option restores a checkpointed game after it has died.
59 .It Fl H
60 The
61 .Fl H
62 option sets the hardness of the game.
63 .It Fl n
64 The
65 .Fl n
66 option suppresses the welcome message at start up, putting you directly
67 into the game.
68 .It Fl h
69 The
70 .Fl h
71 option prints the command line options.
72 .It Fl o
73 The
74 .Fl o
75 option specifies a different options file than
76 .Pa ~/.larnopts .
77 .El
78 .Sh COMMANDS
79 .Pp
80 These are the movement commands:
81 .Bl -column " print program version" " give present pack weight"
82 h move to the left H run left . stay here
83 j move down J run down Z teleport yourself
84 k move up K run up c cast a spell
85 l move to the right L run right r read a scroll
86 y move northwest Y run northwest q quaff a potion
87 u move northeast U run northeast W wear armor
88 b move southwest B run southwest T take off armor
89 n move southeast N run southeast w wield a weapon
90 ^ identify a trap g give present pack weight P give tax status
91 d drop an item i inventory your pockets Q quit the game
92 v 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
98 The file
99 .Pa ~/.larnopts
100 may be used to set a few options for
101 .Nm .
102 A 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
109 Select bold display of objects.
110 .It inverse-objects
111 Select inverse video display of objects.
112 .It no-introduction
113 Do not display intro message.
114 .It enable-checkpointing
115 Turn on periodic checkpointing.
116 .It no-beep
117 Disable beeping of the terminal.
118 .It male
119 Choose your sex to be a man.
120 .It female
121 Choose your sex to be a woman.
122 .It name: Dq your name
123 Choose your playing name.
124 .It monster: Dq monst name
125 Choose a name for a monster.
126 .It savefile: Dq save-file-name
127 Define what the savegame filename will be.
128 .El
129 .Pp
130 Your name and monster names must be enclosed in double quotation marks and may
131 be up to 34 characters long.
132 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 .Pp
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 .Aq 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.
148 The available list of spells will be shown,
149 after which you may enter the spell code.
150 This 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
156 Score file.
157 .It Pa ~/.larnopts
158 Options file.
159 .El