|
Revision 918, 2.5 kB
(checked in by takkaria, 6 months ago)
|
Use consistent newlines everywhere, and also set the svn:eol-style property to native on all text files.
|
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
# File: pref.prf |
|---|
| 2 |
|
|---|
| 3 |
# |
|---|
| 4 |
# This file defines "default" actions of various kinds |
|---|
| 5 |
# |
|---|
| 6 |
# This file includes, if appropriate, various "sub-files" |
|---|
| 7 |
# |
|---|
| 8 |
# See "lib/help/command.txt" and "src/files.c" for more information. |
|---|
| 9 |
# |
|---|
| 10 |
# Note that the "X" key is mapped in both keysets to the key sequence |
|---|
| 11 |
# "w0", which will "swap weapons" as long as both weapons contain the |
|---|
| 12 |
# inscription "@0". For example, inscribe your main weapon as "@1@0" |
|---|
| 13 |
# and your digger (or secondary weapon) as "@2@0". |
|---|
| 14 |
# |
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
##### Force certain options ##### |
|---|
| 18 |
|
|---|
| 19 |
## # Option -- Default to original commands |
|---|
| 20 |
## X:rogue_like_commands |
|---|
| 21 |
|
|---|
| 22 |
## # Option -- Default to roguelike commands |
|---|
| 23 |
## Y:rogue_like_commands |
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 |
##### Original Keyset Mappings ##### |
|---|
| 27 |
|
|---|
| 28 |
# Stay still (numerical) |
|---|
| 29 |
A:, |
|---|
| 30 |
C:0:5 |
|---|
| 31 |
|
|---|
| 32 |
# Movement (numerical) |
|---|
| 33 |
A:;1 |
|---|
| 34 |
C:0:1 |
|---|
| 35 |
A:;2 |
|---|
| 36 |
C:0:2 |
|---|
| 37 |
A:;3 |
|---|
| 38 |
C:0:3 |
|---|
| 39 |
A:;4 |
|---|
| 40 |
C:0:4 |
|---|
| 41 |
A:;6 |
|---|
| 42 |
C:0:6 |
|---|
| 43 |
A:;7 |
|---|
| 44 |
C:0:7 |
|---|
| 45 |
A:;8 |
|---|
| 46 |
C:0:8 |
|---|
| 47 |
A:;9 |
|---|
| 48 |
C:0:9 |
|---|
| 49 |
|
|---|
| 50 |
# Hack -- Commit suicide |
|---|
| 51 |
A:Q |
|---|
| 52 |
C:0:^C |
|---|
| 53 |
|
|---|
| 54 |
# Hack -- Swap equipment |
|---|
| 55 |
A:w0 |
|---|
| 56 |
C:0:X |
|---|
| 57 |
|
|---|
| 58 |
# Original keymap: Repeat last command |
|---|
| 59 |
A:^V |
|---|
| 60 |
C:0:n |
|---|
| 61 |
|
|---|
| 62 |
|
|---|
| 63 |
##### Roguelike Keyset Mappings ##### |
|---|
| 64 |
|
|---|
| 65 |
# Stay still (numerical) |
|---|
| 66 |
A:, |
|---|
| 67 |
C:1:5 |
|---|
| 68 |
|
|---|
| 69 |
# Movement (numerical) |
|---|
| 70 |
A:;1 |
|---|
| 71 |
C:1:1 |
|---|
| 72 |
A:;2 |
|---|
| 73 |
C:1:2 |
|---|
| 74 |
A:;3 |
|---|
| 75 |
C:1:3 |
|---|
| 76 |
A:;4 |
|---|
| 77 |
C:1:4 |
|---|
| 78 |
A:;6 |
|---|
| 79 |
C:1:6 |
|---|
| 80 |
A:;7 |
|---|
| 81 |
C:1:7 |
|---|
| 82 |
A:;8 |
|---|
| 83 |
C:1:8 |
|---|
| 84 |
A:;9 |
|---|
| 85 |
C:1:9 |
|---|
| 86 |
|
|---|
| 87 |
# Run |
|---|
| 88 |
A:. |
|---|
| 89 |
C:1:, |
|---|
| 90 |
|
|---|
| 91 |
# Stay still |
|---|
| 92 |
A:, |
|---|
| 93 |
C:1:. |
|---|
| 94 |
|
|---|
| 95 |
# Movement (rogue keys) |
|---|
| 96 |
A:;1 |
|---|
| 97 |
C:1:b |
|---|
| 98 |
A:;2 |
|---|
| 99 |
C:1:j |
|---|
| 100 |
A:;3 |
|---|
| 101 |
C:1:n |
|---|
| 102 |
A:;4 |
|---|
| 103 |
C:1:h |
|---|
| 104 |
A:;6 |
|---|
| 105 |
C:1:l |
|---|
| 106 |
A:;7 |
|---|
| 107 |
C:1:y |
|---|
| 108 |
A:;8 |
|---|
| 109 |
C:1:k |
|---|
| 110 |
A:;9 |
|---|
| 111 |
C:1:u |
|---|
| 112 |
|
|---|
| 113 |
# Running (shift + rogue keys) |
|---|
| 114 |
A:.1 |
|---|
| 115 |
C:1:B |
|---|
| 116 |
A:.2 |
|---|
| 117 |
C:1:J |
|---|
| 118 |
A:.3 |
|---|
| 119 |
C:1:N |
|---|
| 120 |
A:.4 |
|---|
| 121 |
C:1:H |
|---|
| 122 |
A:.6 |
|---|
| 123 |
C:1:L |
|---|
| 124 |
A:.7 |
|---|
| 125 |
C:1:Y |
|---|
| 126 |
A:.8 |
|---|
| 127 |
C:1:K |
|---|
| 128 |
A:.9 |
|---|
| 129 |
C:1:U |
|---|
| 130 |
|
|---|
| 131 |
# Altering (control + rogue keys) |
|---|
| 132 |
A:+1 |
|---|
| 133 |
C:1:^B |
|---|
| 134 |
A:+2 |
|---|
| 135 |
C:1:^J |
|---|
| 136 |
A:+3 |
|---|
| 137 |
C:1:^N |
|---|
| 138 |
A:+4 |
|---|
| 139 |
C:1:^H |
|---|
| 140 |
A:+6 |
|---|
| 141 |
C:1:^L |
|---|
| 142 |
A:+7 |
|---|
| 143 |
C:1:^Y |
|---|
| 144 |
A:+8 |
|---|
| 145 |
C:1:^K |
|---|
| 146 |
A:+9 |
|---|
| 147 |
C:1:^U |
|---|
| 148 |
|
|---|
| 149 |
# Allow use of the "tunnel" command |
|---|
| 150 |
A:T |
|---|
| 151 |
C:1:^T |
|---|
| 152 |
|
|---|
| 153 |
# Allow use of the "destroy" command |
|---|
| 154 |
A:k |
|---|
| 155 |
C:1:^D |
|---|
| 156 |
|
|---|
| 157 |
# Locate player on map |
|---|
| 158 |
A:L |
|---|
| 159 |
C:1:W |
|---|
| 160 |
|
|---|
| 161 |
# Browse a book (Peruse) |
|---|
| 162 |
A:b |
|---|
| 163 |
C:1:P |
|---|
| 164 |
|
|---|
| 165 |
# Jam a door (Spike) |
|---|
| 166 |
A:j |
|---|
| 167 |
C:1:S |
|---|
| 168 |
|
|---|
| 169 |
# Toggle search mode |
|---|
| 170 |
A:S |
|---|
| 171 |
C:1:# |
|---|
| 172 |
|
|---|
| 173 |
# Use a staff (Zap) |
|---|
| 174 |
A:u |
|---|
| 175 |
C:1:Z |
|---|
| 176 |
|
|---|
| 177 |
# Take off equipment |
|---|
| 178 |
A:t |
|---|
| 179 |
C:1:T |
|---|
| 180 |
|
|---|
| 181 |
# Fire an item |
|---|
| 182 |
A:f |
|---|
| 183 |
C:1:t |
|---|
| 184 |
|
|---|
| 185 |
# Bash a door (Force) |
|---|
| 186 |
A:B |
|---|
| 187 |
C:1:f |
|---|
| 188 |
|
|---|
| 189 |
# Look around (examine) |
|---|
| 190 |
A:l |
|---|
| 191 |
C:1:x |
|---|
| 192 |
|
|---|
| 193 |
# Aim a wand (Zap) |
|---|
| 194 |
A:a |
|---|
| 195 |
C:1:z |
|---|
| 196 |
|
|---|
| 197 |
# Zap a rod (Activate) |
|---|
| 198 |
A:z |
|---|
| 199 |
C:1:a |
|---|
| 200 |
|
|---|
| 201 |
# Hack -- Commit suicide |
|---|
| 202 |
A:Q |
|---|
| 203 |
C:1:^C |
|---|
| 204 |
|
|---|
| 205 |
# Hack -- Swap equipment |
|---|
| 206 |
A:w0 |
|---|
| 207 |
C:1:X |
|---|
| 208 |
|
|---|
| 209 |
# Roguelike keymap: Repeat last command |
|---|
| 210 |
A:^V |
|---|
| 211 |
C:1:' |
|---|
| 212 |
|
|---|
| 213 |
|
|---|
| 214 |
# Message colors |
|---|
| 215 |
%:message.prf |
|---|
| 216 |
|
|---|
| 217 |
|
|---|
| 218 |
##### System Specific Subfiles ##### |
|---|
| 219 |
|
|---|
| 220 |
?:[IOR [EQU $SYS xaw] [EQU $SYS x11] [EQU $SYS xpj] [EQU $SYS gtk]] |
|---|
| 221 |
%:pref-x11.prf |
|---|
| 222 |
|
|---|
| 223 |
?:[IOR [EQU $SYS gcu] [EQU $SYS lsl] [EQU $SYS cap] [EQU $SYS vcs] [EQU $SYS sla]] |
|---|
| 224 |
%:pref-gcu.prf |
|---|
| 225 |
|
|---|
| 226 |
?:[EQU $SYS mac] |
|---|
| 227 |
%:pref-mac.prf |
|---|
| 228 |
|
|---|
| 229 |
?:[EQU $SYS win] |
|---|
| 230 |
%:pref-win.prf |
|---|
| 231 |
|
|---|
| 232 |
?:[EQU $SYS acn] |
|---|
| 233 |
%:pref-acn.prf |
|---|
| 234 |
|
|---|
| 235 |
?:[EQU $SYS sdl] |
|---|
| 236 |
%:pref-sdl.prf |
|---|
| 237 |
|
|---|
| 238 |
?:1 |
|---|