Commit Graph

436 Commits

Author SHA1 Message Date
Pasi Kallinen
20893bf95d Fix tribute typos
Ran the tribute file through a spellchecker, and double-checked with Pat as he
added most of the tributes.
2016-08-21 09:16:25 +03:00
PatR
e5263b5ff0 fix #H4460 - tribute typos in /Thud!/
Passage 2: DELIBERATEDLY -> DELIBERATELY
Passage 6: vengence -> vengeance
2016-07-30 14:53:00 -07:00
PatR
4e12bb6144 more cmdhelp
Some number_pad handling which wasn't present in the original cmdhelp
but is acted upon in cmd.c.
2016-06-11 15:35:35 -07:00
PatR
9ad584523f dat/symbols: RogueEpyx
I don't know whether this fixes #H4335 but it does eliminate a
bunch of duplicate symbol entries.  And the two whose duplicates
had different values are suspicious ones: using linefeed and tab as
the character for object class symbol, which could easily confuse
the tty interface's cursor position tracking.  But those should
have been overridden by the later entries which specified the
default object class characters--I couldn't find anything in symbol
processing which would cause it to keep the first value instead of
replacing that with the second one.

The report had a link to screen shot which showed a door (I think
an open one despite the '+' shape) in the corner inside a room,
something like
 --+-----------
 |            |
 |       =
 |          ..##
 |          .+#
 ----+---------
where the '+#' in the lower right looks like it belongs two rows up
and one column over, the upper left of the three '#' is white and
the other two gray (lit corridor or empty dooryway or what?), the
'=' is actually three horizontal bars in green, and the lower '.'
has the cursor on it.  There aren't any object class symbols shown
(unless the triple-barred = is one), so linefeed and tab don't look
like likely culprits.
2016-06-11 00:16:11 -07:00
PatR
ca22b3fe46 cmdhelp revamp
Implement a rudimentary if/elif/else/endif interpretor and use
conditionals in dat/cmdhelp to describe what command each keystroke
currently invokes, so that there isn't a lot of "(debug mode only)"
and "(if number_pad is off)" cluttering the feedback that the user
sees.  (The conditionals add quite a bit of clutter to the raw data
but users don't see that.  number_pad produces a lot of conditional
commands:  basic letters vs digits, 'g' vs 'G' for '5', phone
keypad vs normal layout of digits, and QWERTZ keyboard swap between
y/Y/^Y/M-y/M-Y/M-^Y and z/Z/^Z/M-z/M-Z/M-^Z.)

The interpretor understands
 '&#' for comment,
 '&? option' for 'if' (also '&? !option'
                       or '&? option=value[,value2,...]'
                       or '&? !option=value[,value2,...]'),
 '&: option' for 'elif' (with argument variations same as 'if';
                         any number of instances for each 'if'),
 '&:' for 'else' (also '&: #comment';
                  0 or 1 instance for a given 'if'), and
 '&.' for 'endif' (also '&. #comment'; required for each 'if').

The option handling is a bit of a mess, with no generality for
which options to deal with and only a comma separated list of
integer values for the '=value' part.  number_pad is the only
supported option that has a value; the few others (wizard/debug,
rest_on_space, #if SHELL, #if SUSPEND) are booleans.
2016-06-08 14:58:35 -07:00
PatR
d92ae04afb some doc bits
Add fixes36.1 for '&' command's support of altmeta option.

Short command help lacked an entry for '&' command.

Wizard mode help omitted #vanquished and some other obscure commands.
2016-06-08 05:35:53 -07:00
PatR
4ef23c6ac4 'whatdoes' command and new file: dat/keyhelp
Make the whatdoes ('&' or '?f') command support the 'altmeta' option
for meta-characters generated by two character seqeunce 'ESC char'.
Also, make it be more descriptive when reporting "no such command"
by including the numeric value it operated on when failing to match
any command.  That might provide a way for us to get some extra
information when players report problems with odd keystrokes:  we ask
them to type such at the "what command?" prompt and then tell us what
numbers come up.

It's been given a help file to deal with assorted idiosyncracies
which can come up when querying what keys do.  Unfortunately that
ended up being way more verbose than intended.

Installation of the extra data file has only been done for Unix.
Other platforms will get "can't open file" if they respond with
'&' or '?' to the "what command?" prompt.  The command will still
work though, just without the extra text.
2016-06-05 01:09:52 -07:00
PatR
5addbf88dd knox level tweaks
The level teleport arrival regions (which also apply when invoking the
W quest artifact's temporary magic portal) on the Ft.Ludios level had
the wrong bounding coordinates.

While there, I've added a corridor between the welcome/zoo room and
the empty room at the top.  The doors are secret so monsters won't be
able to use it until they've been discovered by the player (which
happens with magic mapping as well as with searching).  I put a giant
in the formerly empty room, and made that room's original door secret
too so that the giant won't smash it down to get out, then smash down
the door between the zoo room and the main area around the fort.
2016-05-29 17:24:47 -07:00
PatR
49da8b87d8 '^O' command documentation and '^' command help
While looking for things in core which might conceivably trigger the
Windows ctype assertion failure (haven't found any yet), I noticed
that help_dir() was still treating ^O as a wizard mode-only command.
Also, documentation about that command was never brought up to date.

I wish this change to ^O hadn't been done.  #overview already has
a meta/alt M-O shortcut and overloading wizard mode commands makes
documentation more complicated since wizard mode stuff traditionally
has been left unmentioned.
2016-05-26 18:35:27 -07:00
PatR
4e31180933 far-look which swallowed
Change description of area outside of the swallow animation from
"interior of a monster" to "unreconnoitered".  For the animation
characters themselves, don't suppress the list of other screen
features which use the same character ('/' for wand and so on).
Add a data.base entry for "unreconnoitered" in case someone tries
to use it to look up an unfamiliar term.
2016-05-20 17:24:18 -07:00
Pasi Kallinen
d11241f61e Add more lighting variance to bigroom v2 2016-05-19 20:57:56 +03:00
PatR
09062d1217 Vlad's Tower bookkeeping
The lower two levels of Vlad's Tower were got showing the wizard-mode
special level indicator '[level_abbrev]' in #overview, nor appearing
for ^O or in the level teleport menu, indicating that Is_special()
wasn't finding them.  It took a while to figure out why, but the fix
is trivial.
2016-05-05 15:21:22 -07:00
PatR
117334b20e Ft.Ludios entrance (fort's entry, not level entry)
The code to apply an automatic annotation to the knox level was looking
for a drawbridge like on the castle level, but knox doesn't have any
drawbridge.  Look for its door instead.  (It's initially a secret door,
so won't be revealed via magic mapping.  It needs to be found or
destroyed to get mapped as a door or empty doorway in order to trigger
the annotation.)

Also, give a tiny bit of variation to the knox level layout.  It used
to have both the throne and the secret door on the lower of two similar
rows and the door into the treasure vault on the upper one.  Now each
of the three can be on either of those two rows (independently of each
other), making eight possibilities.  This doesn't accomplish much,
other than to make the secret door locations not always be at the same
fixed spot.
2016-04-22 02:12:10 -07:00
PatR
83efa69b11 fix #H4301 - tribute typo: The Last Hero 2016-04-10 19:24:27 -07:00
PatR
60397758e4 new symbol set: "plain"
This set is the same as the default ascii symbols except that corner
walls are represented with '+' instead of '-' or '|' so that wall
joins are clearer.  The baalz level looks a little better this way,
although not a lot.  Unfortunately, most levels look a bit cluttered
with this, so I imagine it won't get a lot of use.  At least it
serves as an example of being able to use "'c'" instead of "\123".

Originally I specified every terrain symbol explicitly, which was
how I noticed that S_darkroom and S_vibrating_square weren't being
handled.  This has cut it down to just the wall symbols, serving as
explicit example of accepting default symbols for unspecified ones.
2016-04-06 17:32:58 -07:00
PatR
bde9fdd48b revamp baalz level
Quite a bit of special case code for something so inconsequential.
Tweak the baalz level layout a little to make it be a bit more
interesting, and perform custom wallification on it so that the
beetle layout becomes clearly visible.  It looks great with
DECgraphics (and presumably IBMgraphics).  It's recognizeable but
not as interesting with ordinary ascii because corner walls use
'-' or '|' so don't join up nicely.  It looks a little weird
with tiles; the square aspect ratio of individual tiles makes it
end up being very elongated compared to character cell map it was
designed for.

As far as the level layout goes, the pair of secret doors into
Baalzebub's chamber have been give a random alternative.  The two
right-most accessible columns were diggable--I don't know whether
that was intentional; it's been reduced to one right-most column.
The middle pair of legs were asymmetrical; this fixes that.  The
beetle also now has eyes and an entry door in its mouth.
2016-04-04 13:59:23 -07:00
PatR
cd674b5cf3 fix #H4139 - commands missing in help menu
The meta keystroke commands which use an uppercase letter were all
missing from dat/hh:
 M-A annotate level
 M-C show conduct
 M-N name something (synonym for M-n, which is a synonyn for 'C'all)
 M-O display dungeon overview
 M-R ride/unride steed
 M-T tip a container

(All meta keystroke command shortcuts are missing from dat/help.)
2016-03-24 17:31:35 -07:00
PatR
3c5c4708e0 tribute typo 2016-02-29 17:18:37 -08:00
nhmall
f92f43a526 cloak rumor
H4243 bz 353
This just makes the rumor wording sound a bit less absolute than it did.
2016-02-27 08:08:56 -05:00
PatR
d77b6bb8aa tribute: Witches Abroad 2016-02-22 15:15:31 -08:00
nhmall
63ef462185 quest text grammar bit 2016-02-18 07:50:35 -05:00
PatR
f7c9a1fa31 tribute: Reaper Man 2016-02-17 14:02:51 -08:00
PatR
cbe7983c4c tribute: Moving Pictures 2016-02-10 18:22:38 -08:00
PatR
0748b0c90c tribute: Eric 2016-02-10 16:14:11 -08:00
PatR
df41e8f203 tribute: Guards! Guards! 2016-01-30 01:37:17 -08:00
PatR
571288ecd3 tribute: Pyramids 2016-01-23 18:37:43 -08:00
PatR
0ee4611f8f tribute: Wyrd Sisters
I stumbled across why the Death Quotes hadn't been getting displayed
evenly before being recycled:  ones I've added since 3.6.0--probably
even before the release--were unintentionally missing their '%e passage'
directive, so attempted look-up for those returned the very last one
(terminated by '%e title').  The recent change to read_passage() has
made '%e passage' be optional for one-line death quote passages, so
this patch doesn't bother putting them in.
2016-01-23 00:20:15 -08:00
PatR
83a4234292 whatis_coord - rename 'getpos_coord' option
Rename the option for adding coordinates to autodescribe feedback for
the '/' and ';' commands from 'getpos_coord' to 'whatis_coord', after
the '/' command that uses it instead of after the internal routine
that implements it.  The 'whatis' name was only in dat/hh as far as I
could find, so this changes it to 'what-is' and also updates dat/help
and the Guidebook to mention the name too.

Add a 'screen' choice to the option to show coordinates as row,column
rather than x,y or compass direction(s).  Revise the /m, /M, /o, /O
operations of 'what-is' to honor the whatis_coord option (mostly; a
value of 'none' gets overridden by 'map' to force coordinates).

Also, update the description of the functionality of the '/' command
in the Guidebook.  The .mn version is tested, the .tex one isn't.
2016-01-18 19:27:53 -08:00
PatR
a32b9af88b tribute: Sourcery 2016-01-16 01:59:58 -08:00
PatR
e1f8deb63f tribute: Mort 2016-01-09 18:17:15 -08:00
Pasi Kallinen
befc6a65b5 TTY: Add menu_overlay option
This was a request from a blind player.  It's hard to find
the left edge of the menu when it's drawn on the map, so
clear the screen and align menus to the left edge of the screen
when this option is turned off.

Originally this was called the window edge patch.
2016-01-08 22:17:40 +02:00
Pasi Kallinen
f16e9a8890 Use plain ASCII for the database 2016-01-08 07:55:56 +02:00
Pasi Kallinen
0f5809c924 Add some new database entries 2016-01-07 22:38:33 +02:00
Pasi Kallinen
c8d0b04c74 Make the raven medusa level shortsighted
This prevents all of the ravens mobbing the player immediately.

Change via Dynahack by Tung Nguyen
2016-01-06 18:54:56 +02:00
PatR
fbdeaae286 tribute: Equal Rites revisited
The number of passages felt a little light, so split one of the
long-ish ones into two.  The punchline that now ends the first one was
being watered down by continuing the text, and an interesting bit that
was left out can be added to finish the second part.  They both lose
some context but I think they work ok separately.
2016-01-06 00:45:46 -08:00
PatR
1d097bf0dd tribute: Equal Rites 2016-01-05 02:39:46 -08:00
PatR
a037c6fc28 tribute: The Light Fantastic 2016-01-04 17:19:56 -08:00
PatR
3c43f155aa tribute: The Colour of Magic 2015-12-31 15:07:06 -08:00
Pasi Kallinen
32305ace5c Prevent minotaur in mines end and bigroom mazes 2015-12-28 17:42:55 +02:00
PatR
67e6029723 tribute: Snuff 2015-12-27 01:46:12 -08:00
PatR
2e5d3602aa data.base formatting
Give all the attribution lines more indentation than a single tab so
that they never line up exactly the same as the text which precedes them.

Combine some attribution lines that had been split across two or three
lines but could reasonably fit on one or two.

Include a second boomerang quote from Pratchett--currently commented out
since the first boomerang quote is also from him.
2015-12-22 17:36:11 -08:00
PatR
c86ae780c4 tribute: more Raising Steam
The number of passages felt a bit light, so add a few more.
2015-12-21 02:06:23 -08:00
nhmall
d6710ad1cc sceptre of might database entry update 2015-12-18 19:41:54 -05:00
Pasi Kallinen
6c76738697 Fix typo in random epitaph 2015-12-18 13:28:23 +02:00
Pasi Kallinen
85d7d2bc43 Remove symbol setting options which do not work anymore 2015-12-17 21:12:59 +02:00
nhmall
fa092f5fe9 housekeeping for 3.6.1
Changes to be committed:
	modified:   Files
	modified:   README
	modified:   dat/history
	modified:   doc/Guidebook.mn
	modified:   doc/Guidebook.tex
	modified:   include/global.h
	modified:   include/obj.h
	modified:   include/patchlevel.h
	modified:   src/invent.c
	modified:   src/objnam.c
	modified:   src/shknam.c
	modified:   src/sounds.c
	modified:   src/spell.c
	modified:   sys/winnt/Install.nt
	modified:   sys/winnt/nethack.def
	modified:   win/macosx/NetHackGuidebook.applescript
	modified:   win/macosx/NetHackTerm.applescript
	modified:   win/win32/mswproc.c
2015-12-16 17:52:34 -05:00
Pasi Kallinen
929be769ec Add option to have autodescribe on by default 2015-12-16 21:42:43 +02:00
PatR
f5b5a428c1 fix #40171 - tribute typo for The Colour of Magic
Passage 1 of the Colour of Magic:  'bazaars' was misspelled 'bazarrs'.
There were a couple of other things that didn't match the paperback copy
I recently recovered from loan:  'radiation' should be 'radiations', and
'dark' was omitted from 'a tall dark figure'.

Unlike the later Harper editions, the early Signet ones retain British
spelling (at least for 'colour').  I failed to find the second passsage
via flipping through the pages, so wasn't able to proof-check that one.
2015-12-13 19:45:20 -08:00
nhmall
a1583244d6 a couple of false rumors 2015-12-13 13:34:47 -05:00
Pasi Kallinen
ea2f3225cc Fix history stating 3.5 Amiga and Atari ports existed 2015-12-09 17:44:15 +02:00