Commit Graph

1154 Commits

Author SHA1 Message Date
kmhugo
bb88bd1a4a Jousting
Players wielding a lance while riding will "joust" monsters
they attack.

Note that monsters don't get pushed into inaccessable tiles such
as walls, doors, iron bars, water, or lava; they stay at the edge.
Further refinements are possible for these cases.
2002-01-20 05:44:46 +00:00
nethack.rankin
43a1eadc9c lookat of high priests
One from <Someone>'s list:  there's no particular reason for
the High Priest of Moloch in the temple on the sanctum level in
Gehennom to have his identity concealed when he's detected from
a distance.  I also changed the concealment of the Astral Plane
to stop when you're adjacent to the priest, since #chat--among
other things, such as simply entering the temple--provides other
means of identifying which temple it is once you're there.

Files patched:
  include/extern.h
  src/do_name.c, pager.c
2002-01-19 06:52:03 +00:00
kmhugo
d25f67cd0d Autoquiver fix
Implement a patch which <Someone> posted on the newsgroup back in September:
"If I had my druthers, daggers would be chosen over other
weapons if there's no missiles or suitable ammo available, and weapons
not designed for throwing wouldn't be chosen at all."
2002-01-19 05:34:34 +00:00
nethack.rankin
6d28ddf14b wiz_level_change cleanup
The new routine needed to do something with u.ulevelmax
(which controls whether lost levels can be regained via magic).
This sets it to the new level rather than having it go up or
down the same amount as the user specified in the level change,
which yields a plausible reason for using this command to set
experience level explicitly to its current value.

     The new code was using a mixture of spaces and tabs for
indentation; I've totally reformatted it.
2002-01-19 04:15:46 +00:00
arromdee
9211e211b0 wizard # list
The monpoly_control command on the wizard # command list was formatted badly.
2002-01-19 03:17:31 +00:00
arromdee
89d9f36f06 fix typo (change experience change)
--Ken A
2002-01-19 01:30:26 +00:00
nethack.allison
885eef0dbb Add Warwick's name to mplayer.c 2002-01-18 20:58:11 +00:00
nethack.allison
fb2f6753d6 From <Someone>
This was caused by  character set incompatibility between message and map
windows. Apparently, Nethack is using  IBM character set (CP 437) but fonts
were create for Windows ANSI codepage. I fixed most of it by changing
character set of the fonts except for the Rogue level. I had to make changes
to src/drawing.c for Rogue level since most of Windows fonts are not capable
of displaying control characters (char. code<0x20)
And of course, disabling IBMGraphics option fixes it all.
2002-01-18 19:14:13 +00:00
nethack.allison
c20a6f89f1 Some touchstone tuning...
If you have an unidentified gray stone in your pack,
you just had to use the 'a'pply command.  If it was
a touchstone, it would be included in the list,
otherwise it wouldn't.

This allows any stone to be included in the 'a'pply
command.

Also, adds missing punctuation to the use_stone()
messages.

Also prevents rubbing a stone on itself.
2002-01-18 19:00:09 +00:00
kmhugo
f5c0809aff Monsters shouldn't use wands of digging in Sokoban
A number of players have complained that Sokoban can be rendered
unsolvable without "creative nethacking" when monsters zap wands of
digging.  This patch prevents monsters from selecting wands of
digging in Sokoban.

Note that we can't simply make Sokoban HARDFLOOR, as that causes
problems with the hole generation code.
2002-01-18 17:17:05 +00:00
arromdee
d3a78f0634 pets and tripe
This fixes a very, very, old bug.  I don't think there's been a version
since pets were introduced that doesn't have it.
--Ken A
2002-01-18 03:15:10 +00:00
warwick
0e46369056 Ignore generated files. 2002-01-18 02:50:06 +00:00
nethack.rankin
f7c01ecc71 [Checked into cvs.]
When potions of full healing got added, they included the
ability to restore lost experience levels when blessed ones are
quaffed.  This patch throttles them so that when multiple levels
have been lost, drinking multiple potions can only restore half
of those levels.  Also, it prevents them from fixing any level
loss which occurs if you polymorph into a "new man" (or woman
or dwarf, &c, where you can gain or lose up to 2 levels).

     This also makes the "golden glow" prayer result be at least
as good as blessed full healing by restoring a lost level instead
of giving 5 extra hit points when you have any recoverable lost
levels pending.

     And tangentially related:  gaining a level while polymorphed
now gives your current monster form an extra hit die in addition
to the latent boost your normal human/whatever form gets.

Files patched:
  src/exper.c, polyself.c, potion.c, pray.c
2002-01-18 02:48:30 +00:00
warwick
53117c71cb Lenses don't help when you're blind.
This is a tweak to <Someone>'s lens patch.
2002-01-18 01:38:35 +00:00
arromdee
28975c6682 lenses
This adds <Someone>'s lens patch.

This is probably it for me adding in any more user-contributed patches for
3.3.2 (except maybe coin flipping; does anyone object to it?)

--Ken A.
2002-01-18 01:23:58 +00:00
arromdee
d2050e48e5 levelchange
This changes the #levelgain command to #levelchange, and allows changing
levels both up and down.

--Ken A.
2002-01-18 01:09:28 +00:00
arromdee
912b4a8d94 reduce insect summoning
Testing the Astral Plane showed that the summon insects spell was a little
ridiculous with the new monster spellcasting routines.  You can easily
have enough priests within range of you that insects are summoned almost every
round.  I've made this saner by halving the frequency of the spell.  The player
will still probably encounter summoned insects a lot more than before.
2002-01-17 03:14:12 +00:00
arromdee
af50cb590d high priest message
Fix bug: Create high priest, let it kill you.  Get "kiled by the high priest".
2002-01-17 03:04:04 +00:00
arromdee
f93521e95d wizard #poly and #levelgain
This adds the wizard #poly and #levelgain commands.
2002-01-17 02:47:23 +00:00
nethack.allison
2c26f0ceea Removed some unneeded preprocessor conditional code.
It was Windows CE stuff that hasn't been integrated into the sources tree yet.
2002-01-17 02:17:17 +00:00
cohrs
7cb3f8d2f6 gaze attacks while on a scroll of scare monster
Reported to the list 1/5/2001 by <Someone>.
I put stop_occupation calls in all the gaze cases where they were needed.
You might still die, but you'll only get attacked once before you stop waiting.
2002-01-16 07:56:46 +00:00
cohrs
e3ac04eac1 riding a non-swimming steed into water
Patch from <Someone> to the list on 10/01/2001.  The changes cause riding a steed
into water to result in a dismount, and, if the steed can't survive in
water, the death of the steed, with the usual pet-death penalties.
2002-01-16 07:05:43 +00:00
arromdee
4361289ec3 BUC patch
This adds the BUC-patch, except that it includes four separate choices for
blessed/cursed/uncursed/unknown.  The patch only applies to full menu styles.

--Ken A

(Incidentally, I have a suggestion: when deciding what's the first line for
purposes of mailing out messages, use the first nonblank line...)
2002-01-16 03:19:45 +00:00
arromdee
6bfebccbed This adds <Someone> patch for enlightenment to show increase damage and
accuracy (only on death).  It's one of the 'insufficient discussion' patches,
but I doubt anyone will object to it.
2002-01-15 03:26:09 +00:00
arromdee
4b6b5d7b8c This adds in <Someone>'s autodig patch. 2002-01-15 02:50:36 +00:00
arromdee
0b268a2628 Tids only. 2002-01-14 04:50:17 +00:00
nethack.allison
89c576a941 more Guidebook credit updates - Amiga team, devteam, web site. 2002-01-14 02:28:52 +00:00
arromdee
b35a8a290a Fix comment typo, fix lightning problem. 2002-01-13 22:29:12 +00:00
arromdee
b09c3e2e69 Fixing a buglist bug. Also changing an unrelated buglist item a bit (it was
mine to begin with, I thought I had a way to fix it but it turns out I didn't,
so I was researching it again).

Checked into CVS.
2002-01-13 20:37:18 +00:00
nethack.rankin
9d5c7cd7d8 mcastu reorganization 2002-01-13 09:17:13 +00:00
nethack.allison
e02ab47597 Changes to existing files by the win32 port additions. 2002-01-13 05:53:39 +00:00
arromdee
d5d7f15007 Fix some steed/wounded legs things. Also add a wizard-only enlightenment
message specifying that the steed has wounded legs.
2002-01-12 05:37:33 +00:00
nethack.allison
f64c0ac241 Since the touchstone uses objclass oc_color we need
to make that field unconditional, otherwise
NetHack won't compile without TEXTCOLOR defined.

Also provides at least an interim solution for the has_color()
problem that Warwick pointed out.

Lastly, Archeologists know touchstones.
2002-01-12 02:16:09 +00:00
nethack.allison
2e62cf4194 get rid of another warning
M. Allison
2002-01-11 22:51:58 +00:00
nethack.allison
ab5a3361c7 probable typo fix in mcastu.c
M. Allison
2002-01-11 22:40:39 +00:00
nethack.rankin
318308396b minor reformatting 2002-01-11 04:03:06 +00:00
arromdee
157840766d Finally overhauled some spell stuff. --Ken A.
Summary of spell changes:
-- wimpiness of 'default' spell fixed by doing half damage for magic resistance
instead of 1 damage, and using half monster level instead of 1/3.  It may
still need tweaking, but is much better than before.
-- 'default' spell for cleric monsters is now the wounds spell, by analogy with
wizard monsters.
-- added clerical lightning strike, flame strike, gush of water
-- all spells should now say the monster is casting a spell, and all spells
should have messages.  (Side effect: monsters speeding up by other means
also give a message saying so).
-- casting undirected spells is not affected by whether the monster knows
where you are.  Monsters that are attacking your displaced image, that are
several squares away, or that are peaceful can use undirected spells.
-- messages should correctly say whether the spell is undirected (a monster
was always casting at thin air or pointing at you and cursing, without checking
to see if the spell wouldn't require pointing)
-- Monsters which are attacking your displaced image, etc. use up mspec_used.
If they are casting an undirected spell, the spell still works.
-- Monsters which are not attacking can cast spells that don't attack.
-- If a monster didn't have ranged spellcasting ability (which most don't),
it would print a curse message from buzzmu() every round it was at range,
creating a useless stream of constant curse messages

I still haven't made spellcasters "smarter" in the sense of noticing whether
you have reflection, fire resistance, etc.  That opens a big can of worms
because it would mean giving monsters a memory.

Known bug: the higher level a monster is, the more spells it has; since it
chooses a noncombat spell by randomly picking a spell and casting if it
happens to be noncombat, the higher level the monster is the greater the
chance of getting nothing.
2002-01-11 01:09:07 +00:00
cohrs
631df10a34 setuwep, et al, cleanup 2002-01-10 06:52:05 +00:00
kmhugo
46bd9b925c * Fix some formatting in cmd.c. 2002-01-10 06:49:35 +00:00
arromdee
1d86d33fde Fix drain life "problem" (zapping it at the floor required you to reach the
floor) by not making it wipe engravings to begin with.

--Ken A.
2002-01-10 06:08:58 +00:00
nethack.allison
9b7d9f29b5 From a bug report: monsters hit by polymorph
magic while wearing dragon scales/scale mail were being turned
into random monsters instead of into dragons.

Also

Two items from <Someone>'s list.

Files patched:
  include/obj.h
  src/mon.c, muse.c, worn.c, zap.c
2002-01-09 13:10:13 +00:00
nethack.allison
ef26fdaeb4 small touchstone credit 2002-01-09 05:31:47 +00:00
nethack.allison
767335698b <Someone>'s touchstone code and a bee swarm bit. 2002-01-09 03:31:30 +00:00
nethack.allison
40e0f19b53 Ken's leather cloak. 2002-01-09 00:33:38 +00:00
nethack.allison
a0b13b1b25 compression fix fix
Ken:
Fix an error in my fix for compression error messages.

No Makefile.src change should be necessary because files.c depends on hack.h,
which "depends" on wintty.h (actually ifdef USE_TRAMPOLI, but the Makefile
doesn't know that).
2002-01-08 04:44:07 +00:00
nethack.allison
17f15477e1 auto credit
Yes, you were right.  There is a reason to have a separate auto_credit flag.
2002-01-08 04:42:29 +00:00
nethack.allison
59f5ed1cbb This adds Wingnut's auto-credit patch (except it doesn't use a separate
auto_credit flag; that's what sell_response is for).

follow-up comment from Pat:
     This introduces behavior that I consider to be buggy.
You need something separate from sell_response, otherwise if
you answer (a)ll when the shopkeeper still has money you end
up selling everything for credit without being asked when he
runs out of cash in the middle of the transation.  Avoiding
that is the reason for the old behavior in the first place.
2002-01-07 12:35:06 +00:00
cohrs
c77073be31 sync changes since last snapshot 2002-01-07 02:12:04 +00:00
jwalz
e754e5c561 *** empty log message *** 2002-01-05 21:05:53 +00:00
jwalz
507f3fe5fb *** empty log message *** 2002-01-05 21:05:53 +00:00