Commit Graph

968 Commits

Author SHA1 Message Date
cohrs
cae2ef47c3 random shrines on special levels
- "random" shrines generate the value -1, not -11
- rn2(1) always == 0, should be rn2(2), sanctums aren't random
2002-02-24 05:38:57 +00:00
nethack.rankin
753cc7089f fix B3024: remove vs take off
Change the prompts for P and R commands to use "put on" instead
of "wear" and "remove" instead of "take off", respectively; W and T
commands aren't affected.  There is no change in game play.
2002-02-24 05:05:11 +00:00
nethack.rankin
4bc3561a96 from <Someone>: #rub touchstone
<Someone>'s message said this was committed, but the cvs repository
didn't reflect his changes.

> Subject: patch: #rub touchstone
> Date: Wed, 20 Feb 2002 23:33:27 -0800
> <email deleted>
>
> Implement <Someone>'s suggestion.
>
> - allow the #rub command to apply to gray stones
> - update various doc & help files to reflect the change
>
> Committed to CVS.
2002-02-24 03:19:20 +00:00
nethack.rankin
3ae126c83f "fix" B6004
The comment about Book of the Dead's taming effect working
on nearby monsters when read while swallowed was wrong.  It was
only put there in the first place to avoid adding extra code to
suppress taming while swallowed when that was done for the other
methods of taming.  Any need for extra code here turns out to be
unnecessary due to the cansee() check.
2002-02-24 00:51:20 +00:00
nethack.rankin
a9b2f4f1ee double undead turning
From the newsgroup:  when an undead monster got killed by a wand
or spell of undead turning, if it left a corpse that corpse would be
hit by the same zap and was immediately revived.  This fix uses the
flag bits that were added to prevent objects that are dropped by a
polymorphed monster from being hit by the same polymorph zap.

     This also fixes a post-3.3.1 bug that produced "the <undead>
turns to flee" even when that monster had been killed by the turning
attack.  3.3.1 had the same bogus fleeing effect but didn't give any
message so it was unnoticeable.
2002-02-23 11:13:41 +00:00
nethack.rankin
6f90e5bc8c Another artifact damage update
Make being hit by an artifact which does fire, cold, or
lightning (or magic missiles, since the code is there) affect
inventory even when the target resists the damage him-/her-/itself.
This removes the need for the redundant fire vs slime handling that
I put in yesterday.  Unfortunately it also means that Valkyries who
throw Mjollnir will inevitably end up destroying all their mettalic
wands and rings, so I reduced the chance of it hitting upon its
return.
2002-02-23 10:55:43 +00:00
nethack.rankin
6cb52557c1 vtense: flyies 2002-02-23 10:37:18 +00:00
arromdee
6033bee646 pudding cloning (from beta-test) 2002-02-23 06:12:55 +00:00
keni
1b1532dbab patch from Janne: delete old files, update docs, tids 2002-02-22 12:13:46 +00:00
nethack.rankin
6ce22770c9 Fire Brand vs sliming
Being hit by Fire Brand now stops the sliming process if you're
being turned into green slime.  And throwing an artifact up will give
artifact hit effects when it falls back down, making it possible to
hit yourself with Fire Brand (among other things).  Hitting yourself
with Vorpal Blade or the Tsurugi of Muramasa will never behead or
bisect you; hitting yourself with Stormbringer will drain levels.
(I hope the latter doesn't make it too easy for players to manipulate
their experience level.)

     This doesn't add artifact_hit() handling to mthrowu.  If monsters
ever start throwing artifacts that will need to be added.
2002-02-22 03:51:14 +00:00
kmhugo
ce3bdc7097 X marks the spot
Inspired by the new data.base entry for Archaeologists.
Adds some "X marks the spot" engravings on the Arc locate
level.  A simple "X" engraving would be more accurate to
the pirate map legend, but players probably wouldn't get the
joke without an explanation.
2002-02-21 16:35:58 +00:00
nethack.allison
eea83e29ea - added ALT-keys support (except ALT-f and ALT-m which are menu
accelerators).
[...]

- added F4/F5 functionality - same as in MSDOS port
F4 toggles between fitting the tiled display to the screen
and full size (compresses the tiles to fit / uncompresses).
F5 alternates between ascii and tiles.

- added support for wc_vary_msgcount
2002-02-21 12:57:56 +00:00
cohrs
3910f060db fixes34.0 updates
+ entry for tty crash fix
+ entry mentioning USER_SOUNDS stuff
+ fix a typo
2002-02-21 07:14:13 +00:00
cohrs
a5edf5d01e fix tty crashes for empty news file
- menu-window code could access a null pointer when there was no data
- menu-window code can't handle empty contents, because there's no place
  to position the cursor, so force text mode
- still looked ugly, so added a check to avoid displaying anything if
  the file was empty
2002-02-21 07:10:30 +00:00
cohrs
ae9f38222e add_sound_mapping cleanup
- avoid several buffer overflows
- move use of access() to files.c in new can_read_file() function
- remove extra newlines in raw_print() calls
- get ready for lint, eg sprintf -> Sprintf
- generally make the code look like core code, not Qt code
2002-02-21 03:33:42 +00:00
cohrs
403cee9b5b avoid you see it hatch
enexto may place monster out of site, even though egg was in sight.  use
an(m_monnam(mon)) not a_monnam.  Works in this case due to earlier checks.
2002-02-20 02:33:14 +00:00
nethack.allison
12ede98a6f data.base updates - archeologist, hunter, shark 2002-02-20 01:38:48 +00:00
nethack.allison
a65c59a104 BUC follow-up bit 2002-02-19 14:29:15 +00:00
nethack.allison
4170c75993 More BUC
Defer to the validation code from pickup.c for checking
valid categories.  This reduces the number of callback
functions required, and allows combinations of BUCX
to be used in traditional menu style.
2002-02-19 14:20:21 +00:00
nethack.allison
4b0dab0d0e <Someone> bit
in util/lev_main.c:write_maze(), line which reads
"Write(fd, &(pt->ngold), sizeof(pt->naltar));"

should read
"Write(fd, &(pt->ngold), sizeof(pt->ngold));"
2002-02-19 13:25:06 +00:00
nethack.allison
126294b4de follow-up to Allow BUC with menustyles other than full. 2002-02-19 08:29:31 +00:00
nethack.allison
e054b25590 Allow BUC with menustyles other than full. 2002-02-19 08:22:15 +00:00
cohrs
3b2aa68d24 touchstone: cannot rub on the stone gold
hack around the silly grammar
2002-02-19 07:50:42 +00:00
cohrs
7f946fca6c plural of lotus followup
Don't convert *us -> *i for short words like "bus"
2002-02-19 06:01:45 +00:00
cohrs
d645467f40 permanent inventory window updates
Addresses the follwing missing updates:
- Quest Artifact identification by Quest Leader.
- Rust damage from a rust trap.
- Remove curse as a result of prayer (both fixing TROUBLE_CURSED_* and
  the blessed-remove-curse boon.)
- Charging via PYEC
2002-02-19 05:10:31 +00:00
cohrs
377a3b8482 plural of lotus is lotuses
another makeplural special case
2002-02-19 04:56:15 +00:00
nethack.rankin
0eda61a24c fixes update 2002-02-19 03:45:51 +00:00
nethack.rankin
81684b1672 high-end monster tuning
Strengthen Death by making his "drains your life force"
result take away some max HPs to augment the ordinary damage
it does.  The chance for that effect is reduced from 80% to
75% though.  Weaken Famine, Pestilence, and Demogorgon by
preventing them from hitting with both of their disease or
hunger attacks on the same turn.  When their first attack
hits, the second now gets treated as a stun attack, but if
the first one misses then the second is unchanged and yields
another chance to deliver the disease or hunger effect.
2002-02-19 03:38:31 +00:00
kmhugo
d861ed482c Artifact tuning
Adjustments to artifact prices, per B5006.
2002-02-19 01:35:04 +00:00
cohrs
cad85663de purple worm digestion
Generally modify the AD_DGST damage type so that:
- players and pets get no AD_DGST nutrition from G_NOCORPSE monsters
- undead no longer convey any nutrition, to either monsters or you-as-monster
  I decided on this based on the age typically assigned to undead corpses.
- digestion conveys 50% or normal nutrition, and takes 25% the time to eat.
- all AD_DGST attacks are now subject to gas spore explosions, including player
2002-02-18 23:36:46 +00:00
nethack.allison
839947d423 add non-controversial part of <Someone>'s "unpaid prices in inventory." 2002-02-17 14:42:48 +00:00
arromdee
06b7862906 air elementals
This reduces the damage of those unreasonably deadly air elementals.
2002-02-16 03:50:55 +00:00
nethack.rankin
2ed510a1b9 fix B7005: rogue quest map 2002-02-16 02:33:45 +00:00
nethack.allison
7ae98e84b6 Add file sys/winnt/console.rc
The patch against /dev/null was included in the nh-patches patch.
2002-02-15 13:31:39 +00:00
nethack.allison
a62d0a25bc Includes:
1) Removal of bmp placement in binary directory in NT
2) No use of "intrinsic function" optimization in dsp
3) Compilation of resource file for NT Console

Untested on Borland yet.  Tested on console/graphical/ide Microsoft C 6.0
2002-02-15 13:26:27 +00:00
cohrs
f0b8d8fec5 warning about hidden monsters
If a monster is hiding, such as underwater, general warning should locate it
2002-02-15 06:57:19 +00:00
cohrs
93b46d7a60 stone-to-flesh downwards
display the typical "beneath" if you're levitating, not "at".
If over lava, say "blood boils". Also, treat ice & water like waterlevel case.
2002-02-15 05:47:57 +00:00
cohrs
7345561da8 computing cost of stolen container contents
the cost didn't multiply get_cost value by the object quan
2002-02-15 05:12:38 +00:00
cohrs
fe4f8b3c9d whipping hidden mimic displays mimic name too early
rather than the "flick" message, just go directly to stumble_onto_mimic
2002-02-15 04:29:11 +00:00
cohrs
e4facdc70a burnt webs still visible 2002-02-15 03:20:41 +00:00
nethack.allison
4f82899771 flint/touchstone follow-up 2002-02-14 13:18:39 +00:00
keni
5d91c33e6a First set of Amiga updates 2002-02-14 11:55:32 +00:00
nethack.allison
6d18eb3f0d From <Someone>
Fixed the map scrolling problem that Yitzhak reported.
2002-02-14 05:15:51 +00:00
nethack.allison
5ba1968c14 swap touchstone and flint
in the objects[] array to allow inclusion of touchstone
when wishing for gray stone.

The patch increments editlevel and invalidates bones
and save files.
2002-02-14 02:33:52 +00:00
nethack.allison
dafae59205 from <Someone>
( #enhance screen is still broken though). I attached a small
patch with minor adjustments.
2002-02-14 00:55:17 +00:00
nethack.rankin
b956517a31 X11 icon bit 2002-02-13 22:25:32 +00:00
nethack.allison
4565a1d0bd - added map scrolling:
Ctrl-left_arrow    - scroll left
  Ctrl-right_arrow  - scroll right
  Ctrl-up_arrow    - scroll up
  Ctrl-down_arrow    - scroll down
  Ctrl-home    - scroll to upper left corner
  Ctrl-end    - scroll to lower right corner
  Ctrl-PgUp    - scroll one page up (vertical)
  Ctrl-PgDown    - scroll one page down (vertical)

- F3/F4 keys switch between tiles / fit-to-screen ASCII mode (Yitzhak's
suggestion)
2002-02-13 20:09:52 +00:00
kmhugo
38e91a320d Twoweapon update
Make two-weapon combat dependant on the hero's current form.
Adds the macro could_twoweap() and performs some housekeeping
in monst.c.
2002-02-13 17:31:07 +00:00
cohrs
4497d8e4e3 pline missing punctuation bits 2002-02-13 06:52:46 +00:00
nethack.rankin
5798dcc3e7 #enhance feedback
In the skills list shown by #enhance, add an annotation
for skills that have had enough practive to be advanced but
can't be because there aren't enough slots available or the
role-specific limit has been reached.
2002-02-13 06:36:31 +00:00